/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f1f2ee;
  --bg-2: #e7e8e2;
  --paper: #ffffff;
  --ink: #0a0f1a;
  --ink-soft: #1c2433;
  --ink-mute: #5b6472;
  --accent: #1a3fd1;
  --accent-dim: #122e9e;
  --spark: #ff5a1f;
  --spark-dim: #d9470f;
  --line: rgba(10, 15, 26, 0.14);
  --line-strong: rgba(10, 15, 26, 0.4);

  --bg-dark: #0a0f1a;
  --bg-dark-2: #11182a;
  --cream: #f1f2ee;
  --cream-mute: rgba(241, 242, 238, 0.68);
  --line-dark: rgba(241, 242, 238, 0.14);

  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  --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);

  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  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%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--display); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.mono { font-family: var(--mono); letter-spacing: 0.02em; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 4px; font-weight: 600; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px) { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 2.5rem; } }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.1rem;
}
.kicker-light { color: var(--cream-mute); }
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.2);
  flex: none;
}

.icon { width: 18px; height: 18px; flex: none; }
.icon-down { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

[data-reveal] {
  opacity: 0;
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal="up"], [data-reveal][data-reveal-dir="up"] { transform: translateY(34px) rotate(0.4deg); }
[data-reveal][data-reveal-dir="left"]  { transform: translateX(-38px) rotate(-1.2deg); }
[data-reveal][data-reveal-dir="right"] { transform: translateX(38px) rotate(1.2deg); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; } /* defensive: split-text owns its own reveal */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  border-radius: 3px; white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s, color .3s;
}
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-primary {
  background: var(--accent); color: var(--cream);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 14px 30px -14px rgba(26,63,209,0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 40px -14px rgba(26,63,209,0.6); background: var(--accent-dim); }
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-3px); }
.btn-spark {
  background: var(--spark); color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(255,90,31,0.6);
}
.btn-spark:hover { background: #ff6f39; transform: translateY(-3px); }

/* =============================================================
   4. Scroll progress
   ============================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 200; background: var(--line); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--spark));
  transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear;
}

/* =============================================================
   5. Blueprint grid / seams / stamp
   ============================================================= */
.blueprint-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 50%, transparent 100%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(26,63,209,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,63,209,0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 35%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(45% 40% at 72% 18%, rgba(26,63,209,0.5), transparent 60%),
              radial-gradient(30% 30% at 12% 85%, rgba(255,90,31,0.14), transparent 65%);
}

.seam {
  color: var(--line-strong);
  line-height: 0;
  background: var(--bg);
}
.seam svg { width: 100%; height: 20px; display: block; }

.hero-stamp {
  display: none;
}
@media (min-width: 960px) {
  .hero-stamp {
    display: block;
    position: absolute; right: 2.5rem; bottom: 2.2rem; z-index: 2;
    font-family: var(--mono); font-size: .68rem; color: var(--cream-mute);
    border: 1px solid var(--line-dark); padding: .7rem .9rem;
    min-width: 230px;
  }
  .hero-stamp-row { display: flex; justify-content: space-between; gap: 1rem; padding: .18rem 0; }
  .hero-stamp-row span:first-child { color: rgba(241,242,238,0.42); letter-spacing: .1em; }
  .hero-stamp-row span:last-child { color: var(--cream); }
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 150;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s;
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav.is-scrolled {
  background: rgba(10,15,26,0.88);
  box-shadow: 0 1px 0 var(--line-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav:not(.is-scrolled) { background: linear-gradient(rgba(10,15,26,0.55), transparent); }

.nav-brand { display: flex; align-items: center; color: var(--cream); }
.nav-logo { height: 46px; width: auto; aspect-ratio: 300 / 80; flex: none; }
@media (min-width: 720px) { .nav-logo { height: 52px; } }

.nav-links { display: none; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; color: var(--cream-mute); font-size: .92rem; font-weight: 500;
  padding: .3rem 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--spark); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: .65rem 1.2rem; font-size: .88rem; } }

.nav-burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; padding: 0;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { width: 100%; height: 2px; background: var(--cream); transition: transform .35s var(--ease-soft), opacity .35s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 140;
  background: var(--bg-dark); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile nav { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.nav-mobile a { font-family: var(--display); font-size: 1.6rem; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--bg-dark);
  color: var(--cream);
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 5rem;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%;
  opacity: 0.55;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg-dark) 24%, rgba(10,15,26,0.55) 52%, rgba(10,15,26,0.3) 75%),
    linear-gradient(0deg, var(--bg-dark) 0%, transparent 28%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero-title {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
  max-width: 17ch;
}
.hero-title em { color: var(--accent); font-style: normal; }
.hero-title .split-word { display: inline-block; }

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--cream-mute);
  max-width: 48ch;
  margin-bottom: 2.4rem;
}

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

.hero-stats { position: relative; z-index: 2; margin-top: 4.5rem; }
.hero-stats-inner {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .hero-stats-inner { grid-template-columns: repeat(4, 1fr); } }
.hero-stat {
  background: var(--bg-dark);
  padding: 1.1rem 1.2rem;
  display: flex; align-items: baseline; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--cream-mute);
}
.hero-stat .mono { font-size: 1.25rem; color: var(--cream); font-weight: 500; letter-spacing: 0; }

/* =============================================================
   8. Sections generic
   ============================================================= */
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-light { background: var(--bg); color: var(--ink); }
.section-dark { background: var(--bg-dark); color: var(--cream); overflow: clip; isolation: isolate; }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
  margin-bottom: 1.4rem;
}
.section-title em { color: var(--accent); font-style: normal; }
.title-light em { color: var(--spark); }
.section-lead { max-width: 56ch; color: var(--ink-mute); font-size: 1.05rem; margin-bottom: 3rem; }

/* =============================================================
   9. Manifesto + pillars
   ============================================================= */
.manifesto { margin-bottom: 4rem; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .manifesto { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.manifesto-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: 2rem; max-width: 18ch; }
.manifesto-title em { color: var(--accent); font-style: normal; }
.manifesto-body { display: grid; gap: 1.1rem; max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }
.manifesto-photo {
  position: relative; border-radius: 2px; overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -24px rgba(10,15,26,0.35);
}
.manifesto-photo img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.pillars {
  display: grid; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--bg); padding: 2.2rem 1.8rem; }
.pillar-num { display: block; color: var(--accent); font-size: .85rem; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.pillar p { color: var(--ink-mute); font-size: .95rem; }

/* =============================================================
   10. Divisions
   ============================================================= */
.divisions {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 960px) { .divisions { grid-template-columns: repeat(3, 1fr); } }

.division {
  background: var(--paper);
  padding: 0 0 2.2rem;
  display: flex; flex-direction: column;
  transition: background-color .4s var(--ease-out);
}
.division:hover { background: #fafbff; }

.division-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.division-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-soft);
}
.division:hover .division-photo img { transform: scale(1.06); }

.division-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.8rem 2rem 1.6rem;
}
.division-num { font-size: 1rem; color: var(--ink-mute); }
.division-icon { color: var(--accent); width: 40px; height: 40px; }
.division-icon svg { width: 100%; height: 100%; }

.division h3 { font-size: 1.3rem; margin-bottom: .4rem; margin-inline: 2rem; }
.division-kicker {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; margin-inline: 2rem;
}
.division-desc { color: var(--ink-mute); font-size: .95rem; margin-bottom: 1.4rem; margin-inline: 2rem; }

.division-list { display: grid; gap: .6rem; margin-bottom: 1.8rem; margin-inline: 2rem; flex: 1; }
.division-list li {
  position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--ink-soft);
}
.division-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; background: var(--spark);
}

.division-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .92rem; color: var(--ink);
  border-top: 1px solid var(--line); padding-top: 1.1rem;
  margin-inline: 2rem;
}
.division-cta .icon { transition: transform .35s var(--ease-out); }
.division-cta:hover .icon { transform: translateX(5px); }

/* =============================================================
   10.5 Section photo background (capacidad, cta-final)
   ============================================================= */
.section-photo-bg { isolation: isolate; }
.section-bg-photo { position: absolute; inset: 0; z-index: 0; }
.section-bg-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.section-bg-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg-dark) 0%, rgba(10,15,26,0.55) 45%, rgba(10,15,26,0.3) 100%),
    linear-gradient(90deg, var(--bg-dark) 0%, transparent 45%);
}
.section-photo-bg .blueprint-grid { z-index: 0; }
.section-photo-bg .container { position: relative; z-index: 1; }

/* =============================================================
   11. Numbers
   ============================================================= */
.numbers {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line-dark); border: 1px solid var(--line-dark);
  position: relative; z-index: 1;
}
@media (min-width: 720px) { .numbers { grid-template-columns: repeat(3, 1fr); } }
.number {
  background: var(--bg-dark);
  padding: 2.2rem 1.6rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.number-value { font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--spark); }
.number-label { font-size: .85rem; color: var(--cream-mute); }

/* =============================================================
   12. Process
   ============================================================= */
.process {
  position: relative;
  max-width: 820px;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-num { color: var(--accent); font-size: 1rem; padding-top: .15rem; }
.process-step h4 { font-size: 1.15rem; margin-bottom: .35rem; }
.process-step p { color: var(--ink-mute); font-size: .94rem; }

/* =============================================================
   12.5 Trabajos realizados — mosaico áureo (φ = 1.618)
   ============================================================= */
.gold-section { padding-bottom: clamp(3rem, 6vw, 5rem); }
.container-wide {
  width: 100%; max-width: 1680px; margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px) { .container-wide { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container-wide { padding-inline: 2.5rem; } }

/* shared figure chrome for every photo in this section */
.gold-a, .gold-b, .gold-d, .gold-e, .gold-tail-item, .gold-strip-item {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg-2);
}
.gold-a img, .gold-b img, .gold-d img, .gold-e img,
.gold-tail-item img, .gold-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-soft);
}
.gold-a:hover img, .gold-b:hover img, .gold-d:hover img, .gold-e:hover img,
.gold-tail-item:hover img, .gold-strip-item:hover img { transform: scale(1.06); }

.gold-a figcaption, .gold-b figcaption, .gold-d figcaption, .gold-e figcaption,
.gold-tail-item figcaption, .gold-strip-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: .6rem;
  padding: 1.1rem 1rem .85rem;
  font-size: .82rem; color: var(--cream); line-height: 1.3;
  background: linear-gradient(0deg, rgba(10,15,26,0.85), transparent 75%);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.gold-a:hover figcaption, .gold-b:hover figcaption, .gold-d:hover figcaption, .gold-e:hover figcaption,
.gold-tail-item:hover figcaption, .gold-strip-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gold-tag {
  flex: none; color: var(--spark); font-size: .74rem; letter-spacing: .06em;
}

/* --- Nivel 1: subdivisión áurea real, una sola figura grande + 3 menores --- */
.gold-spiral {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(220px, 44vw);
  gap: 2px;
  margin-bottom: 2px;
}
.gold-a, .gold-b, .gold-d, .gold-e { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .gold-spiral {
    grid-template-columns: 1.618fr 0.618fr 0.382fr;
    grid-template-rows: 1.618fr 1fr;
    grid-auto-rows: unset;
    height: clamp(460px, 48vw, 680px);
  }
  .gold-a, .gold-b, .gold-d, .gold-e { aspect-ratio: auto; }
  .gold-a { grid-area: 1 / 1 / 3 / 2; }
  .gold-b { grid-area: 1 / 2 / 2 / 4; }
  .gold-d { grid-area: 2 / 2 / 3 / 3; }
  .gold-e { grid-area: 2 / 3 / 3 / 4; }
}
.gold-curve {
  display: none;
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  width: 100%; height: 100%; color: var(--spark); opacity: .55;
}
@media (min-width: 960px) { .gold-curve { display: block; } }

/* --- Nivel 2: cola de la espiral, proporciones de Fibonacci 34:21:13:8 --- */
.gold-tail {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.gold-tail-item { aspect-ratio: 16 / 9; }
@media (min-width: 720px) {
  .gold-tail { flex-direction: row; height: clamp(200px, 24vw, 320px); }
  .gold-tail-item { aspect-ratio: auto; flex: var(--w) 1 0; min-width: 0; }
}

/* --- Nivel 3: franja de diversidad, scroll horizontal --- */
.gold-strip-label {
  font-size: .72rem; letter-spacing: .12em; color: var(--ink-mute);
  margin-bottom: 1rem;
}
.gold-strip {
  display: flex; gap: .9rem;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-inline: 1.25rem; padding-block: .25rem 1rem;
  scrollbar-width: thin;
}
@media (min-width: 720px) { .gold-strip { padding-inline: 2rem; } }
@media (min-width: 1280px) { .gold-strip { padding-inline: 2.5rem; } }
.gold-strip-item {
  flex: none; width: clamp(170px, 20vw, 230px);
  aspect-ratio: 3 / 4; scroll-snap-align: start;
}
.gold-strip-item figcaption { font-size: .74rem; padding: .9rem .8rem .7rem; }

/* =============================================================
   13. Testimonials
   ============================================================= */
.testi-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.6rem;
}
.testi-head .section-title { margin-bottom: 0; }
.testi-google {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .92rem; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: .2rem; flex: none;
}

.testimonials { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
.testi { background: var(--paper); padding: 2rem 1.9rem; }
.testi p { font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.35; margin-bottom: 1.1rem; }
.testi cite { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--ink-mute); letter-spacing: .04em; }

/* =============================================================
   14. CTA final
   ============================================================= */
.cta-final { text-align: center; }
.cta-final-inner { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 16ch; margin-bottom: 1.4rem;
}
.cta-title em { color: var(--spark); font-style: normal; }
.cta-sub { max-width: 54ch; color: var(--cream-mute); font-size: 1.05rem; margin-bottom: 2.4rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; align-items: center; }
.cta-phone { font-size: 1.1rem; color: var(--cream); border-bottom: 1px solid var(--line-dark); padding-bottom: .2rem; }
.cta-phone:hover { border-color: var(--spark); color: var(--spark); }

/* =============================================================
   15. Footer
   ============================================================= */
.footer { background: var(--bg-dark); color: var(--cream-mute); padding-top: 4rem; }
.footer-inner {
  display: grid; gap: 2.4rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 30ch; }
.footer-logo { height: 42px; width: auto; aspect-ratio: 300 / 80; align-self: flex-start; flex: none; }
.footer-brand p { font-size: .9rem; }
.footer-col { display: flex; flex-direction: column; gap: .75rem; }
.footer-col h5 { font-size: .7rem; letter-spacing: .1em; color: rgba(241,242,238,0.42); margin-bottom: .3rem; }
.footer-col a, .footer-col span { font-size: .92rem; color: var(--cream-mute); }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.6rem; font-size: .72rem; letter-spacing: .06em; color: rgba(241,242,238,0.4);
}

/* =============================================================
   16. WhatsApp float
   ============================================================= */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 160;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(26,63,209,0.6);
  animation: waPulse 3.2s ease-in-out infinite;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: var(--accent-dim); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(26,63,209,0.6), 0 0 0 0 rgba(26,63,209,0.35); }
  50% { box-shadow: 0 14px 30px -10px rgba(26,63,209,0.6), 0 0 0 10px rgba(26,63,209,0); }
}

/* =============================================================
   17. Responsive refinements
   ============================================================= */
@media (max-width: 719px) {
  .hero-stamp { display: none; }
  .btn-lg { padding: .9rem 1.5rem; }
}

/* =============================================================
   18. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .icon-down { animation: none; }
  .wa-float { animation: none; }
  [data-reveal] { transition-duration: .3s; }
}
