@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* =========================================================
   VEKTRON — Industrial electronics design system
   ========================================================= */

:root {
    --navy: #0A1628;
    --blue: #1E6FD9;
    --blue-light: #E8F1FB;
    --text: #1A1A2E;
    --text-muted: #6B7280;
    --surface: #F8F9FB;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --radius: 8px;
    --radius-lg: 12px;

    --blue-hover: #1858B0;
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.06);
    --shadow-lg: 0 16px 32px -8px rgba(10, 22, 40, 0.14), 0 8px 16px -8px rgba(10, 22, 40, 0.08);
    --container: 1140px;
    --nav-h: 72px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   RESET
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: var(--blue); text-decoration: none; transition: color 150ms var(--ease); }
a:hover { color: var(--blue-hover); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.2; color: var(--text); letter-spacing: -0.02em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--blue); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1 { font-size: 48px; font-weight: 500; }
h2 { font-size: 32px; font-weight: 500; }
h3 { font-size: 22px; font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }
small, .small { font-size: 14px; font-weight: 400; }

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.lead { font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 60ch; }

.text-muted { color: var(--text-muted); }

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 24px;
}

.section {
    max-width: var(--container);
    margin-inline: auto;
    padding: 80px 24px;
}

.section--full {
    max-width: none;
    padding: 0;
}

.section--full > .container { padding: 80px 24px; }

.section--surface { background: var(--surface); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-head p { margin-top: 16px; color: var(--text-muted); }

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 24px;
    gap: 24px;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.nav__brand:hover { color: var(--navy); }

.nav__logo {
    display: block;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    object-fit: contain;
}

.nav__logo::after { content: none; }

/* Header — primary nav */
.nav__brand .nav__logo {
    width: 200px;
    max-height: 56px;
}

/* Footer — uncropped, smaller so it sits with the text */
.footer__brand-mark .nav__logo {
    width: 160px;
    max-height: 60px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav__link {
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: background 150ms var(--ease), color 150ms var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
    background: var(--blue-light);
    color: var(--blue);
}

.nav__cta { margin-left: 12px; }

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    color: var(--text);
    position: relative;
    transition: background 150ms var(--ease);
}

.nav__toggle:hover { background: var(--surface); }

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 240ms var(--ease), top 240ms var(--ease), opacity 150ms var(--ease);
}

.nav__toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav__toggle span::before { top: -7px; left: 0; transform: none; }
.nav__toggle span::after  { top:  7px; left: 0; transform: none; }

.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- Nav dropdown ---------- */

.nav__item { position: relative; }

.nav__item--has-menu > .nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav__caret {
    width: 10px;
    height: 10px;
    transition: transform 200ms var(--ease);
}

.nav__item--has-menu[aria-expanded="true"] .nav__caret,
.nav__item--has-menu:hover .nav__caret { transform: rotate(180deg); }

/* Invisible hover bridge — keeps the menu open while the cursor
   travels between the trigger link and the submenu. Without this,
   the visual gap below the link drops :hover and closes the menu. */
.nav__item--has-menu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
    pointer-events: none;
}

.nav__item--has-menu:hover::after,
.nav__item--has-menu:focus-within::after,
.nav__item--has-menu[aria-expanded="true"]::after {
    pointer-events: auto;
}

.nav__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 10px;
    transform: translate(-50%, -4px);
    min-width: 240px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Closing: wait 200ms before fading out. Brief mouse-outs (e.g.
       moving the cursor diagonally) are forgiven instead of closing
       the menu immediately. */
    transition: opacity 180ms var(--ease) 200ms,
                transform 180ms var(--ease) 200ms,
                visibility 0s linear 380ms;
    z-index: 51;
}

.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu,
.nav__item--has-menu[aria-expanded="true"] .nav__submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    /* Opening: short 80ms delay swallows accidental hover-on-pass,
       so just gliding the cursor over the link doesn't pop the menu. */
    transition: opacity 180ms var(--ease) 80ms,
                transform 180ms var(--ease) 80ms,
                visibility 0s linear 0s;
}

.nav__submenu a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: background 120ms var(--ease), color 120ms var(--ease);
}

.nav__submenu a:hover {
    background: var(--blue-light);
    color: var(--blue);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
    transition: background 150ms var(--ease),
                border-color 150ms var(--ease),
                color 150ms var(--ease),
                transform 150ms var(--ease),
                box-shadow 150ms var(--ease);
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn--primary:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(30, 111, 217, 0.28);
}

.btn--primary:active { transform: translateY(1px); box-shadow: none; }

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
    color: var(--white);
}

.btn--secondary {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
}

.btn--secondary:hover {
    background: var(--surface);
    border-color: var(--text-muted);
    color: var(--text);
}

.btn--lg { padding: 14px 28px; font-size: 16px; }

.btn__arrow { transition: transform 240ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: var(--navy);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 85% 15%, rgba(30, 111, 217, 0.28), transparent 60%),
        radial-gradient(ellipse 50% 60% at 5% 95%, rgba(30, 111, 217, 0.12), transparent 60%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
    z-index: -1;
    pointer-events: none;
}

.hero__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 120px 24px;
    display: grid;
    gap: 56px;
    align-items: center;
}

@media (min-width: 960px) {
    .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}

.hero__copy { max-width: 620px; }

.hero h1 {
    color: var(--white);
    margin-top: 8px;
    line-height: 1.1;
    font-weight: 600;
}

.hero__title-accent {
    background: linear-gradient(120deg, #5BA0FF, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__sub {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    isolation: isolate;
}

.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Subtle blue tint + slight darken so the white headline stays readable on the
   surrounding navy and the image reads as part of the hero rather than a sticker. */
.hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(10, 22, 40, 0.15), transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(30, 111, 217, 0.18), transparent 60%);
    pointer-events: none;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    mix-blend-mode: screen;
    z-index: -1;
    pointer-events: none;
}

/* =========================================================
   FEATURES
   ========================================================= */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    margin-bottom: 8px;
}

.feature__icon svg { width: 24px; height: 24px; }

.feature__title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature__desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =========================================================
   PAGE HERO (smaller variant)
   ========================================================= */

.page-hero {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 0%, rgba(30, 111, 217, 0.25), transparent 60%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(30, 111, 217, 0.12), transparent 60%);
    z-index: -2;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

.page-hero__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 64px 24px 72px;
}

.page-hero h1 {
    color: var(--white);
    margin-top: 16px;
    max-width: 18ch;
}

.page-hero__sub {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 60ch;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 120ms var(--ease);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb__sep { opacity: 0.4; }

.breadcrumb [aria-current="page"] { color: var(--white); }

/* =========================================================
   PROSE
   ========================================================= */

.prose {
    max-width: 70ch;
    margin-inline: auto;
}

.prose > * + * { margin-top: 20px; }

.prose p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.prose p + p { margin-top: 20px; }

.prose strong { color: var(--text); font-weight: 600; }

.prose h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-top: 36px;
}

.prose h3:first-child { margin-top: 0; }

.prose ul {
    padding-left: 1.25rem;
    list-style: disc;
    color: var(--text);
}

.prose ul li {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 6px;
}

.prose ul li::marker { color: var(--blue); }

.prose a {
    color: var(--blue);
    border-bottom: 1px solid transparent;
    transition: border-color 150ms var(--ease);
}

.prose a:hover { border-bottom-color: currentColor; }

.prose__meta {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

/* =========================================================
   PRODUCT DETAIL ROW
   ========================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.product-detail + .product-detail { margin-top: 24px; }

.product-detail:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

@media (min-width: 720px) {
    .product-detail { grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
}

.product-detail__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(ellipse at center, rgba(30, 111, 217, 0.06), transparent 70%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.product-detail__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 114, 128, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 114, 128, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.product-detail__media img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-detail__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail__name {
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.product-detail__rule {
    height: 1px;
    background: var(--border);
    border: 0;
    margin: 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table th,
.spec-table td {
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px dashed var(--border);
    vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.spec-table th {
    font-weight: 500;
    color: var(--text-muted);
    width: 38%;
    padding-right: 16px;
}

.spec-table td {
    color: var(--text);
    font-weight: 500;
}

.product-detail__desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.product-detail__cta { align-self: flex-start; }

/* =========================================================
   COMPARISON TABLE
   ========================================================= */

.compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 14px;
}

.compare th,
.compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.compare thead th {
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
    border-bottom: 1px solid var(--border);
}

.compare thead th:first-child {
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.compare tbody th {
    font-weight: 500;
    color: var(--text-muted);
    width: 18%;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
}

.compare tbody td {
    color: var(--text);
    font-weight: 500;
}

.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }

.compare tbody tr:hover td,
.compare tbody tr:hover th { background: var(--surface); }

.compare__pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 12px;
    font-weight: 500;
}

/* =========================================================
   CTA STRIP
   ========================================================= */

.cta-strip {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(30, 111, 217, 0.3), transparent 60%);
    z-index: -1;
}

.cta-strip__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 72px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-strip__text {
    font-size: 26px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.3;
    max-width: 28ch;
}

@media (max-width: 768px) {
    .cta-strip__inner { padding: 56px 24px; flex-direction: column; align-items: flex-start; }
    .cta-strip__text { font-size: 22px; }
    .product-detail { padding: 24px; }
    .compare th, .compare td { padding: 12px 14px; }
}

/* =========================================================
   PRODUCT CARDS
   ========================================================= */

.products {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .products { gap: 24px; }
}

@media (min-width: 980px) {
    .products { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 440px) {
    .products { grid-template-columns: 1fr; }
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 240ms var(--ease),
                box-shadow 240ms var(--ease),
                border-color 240ms var(--ease);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card__media {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse at center, rgba(30, 111, 217, 0.12), transparent 70%),
        var(--blue-light);
    border: 1px solid rgba(30, 111, 217, 0.18);
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-bottom: 16px;
}

.product-card__media img,
.product-card__media svg {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: transform 320ms var(--ease);
}

.product-card:hover .product-card__media img,
.product-card:hover .product-card__media svg {
    transform: scale(1.08);
}

.product-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    z-index: 1;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    width: 100%;
}

.product-card__category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.product-card__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
}

.product-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

.product-card__link::after {
    content: '→';
    transition: transform 240ms var(--ease);
}

.product-card:hover .product-card__link::after { transform: translateX(4px); }

.product-card__title-link::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* =========================================================
   STAT STRIP
   ========================================================= */

.stats {
    background: var(--navy);
    color: var(--white);
}

.stats__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat__num {
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--white);
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.stat__suffix {
    font-size: 32px;
    font-weight: 500;
    color: var(--blue);
}

.stat__label {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
}

/* =========================================================
   VALUES (navy 3-column)
   ========================================================= */

.values {
    background: var(--navy);
    color: var(--white);
}

.values__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.value {
    padding-inline: 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.value:first-child { padding-left: 0; }
.value:last-child  { padding-right: 0; border-right: 0; }

.value__icon {
    width: 64px;
    height: 64px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--white);
}

.value__icon svg {
    width: 28px;
    height: 28px;
}

.value__title {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 16px;
}

.value__desc {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 38ch;
}

@media (max-width: 768px) {
    .values__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 24px;
        text-align: center;
    }

    .value {
        padding: 0;
        border-right: 0;
    }

    .value__icon { margin-inline: auto; }
    .value__desc { margin-inline: auto; }
}

/* =========================================================
   SPLIT (two-column content)
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 880px) {
    .split { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.split__lead {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
}

.split__lead p + p { margin-top: 18px; }

/* =========================================================
   BENEFITS (small icon + label + line)
   ========================================================= */

.benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.benefit-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.benefit-row:hover {
    border-color: var(--blue);
    background: var(--blue-light);
}

.benefit-row__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.benefit-row__icon svg { width: 22px; height: 22px; }

.benefit-row__label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.benefit-row__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================================
   HIGHLIGHTS (3 boxes)
   ========================================================= */

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.highlight {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--blue);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    display: grid;
    place-items: center;
}

.highlight__icon svg { width: 22px; height: 22px; }

.highlight__title {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.highlight__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================================
   INDUSTRY GRID
   ========================================================= */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 900px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
}

.industry-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.industry-card__media {
    aspect-ratio: 4 / 3;
    background: var(--surface);
    overflow: hidden;
    position: relative;
}

.industry-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 480ms var(--ease);
}

.industry-card:hover .industry-card__media img { transform: scale(1.04); }

.industry-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    flex: 1;
}

.industry-card__title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.industry-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.industry-card__cta {
    align-self: flex-start;
    margin-top: 8px;
}

@media (max-width: 540px) {
    .industry-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TRUST BADGES (inline icon + label row)
   ========================================================= */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.trust-badge__icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: var(--blue);
}

.trust-badge__icon svg { width: 18px; height: 18px; }

/* =========================================================
   CTA STRIP SUBTEXT
   ========================================================= */

.cta-strip__sub {
    margin-top: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 50ch;
}

/* =========================================================
   BANNER (full-width navy with content)
   ========================================================= */

.banner {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(30, 111, 217, 0.3), transparent 60%),
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(30, 111, 217, 0.12), transparent 60%);
    z-index: -1;
}

.banner__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 72px 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 760px) {
    .banner__inner { grid-template-columns: 1fr auto; gap: 40px; }
}

.banner__title {
    font-size: 28px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.3;
    max-width: 24ch;
}

.banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 768px) {
    .banner__inner { padding: 56px 24px; }
    .banner__title { font-size: 22px; }
    .banner__actions { width: 100%; }
    .banner__actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   STAT CARDS (navy bg cards in split layout)
   ========================================================= */

.stat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .stat-cards { grid-template-columns: 1fr; }
}

.stat-card {
    padding: 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(30, 111, 217, 0.25), transparent 65%);
    z-index: -1;
}

.stat-card__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(30, 111, 217, 0.18);
    color: #5BA0FF;
    display: grid;
    place-items: center;
}

.stat-card__icon svg { width: 20px; height: 20px; }

.stat-card__title {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.stat-card__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
}

/* =========================================================
   ICON CARD GRID (icon + heading + desc + link)
   ========================================================= */

.icon-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .icon-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 980px) {
    .icon-grid { grid-template-columns: repeat(3, 1fr); }
}

.icon-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.icon-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.icon-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    display: grid;
    place-items: center;
}

.icon-card__icon svg { width: 26px; height: 26px; }

.icon-card__title {
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.icon-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.icon-card__cta {
    align-self: flex-start;
    margin-top: 4px;
}

/* =========================================================
   ENVIRONMENTS (small 4-col list)
   ========================================================= */

.envs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.env {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-left: 2px solid var(--blue);
    background: var(--white);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.env__icon {
    width: 32px;
    height: 32px;
    color: var(--blue);
    display: grid;
    place-items: center;
}

.env__icon svg { width: 24px; height: 24px; }

.env__title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.env__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* =========================================================
   BANNER SUBTEXT
   ========================================================= */

.banner__sub {
    margin-top: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 50ch;
}

/* =========================================================
   HERO BADGE / PARTNER MARK
   ========================================================= */

.partner-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 28px;
    margin-bottom: 16px;
}

.partner-mark img {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--white);
    padding: 4px;
    object-fit: contain;
    filter: none;
}

/* =========================================================
   CONTACT LAYOUT
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 920px) {
    .contact-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
}

/* =========================================================
   FORM
   ========================================================= */

.form-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 540px) {
    .form-card { padding: 24px; }
}

.form-card__title {
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.form-card__intro {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-grid > .field--full { grid-column: 1 / -1; }

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field__label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.005em;
}

.field__label .req { color: var(--blue); }

.field__hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease);
    appearance: none;
    -webkit-appearance: none;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M2 4l3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--text-muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15);
}

.form-card__submit {
    width: 100%;
    margin-top: 24px;
    padding: 14px 24px;
    font-size: 15px;
}

.form-card__note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.form-alert {
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    font-weight: 500;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-alert__icon { width: 24px; height: 24px; flex-shrink: 0; }
.form-alert__title { font-size: 15px; margin-bottom: 4px; }
.form-alert__body { font-size: 14px; font-weight: 400; }

.form-alert--success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    color: #065F46;
}
.form-alert--success .form-alert__icon { color: #10B981; }
.form-alert--success .form-alert__body { color: #047857; }

.form-alert--error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991B1B;
}
.form-alert--error .form-alert__icon { color: #EF4444; }
.form-alert--error .form-alert__body { color: #B91C1C; }

.form-alert--warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.35);
    color: #92400E;
}
.form-alert--warning .form-alert__icon { color: #F59E0B; }
.form-alert--warning .form-alert__body { color: #B45309; }

/* Legacy aliases — kept so existing markup still works */
.form-success { padding: 20px 24px; border-radius: var(--radius-lg); border: 1px solid rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.08); color: #065F46; font-weight: 500; margin-bottom: 24px; display: flex; align-items: flex-start; gap: 12px; }
.form-success__icon { width: 24px; height: 24px; flex-shrink: 0; color: #10B981; }
.form-success__title { font-size: 15px; margin-bottom: 4px; }
.form-success__body { font-size: 14px; color: #047857; font-weight: 400; }

/* =========================================================
   CONTACT DETAIL CARDS
   ========================================================= */

.details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.detail:hover {
    border-color: var(--blue);
    background: var(--blue-light);
}

.detail__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--blue-light);
    color: var(--blue);
    display: grid;
    place-items: center;
}

.detail__icon svg { width: 22px; height: 22px; }

.detail__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.detail__value {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word;
}

.detail__value a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 150ms var(--ease), color 150ms var(--ease);
}

.detail__value a:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

/* =========================================================
   HOURS BOX
   ========================================================= */

.hours {
    margin-top: 24px;
    padding: 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hours::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(30, 111, 217, 0.3), transparent 65%);
    z-index: -1;
}

.hours__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hours__title svg {
    width: 16px;
    height: 16px;
    color: #5BA0FF;
}

.hours__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours__row:last-child { border-bottom: 0; }

.hours__day {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hours__time {
    color: var(--white);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.hours__time--closed { color: rgba(255, 255, 255, 0.5); }

/* =========================================================
   MAP
   ========================================================= */

.map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.map-address {
    margin-top: 20px;
    font-style: normal;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
}

.map-address strong { color: var(--text); font-weight: 500; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.faq {
    max-width: 820px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.faq__item[data-open="true"] {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}

.faq__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    line-height: 1.4;
    transition: color 150ms var(--ease);
}

.faq__trigger:hover { color: var(--blue); }

.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    position: relative;
    transition: background 200ms var(--ease);
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 2px;
    transition: transform 240ms var(--ease);
}

.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after  { width: 2px; height: 12px; }

.faq__item[data-open="true"] .faq__icon {
    background: var(--blue);
    color: var(--white);
}

.faq__item[data-open="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }

.faq__panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 320ms var(--ease);
}

.faq__answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 70ch;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer__grid {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 340px;
}

.footer__brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 22px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer__tag {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer__address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer__address strong { color: var(--white); font-weight: 500; }

.footer__col-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 150ms var(--ease), transform 150ms var(--ease);
    display: inline-block;
}

.footer__links a:hover {
    color: var(--white);
    transform: translateX(2px);
}

.footer__bottom {
    max-width: var(--container);
    margin: 64px auto 0;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__legal a { color: inherit; }
.footer__legal a:hover { color: var(--white); }

.footer__credit a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
    transition: color 150ms var(--ease), border-color 150ms var(--ease);
}

.footer__credit a:hover {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 26px; }

    .nav__toggle { display: inline-grid; place-items: center; }

    .nav__menu {
        position: fixed;
        inset: var(--nav-h) 0 0 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 24px;
        background: var(--white);
        border-top: 1px solid var(--border);
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: transform 240ms var(--ease), opacity 240ms var(--ease);
    }

    .nav.is-open .nav__menu {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__item { width: 100%; }

    .nav__link {
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: var(--radius);
        border-bottom: 1px solid var(--border);
    }

    .nav__item:last-of-type > .nav__link { border-bottom: 0; }

    .nav__item--has-menu::after { content: none; }

    .nav__submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: 0;
        background: var(--surface);
        padding: 4px 8px;
        margin: 4px 0 8px;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 240ms var(--ease), padding 200ms var(--ease);
    }

    .nav__item--has-menu[aria-expanded="true"] .nav__submenu {
        max-height: 400px;
        padding: 8px;
    }

    .nav__cta {
        margin: 12px 0 0;
        justify-content: center;
    }

    body.nav-open { overflow: hidden; }

    .section { padding: 56px 24px; }
    .hero__inner { padding: 72px 24px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }

    .stats__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 56px 24px;
    }

    .stat__num { font-size: 44px; }

    .footer { padding-top: 56px; }
    .footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   UTILITIES
   ========================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
