/* Kovan Digital — hoja de estilos
   Identidad: negro, blanco, metal. Sin rodeos. */

/* Fuentes alojadas en el propio servidor (sin peticiones a terceros) */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/outfit-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/outfit-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/outfit-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/outfit-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/outfit-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --scheme: dark;
  --bg: #050506;
  --bg-2: #0c0c0f;
  --bg-3: #141418;
  --hero-bg: #000000;
  --footer-bg: #000000;
  --header-bg: rgba(5, 5, 6, 0.72);
  --card: rgba(255, 255, 255, 0.035);
  --card-hover: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --ink: #f4f4f2;
  --ink-2: #c9c9c5;
  --ink-soft: #cfcfcc;
  --muted: #a3a3a0;
  --muted-2: #6f6f6c;
  --btn-bg: #ffffff;
  --btn-ink: #000000;
  --btn-hover: #e6e6e6;
  --field-bg: #0c0c0f;
  --hero-art: url('../img/hero-k.jpg');
  --band-bg: #fdfdfd;
  --band-ink: #0c0c0f;
  --band-muted: #55554f;
  --band-line: rgba(0, 0, 0, 0.3);
  --band-img: url('../img/banner-light.jpg');
  --band-btn-bg: #0c0c0f;
  --band-btn-ink: #ffffff;
  --band-btn-hover: #262629;
  --band-ghost-hover: rgba(0, 0, 0, 0.04);
  --circuit: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320' fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='1'><path d='M0 60h90l30 30h60'/><path d='M320 250h-80l-40-40h-70'/><path d='M40 320V240l30-30'/><path d='M280 0v70l-30 30'/><circle cx='180' cy='90' r='2.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/><circle cx='130' cy='210' r='2.5' fill='%23ffffff' fill-opacity='0.35' stroke='none'/><circle cx='70' cy='210' r='2' fill='%23ffffff' fill-opacity='0.25' stroke='none'/><circle cx='250' cy='100' r='2' fill='%23ffffff' fill-opacity='0.25' stroke='none'/></svg>");
  --select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23a3a3a0' stroke-width='1.5' fill='none'/></svg>");
  --font-head: 'Outfit', 'Inter', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  --wrap: 1140px;
  --radius: 14px;
}

/* Tema claro: se aplica si el dispositivo está en claro (y no hay elección manual)
   o si el usuario ha elegido "claro" con el botón. */
:root[data-theme="light"],
:root:not([data-theme="dark"]).auto-light {
  color-scheme: light;
  --scheme: light;
  --bg: #f6f6f4;
  --bg-2: #ededea;
  --bg-3: #e4e4e0;
  --hero-bg: #fdfdfd;
  --footer-bg: #ececea;
  --header-bg: rgba(246, 246, 244, 0.78);
  --card: rgba(0, 0, 0, 0.03);
  --card-hover: rgba(0, 0, 0, 0.055);
  --line: rgba(0, 0, 0, 0.10);
  --line-strong: rgba(0, 0, 0, 0.24);
  --ink: #0c0c0f;
  --ink-2: #3a3a37;
  --ink-soft: #55554f;
  --muted: #5b5b57;
  --muted-2: #8a8a86;
  --btn-bg: #0c0c0f;
  --btn-ink: #ffffff;
  --btn-hover: #262629;
  --field-bg: #ffffff;
  --hero-art: url('../img/hero-k-light.jpg');
  --band-bg: #050506;
  --band-ink: #f4f4f2;
  --band-muted: #a3a3a0;
  --band-line: rgba(255, 255, 255, 0.3);
  --band-img: url('../img/banner-dark.jpg');
  --band-btn-bg: #ffffff;
  --band-btn-ink: #000000;
  --band-btn-hover: #e6e6e6;
  --band-ghost-hover: rgba(255, 255, 255, 0.06);
  --circuit: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320' fill='none' stroke='%23000000' stroke-opacity='0.12' stroke-width='1'><path d='M0 60h90l30 30h60'/><path d='M320 250h-80l-40-40h-70'/><path d='M40 320V240l30-30'/><path d='M280 0v70l-30 30'/><circle cx='180' cy='90' r='2.5' fill='%23000000' fill-opacity='0.35' stroke='none'/><circle cx='130' cy='210' r='2.5' fill='%23000000' fill-opacity='0.35' stroke='none'/><circle cx='70' cy='210' r='2' fill='%23000000' fill-opacity='0.25' stroke='none'/><circle cx='250' cy='100' r='2' fill='%23000000' fill-opacity='0.25' stroke='none'/></svg>");
  --select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235b5b57' stroke-width='1.5' fill='none'/></svg>");
}

/* Imágenes que cambian con el tema */
.only-light { display: none !important; }
:root[data-theme="light"] .only-dark,
:root:not([data-theme="dark"]).auto-light .only-dark { display: none !important; }
:root[data-theme="light"] .only-light,
:root:not([data-theme="dark"]).auto-light .only-light { display: block !important; }

/* Botón de tema */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.theme-toggle:hover { border-color: var(--ink); background: var(--card-hover); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun,
:root:not([data-theme="dark"]).auto-light .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon,
:root:not([data-theme="dark"]).auto-light .theme-toggle .icon-moon { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }

body, .site-header, .hero, .pillars, .service, .case, .cta-band, .site-footer, .field input, .field select, .field textarea {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.01em; margin: 0; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--line-strong);
  vertical-align: middle;
  margin-right: 12px;
}

.section-title {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 18px;
}
.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 44px;
}

/* ---------- Circuit texture ---------- */
.circuit {
  position: relative;
  isolation: isolate;
}
.circuit::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: var(--circuit);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 18px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--btn-ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a.btn { margin-top: 14px; text-align: center; border: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--btn-bg);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--card-hover); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  padding: 0; /* .hero es <section>: sin esto hereda "section { padding: 104px 0 }" y en móvil deja un hueco negro de 104px arriba y abajo (el "banner" que no se veía) */
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56%;
  background-image: var(--hero-art);
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  opacity: 0.95;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 110px 24px 90px;
  width: 100%;
}
.hero-content { max-width: 620px; }
.hero .eyebrow { letter-spacing: 0.24em; font-size: 11.5px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 74px);
  font-weight: 600;
  line-height: 1.04;
  margin: 0 0 24px;
}
.hero h1 .thin { font-weight: 300; color: var(--ink-soft); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  margin-top: 64px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-art {
    position: relative;
    order: 2;
    width: 100%;
    height: 300px;
    opacity: 1;
    background-position: center 40%;
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
  }
  .hero-inner { order: 1; padding: 72px 24px 8px; }
}
@media (max-width: 480px) {
  .hero-art { height: 240px; }
}

/* ---------- Pillars ---------- */
.pillars {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: none; }
.pillar h3 {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
}

/* ---------- Sections ---------- */
section { padding: 104px 0; }
section.tight { padding: 72px 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.service:hover { background: var(--card-hover); border-color: var(--line-strong); transform: translateY(-3px); }
.service .num {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.service .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}
.service .icon svg { width: 100%; height: 100%; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.service p { color: var(--muted); margin: 0 0 22px; font-size: 15.5px; }
.service ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.service li {
  font-size: 14px;
  color: var(--ink-2);
  padding: 7px 0 7px 22px;
  position: relative;
}
.service li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 1px;
  background: var(--ink);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.process-text p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 18px; }
.process-text p strong { color: var(--ink); font-weight: 600; }

.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.step h4 { margin: 0 0 6px; font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Use cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--card);
}
.case .icon { width: 30px; height: 30px; margin-bottom: 18px; }
.case .icon svg { width: 100%; height: 100%; stroke: var(--ink); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.case h4 { margin: 0 0 8px; font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.case p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1000px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cases-grid { grid-template-columns: 1fr; } }

/* ---------- Statement ---------- */
.statement {
  text-align: center;
  padding: 96px 24px;
}
.statement blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
}
.statement blockquote strong { font-weight: 600; }
.statement img { width: 84px; margin: 0 auto 34px; opacity: 0.9; }
.statement img.only-light { margin: 0 auto 34px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}
.faq-q .plus {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 300;
  font-size: 20px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--ink); color: var(--bg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { margin: 0 0 26px; color: var(--muted); font-size: 16px; max-width: 70ch; }
.faq-a a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Light CTA band ---------- */
.cta-band {
  background: var(--band-bg);
  color: var(--band-ink);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 55%;
  background-image: var(--band-img);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  opacity: 0.9;
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--band-muted); }
.cta-band .eyebrow::before { background: var(--band-line); }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 600; max-width: 14ch; line-height: 1.1; margin-bottom: 18px; }
.cta-band p { color: var(--band-muted); max-width: 48ch; font-size: 17px; margin: 0 0 32px; }
.cta-band .btn { background: var(--band-btn-bg); color: var(--band-btn-ink); border-color: var(--band-btn-bg); }
.cta-band .btn:hover { background: var(--band-btn-hover); }
.cta-band .btn-ghost { color: var(--band-ink); border-color: var(--band-line); }
.cta-band .btn-ghost:hover { border-color: var(--band-ink); background: var(--band-ghost-hover); }
@media (max-width: 900px) {
  .cta-band { padding-bottom: 0; }
  .cta-band::after {
    position: static;
    display: block;
    width: 100%;
    height: 260px;
    margin-top: 40px;
    opacity: 1;
    background-position: center 40%;
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 100%);
  }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--footer-bg); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 34ch; margin: 0; }
.footer-col h5 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted-2);
  font-size: 13px;
}
.social { display: flex; gap: 12px; }
.social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social a:hover { border-color: var(--ink); color: var(--ink); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (subpages) ---------- */
.page-head {
  padding: 96px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--hero-bg);
}
.page-head h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 600; margin-bottom: 16px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--card);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.channel:hover { border-color: var(--line-strong); background: var(--card-hover); }
.channel .icon { width: 22px; height: 22px; flex: none; }
.channel .icon svg { width: 100%; height: 100%; fill: var(--ink); }
.channel strong { display: block; font-family: var(--font-head); font-size: 15px; }
.channel span { color: var(--muted); font-size: 14px; }
.side-note { margin-top: 28px; color: var(--muted-2); font-size: 13.5px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: var(--field-bg); color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="date"] { color-scheme: var(--scheme); }
.form-note { color: var(--muted-2); font-size: 13px; margin-top: 14px; }
.form-note a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok.error { border-color: #c0392b; }
.form-ok { display: none; margin-top: 16px; color: var(--ink); font-size: 14px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; }

/* ---------- Legal ---------- */
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 820px; }
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 44px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted-2); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 40px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
