/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette — guía 2026 */
  --bg:        #1B232E;
  --bg-card:   #232d3a;
  --bg-card2:  #2A343E;
  --copper:    #997462;
  --rose:      #E7B9A2;
  --stone:     #D0C3BD;
  --slate:     #485661;
  --slate-lt:  #6b7f8e;
  --white:     #F2EDE8;

  /* Derived */
  --line:       rgba(208,195,189,0.13);
  --line-rose:  rgba(231,185,162,0.22);
  --rose-glow:  rgba(153,116,98,0.12);

  --font: 'Montserrat', sans-serif;
  --font-display: 'Cormorant Garant', Georgia, serif;

  --section-pad: clamp(80px, 10vw, 130px);
  --gutter:      clamp(24px, 6vw, 80px);
  --max-w:       1080px;

  /* Text sizes */
  --text-xs:   .72rem;
  --text-sm:   .875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.25rem;
  --text-xl:   clamp(1.4rem, 3vw, 1.9rem);
  --text-2xl:  clamp(1.9rem, 4.5vw, 3rem);
  --text-hero: clamp(2.4rem, 5.5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Custom cursor ─── */
@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
  .cursor {
    position: fixed;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--copper);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transition: transform .18s ease, background .2s ease;
    mix-blend-mode: screen;
    will-change: left, top;
  }
  .cursor.hover {
    transform: translate(-50%, -50%) scale(3);
    background: var(--rose);
  }
}

/* ─── Noise overlay ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .4;
}

/* ─── Blobs ─── */
.blob {
  position: fixed; border-radius: 50%;
  filter: blur(110px); pointer-events: none; z-index: 0;
}
.blob-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(153,116,98,.18) 0%, transparent 70%);
  top: -120px; right: -100px;
  animation: fl1 18s ease-in-out infinite;
}
.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(72,86,97,.25) 0%, transparent 70%);
  bottom: 5%; left: -80px;
  animation: fl2 22s ease-in-out infinite;
}
.blob-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(231,185,162,.07) 0%, transparent 70%);
  top: 55%; right: 8%;
  animation: fl3 28s ease-in-out infinite;
}
@keyframes fl1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-28px,38px)} }
@keyframes fl2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(32px,-24px)} }
@keyframes fl3 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-18px,26px)} 66%{transform:translate(22px,-14px)} }

/* ─── Layout ─── */
.container {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--gutter);
}
section { position: relative; z-index: 1; }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ─── Eyebrow label ─── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 28px;
}
.label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1.5px;
  background: var(--copper);
  flex-shrink: 0;
}

/* ─── Divider ─── */
hr { border: none; border-top: 1px solid var(--line); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 1.5px solid var(--rose);
  color: var(--bg);
  background: var(--rose);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, gap .25s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--copper);
  transform: translateX(-105%);
  transition: transform .38s ease;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateX(0); }
.btn:hover { gap: 16px; border-color: var(--copper); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--rose);
  border-color: var(--copper);
}
.btn-ghost::before { background: var(--rose); }
.btn-ghost:hover { color: var(--bg); }

/* ─── Section CTA ─── */
.section-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.cta-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.cta-text-link:hover { color: var(--rose); border-bottom-color: var(--copper); }
.cta-text-link .arrow { transition: transform .25s ease; display: inline-block; }
.cta-text-link:hover .arrow { transform: translateX(4px); }

/* ════════════════════════════════════
   NAV
════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(27,35,46,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px var(--gutter);
  border-bottom-color: var(--line);
}
.nav-logo img {
  height: 34px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(231,185,162,.22));
  transition: opacity .3s;
}
.nav-logo img:hover { opacity: .8; }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,35,46,.78) 0%, rgba(27,35,46,.88) 60%, rgba(27,35,46,1) 100%);
}

.hero-wrap { max-width: 820px; }

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--slate-lt);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp .8s .15s ease forwards;
}

h1.hero-hl {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .9s .3s ease forwards;
}
h1.hero-hl em {
  font-style: italic;
  color: var(--rose);
  font-weight: 400;
}

.hero-sub {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
  max-width: 600px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp .9s .48s ease forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp .9s .62s ease forwards;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.1s ease forwards;
  pointer-events: none;
  z-index: 1;
}
.scroll-cue span {
  font-size: .58rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--slate);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--slate), transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.35} 50%{opacity:.9} }

/* ════════════════════════════════════
   BLOCK 2 — DOLOR
════════════════════════════════════ */
#dolor {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}

.dolor-intro {
  font-size: var(--text-lg);
  font-weight: 300;
  font-style: italic;
  color: var(--stone);
  margin-bottom: 48px;
  line-height: 1.65;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 52px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--bg-card2);
  padding: 32px 36px;
  position: relative;
  transition: background .35s, border-top-color .35s;
}
.pain-card::before {
  content: '';
  position: absolute; top: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--copper);
  transition: width .5s ease;
}
.pain-card:hover::before { width: 60px; }
.pain-card:hover { background: var(--bg-card2); }

.pain-num {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--copper);
  margin-bottom: 14px;
}

.pain-text {
  font-size: var(--text-base);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--white);
}
.pain-text::before { content: '"'; color: var(--copper); margin-right: 2px; font-style: normal; }
.pain-text::after  { content: '"'; color: var(--copper); margin-left: 2px;  font-style: normal; }

.dolor-close {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
  max-width: 700px;
  padding-left: 24px;
  border-left: 2px solid var(--copper);
}
.dolor-close strong { color: var(--white); font-weight: 500; }

/* ════════════════════════════════════
   BLOCK 3 — RUPTURA
════════════════════════════════════ */
#ruptura {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}

h2.section-hl {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 700px;
}

.body-text {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
  max-width: 680px;
  margin-bottom: 40px;
}
.body-text + .body-text { margin-top: -20px; }

.callout {
  position: relative;
  padding: 40px 48px;
  margin: 0 0 40px;
  background: var(--bg-card);
  border: 1px solid var(--line-rose);
  border-left: 3px solid var(--copper);
  max-width: 820px;
}

.callout-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: block;
}

.callout p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.85;
  color: var(--white);
}

.highlight { color: var(--rose); font-style: italic; }

/* ─── Marquee strip ─── */
.marquee-strip {
  position: relative; z-index: 1;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(27,35,46,.6);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate-lt);
  white-space: nowrap;
}
.marquee-track .mdot {
  color: var(--copper);
  letter-spacing: 0;
  font-size: .9rem;
  opacity: .7;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ════════════════════════════════════
   BLOCK 4 — SOLUCIÓN
════════════════════════════════════ */
#solucion {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(42,52,62,.35) 50%, transparent 100%);
}

.solucion-intro {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  max-width: 560px;
  margin-bottom: 56px;
}
.solucion-intro em { color: var(--rose); font-style: italic; font-weight: 400; }

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
}

.phase {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background .35s, border-color .35s;
}
.phase::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 0;
  background: linear-gradient(to top, rgba(153,116,98,.08), transparent);
  transition: height .45s;
}
.phase:hover { background: var(--bg-card2); border-color: var(--line-rose); }
.phase:hover::after { height: 100%; }

.phase-num {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--copper);
  margin-bottom: 18px;
}

.phase-name {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-rose);
}

.phase-desc {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
}

.result-line {
  font-size: var(--text-md);
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
  padding-left: 24px;
  border-left: 2px solid var(--copper);
  line-height: 1.6;
}

/* ════════════════════════════════════
   BLOCK 5 — PRUEBA / TABS
════════════════════════════════════ */
#prueba {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}

/* ── Tab bar ── */
.cases-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.cases-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  margin-right: 48px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-family: var(--font);
  transition: border-color .25s;
}

.tab-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--slate);
  transition: color .25s;
}

.tab-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: .02em;
  transition: color .25s;
}

.cases-tab:hover .tab-num  { color: var(--copper); }
.cases-tab:hover .tab-name { color: var(--white); }

.cases-tab.active { border-bottom-color: var(--copper); }
.cases-tab.active .tab-num  { color: var(--copper); }
.cases-tab.active .tab-name { color: var(--white); }

/* ── Panels ── */
.cases-panel { display: none; }

.cases-panel.active {
  display: block;
  animation: fadeUp .45s ease both;
}

.case-company {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
}
.case-company-sub {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--slate-lt);
  letter-spacing: .04em;
  margin-bottom: 36px;
}

/* Imagen del caso de estudio */
.case-img-wrap {
  width: 100%;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.case-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.85) brightness(.9);
  transition: filter .5s ease, transform .6s ease;
}
.case-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(27,35,46,.7) 100%
  );
  pointer-events: none;
}
.case-img-wrap:hover img {
  filter: saturate(1) brightness(.95);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .case-img-wrap img { height: 240px; }
}

.case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.case-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 36px;
}

.case-col-lbl {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}

.case-col p {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.metric {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
  transition: background .3s, border-color .3s;
}
.metric:hover { background: var(--bg-card2); border-color: var(--line-rose); }

.metric-val {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 300;
  color: var(--rose);
  line-height: 1.1;
  margin-bottom: 10px;
}

.metric-lbl {
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--stone);
  line-height: 1.5;
}

.case-quote {
  font-size: var(--text-base);
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--stone);
  padding-left: 24px;
  border-left: 2px solid var(--slate);
  max-width: 680px;
}

/* ════════════════════════════════════
   BLOCK 6 — PARA QUIÉN
════════════════════════════════════ */
#paraquien {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(42,52,62,.3) 50%, transparent 100%);
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.fit-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 36px;
}

.fit-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fit-col:first-child .fit-col-title { color: var(--rose); }
.fit-col:last-child  .fit-col-title { color: var(--slate-lt); }

.fit-col-title::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1.5px; flex-shrink: 0;
}
.fit-col:first-child .fit-col-title::before { background: var(--rose); }
.fit-col:last-child  .fit-col-title::before { background: var(--slate-lt); }

.fit-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 16px;
}
.fit-list li {
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.65;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fit-list li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  flex-shrink: 0; margin-top: 7px;
}
.fit-col:first-child .fit-list li::before { background: var(--copper); }
.fit-col:last-child  .fit-list li::before { background: var(--slate); }

.paraquien-close {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
  color: var(--stone);
  max-width: 680px;
}
.paraquien-close strong { color: var(--white); font-weight: 500; }

/* ════════════════════════════════════
   BLOCK 7 — AUTORIDAD
════════════════════════════════════ */
#autoridad {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}

.autoridad-body {
  max-width: 760px;
  margin-top: 8px;
}
.autoridad-body p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.9;
  color: var(--stone);
  margin-bottom: 22px;
}
.autoridad-body p:last-child { margin-bottom: 0; }
.autoridad-body strong { color: var(--white); font-weight: 500; }
.autoridad-body em { color: var(--rose); font-style: italic; }

/* ════════════════════════════════════
   BLOCK 8 — CTA FINAL
════════════════════════════════════ */
#contacto {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(153,116,98,.05) 60%, transparent 100%);
}

.cta-hl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 20px;
}
.cta-hl em { color: var(--rose); font-style: italic; font-weight: 400; }

.cta-sub {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.85;
  color: var(--stone);
  max-width: 580px;
  margin-bottom: 52px;
}

/* Form */
.form-wrap { max-width: 520px; }
.form-group { margin-bottom: 28px; }

.form-lbl {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}
.form-lbl .optional {
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  font-size: .75rem;
  color: var(--slate-lt);
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-bottom: 1.5px solid var(--line-rose);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color .3s, background .3s;
  caret-color: var(--rose);
  border-radius: 0;
}
textarea.form-input {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}
.form-input::placeholder { color: var(--slate); }
.form-input:focus {
  border-color: var(--copper);
  background: var(--bg-card2);
}
.form-input.error { border-color: #b55555; }

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  align-items: flex-start;
}

/* Form feedback messages */
.form-msg {
  display: none;
  font-size: var(--text-sm);
  font-weight: 400;
  padding: 12px 16px;
  border-left: 3px solid;
  margin-top: 16px;
}
.form-msg.error   { display: block; color: #e09090; border-color: #b55555; background: rgba(181,85,85,.08); }
.form-msg.success { display: block; color: var(--rose); border-color: var(--copper); background: var(--rose-glow); }

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.wa-link:hover { color: var(--rose); border-bottom-color: var(--copper); }
.wa-link svg { flex-shrink: 0; opacity: .7; transition: opacity .3s; }
.wa-link:hover svg { opacity: 1; }

/* Thank you */
#form-thanks {
  display: none;
  padding: 48px 0;
}
#form-thanks.visible { display: block; }
.thanks-hl {
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--rose);
  margin-bottom: 14px;
}
.thanks-text {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  position: relative; z-index: 1;
  padding: 44px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-lt);
}

#footer-email {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
#footer-email:hover { color: var(--rose); border-bottom-color: var(--copper); }

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-policy-link {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.footer-policy-link:hover { color: var(--rose); border-bottom-color: var(--copper); }

/* ─── Keyframes ─── */
@keyframes fadeUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { to { opacity: 1; } }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --gutter: 20px; --section-pad: 64px; }

  .pain-grid    { grid-template-columns: 1fr; }
  .phases       { grid-template-columns: 1fr; }
  .case-cols    { grid-template-columns: 1fr; }
  .metrics      { grid-template-columns: repeat(2, 1fr); }
  .fit-grid     { grid-template-columns: 1fr; }

  .callout { padding: 28px 24px; }
  .scroll-cue { display: none; }
  footer { flex-direction: column; align-items: flex-start; }

  /* Nav: logo más chico, botón más compacto */
  .nav-logo img { height: 26px; }
  #nav .btn { padding: 10px 18px; letter-spacing: .12em; }
}

@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }

  /* Nav: ocultar "gratuito" — queda "Diagnóstico →" */
  .nav-btn-extra { display: none; }
  #nav .btn { padding: 9px 14px; font-size: .68rem; }
  .nav-logo img { height: 22px; }
}
