/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f3f6fa;
  --bg-soft: #eaf1f8;
  --surface: #ffffff;
  --ink: #10192b;
  --ink-soft: #3c4a63;
  --ink-mute: #6b7688;
  --accent: #2f6fed;
  --accent-dark: #1f52c4;
  --accent-soft: #e7eefd;
  --accent-2: #0fb88a;
  --accent-2-soft: #e2f7ef;
  --accent-3: #7c5cff;
  --line: rgba(16, 25, 43, 0.1);
  --line-soft: rgba(16, 25, 43, 0.06);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --shadow-1: 0 1px 2px rgba(16, 25, 43, 0.06), 0 1px 1px rgba(16, 25, 43, 0.04);
  --shadow-card: 0 20px 40px -24px rgba(16, 25, 43, 0.35);
  --shadow-lift: 0 30px 60px -24px rgba(47, 111, 237, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1180px;
  --header-h: 78px;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  min-height: 100svh;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.7rem 1.1rem; background: var(--ink); color: #fff;
  border-radius: 10px; font-weight: 600; transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-dark);
}
.kicker::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 0 4px var(--accent-2-soft);
}
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }
.section-head {
  max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; font-size: 1.06rem; color: var(--ink-mute); }
.eyebrow-row { display: flex; justify-content: center; }

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--glass-border);
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-1);
}

/* =============================================================
   4. Typography helpers
   ============================================================= */
.eyebrow-icon { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s var(--ease-out), background 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: var(--shadow-lift);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 34px 50px -20px rgba(47, 111, 237, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55); color: var(--ink);
  border: 1px solid var(--glass-border);
}
@supports (backdrop-filter: blur(1px)) {
  .btn-ghost { background: var(--glass); backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%); }
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--glass-strong); }
.btn-block { width: 100%; }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-dark);
}
.icon-circle svg { width: 24px; height: 24px; }

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
@supports (backdrop-filter: blur(1px)) {
  .glass-card {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(170%);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
  }
}

/* =============================================================
   6. Header / Nav
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--header-h); display: flex; align-items: center;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled {
  background: rgba(243, 246, 250, 0.86);
  box-shadow: 0 1px 0 rgba(16, 25, 43, 0.06);
  border-color: var(--line-soft);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled {
    background: rgba(243, 246, 250, 0.72);
    backdrop-filter: blur(12px) saturate(170%);
    -webkit-backdrop-filter: blur(12px) saturate(170%);
  }
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 18px -8px rgba(47, 111, 237, 0.6);
}
.brand-mark svg { width: 21px; height: 21px; }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  position: relative; padding: 0.3rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right 0.35s var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-actions .btn-primary { padding: 0.75rem 1.35rem; font-size: 0.92rem; }
.nav-toggle {
  display: flex; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center; background: var(--glass);
  border: 1px solid var(--glass-border);
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 1rem auto 1rem; z-index: 190;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.4rem; transform: translateY(-14px); opacity: 0; pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease-out);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav a { display: block; padding: 0.85rem 0.5rem; font-weight: 600; font-size: 1.05rem; border-radius: 10px; }
.mobile-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.mobile-nav .btn { margin-top: 0.9rem; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 14% 8%, rgba(47, 111, 237, 0.16), transparent 60%),
    radial-gradient(55% 50% at 92% 18%, rgba(15, 184, 138, 0.14), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(124, 92, 255, 0.1), transparent 65%),
    var(--bg);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("assets/img/hero-texture.jpg");
  background-size: cover; background-position: center;
  opacity: 0.05; mix-blend-mode: multiply;
}
.hero-grid {
  display: grid; gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-copy .kicker { margin-bottom: 1.3rem; }
.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  max-width: 15ch;
}
.hero-title em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 1.4rem; font-size: 1.12rem; max-width: 46ch; color: var(--ink-mute); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }
.hero-note {
  margin-top: 1.6rem; display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.92rem; color: var(--ink-mute);
}
.hero-note svg { width: 17px; height: 17px; color: var(--accent-2); flex-shrink: 0; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.3rem; }

/* --- Hero process flow (signature effect) --- */
.hero-flow {
  position: relative;
  padding: 0.5rem 0 0.5rem 2.6rem;
}
.flow-rail {
  position: absolute; left: 1.55rem; top: 2.4rem; bottom: 2.4rem; width: 2px;
  background-image: repeating-linear-gradient(to bottom, rgba(47, 111, 237, 0.28) 0 8px, transparent 8px 16px);
}
.flow-dot {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 60%);
  box-shadow: 0 0 0 6px rgba(47, 111, 237, 0.18), 0 6px 16px -4px rgba(47, 111, 237, 0.6);
  transform: translate(-50%, -50%);
  transition: top 0.9s var(--ease-soft), left 0.9s var(--ease-soft);
  z-index: 3;
}
.flow-steps { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 2; }
.flow-step {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.15rem 1.3rem; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  transform: scale(0.98); opacity: 0.72;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
@supports (backdrop-filter: blur(1px)) {
  .flow-step { background: var(--glass); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.flow-step.is-active {
  transform: scale(1.015); opacity: 1; box-shadow: var(--shadow-card);
}
.flow-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-dark);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.5s var(--ease-bounce);
}
.flow-icon svg { width: 23px; height: 23px; }
.flow-step.is-active .flow-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff; transform: scale(1.08) rotate(-4deg);
}
.flow-copy .flow-num { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent-dark); text-transform: uppercase; }
.flow-copy h3 { font-family: var(--display); font-size: 1.05rem; margin-top: 0.15rem; color: var(--ink); }
.flow-copy p { font-size: 0.92rem; margin-top: 0.3rem; color: var(--ink-mute); }
.flow-final {
  margin-top: 1.3rem; display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.2rem; border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--accent-2-soft), rgba(226, 247, 239, 0.4));
  border: 1px dashed rgba(15, 184, 138, 0.4);
}
.flow-final svg { width: 22px; height: 22px; color: var(--accent-2); flex-shrink: 0; }
.flow-final strong { color: var(--ink); font-weight: 700; }

/* =============================================================
   8. Trust / differentiators strip
   ============================================================= */
.trust-strip { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.trust-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding: 1.4rem; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
}
.trust-item svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 0.98rem; font-family: var(--display); color: var(--ink); }
.trust-item p { font-size: 0.86rem; color: var(--ink-mute); margin-top: 0.15rem; }

/* =============================================================
   9. Servicios
   ============================================================= */
.services-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.service-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-1);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}
.service-card:hover .service-media img { transform: scale(1.08); filter: saturate(1.15); }
.service-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 25, 43, 0) 55%, rgba(16, 25, 43, 0.45) 100%);
}
.service-badge {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(8px);
  color: var(--accent-dark); box-shadow: var(--shadow-1);
}
.service-badge svg { width: 22px; height: 22px; }
.service-body { padding: 1.5rem 1.4rem 1.7rem; }
.service-body h3 { font-size: 1.2rem; }
.service-body p { margin-top: 0.55rem; font-size: 0.94rem; color: var(--ink-mute); }
.service-link {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.9rem; color: var(--accent-dark);
}
.service-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* =============================================================
   10. Quienes somos
   ============================================================= */
.about-grid {
  display: grid; gap: clamp(2.2rem, 5vw, 4rem); align-items: center;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; } }
.about-media { position: relative; }
.about-media-frame {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
}
.about-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-floating-card {
  position: absolute; bottom: -1.4rem; right: -1rem; max-width: 230px;
  padding: 1.1rem 1.2rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.about-floating-card svg { width: 26px; height: 26px; color: var(--accent-2); flex-shrink: 0; }
.about-floating-card strong { display: block; font-size: 1.4rem; font-family: var(--display); color: var(--ink); }
.about-floating-card span { font-size: 0.82rem; color: var(--ink-mute); }

.about-copy p { margin-top: 1.1rem; font-size: 1.02rem; }
.about-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.about-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink-soft); }
.about-list svg { width: 21px; height: 21px; color: var(--accent-2); flex-shrink: 0; margin-top: 0.1rem; }

/* =============================================================
   11. Cómo funciona
   ============================================================= */
.steps-section { background: var(--bg-soft); }
.steps-grid {
  display: grid; gap: 1.8rem; position: relative;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.steps-grid::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background-image: repeating-linear-gradient(to right, rgba(16, 25, 43, 0.16) 0 10px, transparent 10px 20px);
  z-index: 0; display: none;
}
@media (min-width: 960px) { .steps-grid::before { display: block; } }
.step-item { position: relative; z-index: 1; }
.step-num {
  width: 68px; height: 68px; border-radius: 20px; margin-bottom: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  background: var(--surface); color: var(--accent-dark);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-1);
}
.step-item h3 { font-size: 1.12rem; }
.step-item p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--ink-mute); }

/* =============================================================
   12. FAQ
   ============================================================= */
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 0.3rem 1.4rem;
  box-shadow: var(--shadow-1);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; font-weight: 700; font-family: var(--display); font-size: 1.02rem;
  color: var(--ink); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-dark);
  transition: transform 0.4s var(--ease-bounce), background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.faq-plus svg { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(135deg); background: var(--accent); color: #fff; }
.faq-item p {
  padding-bottom: 1.3rem; font-size: 0.96rem; color: var(--ink-mute); max-width: 62ch;
}

/* =============================================================
   13. CTA final
   ============================================================= */
.cta-final { position: relative; overflow: clip; }
.cta-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.2rem); text-align: center;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent) 55%, var(--accent-3));
  color: #fff;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background-image: url("assets/img/cta-delivery.jpg");
  background-size: cover; background-position: center 30%;
  mix-blend-mode: overlay;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .kicker { color: rgba(255, 255, 255, 0.85); }
.cta-card .kicker::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25); }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); max-width: 24ch; margin-inline: auto; margin-top: 0.9rem; }
.cta-card p { margin-top: 1rem; font-size: 1.05rem; color: rgba(255, 255, 255, 0.88); max-width: 50ch; margin-inline: auto; }
.cta-card .hero-actions { justify-content: center; margin-top: 2rem; }
.cta-card .btn-primary { background: #fff; color: var(--accent-dark); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.35); }
.cta-card .btn-ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cta-card .btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

/* =============================================================
   14. Footer
   ============================================================= */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; border-top: 1px solid var(--line-soft); }
.footer-top {
  display: grid; gap: 2.6rem;
  grid-template-columns: 1.2fr repeat(2, 1fr);
}
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-mute); max-width: 32ch; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line-soft); color: var(--ink-soft);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-col h4 { font-family: var(--display); font-size: 0.92rem; color: var(--ink); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a, .footer-col span { font-size: 0.94rem; color: var(--ink-mute); }
.footer-col a:hover { color: var(--accent-dark); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
  font-size: 0.84rem; color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--accent-dark); }

@media (max-width: 719px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =============================================================
   15. Scroll reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--stagger, 0) * 90ms); }

/* =============================================================
   16. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1280px) {
  .container { width: min(100% - 4rem, var(--container)); }
}

/* =============================================================
   17. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-dot { transition-duration: 0.2s; }
}

/* =============================================================
   18. Credits page
   ============================================================= */
.page-credits main { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
.credits-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }
.credits-list li { padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--ink-mute); }
.credits-list a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--accent-dark); }
