/* ==========================================================================
   AdTech Prime Solutions — site styles
   Mobile-first. Breakpoints: 560 · 720 · 960 · 1100px
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy-950: #081127;
  --navy-900: #0B1733;
  --navy-850: #0E1B36;
  --navy-800: #12264F;
  --navy-700: #1B2F57;
  --navy-600: #23406F;
  --navy-500: #33507F;
  --blue: #1A6BD4;
  --blue-dark: #0F4FA3;
  --blue-bright: #5AA8FF;
  --ground: #F3F6FB;
  --line: #DCE4F2;
  --line-strong: #C9D5EA;
  --ink: #0B1733;
  --ink-2: #3A4863;
  --muted: #55647E;
  --muted-dark: #A9B8D3;
  --muted-dark-2: #8193B3;
  --ok: #3DD68C;
  --warn: #F5B84A;

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 80px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 18px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.ic { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2-xl { font-size: clamp(32px, 4.6vw, 56px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--line-strong); max-width: 34em; }
.body-lg { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.62; color: var(--ink-2); }
.body-muted { font-size: 17px; color: var(--muted); }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; color: var(--blue); font-weight: 500; }
.eyebrow-muted { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); white-space: nowrap; }
.hl { color: var(--blue-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn-sm { min-height: 44px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: var(--navy-500); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; align-self: flex-start; }
.text-link .ic { transition: transform .2s; }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.tint { background: var(--ground); }
.dark { background: var(--navy-900); color: #fff; }
.dark .eyebrow { color: var(--blue-bright); }
.dark .body-lg { color: var(--line-strong); }

.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > .body-lg { max-width: 440px; }
.section-title { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
@media (min-width: 960px) {
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 64px; }
  .section-head > .stack { max-width: 760px; }
}

.split { display: grid; gap: clamp(40px, 6vw, 96px); }

/* LED pixel texture (pure CSS, no image request) */
.px, .hero::before, .process::before, .contact::before {
  background-image: radial-gradient(rgba(90,168,255,.22) 1.2px, transparent 1.8px);
  background-size: 16px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-700);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(8,17,39,.35); }
.header-bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 176px; height: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--navy-600); border-radius: 10px;
  background: transparent; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--navy-900); border-bottom: 1px solid var(--navy-700);
  padding: 8px var(--gutter) 24px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--navy-700); color: var(--line-strong); font-size: 17px; font-weight: 500; }
.nav-list a:hover { color: #fff; }
.nav-cta { display: flex; flex-direction: column; gap: 12px; }
.nav-phone { color: var(--line-strong); font-size: 14px; padding: 8px 0; }
.nav-phone:hover { color: #fff; }

@media (min-width: 1100px) {
  :root { --header-h: 88px; }
  .brand img { width: 200px; }
  .nav-toggle { display: none; }
  .nav {
    position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none;
    flex-direction: row; align-items: center; flex-grow: 1; justify-content: space-between; gap: 32px;
    transform: none; opacity: 1; visibility: visible; margin-left: 32px;
  }
  .nav-list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
  .nav-list a { padding: 8px 0; border: 0; font-size: 15px; }
  .nav-cta { flex-direction: row; align-items: center; gap: 20px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); }
.hero::before {
  content: ""; position: absolute; right: -40px; top: 0; width: min(760px, 90vw); height: 640px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom left, #000 30%, transparent 75%);
  mask-image: linear-gradient(to bottom left, #000 30%, transparent 75%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--navy-600); border-radius: 999px;
  font-size: 12px; letter-spacing: 0.12em; color: var(--muted-dark);
}
.pill-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--blue-bright); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.hero-visual { position: relative; }
.hero-screen { padding: 10px; border-radius: 22px; background: var(--navy-800); border: 1px solid var(--navy-600); }
.hero-screen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px;
  padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero-card { display: none; }

@media (min-width: 720px) {
  .hero-tag { position: absolute; right: 24px; bottom: 24px; margin: 0; }
  .hero-card {
    display: block; position: absolute; left: -12px; bottom: -36px; width: 300px;
    padding: 8px; border-radius: 16px; background: #fff; color: var(--ink);
    box-shadow: 0 20px 40px rgba(8,17,39,.35);
  }
  .hero-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
  .hero-card figcaption { padding: 10px 6px 4px; font-size: 13px; line-height: 1.35; }
  .hero-card figcaption span { color: var(--muted); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .hero-visual { padding-left: 24px; }
  .hero-card { left: -24px; bottom: 40px; }
}

.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px;
  margin-top: clamp(64px, 8vw, 96px); padding-top: 36px; border-top: 1px solid var(--navy-700);
}
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; }
.stat dd span { color: var(--blue-bright); }
.stat dt { font-size: 15px; color: var(--muted-dark); }
.stats-note { padding: 16px 0 clamp(32px, 4vw, 44px); font-size: 13px; color: var(--muted-dark-2); max-width: 60em; }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .stat { padding-inline: 24px; border-left: 1px solid var(--navy-700); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Clients ---------- */
.clients { border-bottom: 1px solid #E3EAF5; }
.clients-row { display: flex; flex-direction: column; gap: 14px; padding-block: 28px; }
.clients-list {
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); color: #6A7892; letter-spacing: -0.01em;
}
@media (min-width: 960px) {
  .clients-row { flex-direction: row; align-items: center; gap: 56px; padding-block: 34px; }
  .clients-list { gap: 12px 64px; }
}

/* ---------- About ---------- */
.tiles { display: grid; gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--ground); }
.tile-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-900); color: var(--blue-bright); display: grid; place-items: center; }
.tile-icon svg { width: 26px; height: 26px; }
.tile h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.tile p { color: var(--muted); }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .split-about { grid-template-columns: 5fr 7fr; } }

/* stroke icons share one style */
.tile-icon svg, .card-ic, .markets svg, .c-ic svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Solutions ---------- */
.cards { display: grid; gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 220px;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { color: var(--ink); border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,23,51,.08); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; padding-bottom: 24px; }
.card-ic { width: 32px; height: 32px; color: var(--blue); stroke-width: 1.6; }
.num { font-size: 13px; color: var(--muted-dark-2); }
.card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.card p { font-size: 15px; color: var(--muted); }
.card-dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.card-dark:hover { color: #fff; }
.card-dark .card-ic { color: var(--blue-bright); }
.card-dark p { color: var(--line-strong); }
.card-dark .num { color: var(--muted-dark); }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } .card { min-height: 260px; } }

/* ---------- Process ---------- */
.process { position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; opacity: .5; pointer-events: none; }
.process .container { position: relative; }
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding-bottom: 28px; }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--navy-600); }
.step-last::before { display: none; }
.step-num {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
  background: var(--navy-800); border: 1px solid var(--navy-500);
}
.step-first .step-num { background: var(--blue); border-color: var(--blue); }
.step-last .step-num { background: var(--blue-bright); border-color: var(--blue-bright); color: var(--navy-900); }
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; padding-top: 9px; }
.step p { color: var(--muted-dark); font-size: 15px; padding-top: 4px; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .step { display: flex; flex-direction: column; gap: 16px; padding: 0 24px 0 0; }
  .step::before { left: 44px; right: 0; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step h3, .step p { padding-top: 0; }
}

/* ---------- Software (CMS illustration) ---------- */
.cms-frame { padding: clamp(8px, 1.2vw, 14px); border-radius: 24px; background: var(--navy-900); min-width: 0; }
.cms { border-radius: 14px; background: var(--navy-850); border: 1px solid var(--navy-700); overflow: hidden; color: #fff; }
.cms-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--navy-700); }
.cms-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.cms-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); }
.cms-tabs { display: flex; gap: 4px; font-size: 12px; color: var(--muted-dark); }
@media (max-width: 399px) { .cms-tabs span:not(.on) { display: none; } }
.cms-tabs span { padding: 6px 10px; border-radius: 6px; }
.cms-tabs .on { background: var(--navy-800); color: #fff; }
.cms-body { display: grid; }
.cms-side { display: none; }
.cms-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cms-main img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 10px; }
.cms-label { font-size: 11px; letter-spacing: 0.12em; color: var(--muted-dark-2); }
.cms-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cms-timeline i { height: 30px; border-radius: 6px; background: var(--navy-600); }
.cms-timeline .s2 { grid-column: span 2; } .cms-timeline .s3 { grid-column: span 3; }
.cms-timeline .a { background: var(--blue); } .cms-timeline .b { background: var(--blue-bright); } .cms-timeline .c { background: var(--navy-500); }
.cms-hours { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-dark-2); }
@media (min-width: 560px) {
  .cms-body { grid-template-columns: 220px 1fr; }
  .cms-side { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-right: 1px solid var(--navy-700); font-size: 13px; color: var(--line-strong); }
  .cms-side li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; }
  .cms-side .cms-label { padding: 4px 6px 8px; }
  .cms-side .on { background: var(--navy-800); color: #fff; }
  .cms-side i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
  .cms-side .ok { background: var(--ok); } .cms-side .warn { background: var(--warn); }
}
.checks { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ic { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.note-card { margin-top: 8px; padding: 24px; border-radius: 16px; background: var(--ground); display: flex; flex-direction: column; gap: 8px; }
.note-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.note-card p { color: var(--muted); }
@media (min-width: 1024px) { .split-software { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; } }

/* ---------- Markets ---------- */
.markets {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 28px;
}
.markets li { background: #fff; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.markets svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: 8px; }
.markets h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.markets p { font-size: 15px; color: var(--muted); }
.markets .market-dark { background: var(--navy-900); color: #fff; }
.markets .market-dark svg { color: var(--blue-bright); }
.markets .market-dark p { color: var(--line-strong); }
@media (min-width: 480px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .markets { grid-template-columns: repeat(4, minmax(0, 1fr)); } .markets li { min-height: 190px; } }

/* ---------- Our work (in motion) ---------- */
.work-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  margin-top: clamp(32px, 4vw, 48px); padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--navy-700);
}
.work-cta p { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 720px) { .work-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

.motion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.motion {
  position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800); color: #fff; text-align: left; cursor: pointer;
}
.motion img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.motion:hover img { transform: scale(1.04); }
.m-tall { aspect-ratio: 9 / 14; }
.m-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.play {
  position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--navy-900); display: grid; place-items: center;
}
.play .ic { width: 16px; height: 16px; margin-left: 2px; }
.motion[data-video=""] .play { display: none; }
.motion[data-video=""] { cursor: default; }
.motion-cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 12px;
  background: var(--navy-900); font-size: 13px; line-height: 1.35; display: flex; flex-direction: column;
}
.motion-cap strong { font-family: var(--font-display); font-weight: 600; }
.motion-cap span { color: var(--muted-dark); }
@media (min-width: 960px) {
  .motion-grid { grid-template-columns: 270px 270px minmax(0, 1fr); grid-template-rows: 228px 228px; gap: 24px; }
  .m-tall { grid-row: span 2; aspect-ratio: auto; }
  .m-wide { grid-column: 3; aspect-ratio: auto; }
  .motion-cap { font-size: 14px; }
  .m-wide .motion-cap { left: auto; right: 12px; flex-direction: row; gap: 6px; }
  .m-wide .motion-cap span::before { content: "· "; }
}

/* ---------- Why ---------- */
.why { display: grid; gap: 32px 48px; }
.why li { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--navy-900); }
.why h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.why p { color: var(--muted); }
@media (min-width: 600px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; } }
@media (min-width: 1024px) { .split-why { grid-template-columns: 4fr 7fr; } }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 0; top: 0; width: min(700px, 100%); height: 100%; opacity: .6; pointer-events: none; }
.contact .container { position: relative; }
.contact-list { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.contact-list a { display: inline-flex; align-items: center; gap: 14px; color: #fff; font-size: clamp(16px, 1.5vw, 18px); }
.contact-list a:hover { color: var(--blue-bright); }
.c-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--navy-800); color: var(--blue-bright); display: grid; place-items: center; }
.c-ic svg { width: 20px; height: 20px; stroke-width: 1.8; }

.form {
  position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 40px);
  min-width: 0; box-shadow: 0 30px 60px rgba(4,10,26,.35);
}
.form-body { display: flex; flex-direction: column; gap: 16px; }
.form-head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; }
.form-sub { font-size: 15px; color: var(--muted); }
.req { color: var(--blue); }
.form-title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.form-grid { display: grid; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; font-size: 16px; font-weight: 400; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,107,212,.18); }
.form .is-invalid { border-color: #C2362B; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 13px; color: var(--muted); }
.form-status.is-success { color: #0F7A45; font-weight: 600; }
.form-status.is-error { color: #B42318; font-weight: 600; }
.form-alt { font-size: 14px; color: var(--muted); padding-top: 12px; border-top: 1px solid #E3EAF5; }
.form-alt a { font-weight: 600; }
[hidden] { display: none !important; }

/* Submit button loading state */
.btn-submit { position: relative; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn-submit.is-loading { cursor: progress; opacity: .9; }
.btn-submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success panel */
.form-success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  min-height: 420px; justify-content: center; outline: none;
  animation: pop-in .45s ease both;
}
.form-success p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #E7F1FD; color: var(--blue);
}
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .2s ease forwards; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .split-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #fff; padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { width: 200px; }
.footer-brand p { color: var(--muted-dark); max-width: 320px; font-size: 15px; }
.footer-grid > nav, .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer a { color: var(--muted-dark); }
.footer a:hover { color: #fff; }
.f-title { font-size: 12px; letter-spacing: 0.12em; color: var(--muted-dark-2); margin-bottom: 2px; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 10px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--navy-700); font-size: 14px; color: var(--muted-dark-2);
}
.footer-bottom .mono { font-size: 12px; letter-spacing: .12em; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1FAF55; color: #fff; box-shadow: 0 10px 24px rgba(8,17,39,.3);
  transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Video lightbox ---------- */
.lightbox { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.lightbox::backdrop { background: rgba(8,17,39,.85); }
.lightbox video { width: 100%; max-height: 80vh; border-radius: 16px; }
.lightbox-close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
