/* ============================================================
   the good AI GmbH — main stylesheet
   CI: green #3CBE8C → teal #16AFC6, blue accent #4D9FE8
   ============================================================ */

:root {
  --green: #3cbe8c;
  --teal: #16afc6;
  --blue: #4d9fe8;
  --ink: #272e36;
  --ink-soft: #4c5560;
  --muted: #6b7682;
  --bg: #ffffff;
  --bg-soft: #f4f9f8;
  --bg-dark: #081621;
  --bg-dark-2: #0b1e2c;
  --line: #e3ebe9;
  --line-dark: rgba(255, 255, 255, 0.08);
  --grad: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  --grad-soft: linear-gradient(135deg, rgba(60, 190, 140, 0.12), rgba(22, 175, 198, 0.12));
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 33, 0.05), 0 4px 12px rgba(8, 22, 33, 0.05);
  --shadow-md: 0 2px 4px rgba(8, 22, 33, 0.05), 0 12px 32px rgba(8, 22, 33, 0.1);
  --shadow-glow: 0 8px 40px rgba(22, 175, 198, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.container {
  width: min(1160px, 92%);
  max-width: 100%;
  margin-inline: auto;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(22, 175, 198, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfdbd9;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.04);
  color: #eaf4f3;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover { border-color: var(--green); color: #fff; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  padding-top: env(safe-area-inset-top, 0px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(8, 22, 33, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding-block: 0.65rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  line-height: 0;
}
.brand .brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(46vw, 210px);
  object-fit: contain;
  object-position: left center;
}

/* Registered word-image mark: shown unmodified on a white plate on dark backgrounds */
.brand-plate {
  background: #fff;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
}
.brand-plate .brand-logo { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: right 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--bg-dark);
  color: #d9e6e9;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 12% 8%, rgba(60, 190, 140, 0.22), transparent 65%),
    radial-gradient(720px 480px at 88% 18%, rgba(22, 175, 198, 0.2), transparent 65%),
    radial-gradient(560px 420px at 55% 110%, rgba(77, 159, 232, 0.16), transparent 65%);
  z-index: -2;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
}

.hero-inner {
  padding: 7.5rem 0 6.5rem;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 500;
  color: #bfe9dd;
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #a7bcc4;
  max-width: 600px;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
  margin-top: 4.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.hero-meta .item strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.hero-meta .item span { font-size: 0.88rem; color: #8aa0aa; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  position: relative;
  background: var(--bg-dark);
  color: #d9e6e9;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(540px 320px at 15% 0%, rgba(60, 190, 140, 0.2), transparent 65%),
    radial-gradient(620px 380px at 85% 30%, rgba(22, 175, 198, 0.18), transparent 65%);
}
.page-hero .container {
  position: relative;
  padding: 5.2rem 0 4.4rem;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  margin: 0.9rem 0 1rem;
}
.page-hero p {
  color: #a7bcc4;
  max-width: 640px;
  font-size: 1.1rem;
}

/* ---------- Sections ---------- */

section.block { padding: 5.6rem 0; }
section.block.soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0.8rem 0 0.9rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22, 175, 198, 0.35);
}
.card:hover::before { opacity: 1; }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  margin-bottom: 1.3rem;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--teal); }

.card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.96rem; color: var(--muted); }

.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(22, 175, 198, 0.09);
  border: 1px solid rgba(22, 175, 198, 0.2);
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Value strip ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.2rem;
}
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-item .num {
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 0.18rem;
}
.value-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.value-item p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Product spotlight ---------- */

.spotlight {
  background: var(--bg-dark);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  color: #cfe0e5;
  padding: 3.6rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 320px at 85% 15%, rgba(60, 190, 140, 0.22), transparent 60%),
    radial-gradient(420px 300px at 10% 100%, rgba(77, 159, 232, 0.16), transparent 60%);
}
.spotlight > * { position: relative; min-width: 0; }

.spotlight .pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9be8cd;
  border: 1px solid rgba(60, 190, 140, 0.4);
  background: rgba(60, 190, 140, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.spotlight-logo {
  display: inline-block;
  margin-bottom: 0.9rem;
  transition: opacity 0.18s ease;
}
.spotlight-logo:hover { opacity: 0.88; }
.spotlight-logo img {
  width: 100%;
  max-width: 22rem;
  height: auto;
  display: block;
}
.spotlight p {
  color: #a7bcc4;
  margin-bottom: 1rem;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.spotlight ul {
  list-style: none;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.spotlight ul li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #c4d6db;
  overflow-wrap: anywhere;
}
.spotlight ul li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; stroke: var(--green); }

.spotlight-visual {
  display: grid;
  gap: 1rem;
}
.glass-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.glass-tile > div:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.glass-tile .gicon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
}
.glass-tile .gicon svg { width: 22px; height: 22px; stroke: #fff; }
.glass-tile strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; }
.glass-tile span { font-size: 0.83rem; color: #8aa0aa; }

/* ---------- Process / steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Detail rows (solutions page) ---------- */

.detail-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.4rem;
  align-items: center;
  padding: 3.4rem 0;
  border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row.flip .detail-media { order: 2; }

.detail-copy h3 { font-size: 1.55rem; margin: 0.7rem 0 0.9rem; }
.detail-copy p { color: var(--muted); margin-bottom: 0.9rem; }
.detail-copy ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.detail-copy ul li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.97rem;
}
.detail-copy ul li svg { width: 19px; height: 19px; flex: none; margin-top: 4px; stroke: var(--green); }

.detail-callout {
  margin-top: 1.4rem;
  font-size: 0.97rem;
  color: var(--muted);
}
.detail-callout a {
  font-weight: 700;
  color: var(--teal);
}
.detail-callout a:hover { color: var(--green); }

.detail-media {
  border-radius: 22px;
  background: var(--bg-dark);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.detail-media:has(img) {
  min-height: 0;
  background: transparent;
}
.detail-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(360px 240px at 20% 10%, rgba(60, 190, 140, 0.18), transparent 60%),
    radial-gradient(380px 260px at 90% 90%, rgba(22, 175, 198, 0.14), transparent 60%);
}
.detail-media:has(img)::before {
  display: none;
}
.detail-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  color: #cfe0e5;
  text-align: center;
  padding: 5.4rem 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 360px at 50% -20%, rgba(22, 175, 198, 0.28), transparent 65%),
    radial-gradient(420px 300px at 15% 110%, rgba(60, 190, 140, 0.18), transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 1rem;
}
.cta-band p { color: #a7bcc4; max-width: 520px; margin: 0 auto 2.2rem; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info .info-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .info-tile:last-child { border-bottom: 0; }
.contact-info .info-tile .icon {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
}
.contact-info .info-tile .icon svg { width: 21px; height: 21px; stroke: var(--teal); }
.contact-info .info-tile strong { display: block; color: var(--ink); font-size: 0.98rem; margin-bottom: 0.15rem; }
.contact-info .info-tile span, .contact-info .info-tile a { font-size: 0.93rem; color: var(--muted); }
.contact-info .info-tile a:hover { color: var(--teal); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.78rem 1rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 175, 198, 0.12);
}

.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.form-note a { color: var(--teal); }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
  border-radius: 14px;
  padding: 1rem 1.3rem;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  border: 1px solid;
}
.alert.success {
  background: rgba(60, 190, 140, 0.1);
  border-color: rgba(60, 190, 140, 0.4);
  color: #1d7a55;
}
.alert.error {
  background: rgba(232, 93, 77, 0.08);
  border-color: rgba(232, 93, 77, 0.35);
  color: #b3402f;
}

/* ---------- Legal pages ---------- */

.legal {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 0.7rem; }
.legal h2:first-child,
.legal > :first-child { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 1.6rem 0 0.55rem; color: var(--ink); }
.legal h4 { font-size: 1rem; margin: 1.2rem 0 0.45rem; color: var(--ink); }
.legal p, .legal li { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.legal ul { padding-left: 1.2rem; }
.todo-note {
  background: rgba(77, 159, 232, 0.08);
  border: 1px dashed rgba(77, 159, 232, 0.45);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: #2d6da8;
  margin: 1rem 0;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: #93a8b1;
  padding: 4.2rem 0 2rem;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand { margin-bottom: 1.1rem; }
.site-footer p.tagline { max-width: 320px; font-size: 0.9rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.6rem; }
.site-footer ul a { color: #93a8b1; transition: color 0.15s ease; }
.site-footer ul a.footer-external { font-weight: 700; }
.site-footer ul a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.8rem;
  font-size: 0.84rem;
  color: #6d8089;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.lang-switch a {
  color: #93a8b1;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.lang-switch a:hover,
.lang-switch a.active { color: var(--green); }
.lang-switch .lang-sep { opacity: 0.45; user-select: none; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }


.grecaptcha-badge { 
  visibility: hidden; 
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .spotlight { grid-template-columns: 1fr; padding: 2rem 1.35rem; gap: 1.6rem; }
  .detail-row { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.6rem 0; }
  .detail-row.flip .detail-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .nav {
    min-height: 0;
    padding-block: 0.5rem;
    gap: 0.75rem;
  }

  .nav-links {
    position: fixed;
    inset: calc(3.35rem + env(safe-area-inset-top, 0px)) 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(8, 22, 33, 0.12);
    transform: translateY(-130%);
    transition: transform 0.28s ease;
    z-index: 55;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 6%; width: 100%; }
  .nav-links a::after { display: none; }

  .nav-toggle { display: block; }
  .nav-cta .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
  .brand .brand-logo { height: 36px; max-width: min(52vw, 180px); }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner { padding: 5rem 0 4.4rem; }
  .hero-meta { gap: 1.6rem; }
  section.block { padding: 4rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .spotlight { padding: 1.6rem 1.15rem; border-radius: 20px; }
  .spotlight-logo img { max-width: 100%; }
  .spotlight .btn {
    white-space: normal;
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
  }
}
