/* ==========================================================================
   Primetechware – main stylesheet
   1 Tokens  2 Base  3 Layout  4 Header  5 Buttons  6 Hero  7 Sections
   8 Cards   9 Stats/Brands  10 Page hero  11 Prose/lists  12 Forms
   13 CTA/Footer  14 Utilities  15 Responsive
   ========================================================================== */

/* 1 Tokens ---------------------------------------------------------------- */
:root {
    --navy-950: #061224;
    --navy-900: #0b1f3a;
    --navy-800: #11305a;
    --blue: #1769e0;
    --cyan: #19b5e6;
    --accent: #ff7a1a;
    --accent-dark: #e8650a;
    --ink: #0f1c2e;
    --muted: #5a6b80;
    --line: #e2e8f0;
    --bg: #f4f7fb;
    --white: #fff;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 2px 8px rgba(11, 31, 58, .05);
    --shadow: 0 10px 30px rgba(11, 31, 58, .10);
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Sora", "Inter", system-ui, sans-serif;
    --header-h: 88px;
}

/* 2 Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
    color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
    overflow-x: clip; /* never allow sideways page scroll */
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 Layout ---------------------------------------------------------------- */
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--alt { background: var(--bg); }
.section--dark { background: var(--navy-900); color: #cfdcf0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: #a9bddb; }
.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan); }

/* 4 Header ---------------------------------------------------------------- */
.topbar { background: var(--navy-950); color: #b7c7e2; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar__group { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
a.topbar__item:hover { color: #fff; text-decoration: none; }
.topbar .icon { color: var(--cyan); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--navy-900); display: inline-flex; }
.brand__text strong { font-weight: 800; }
.brand__text sup { font-size: .5em; font-weight: 500; vertical-align: super; }
.brand--light { color: #fff; }
.brand--light .brand__mark { color: #fff; }
.brand__fallback { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 58px; width: auto; max-width: none; object-fit: contain; display: block; }
.brand.has-logo:not(.logo-failed) .brand__fallback { display: none; }
.site-footer .brand__logo { height: 68px; }

/* Office photo (About + Contact): full image, never cropped, so the sign stays readable */
.office-photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-900); }
.office-photo img { display: block; width: 100%; height: auto; }
.office-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px;
    padding: 36px 20px 16px; color: #fff; font-weight: 600; font-size: .95rem;
    background: linear-gradient(to top, rgba(6, 18, 36, .85), rgba(6, 18, 36, 0));
}
.office-photo figcaption .icon { color: var(--cyan); flex-shrink: 0; }

/* Image slot: placeholder underneath, real image on top (removed if it fails to load) */
.imgslot { position: relative; width: 100%; height: 100%; min-height: inherit; }
.imgslot .ph { position: absolute; inset: 0; }
.imgslot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.product-card__media .imgslot > img, .media-frame .imgslot > img { background: #fff; }
.tile .imgslot { position: absolute; inset: 0; }
.tile .imgslot > img { background: transparent; object-fit: contain; padding: 14%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy-900); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.primary-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 8px;
    font: 600 .95rem/1 var(--font); color: var(--ink); background: none; border: 0; cursor: pointer;
}
.nav-link:hover { background: var(--bg); text-decoration: none; color: var(--blue); }
.nav-item.is-active > .nav-link { color: var(--blue); }
.nav-item.is-active > .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-link .icon { transition: transform .2s; }
.has-sub[data-open="true"] > .nav-link .icon { transform: rotate(180deg); }

.subnav {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .has-sub[data-open="true"] > .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.subnav a:hover, .subnav a[aria-current] { background: var(--bg); color: var(--blue); text-decoration: none; }

/* 5 Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
    font: 700 .95rem/1.2 var(--font); border-radius: 10px; border: 2px solid transparent; cursor: pointer;
    transition: transform .15s, background .15s, box-shadow .15s, color .15s; text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(23, 105, 224, .28); }
.btn--primary:hover { background: #1258c0; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(255, 122, 26, .3); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--outline { background: transparent; border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* 6 Hero ------------------------------------------------------------------ */
.hero {
    position: relative; overflow: hidden; color: #cfe0f7;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(25, 181, 230, .30), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(23, 105, 224, .35), transparent 60%),
        linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: clamp(56px, 8vw, 110px) 0; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), #7fe0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.12rem; max-width: 56ch; color: #b9cdea; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: #d7e5fa; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .icon { color: var(--cyan); }

.hero__visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; backdrop-filter: blur(4px);
}
.tile:first-child { grid-row: span 2; aspect-ratio: auto; }
.tile .ph, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .ph { background: transparent; color: rgba(255, 255, 255, .22); }
.tile .ph .icon { width: 72px; height: 72px; }
.tile span { position: relative; color: #fff; font-weight: 700; font-family: var(--font-head); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.hero__visual { padding-bottom: 64px; }
.hero__call {
    position: absolute; left: 0; bottom: 0; background: var(--accent); color: #fff; padding: 14px 20px; border-radius: 12px;
    box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.3; font-size: .8rem;
}
.hero__call strong { font-size: 1.1rem; }
.hero__call a { color: #fff; }

/* 7 Sections -------------------------------------------------------------- */
.media-frame { border-radius: var(--radius); overflow: hidden; background: var(--bg); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.media-frame img, .media-frame .ph { width: 100%; height: 100%; object-fit: cover; }
.ph {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 120px;
    background: linear-gradient(135deg, #e7eef9, #d5e3f6); color: #7f9bc4;
}
.callout {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); color: #cfe0f7; border-radius: var(--radius); padding: 32px 36px;
}
.callout h3 { color: #fff; margin-bottom: 4px; }
.callout p { margin: 0; }

/* 8 Cards ----------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cddcf0; }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card__media { aspect-ratio: 16 / 10; background: var(--bg); overflow: hidden; }
.product-card__media img, .product-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card__body p { color: var(--muted); font-size: .96rem; flex: 1; }
.feature-card { padding: 28px; }
.feature-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: #e8f1fe; color: var(--blue); margin-bottom: 18px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .96rem; }
.section--dark .feature-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--dark .feature-card h3 { color: #fff; }
.section--dark .feature-card p { color: #a9bddb; }
.section--dark .feature-card__icon { background: rgba(25, 181, 230, .15); color: var(--cyan); }

.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 0; margin: 0; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font: 800 1rem var(--font-head); margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }

/* 9 Stats / Brands -------------------------------------------------------- */
.stats { padding: 40px 0; }
.stats--dark { background: var(--navy-900); color: #fff; }
.stats--light { background: #fff; border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { display: block; font: 800 clamp(2rem, 4vw, 2.9rem)/1.1 var(--font-head); color: var(--blue); }
.stats--dark .stat__num { color: var(--cyan); }
.stat__label { display: block; margin-top: 6px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.stats--dark .stat__label { color: #a9bddb; }

.brands__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; }
.brands__item { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: .2s; }
.brands__item:hover { border-color: var(--cyan); box-shadow: var(--shadow-sm); }
.brands__item img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.brands__item:hover img { filter: none; opacity: 1; }
.brands__word { font: 800 1.25rem var(--font-head); letter-spacing: -.02em; color: #5d7391; transition: color .2s; }
.brands__item:hover .brands__word { color: var(--navy-900); }

/* 10 Page hero ------------------------------------------------------------ */
.page-hero {
    position: relative; color: #cfe0f7; padding: clamp(44px, 6vw, 76px) 0;
    background: radial-gradient(700px 300px at 90% 0, rgba(25, 181, 230, .28), transparent 60%), linear-gradient(150deg, var(--navy-950), var(--navy-800));
}
.page-hero h1 { color: #fff; margin: 10px 0 0; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero__lead { max-width: 64ch; margin: 14px 0 0; font-size: 1.1rem; color: #b9cdea; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #8fa8cc; }
.crumbs a { color: #cfe0f7; }
.crumbs [aria-current] { color: #fff; }

/* 11 Prose / lists -------------------------------------------------------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #33445a; }
.prose a { text-decoration: underline; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
    background: #e3f6e9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b9c4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12.5 4 4 8-9'/></svg>") center/14px no-repeat;
}
.checklist--cols { grid-template-columns: repeat(2, 1fr); }
.checklist strong { color: var(--navy-900); }

.accordion { display: grid; gap: 12px; }
.accordion details { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.accordion summary { cursor: pointer; padding: 18px 22px; font: 700 1.05rem var(--font-head); color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion details[open] { border-color: #bcd3f5; box-shadow: var(--shadow-sm); }
.accordion .acc-body { padding: 0 22px 20px; color: #33445a; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--navy-900); color: #fff; font-weight: 600; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody th { background: var(--bg); width: 160px; color: var(--navy-900); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .feature-card__icon { margin: 0; flex-shrink: 0; }
.contact-list h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-list p { margin: 0; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 8px 16px; border-radius: 999px; background: #e8f1fe; color: var(--navy-800); font-weight: 600; font-size: .9rem; }

/* 12 Forms ---------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-card__lead { color: var(--muted); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #cdd8e6; border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 105, 224, .14); }
.field.has-error input, .field.has-error textarea { border-color: #d93a3a; }
.field__err { color: #c22b2b; font-size: .85rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert--ok { background: #e6f7ec; color: #14683a; border: 1px solid #b7e4c7; }
.alert--err { background: #fdecec; color: #a12222; border: 1px solid #f3b9b9; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: block; text-align: center; padding: 13px; border: 1.5px solid #cdd8e6; border-radius: 10px; font-weight: 700; color: var(--navy-900); transition: .15s; }
.seg__opt input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* 13 CTA / Footer --------------------------------------------------------- */
.cta-banner { background: linear-gradient(110deg, var(--blue), #0e8fd0); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-banner__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; max-width: 24ch; margin-bottom: 8px; }
.cta-banner p { margin: 0; color: #dbeeff; max-width: 52ch; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: var(--navy-950); color: #9db3d3; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding: 64px 0 44px; }
.footer__about p { margin: 16px 0; max-width: 36ch; font-size: .95rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; transition: .15s; }
.footer__social a:hover { background: var(--cyan); color: var(--navy-950); }
.footer__title { color: #fff; font: 700 1rem/1.2 var(--font-head); margin: 0 0 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: #9db3d3; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .09); font-size: .88rem; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; }
.footer__bar p { margin: 0; }
.footer__bar ul { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer__bar a { color: #9db3d3; }
.footer__bar a:hover { color: #fff; }
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }

/* 14 Utilities / motion --------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 24px; } .mt-4 { margin-top: 48px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: .01ms !important; }
}

/* 15 Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
    :root { --header-h: 80px; }
    .brand__logo { height: 50px; }
    .nav-link { padding: 10px 11px; }
    .primary-nav { gap: 12px; }
}
@media (max-width: 1020px) {
    .grid--4, .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { max-width: 560px; }
    .hero__call { left: 12px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .brands__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    /* backdrop-filter would make the header the containing block of the fixed menu panel */
    .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: fixed; inset: calc(var(--header-h) + 40px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
        padding: 20px; gap: 16px; overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }
    .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { width: 100%; justify-content: space-between; padding: 14px; font-size: 1.05rem; }
    .nav-item.is-active > .nav-link::after { display: none; }
    .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
    .has-sub[data-open="true"] > .subnav { display: block; }
    .has-sub:hover > .subnav { opacity: 1; }
    .nav-cta { width: 100%; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 820px) {
    .split, .grid--2, .grid--3 { grid-template-columns: 1fr; }
    .checklist--cols { grid-template-columns: 1fr; }
    .topbar__inner > .topbar__item { display: none; }
    .topbar__inner { justify-content: center; }
}
@media (max-width: 600px) {
    .topbar { font-size: .8rem; }
    .topbar__group { gap: 4px 14px; justify-content: center; }
    .topbar__item .icon { display: none; }
    :root { --header-h: 68px; }
    .brand__logo { height: 42px; }
    .site-footer .brand__logo { height: 56px; }
    .form__row, .steps, .steps--3 { grid-template-columns: 1fr; }
    .stats__grid { gap: 28px 12px; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__visual { grid-template-columns: 1fr 1fr; }
    .hero__call { position: static; margin-top: 14px; grid-column: span 2; }
    .callout { padding: 24px; }
    .brands__grid { gap: 10px; }
}

/* Photo with an overlaid badge (About page) */
.media-frame--badge { position: relative; }
.media-badge {
    position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: baseline; gap: 8px;
    background: var(--accent); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; font-size: .92rem;
}
.media-badge strong { font: 800 1.7rem/1 var(--font-head); }
