/*
Theme Name: HSPM Modern
Theme URI: https://hurricanestormpanel.com/
Description: Custom Kadence child theme for Hurricane Storm Panel Manufacturing, Inc.
Author: Hurricane Storm Panel Manufacturing, Inc.
Template: kadence
Version: 1.0.0
Text Domain: hspm-modern
Requires at least: 6.4
Requires PHP: 7.4
*/

:root {
  --hspm-navy: #0b1f33;
  --hspm-navy-2: #123551;
  --hspm-blue: #0e6894;
  --hspm-sky: #2e9ac4;
  --hspm-aqua: #dff4fb;
  --hspm-orange: #f59e0b;
  --hspm-orange-dark: #cf7800;
  --hspm-ink: #14202b;
  --hspm-muted: #596a78;
  --hspm-line: #d8e2e8;
  --hspm-bg: #f5f8fa;
  --hspm-white: #ffffff;
  --hspm-success: #16784f;
  --hspm-radius: 18px;
  --hspm-shadow: 0 18px 50px rgba(11, 31, 51, 0.12);
  --hspm-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hspm-site {
  margin: 0;
  color: var(--hspm-ink);
  background: var(--hspm-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.hspm-site.admin-bar .hspm-site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: var(--hspm-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hspm-navy); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(46, 154, 196, 0.55); outline-offset: 3px; }

.hspm-skip-link {
  position: fixed;
  top: -120px;
  left: 18px;
  z-index: 99999;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--hspm-orange);
  color: var(--hspm-navy);
  font-weight: 800;
  transition: top .15s ease;
}
.hspm-skip-link:focus { top: 0; }

.hspm-container {
  width: min(var(--hspm-container), calc(100% - 40px));
  margin-inline: auto;
}
.hspm-narrow { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.hspm-main { min-height: 55vh; overflow: hidden; }
.hspm-main > article { margin: 0; padding: 0; }
.hspm-main .entry-content { margin: 0; }

/* Utility bar and header */
.hspm-utility {
  background: var(--hspm-navy);
  color: rgba(255,255,255,.86);
  font-size: 14px;
  letter-spacing: .01em;
}
.hspm-utility__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hspm-utility a { color: #fff; font-weight: 700; text-decoration: none; }
.hspm-utility a:hover { color: #bfeaff; }
.hspm-utility__right { display: flex; align-items: center; gap: 18px; }

.hspm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(11,31,51,.09);
  box-shadow: 0 4px 22px rgba(11,31,51,.05);
  backdrop-filter: blur(14px);
}
.hspm-header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(250px, 390px) 1fr auto;
  align-items: center;
  gap: 26px;
}
.hspm-brand { display: block; line-height: 0; }
.hspm-brand img, .custom-logo { width: min(100%, 390px); max-height: 62px; object-fit: contain; object-position: left center; }
.hspm-brand__text { display: inline-flex; align-items: center; gap: 12px; color: var(--hspm-navy); text-decoration: none; font-size: 19px; font-weight: 850; line-height: 1.15; }
.hspm-brand__mark { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; color: white; background: linear-gradient(145deg, var(--hspm-sky), var(--hspm-blue)); }

.hspm-nav { justify-self: end; }
.hspm-nav__menu,
.hspm-nav__menu ul { margin: 0; padding: 0; list-style: none; }
.hspm-nav__menu { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.hspm-nav__menu > li { position: relative; }
.hspm-nav__menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--hspm-navy);
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}
.hspm-nav__menu a:hover,
.hspm-nav__menu .current-menu-item > a,
.hspm-nav__menu .current-menu-ancestor > a { background: #eaf5f9; color: var(--hspm-blue); }
.hspm-nav__menu .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .65; }
.hspm-nav__menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  min-width: 280px;
  padding: 10px;
  border: 1px solid var(--hspm-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hspm-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.hspm-nav__menu .sub-menu a { min-height: 40px; white-space: normal; }
.hspm-nav__menu li:hover > .sub-menu,
.hspm-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.hspm-header__actions { display: flex; align-items: center; gap: 10px; }
.hspm-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hspm-line);
  border-radius: 10px;
  background: #fff;
  color: var(--hspm-navy);
  cursor: pointer;
}
.hspm-menu-toggle span,
.hspm-menu-toggle::before,
.hspm-menu-toggle::after { content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.hspm-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.hspm-menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.hspm-menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.hspm-button,
a.hspm-button,
.hspm-form button,
.hspm-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--hspm-orange);
  color: var(--hspm-navy);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(245,158,11,.22);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.hspm-button:hover,
.hspm-form button:hover,
.hspm-form input[type="submit"]:hover { transform: translateY(-2px); background: #ffb52e; color: var(--hspm-navy); box-shadow: 0 11px 26px rgba(245,158,11,.3); }
.hspm-button--blue { background: var(--hspm-blue); color: #fff; box-shadow: 0 8px 22px rgba(14,104,148,.22); }
.hspm-button--blue:hover { background: #0a567c; color: #fff; }
.hspm-button--outline { background: transparent; border-color: rgba(255,255,255,.65); color: #fff; box-shadow: none; }
.hspm-button--outline:hover { background: #fff; color: var(--hspm-navy); }
.hspm-button--light { background: #fff; color: var(--hspm-blue); box-shadow: none; }
.hspm-button--small { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.hspm-button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.hspm-text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; text-decoration: none; }
.hspm-text-link::after { content: "→"; transition: transform .15s ease; }
.hspm-text-link:hover::after { transform: translateX(4px); }

/* General sections */
.hspm-section { padding: 88px 0; }
.hspm-section--tight { padding: 58px 0; }
.hspm-section--soft { background: var(--hspm-bg); }
.hspm-section--aqua { background: linear-gradient(180deg, #eef9fc, #f8fcfd); }
.hspm-section--dark { background: var(--hspm-navy); color: #fff; }
.hspm-section--blue { background: linear-gradient(135deg, var(--hspm-blue), #0a486d); color: #fff; }
.hspm-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--hspm-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hspm-section__eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: var(--hspm-orange); }
.hspm-section--dark .hspm-section__eyebrow,
.hspm-section--blue .hspm-section__eyebrow { color: #bfeaff; }
.hspm-section h1,
.hspm-section h2,
.hspm-section h3,
.hspm-page-hero h1 { margin-top: 0; color: var(--hspm-navy); line-height: 1.09; letter-spacing: -.035em; }
.hspm-section--dark h2,
.hspm-section--dark h3,
.hspm-section--blue h2,
.hspm-section--blue h3 { color: #fff; }
.hspm-section h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 54px); }
.hspm-section h3 { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.hspm-lead { max-width: 760px; color: var(--hspm-muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.6; }
.hspm-section--dark .hspm-lead,
.hspm-section--blue .hspm-lead { color: rgba(255,255,255,.82); }
.hspm-centered { text-align: center; }
.hspm-centered .hspm-lead { margin-inline: auto; }
.hspm-centered .hspm-section__eyebrow::before { display: none; }
.hspm-muted { color: var(--hspm-muted); }
.hspm-note { padding: 16px 18px; border-left: 4px solid var(--hspm-orange); border-radius: 6px; background: #fff8e8; color: #5b420f; }

/* Hero */
.hspm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 10% 15%, rgba(46,154,196,.28), transparent 34%),
    linear-gradient(135deg, #071827 0%, #103a58 57%, #0e6894 100%);
  color: #fff;
}
.hspm-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -180px 40%;
  z-index: -1;
  height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  transform: rotate(-12deg);
}
.hspm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: 58px; }
.hspm-hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #bfeaff; font-size: 14px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hspm-hero__eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 20px; background: var(--hspm-orange); }
.hspm-hero h1 { margin: 0 0 22px; color: #fff; font-size: clamp(45px, 6.1vw, 78px); line-height: .99; letter-spacing: -.05em; }
.hspm-hero__lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.85); font-size: clamp(18px, 2vw, 22px); line-height: 1.58; }
.hspm-hero__visual { position: relative; min-height: 470px; }
.hspm-hero__image-main { position: absolute; top: 0; right: 0; width: 87%; height: 72%; border: 7px solid rgba(255,255,255,.14); border-radius: 22px; object-fit: cover; box-shadow: 0 28px 60px rgba(0,0,0,.32); }
.hspm-hero__image-small { position: absolute; left: 0; bottom: 0; width: 58%; height: 51%; border: 7px solid #fff; border-radius: 18px; object-fit: cover; box-shadow: 0 22px 50px rgba(0,0,0,.28); }
.hspm-hero__badge { position: absolute; right: 2%; bottom: 5%; max-width: 220px; padding: 16px 18px; border-radius: 14px; background: #fff; color: var(--hspm-navy); box-shadow: var(--hspm-shadow); font-size: 14px; font-weight: 720; line-height: 1.35; }
.hspm-hero__badge strong { display: block; color: var(--hspm-blue); font-size: 22px; }

/* Proof bar */
.hspm-proof { position: relative; z-index: 3; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--hspm-line); }
.hspm-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hspm-proof__item { display: flex; align-items: center; gap: 14px; min-height: 108px; padding: 22px 24px; border-right: 1px solid var(--hspm-line); }
.hspm-proof__item:last-child { border-right: 0; }
.hspm-proof__icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--hspm-aqua); color: var(--hspm-blue); }
.hspm-proof__icon svg { width: 23px; height: 23px; }
.hspm-proof__item strong { display: block; color: var(--hspm-navy); font-size: 16px; line-height: 1.25; }
.hspm-proof__item span { display: block; margin-top: 2px; color: var(--hspm-muted); font-size: 13px; line-height: 1.35; }

/* Cards and grids */
.hspm-grid { display: grid; gap: 24px; }
.hspm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hspm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hspm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hspm-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--hspm-line);
  border-radius: var(--hspm-radius);
  background: #fff;
  box-shadow: 0 8px 26px rgba(11,31,51,.055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hspm-card:hover { transform: translateY(-4px); border-color: #b5d5e3; box-shadow: var(--hspm-shadow); }
.hspm-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 15px; background: linear-gradient(145deg, var(--hspm-aqua), #fff); color: var(--hspm-blue); border: 1px solid #cae9f4; }
.hspm-card__icon svg { width: 30px; height: 30px; }
.hspm-card h3 { font-size: 25px; }
.hspm-card p { margin-bottom: 18px; color: var(--hspm-muted); }
.hspm-card--dark { background: var(--hspm-navy); border-color: var(--hspm-navy); color: #fff; }
.hspm-card--dark h3 { color: #fff; }
.hspm-card--dark p { color: rgba(255,255,255,.74); }
.hspm-card--image { min-height: 420px; display: flex; align-items: flex-end; padding: 0; color: #fff; }
.hspm-card--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(5,20,32,.93) 100%); z-index: 1; }
.hspm-card--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hspm-card--image .hspm-card__body { position: relative; z-index: 2; padding: 30px; }
.hspm-card--image h3 { color: #fff; }
.hspm-card--image p { color: rgba(255,255,255,.84); }
.hspm-card--image .hspm-text-link { color: #fff; }

.hspm-audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 34px; }
.hspm-audience__card { position: relative; padding: 38px; border-radius: 22px; background: #fff; box-shadow: var(--hspm-shadow); overflow: hidden; }
.hspm-audience__card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -75px; top: -70px; border-radius: 50%; background: var(--hspm-aqua); }
.hspm-audience__card > * { position: relative; z-index: 1; }
.hspm-audience__label { color: var(--hspm-blue); font-weight: 900; text-transform: uppercase; letter-spacing: .09em; font-size: 13px; }

/* Split layouts */
.hspm-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; }
.hspm-split--reverse .hspm-split__media { order: 2; }
.hspm-split__media { position: relative; }
.hspm-split__media img { width: 100%; min-height: 430px; border-radius: 22px; object-fit: cover; box-shadow: var(--hspm-shadow); }
.hspm-split__media::before { content: ""; position: absolute; inset: -16px 40% 36% -16px; z-index: -1; border-radius: 22px; background: var(--hspm-aqua); }
.hspm-kicker-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 24px; padding: 18px; border: 1px solid var(--hspm-line); border-radius: 14px; background: #fff; }
.hspm-kicker-box__number { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--hspm-navy); color: #fff; font-size: 20px; font-weight: 900; }

/* Lists */
.hspm-checklist { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.hspm-checklist li { position: relative; padding-left: 31px; }
.hspm-checklist li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #dff5ea; color: var(--hspm-success); font-size: 13px; font-weight: 900; }
.hspm-section--dark .hspm-checklist li::before,
.hspm-section--blue .hspm-checklist li::before { background: rgba(255,255,255,.14); color: #bfffe0; }
.hspm-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 24px; margin: 26px 0; padding: 0; list-style: none; }
.hspm-feature-list li { padding: 15px 16px; border: 1px solid var(--hspm-line); border-radius: 12px; background: #fff; font-weight: 700; }

/* Process */
.hspm-process { counter-reset: hspm-step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.hspm-process__step { counter-increment: hspm-step; position: relative; padding: 30px 24px; border-radius: 17px; background: #fff; border: 1px solid var(--hspm-line); }
.hspm-process__step::before { content: counter(hspm-step, decimal-leading-zero); display: block; margin-bottom: 20px; color: var(--hspm-sky); font-size: 34px; font-weight: 900; line-height: 1; }
.hspm-process__step h3 { font-size: 21px; }
.hspm-process__step p { color: var(--hspm-muted); font-size: 15px; }

/* Testimonial */
.hspm-testimonial { position: relative; padding: 42px 46px; border-radius: 22px; background: #fff; color: var(--hspm-ink); box-shadow: var(--hspm-shadow); }
.hspm-testimonial::before { content: "“"; position: absolute; top: -12px; left: 24px; color: var(--hspm-aqua); font-family: Georgia, serif; font-size: 120px; line-height: 1; }
.hspm-testimonial blockquote { position: relative; z-index: 1; margin: 0; font-size: clamp(20px, 2.3vw, 28px); line-height: 1.5; }
.hspm-testimonial cite { display: block; margin-top: 20px; color: var(--hspm-blue); font-style: normal; font-weight: 850; }

/* CTA */
.hspm-cta { position: relative; overflow: hidden; padding: 54px; border-radius: 26px; background: linear-gradient(135deg, var(--hspm-blue), var(--hspm-navy)); color: #fff; box-shadow: var(--hspm-shadow); }
.hspm-cta::after { content: ""; position: absolute; right: -110px; top: -130px; width: 330px; height: 330px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hspm-cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.hspm-cta h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); }
.hspm-cta p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.82); }

/* Internal page hero */
.hspm-page-hero { position: relative; overflow: hidden; padding: 88px 0 74px; background: linear-gradient(135deg, #071827, #123c5c); color: #fff; }
.hspm-page-hero::after { content: ""; position: absolute; right: -100px; bottom: -240px; width: 520px; height: 520px; border: 70px solid rgba(46,154,196,.12); border-radius: 50%; }
.hspm-page-hero .hspm-container { position: relative; z-index: 1; }
.hspm-page-hero h1 { max-width: 880px; margin-bottom: 18px; color: #fff; font-size: clamp(42px, 6vw, 70px); }
.hspm-page-hero p { max-width: 760px; color: rgba(255,255,255,.82); font-size: 21px; }
.hspm-breadcrumbs { margin-bottom: 18px; color: #bfeaff; font-size: 14px; font-weight: 750; }
.hspm-breadcrumbs a { color: #fff; text-decoration: none; }

/* Products */
.hspm-product-card { display: flex; flex-direction: column; }
.hspm-product-card .hspm-text-link { margin-top: auto; }
.hspm-specs { width: 100%; border-collapse: collapse; margin: 24px 0; border: 1px solid var(--hspm-line); border-radius: 14px; overflow: hidden; }
.hspm-specs th, .hspm-specs td { padding: 14px 16px; border-bottom: 1px solid var(--hspm-line); text-align: left; vertical-align: top; }
.hspm-specs th { width: 34%; background: var(--hspm-bg); color: var(--hspm-navy); }
.hspm-specs tr:last-child th, .hspm-specs tr:last-child td { border-bottom: 0; }

/* Resources and documents */
.hspm-document-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.hspm-document { display: flex; flex-direction: column; min-height: 230px; padding: 26px; border: 1px solid var(--hspm-line); border-radius: 16px; background: #fff; }
.hspm-document__type { display: inline-flex; align-self: flex-start; margin-bottom: 18px; padding: 5px 9px; border-radius: 7px; background: #fce8e8; color: #9b2424; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.hspm-document h3 { font-size: 21px; }
.hspm-document p { color: var(--hspm-muted); font-size: 14px; }
.hspm-document .hspm-text-link { margin-top: auto; }
.hspm-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.hspm-video-card { overflow: hidden; border: 1px solid var(--hspm-line); border-radius: 17px; background: #fff; }
.hspm-video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hspm-video-card__body { padding: 22px; }
.hspm-video-card__body p { color: var(--hspm-muted); }

/* FAQ */
.hspm-faq { display: grid; gap: 12px; }
.hspm-faq details { border: 1px solid var(--hspm-line); border-radius: 13px; background: #fff; }
.hspm-faq summary { padding: 19px 52px 19px 20px; color: var(--hspm-navy); font-weight: 820; cursor: pointer; position: relative; list-style: none; }
.hspm-faq summary::-webkit-details-marker { display: none; }
.hspm-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--hspm-blue); font-size: 26px; }
.hspm-faq details[open] summary::after { content: "−"; }
.hspm-faq details > div { padding: 0 20px 20px; color: var(--hspm-muted); }

/* Quote form */
.hspm-form-shell { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 34px; align-items: start; }
.hspm-form { padding: 34px; border: 1px solid var(--hspm-line); border-radius: 20px; background: #fff; box-shadow: var(--hspm-shadow); }
.hspm-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.hspm-form__field { display: grid; gap: 7px; }
.hspm-form__field--full { grid-column: 1 / -1; }
.hspm-form label, .hspm-form legend { color: var(--hspm-navy); font-size: 14px; font-weight: 800; }
.hspm-form input[type="text"],
.hspm-form input[type="email"],
.hspm-form input[type="tel"],
.hspm-form input[type="url"],
.hspm-form input[type="file"],
.hspm-form select,
.hspm-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bdccd5;
  border-radius: 9px;
  background: #fff;
  color: var(--hspm-ink);
}
.hspm-form textarea { min-height: 145px; resize: vertical; }
.hspm-form input:focus, .hspm-form select:focus, .hspm-form textarea:focus { border-color: var(--hspm-sky); box-shadow: 0 0 0 3px rgba(46,154,196,.15); outline: none; }
.hspm-checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; }
.hspm-checkbox { display: flex; align-items: flex-start; gap: 9px; font-weight: 600 !important; }
.hspm-checkbox input { margin-top: 6px; }
.hspm-form__help { margin: 0; color: var(--hspm-muted); font-size: 13px; }
.hspm-form__hp { position: absolute !important; left: -9999px !important; }
.hspm-form-message { margin-bottom: 24px; padding: 16px 18px; border-radius: 10px; font-weight: 700; }
.hspm-form-message--success { background: #e2f6ec; color: #12613f; border: 1px solid #b9e7d0; }
.hspm-form-message--error { background: #fff0f0; color: #8d2525; border: 1px solid #f1c4c4; }
.hspm-contact-panel { padding: 30px; border-radius: 18px; background: var(--hspm-navy); color: #fff; }
.hspm-contact-panel h3 { color: #fff; }
.hspm-contact-panel a { color: #fff; }
.hspm-contact-list { display: grid; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.hspm-contact-list span { display: block; color: #bfeaff; font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

/* Footer */
.hspm-site-footer { background: #071827; color: rgba(255,255,255,.75); }
.hspm-footer__main { padding: 70px 0 52px; }
.hspm-footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 48px; }
.hspm-footer__brand img { max-width: 390px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.94); }
.hspm-footer__brand p { max-width: 480px; margin-top: 22px; }
.hspm-footer h2 { margin: 0 0 18px; color: #fff; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.hspm-footer ul { margin: 0; padding: 0; list-style: none; }
.hspm-footer li { margin-bottom: 9px; }
.hspm-footer a { color: rgba(255,255,255,.79); text-decoration: none; }
.hspm-footer a:hover { color: #fff; }
.hspm-footer__bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.hspm-footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.hspm-footer__legal { display: flex; gap: 16px; }

/* Standard WordPress content */
.hspm-content-wrap { padding: 70px 0; }
.hspm-content-wrap h1, .hspm-content-wrap h2, .hspm-content-wrap h3 { color: var(--hspm-navy); }
.hspm-post-card { padding: 28px; border: 1px solid var(--hspm-line); border-radius: 15px; background: #fff; }
.hspm-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.hspm-pagination { margin-top: 32px; }
.hspm-empty-state { padding: 80px 0; text-align: center; }

@media (max-width: 1120px) {
  .hspm-header__inner { grid-template-columns: minmax(220px, 330px) 1fr auto; gap: 16px; }
  .hspm-nav__menu a { padding-inline: 8px; font-size: 14px; }
  .hspm-header__actions .hspm-button { display: none; }
  .hspm-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .hspm-proof__item:nth-child(2) { border-right: 0; }
  .hspm-proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--hspm-line); }
  .hspm-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hspm-process { grid-template-columns: repeat(2, 1fr); }
  .hspm-footer__grid { grid-template-columns: 1.5fr repeat(2,1fr); }
  .hspm-footer__grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  body.hspm-site.admin-bar .hspm-site-header { top: 46px; }
  .hspm-utility__inner { justify-content: center; }
  .hspm-utility__left { display: none; }
  .hspm-header__inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .hspm-header__actions { grid-column: 2; }
  .hspm-menu-toggle { display: inline-block; }
  .hspm-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 0 0 18px;
  }
  .hspm-nav.is-open { display: block; }
  .hspm-nav__menu { display: grid; gap: 3px; }
  .hspm-nav__menu a { justify-content: space-between; min-height: 46px; padding: 10px 12px; }
  .hspm-nav__menu .sub-menu { position: static; min-width: 0; padding: 3px 0 4px 18px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .hspm-nav__menu .sub-menu a { color: var(--hspm-muted); }
  .hspm-hero { min-height: 0; padding-top: 62px; }
  .hspm-hero__grid { grid-template-columns: 1fr; }
  .hspm-hero__visual { min-height: 410px; max-width: 650px; width: 100%; }
  .hspm-split { grid-template-columns: 1fr; gap: 42px; }
  .hspm-split--reverse .hspm-split__media { order: 0; }
  .hspm-grid--3, .hspm-document-grid, .hspm-video-grid { grid-template-columns: repeat(2,1fr); }
  .hspm-audience { grid-template-columns: 1fr; }
  .hspm-cta__grid { grid-template-columns: 1fr; }
  .hspm-form-shell { grid-template-columns: 1fr; }
  .hspm-footer__grid { grid-template-columns: repeat(2,1fr); }
  .hspm-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hspm-container, .hspm-narrow { width: min(100% - 28px, var(--hspm-container)); }
  .hspm-utility__right { width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; }
  .hspm-brand img, .custom-logo { max-width: 250px; max-height: 48px; }
  .hspm-section { padding: 64px 0; }
  .hspm-section--tight { padding: 46px 0; }
  .hspm-hero { padding: 50px 0 48px; }
  .hspm-hero h1 { font-size: clamp(41px, 13vw, 62px); }
  .hspm-hero__visual { min-height: 330px; }
  .hspm-hero__image-main { width: 92%; height: 70%; }
  .hspm-hero__image-small { width: 64%; height: 48%; }
  .hspm-hero__badge { right: 0; bottom: 0; padding: 12px; max-width: 180px; }
  .hspm-proof__grid { grid-template-columns: 1fr; }
  .hspm-proof__item { min-height: 86px; border-right: 0; border-bottom: 1px solid var(--hspm-line); }
  .hspm-proof__item:last-child { border-bottom: 0; }
  .hspm-grid--2, .hspm-grid--3, .hspm-grid--4, .hspm-document-grid, .hspm-video-grid, .hspm-process, .hspm-feature-list { grid-template-columns: 1fr; }
  .hspm-card { padding: 24px; }
  .hspm-card--image { min-height: 370px; }
  .hspm-split__media img { min-height: 310px; }
  .hspm-audience__card { padding: 28px; }
  .hspm-cta { padding: 34px 26px; }
  .hspm-page-hero { padding: 64px 0 56px; }
  .hspm-form { padding: 24px 18px; }
  .hspm-form__grid, .hspm-checkbox-grid { grid-template-columns: 1fr; }
  .hspm-footer__grid { grid-template-columns: 1fr; }
  .hspm-footer__brand { grid-column: auto; }
  .hspm-footer__bottom-inner { flex-direction: column; }
  .hspm-footer__legal { flex-wrap: wrap; }
  .hspm-testimonial { padding: 36px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
