/* ============================================================
   KAREN C. — Entrena tus emociones
   Rediseño 2026, modelado sobre kadoma.co/campana-ads-kadoma/
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --navy: #0e293a;
  --navy-deep: #081a26;
  --teal: #1e7d8f;
  --teal-deep: #155f6e;
  --gold: #f0a020;
  --gold-deep: #c8870a;
  --light: #f4f6f9;
  --white: #fff;
  --text: #1a2e3b;
  --text-soft: #5a7080;
  --border: #e4e8ee;
  --shadow-soft: 0 10px 30px rgba(14, 41, 58, .08);
  --radius: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { position: relative; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }

/* ---------- Splash loader ---------- */
#splash {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999;
  height: 100vh; height: 100dvh; width: 100vw;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease;
}
#splash.hide { opacity: 0; pointer-events: none; }
.splash-logo {
  width: clamp(140px, 34vw, 220px); height: auto; object-fit: contain; margin-bottom: 22px;
  animation: splash-pulse 1.6s ease-in-out infinite;
}
@keyframes splash-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.splash-tag {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin: 0 0 24px;
}
.splash-inner { text-align: center; }
.splash-bar-wrap { width: 160px; height: 3px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.splash-bar { width: 0%; height: 100%; background: var(--gold); transition: width 1.1s ease; }
.splash-bar.go { width: 100%; }

/* ---------- Nav ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: transparent;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  padding: 10px 5%;
  box-shadow: 0 2px 18px rgba(14,41,58,.08);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-badge {
  height: 42px; width: auto; object-fit: contain;
  transition: height .25s;
}
nav.scrolled .nav-logo-badge { height: 36px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-name {
  font-family: 'Poppins', Arial, sans-serif; font-weight: 700; font-size: 1.02rem;
  color: #fff; transition: color .25s;
}
nav.scrolled .nav-brand-name { color: var(--navy); }
.nav-brand-tag {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .6rem;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin-top: 2px; transition: color .25s;
}
nav.scrolled .nav-brand-tag { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: .88rem; font-weight: 600; color: #fff; transition: color .25s;
  position: relative;
}
nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important; padding: 11px 22px;
  border-radius: 50px; font-weight: 700 !important; font-size: .85rem !important;
}
.nav-cta:hover { background: var(--gold-deep); color: #fff !important; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s; }
nav.scrolled .nav-burger span { background: var(--navy); }

/* ---------- Float CTA ---------- */
.float-cta {
  position: fixed; bottom: 16px; left: 50%; transform: translate(-50%, 140%);
  z-index: 400; display: flex; align-items: center; gap: 16px;
  background: var(--navy); color: #fff; padding: 9px 12px 9px 18px;
  border-radius: 60px; box-shadow: 0 14px 34px rgba(8,26,38,.35);
  transition: transform .35s ease;
}
.float-cta.visible { transform: translate(-50%, 0); }
.float-cta-text strong { display: block; font-family: 'Poppins', Arial, sans-serif; font-size: .84rem; }
.float-cta-text span { display: block; font-size: .68rem; color: rgba(255,255,255,.6); }
.float-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: .8rem;
  padding: 9px 18px; border-radius: 50px; white-space: nowrap; transition: background .2s;
}
.float-cta-btn:hover { background: #fff; }

/* ---------- Buttons ---------- */
.btn-gold, .btn-outline, .btn-pac {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 50px; font-weight: 700; font-size: .92rem;
  cursor: pointer; border: 2px solid transparent; transition: all .22s ease;
  font-family: 'Poppins', Arial, sans-serif;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(240,160,32,.28); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-pac { background: var(--navy); color: #fff; }
.btn-pac:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* ---------- Section header pattern ---------- */
.section-header { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 14px;
}
.section-title {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; color: var(--navy);
  line-height: 1.2; margin: 0 0 14px;
}
.section-sub { color: var(--text-soft); font-size: 1rem; line-height: 1.7; margin: 0; }
section.on-dark .section-title, section.on-dark .section-sub { color: #fff; }
section.on-dark .section-sub { color: rgba(255,255,255,.62); }

/* ---------- Watermark logo ---------- */
.watermark {
  position: absolute; opacity: .04; pointer-events: none; z-index: 0;
  width: 480px; height: 480px; object-fit: contain;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy); overflow: hidden; padding-top: 90px;
}
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,38,.82) 0%, rgba(14,41,58,.72) 45%, rgba(8,26,38,.94) 100%);
}
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.hero-dot.active { background: var(--gold); width: 22px; border-radius: 5px; }

.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 60px 5% 100px; }
.hero-badge {
  display: inline-block; background: rgba(240,160,32,.14); border: 1px solid rgba(240,160,32,.4);
  color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 50px; margin-bottom: 22px;
}
#hero h1 {
  font-family: 'Poppins', Arial, sans-serif; font-weight: 700; color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 3.8rem); line-height: 1.12; margin: 0 0 20px;
}
#hero h1 em { color: var(--gold); font-style: normal; }
.hero-content > p { color: rgba(255,255,255,.72); font-size: 1.1rem; max-width: 520px; margin: 0 0 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }
.hero-credentials { color: rgba(255,255,255,.5); font-size: .82rem; letter-spacing: .3px; }
.hero-credentials span { color: var(--gold); margin: 0 8px; }

/* ============================================================
   VIDEO PRESENTACION
   ============================================================ */
#video-presentacion { background: var(--navy); padding: 30px 5% 50px; }
.video-frame {
  position: relative; max-width: 1040px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  aspect-ratio: 16/9; box-shadow: var(--shadow-soft);
}
@media (max-width: 720px) {
  #video-presentacion { padding: 20px 5% 34px; }
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.vid-play-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; background: rgba(8,26,38,.45); cursor: pointer; text-align: center; padding: 20px;
}
.vid-play-btn {
  width: 76px; height: 76px; border-radius: 50%; background: var(--gold); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.vid-play-btn:hover { transform: scale(1.08); }
.vid-play-label { color: #fff; font-family: 'Poppins', Arial, sans-serif; font-weight: 600; font-size: 1.05rem; max-width: 420px; margin: 0; }
#vid-pause-btn {
  display: none; position: absolute; bottom: 16px; right: 16px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.4); backdrop-filter: blur(6px); align-items: center; justify-content: center;
}

/* ============================================================
   BENEFICIOS
   ============================================================ */
#beneficios { background: #fff; padding: 100px 5% 90px; }

.beneficios-timeline { position: relative; max-width: 820px; margin: 0 auto 50px; }
.bt-line {
  position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px;
  background: var(--border); transform: translateX(-50%);
}
.beneficio-item { position: relative; width: 50%; padding: 0 48px 50px; box-sizing: border-box; }
.beneficio-item:last-child { padding-bottom: 0; }
.beneficio-item:nth-child(odd) { left: 0; }
.beneficio-item:nth-child(even) { left: 50%; }
.beneficio-item:nth-child(1) { transition-delay: 0s; }
.beneficio-item:nth-child(2) { transition-delay: .12s; }
.beneficio-item:nth-child(3) { transition-delay: .24s; }
.beneficio-item:nth-child(4) { transition-delay: .36s; }
.beneficio-item:nth-child(5) { transition-delay: .48s; }
.beneficio-item:nth-child(6) { transition-delay: .6s; }
.beneficio-item::before {
  content: ''; position: absolute; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.beneficio-item:nth-child(odd)::before { right: -7px; }
.beneficio-item:nth-child(even)::before { left: -7px; }
.bt-content { display: flex; align-items: center; gap: 16px; }
.beneficio-item:nth-child(odd) .bt-content { flex-direction: row-reverse; text-align: right; }
.beneficio-item:nth-child(even) .bt-content { text-align: left; }

.beneficio-icon {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(30,125,143,.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .25s;
}
.beneficio-icon i { font-size: 24px; color: var(--teal); }
.beneficio-item:nth-child(3n-1) .beneficio-icon { background: rgba(240,160,32,.1); }
.beneficio-item:nth-child(3n-1) .beneficio-icon i { color: var(--gold-deep); }
.beneficio-item:nth-child(3n) .beneficio-icon { background: rgba(14,41,58,.06); }
.beneficio-item:nth-child(3n) .beneficio-icon i { color: var(--navy); }
.beneficio-item:hover .beneficio-icon { transform: scale(1.08); }
.beneficio-item p { font-size: .96rem; color: var(--text); font-weight: 600; line-height: 1.55; margin: 0; }
.beneficios-cta { text-align: center; }

@media (max-width: 720px) {
  .bt-line { left: 20px; }
  .beneficio-item, .beneficio-item:nth-child(odd), .beneficio-item:nth-child(even) {
    left: 0; width: 100%; padding: 0 0 34px 54px;
  }
  .beneficio-item::before, .beneficio-item:nth-child(odd)::before, .beneficio-item:nth-child(even)::before {
    left: 14px; right: auto;
  }
  .beneficio-item:nth-child(odd) .bt-content { flex-direction: row; text-align: left; }
}

/* ============================================================
   PILARES / SERVICIOS
   ============================================================ */
#pilares { background: var(--light); padding: 100px 5%; }
.pilares-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1180px; margin: 0 auto; }

.pilar-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 500px; display: flex; align-items: flex-end;
  transition: transform .28s ease, box-shadow .28s ease;
}
.pilar-card:nth-child(1) { transition-delay: 0s; }
.pilar-card:nth-child(2) { transition-delay: .15s; }
.pilar-card:nth-child(3) { transition-delay: .3s; }
.pilar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.pilar-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; z-index: 0;
}
.pilar-card:hover .pilar-bg { transform: scale(1.07); }
.pilar-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,26,38,0) 28%, rgba(8,26,38,.6) 60%, rgba(8,26,38,.94) 100%);
}
.pilar-body { position: relative; z-index: 2; padding: 28px 24px 30px; width: 100%; box-sizing: border-box; }
.pilar-icon {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.pilar-icon i { font-size: 19px; color: #fff; }
.pilar-body h3 { font-family: 'Poppins', Arial, sans-serif; font-size: 1.16rem; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.3; }
.pilar-body > p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.65; margin: 0 0 18px; }
.pilar-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ptag { font-size: .72rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); padding: 5px 12px; border-radius: 50px; }
.formato-strip { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.formato-label { font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.formato-dots { display: flex; gap: 4px; }
.fdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.fdot.on { background: var(--gold); }
.formato-txt { font-size: .72rem; color: rgba(255,255,255,.55); }

/* ---------- Metodologia strip ---------- */
#metodologia { background: var(--light); padding: 0 5% 90px; }
.met-inner {
  max-width: 780px; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  gap: 26px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: 60px;
  padding: 20px 34px;
}
.met-item { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--navy); }
.met-item i { font-size: 20px; color: var(--gold-deep); }
.met-divider { width: 1px; height: 22px; background: var(--border); }
.met-note { width: 100%; text-align: center; color: var(--text-soft); font-size: .82rem; margin: 16px 0 0; }

/* ============================================================
   DIAGNOSTICO CTA (reemplaza el formulario de leads de Kadoma)
   ============================================================ */
#diagnostico { background: #fff; padding: 100px 5%; }
.diag-panel {
  max-width: 980px; margin: 0 auto; background: var(--light); border-radius: 26px;
  padding: 56px 6%; text-align: center; position: relative; overflow: hidden;
}
.diag-panel::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(240,160,32,.12);
}
.diag-list {
  list-style: none; padding: 0; margin: 30px auto 38px; max-width: 560px;
  display: grid; gap: 14px; text-align: left; position: relative; z-index: 1;
}
.diag-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: var(--text); }
.diag-list i { color: var(--gold-deep); font-size: 19px; margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   ATENCION INDIVIDUAL
   ============================================================ */
#pacientes { background: #fff; padding: 20px 5% 100px; }
.pacientes-inner {
  max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1fr; gap: 60px; align-items: center;
}
.pac-img-wrap { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft); }
.pac-img { width: 100%; }

/* ============================================================
   RESEÑAS EN VIDEO
   ============================================================ */
#resenas { background: var(--navy); padding: 100px 5%; }
.resenas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
.resena-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9/16; background: #000; }
.resena-card video { width: 100%; height: 100%; object-fit: cover; }
.resena-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(8,26,38,.28); cursor: pointer; transition: opacity .25s;
}
.resena-card.playing .resena-play { opacity: 0; pointer-events: none; }
.resena-play i {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ============================================================
   CLIENTES
   ============================================================ */
#clientes { background: #fff; padding: 90px 5%; text-align: center; }
.logos-slider { max-width: 1100px; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; align-items: center; gap: 60px; width: max-content; animation: logos-scroll 32s linear infinite; }
.logo-img { height: 42px; width: auto; object-fit: contain; opacity: .9; transition: opacity .25s; }
.logo-img:hover { opacity: 1; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   MISIÓN Y VISIÓN
   ============================================================ */
#mision-vision { background: var(--light); padding: 100px 5%; }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 980px; margin: 0 auto; }
.mv-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 34px;
}
.mv-icon { font-size: 30px; color: var(--teal); margin-bottom: 18px; display: inline-block; }
.mv-card:nth-child(2) .mv-icon { color: var(--gold-deep); }
.mv-card h3 { font-family: 'Poppins', Arial, sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 14px; }
.mv-card p { color: var(--text-soft); font-size: .95rem; line-height: 1.75; margin: 0; }

/* ============================================================
   AUTORIDAD
   ============================================================ */
#autoridad { background: var(--navy); padding: 100px 5% 130px; }
.autoridad-intro { max-width: 720px; margin: 0 auto 50px; text-align: center; color: rgba(255,255,255,.68); font-size: 1.02rem; line-height: 1.75; }
.autoridad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1080px; margin: 0 auto; }
.autoridad-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 34px 28px;
}
.aut-icon { font-size: 26px; margin-bottom: 18px; display: inline-block; color: var(--gold); }
.autoridad-card:nth-child(2) .aut-icon { color: var(--teal); }
.autoridad-card:nth-child(3) .aut-icon { color: #fff; }
.autoridad-card h3 { font-family: 'Poppins', Arial, sans-serif; font-size: 1.08rem; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.3; }
.autoridad-card p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.65; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--navy-deep); padding: 40px 5% 110px; margin-top: -70px; }
#faq .section-tag { color: var(--gold); }
#faq .section-tag::before { background: var(--gold); }
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  overflow: hidden; transition: background .2s, border-color .2s;
}
.faq-item[open] { background: rgba(255,255,255,.06); border-color: rgba(240,160,32,.4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-weight: 600; color: #fff; font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform .25s, background .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq-item p { padding: 0 24px 22px; color: rgba(255,255,255,.62); font-size: .92rem; line-height: 1.72; margin: 0; }

/* ============================================================
   CONTACTO
   ============================================================ */
#contacto { background: var(--navy-deep); padding: 20px 5% 110px; text-align: center; }
#contacto .section-tag { justify-content: center; }
#contacto h2 { font-family: 'Poppins', Arial, sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin: 0 0 14px; font-weight: 700; }
#contacto h2 em { color: var(--gold); font-style: normal; }
#contacto > p { color: rgba(255,255,255,.58); max-width: 480px; margin: 0 auto 32px; font-size: 1rem; }

/* ============================================================
   CLOSING BANNER
   ============================================================ */
#closing-banner {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-deep) 100%);
  padding: 90px 5% 70px; text-align: center; position: relative; overflow: hidden;
}
.closing-banner-brand { font-family: 'Poppins', Arial, sans-serif; font-size: .95rem; color: var(--navy-deep); letter-spacing: 1px; font-weight: 700; margin-bottom: 14px; opacity: .8; }
.closing-banner-tag { font-family: 'Poppins', Arial, sans-serif; font-weight: 700; color: var(--navy-deep); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.35; max-width: 720px; margin: 0 auto; }
.closing-banner-tag em { font-style: normal; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(14,41,58,.35); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; max-width: 1180px; margin: 46px auto 0; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 24px 5%; background: var(--navy-deep);
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.foot-name { color: #fff; font-size: .84rem; font-family: 'Poppins', Arial, sans-serif; font-weight: 700; }
.foot-copy { font-size: .72rem; color: rgba(255,255,255,.3); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-left, .reveal-right { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.reveal-left { transform: translateX(-46px); }
.reveal-right { transform: translateX(46px); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: translateX(0); }
@media (max-width: 720px) {
  .reveal-left, .reveal-right { transform: translateY(22px); }
  .reveal-left.in, .reveal-right.in { transform: translateY(0); }
}

/* ============================================================
   Wave divider
   ============================================================ */
.wave-divider { line-height: 0; position: relative; z-index: 1; }
.wave-divider svg { width: 100%; height: 60px; display: block; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
  .pilares-grid { grid-template-columns: 1fr; max-width: 480px; }
  .autoridad-grid { grid-template-columns: 1fr; max-width: 480px; }
  .mv-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pacientes-inner { grid-template-columns: 1fr; gap: 34px; }
  .resenas-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 76%; max-width: 320px;
    background: var(--navy); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px 34px; transform: translateX(100%); transition: transform .3s ease; z-index: 100; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff !important; font-size: 1.05rem; }
  .nav-burger { display: block; }
  .beneficios-grid { grid-template-columns: 1fr; max-width: 340px; }
  .resenas-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 150px; }
  .float-cta { width: 92%; left: 4%; transform: translateY(140%); padding: 8px 8px 8px 16px; }
  .float-cta.visible { transform: translateY(0); }
  .float-cta-text span { display: none; }
  .float-cta-text strong { font-size: .76rem; }
  .float-cta-btn { padding: 8px 14px; font-size: .74rem; }
  footer { flex-direction: column; text-align: center; }
  .diag-panel { padding: 40px 6%; }
}
