/* palette: bg=#0B0E13 fg=#F2F5FA accent=#1656F0 */
/* fonts: display="Saira" body="Inter" mono="Space Mono" */

/* ============================================================
   ZYLVANTOQ — Engenharia de tecnologia automotiva
   Design clone: dark dramatic automotive (Subaru ref)
   ============================================================ */

:root {
  --bg: #0B0E13;          /* deep near-black — dominant background */
  --bg-alt: #11151D;      /* alternating dark section */
  --bg-elev: #161B25;     /* elevated card surface on dark */
  --bg-light: #F2F4F8;    /* light contrast section */
  --bg-light-2: #E7EBF1;  /* light alt */

  --fg: #F2F5FA;          /* primary text on dark */
  --fg-soft: #C6CCD7;     /* softened text on dark */
  --muted: #838C9C;       /* secondary text */
  --ink: #0B0E13;         /* dark text on light sections */
  --ink-soft: #384253;    /* soft dark text */

  --accent: #1656F0;      /* rally electric blue — from ref hero/CTA */
  --accent-deep: #0B3CC0; /* darker accent for hover */
  --accent-cyan: #3AA9FF; /* cyan glow from ref light streaks */
  --lime: #C8E63A;        /* lime-yellow pop from ref color-block */

  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.20);
  --border-light: rgba(11, 14, 19, 0.14);

  --serif: 'Saira', ui-sans-serif, sans-serif;   /* display grotesque */
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --radius: 4px;

  --shadow-card: 0 4px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

.section--tight { padding: clamp(56px, 8vw, 96px) 0; }

.section--light {
  background: var(--bg-light);
  color: var(--ink);
}
.section--light .muted-text { color: var(--ink-soft); }
.section--light .eyebrow { color: var(--accent-deep); }
.section--light .eyebrow::before { background: var(--accent-deep); }

.section--alt { background: var(--bg-alt); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 26px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-cyan);
  display: inline-block;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.display em {
  font-style: normal;
  color: var(--accent-cyan);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 60ch;
}
.section--light .lede { color: var(--ink-soft); }

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

.section-head {
  max-width: 900px;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head h2 {
  font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  letter-spacing: -0.025em;
}
.section-head .lede { margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  transition: transform 0.4s var(--ease), background 0.35s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid transparent;
}
.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -10px rgba(22, 86, 240, 0.7);
}
.btn--sm { padding: 11px 22px; font-size: 12px; }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--fg);
  box-shadow: none;
}
.section--light .btn--ghost { color: var(--ink); border-color: var(--border-light); }
.section--light .btn--ghost:hover { background: rgba(11, 14, 19, 0.05); border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  transition: gap 0.35s var(--ease), color 0.3s var(--ease);
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover { gap: 14px; }
.link-arrow:hover span { transform: translateX(4px); }
.section--light .link-arrow { color: var(--accent-deep); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  background: rgba(11, 14, 19, 0.6);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(11, 14, 19, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 30px -12px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand__mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.brand__mark b { color: var(--accent-cyan); font-weight: 700; }

.nav {
  display: none;
  gap: 34px;
  align-items: center;
}
.nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-cyan);
  transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.nav__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: flex-end;
  padding: 10px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), width 0.35s var(--ease);
}
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 28px 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__nav a {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu__nav .btn {
  margin-top: 28px;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(48px, 8vw, 96px);
  padding-top: 120px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 20% 100%, rgba(11, 14, 19, 0.92) 0%, rgba(11, 14, 19, 0.5) 45%, rgba(11, 14, 19, 0.15) 75%),
    linear-gradient(180deg, rgba(11, 14, 19, 0.55) 0%, rgba(11, 14, 19, 0.15) 30%, rgba(11, 14, 19, 0.85) 100%);
}
.hero__glow {
  position: absolute;
  z-index: 1;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  right: -10%;
  top: 10%;
  background: radial-gradient(circle, rgba(22, 86, 240, 0.4) 0%, rgba(58, 169, 255, 0.12) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 26px;
  display: block;
}
.hero h1 {
  font-weight: 400;
  font-size: clamp(2.9rem, 8.5vw, 6.4rem);
  letter-spacing: -0.03em;
  line-height: 1.0;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-cyan);
}
.hero__lede {
  margin: 30px 0 40px;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--fg-soft);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero__scroll {
  margin-top: clamp(48px, 7vw, 84px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll .line {
  width: 54px;
  height: 1px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 50%; height: 100%;
  background: var(--accent-cyan);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}

/* ---------- Stats bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat {
  background: var(--bg);
  padding: 34px 26px;
}
.section--alt .stat { background: var(--bg-alt); }
.stat__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.stat__num span { color: var(--accent-cyan); }
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 40px 30px; }
}

/* ---------- Services grid ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1160px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px 38px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}
.service-card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 26px;
}
.service-card h3 {
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0;
  flex: 1;
}
.service-card .link-arrow { margin-top: 24px; }
.section--light .service-card {
  background: #fff;
  border-color: var(--border-light);
  box-shadow: var(--shadow-card);
}
.section--light .service-card p { color: var(--ink-soft); }

/* ---------- Color-block / philosophy (from ref) ---------- */
.philosophy {
  display: grid;
  grid-template-columns: 1fr;
}
.philo-panel {
  padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}
.philo-panel--blue { background: var(--accent); color: #fff; }
.philo-panel--lime { background: var(--lime); color: var(--ink); }
.philo-panel__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 40px;
}
.philo-panel h3 {
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.philo-panel p {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.65;
  max-width: 42ch;
}
.philo-panel--blue p { color: rgba(255, 255, 255, 0.86); }
.philo-panel--lime p { color: rgba(11, 14, 19, 0.78); }
@media (min-width: 900px) {
  .philosophy { grid-template-columns: 1fr 1fr; }
}

/* Showcase band (like SUBARU SEDAN PHILOSOPHY) */
.showcase {
  position: relative;
  overflow: hidden;
}
.showcase__media {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,14,19,0.35) 0%, rgba(11,14,19,0.1) 40%, rgba(11,14,19,0.8) 100%);
}
.showcase__caption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: clamp(28px, 5vw, 64px);
}
.showcase__caption .kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  display: block;
}
.showcase__caption h2 {
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 22ch;
}
.showcase__caption p {
  margin-top: 16px;
  color: var(--fg-soft);
  max-width: 52ch;
  font-size: 16px;
}

/* ---------- Selected work ---------- */
.work-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}
.work-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__body { padding: 26px 26px 30px; }
.work-card__tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.work-card h3 {
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.work-card p {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: 1fr;
}
.process__step {
  background: var(--bg);
  padding: clamp(30px, 4vw, 48px) clamp(26px, 3vw, 40px);
}
.section--alt .process__step { background: var(--bg-alt); }
.process__step .n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 30px;
}
.process__step h3 {
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.process__step p {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.66;
  margin: 0;
}
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Manifesto (inverted dark band) ---------- */
.manifesto {
  background: var(--bg);
  text-align: center;
}
.manifesto__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.manifesto .quote-mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  height: 0.5em;
}
.manifesto p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.3rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--fg);
  margin: 0;
}
.manifesto p em { font-style: normal; color: var(--accent-cyan); }
.manifesto__by {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.section--light .quote-card { background: #fff; border-color: var(--border-light); box-shadow: var(--shadow-card); }
.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.section--light .quote-card blockquote { color: var(--ink); }
.quote-card .who {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.quote-card .who .name { font-weight: 600; font-size: 15px; }
.quote-card .who .role { font-size: 13px; color: var(--muted); }
.section--light .quote-card .who .role { color: var(--ink-soft); }

/* ---------- Team / principles (text + monogram) ---------- */
.person-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 34px;
  background: var(--bg-elev);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
}
.person-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.section--light .person-card { background: #fff; border-color: var(--border-light); box-shadow: var(--shadow-card); }
.person-card .avatar { width: 60px; height: 60px; font-size: 19px; margin-bottom: 24px; }
.person-card h3 { font-weight: 500; font-size: 1.3rem; letter-spacing: -0.02em; }
.person-card .role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin: 8px 0 16px;
}
.person-card p { color: var(--fg-soft); font-size: 15px; line-height: 1.62; margin: 0; }
.section--light .person-card p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.section--light .faq__item { border-color: var(--border-light); }
.faq__item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.faq__item p {
  color: var(--fg-soft);
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  max-width: 72ch;
}
.section--light .faq__item p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,14,19,0.94) 0%, rgba(11,14,19,0.78) 50%, rgba(22,86,240,0.5) 100%);
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.cta-band h2 {
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.cta-band h2 em { font-style: normal; color: var(--accent-cyan); }
.cta-band .lede { margin: 26px 0 40px; color: var(--fg-soft); }

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
.form .field--full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: var(--bg-elev);
}
.form input::placeholder,
.form textarea::placeholder { color: var(--muted); }
.section--light .form input,
.section--light .form select,
.section--light .form textarea {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-light);
}
.section--light .form label { color: var(--ink-soft); }
.form .btn { justify-content: center; }
@media (min-width: 680px) {
  .form { grid-template-columns: 1fr 1fr; }
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
  line-height: 1.6;
}

/* ---------- Contact detail list ---------- */
.contact-list { display: grid; gap: 30px; }
.contact-item .k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}
.contact-item .v { font-size: 17px; line-height: 1.6; color: var(--fg); }
.contact-item .v a:hover { color: var(--accent-cyan); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 4 / 3; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: clamp(140px, 18vw, 220px) 0 clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 50vw; height: 50vw;
  max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(22,86,240,0.28) 0%, transparent 68%);
  filter: blur(10px);
  z-index: 0;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 900px; }
.page-hero h1 {
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.page-hero h1 em { font-style: normal; color: var(--accent-cyan); }
.page-hero .lede { margin-top: 28px; }

/* ---------- Feature list (checks) ---------- */
.feature-list { display: grid; gap: 18px; }
.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.section--light .feature-list li { border-color: var(--border-light); }
.feature-list .mk {
  color: var(--accent-cyan);
  font-family: var(--mono);
  flex-shrink: 0;
  font-size: 14px;
  margin-top: 3px;
}
.feature-list .txt strong { display: block; font-weight: 600; font-size: 16.5px; margin-bottom: 4px; }
.feature-list .txt span { color: var(--fg-soft); font-size: 15px; line-height: 1.6; }
.section--light .feature-list .txt span { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(64px, 8vw, 100px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer__brand .brand__mark { font-size: 26px; }
.footer__brand p {
  margin: 22px 0 0;
  color: var(--muted);
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.65;
}
.footer__cols {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
}
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 13px; }
.footer__col a, .footer__col li {
  font-size: 15px;
  color: var(--fg-soft);
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: var(--accent-cyan); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom .legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a:hover { color: var(--fg-soft); }
@media (min-width: 768px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.3fr 2fr; gap: 64px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 52px 0 18px;
}
.legal h3 {
  font-weight: 600;
  font-family: var(--sans);
  font-size: 1.1rem;
  margin: 32px 0 12px;
}
.legal p, .legal li {
  color: var(--fg-soft);
  font-size: 16.5px;
  line-height: 1.78;
}
.legal p { margin: 0 0 18px; }
.legal ul { margin: 0 0 22px; padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 10px; }
.legal a { color: var(--accent-cyan); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--fg); }
.legal .updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Thank you page ---------- */
.thanks {
  min-height: 78vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.thanks__inner { max-width: 640px; margin: 0 auto; }
.thanks .badge {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 34px;
  background: rgba(22, 86, 240, 0.14);
  border: 1px solid var(--accent);
}
.thanks .badge svg { width: 30px; height: 30px; stroke: var(--accent-cyan); }
.thanks h1 { font-weight: 400; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.03em; }
.thanks p { margin: 24px 0 36px; color: var(--fg-soft); font-size: 1.1rem; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cookie-popup__card p {
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}
.cookie-popup__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { background: rgba(255,255,255,0.06); color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ---------- Utilities ---------- */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.no-wrap { white-space: nowrap; }
