/* ==========================================================
   Plan Seguro Esencial · Landing Google Ads (v3)
   Paleta verde turquesa de Plan Seguro Esencial
   ========================================================== */
@font-face { font-family: "Encode Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/encode-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Encode Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/encode-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Encode Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/encode-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Encode Sans Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/encode-sans-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Encode Sans Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/encode-sans-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Encode Sans Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/encode-sans-condensed-latin-800-normal.woff2) format("woff2"); }

:root {
  --teal: #3f9a90;        /* verde Plan Esencial (Genially) */
  --teal-600: #2f8279;
  --teal-800: #1f5f5b;
  --cyan: #2ed9c3;        /* turquesa del logotipo Esencial */
  --cyan-200: #9ff0e5;
  --mint: #e8f6f3;
  --mint-2: #f3faf9;
  --navy: #1b3a6b;        /* azul de títulos */
  --green: #00b140;       /* verde CTA (hoja Plan Seguro) */
  --green-700: #00953a;
  --ink: #23323f;
  --muted: #5b6b77;
  --line: #d9e8e5;
  --white: #ffffff;
  --error: #c62828;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(31, 95, 91, .12);
  --shadow-lg: 0 24px 60px rgba(31, 95, 91, .20);
  --font: "Encode Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Encode Sans Condensed", "Encode Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
a { color: var(--teal-600); }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.logo-esencial { width: 180px; }
@media (min-width: 900px) { .logo-esencial { width: 240px; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 0; cursor: pointer;
  background: var(--green); color: var(--white);
  font: 700 1.12rem/1.1 var(--font-head);
  letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  padding: 17px 26px; border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 177, 64, .30);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; transition: transform .2s; }
.btn:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 177, 64, .36); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.btn-cta { width: auto; margin-top: 28px; }
.btn-sm { width: auto; padding: 10px 18px; font-size: .9rem; box-shadow: none; white-space: nowrap; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }
.btn-outline:hover { background: var(--white); color: var(--teal-800); box-shadow: none; }
@media (max-width: 559px) { .btn-cta { width: 100%; } }

/* ---------- Triángulos (estilo Plan Esencial) ---------- */
.tri { position: absolute; pointer-events: none; z-index: 0; }
.t1 { width: 520px; height: 600px; right: -120px; top: -140px; background: linear-gradient(160deg, rgba(46,217,195,.55), rgba(46,217,195,0) 70%); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.t2 { width: 380px; height: 440px; right: 22%; bottom: -200px; background: linear-gradient(20deg, rgba(255,255,255,.18), rgba(255,255,255,0) 70%); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.t3 { width: 300px; height: 520px; left: -140px; top: 20%; background: linear-gradient(200deg, rgba(31,95,91,.55), rgba(31,95,91,0) 75%); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, #3f9a90 0%, #36a596 55%, #2c8f86 100%);
  padding: 24px 0 36px;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-block; background: rgba(255,255,255,.16); color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 7.4vw, 3.6rem); font-weight: 800; }
.hero h1 span { display: block; color: var(--cyan-200); font-weight: 700; font-size: .62em; margin-top: 8px; line-height: 1.12; }
.hero-lead { margin-top: 16px; font-size: 1.12rem; font-weight: 600; max-width: 46ch; }
.hero-sub { margin-top: 6px; font-size: 1.02rem; color: rgba(255,255,255,.9); max-width: 50ch; }
.hero-media {
  position: relative; margin-top: 22px; overflow: hidden;
  aspect-ratio: 16 / 8.2; border-radius: 22px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
  background: var(--teal-800);
  box-shadow: var(--shadow-lg);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
.hero-chips { position: absolute; left: 10%; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.94); color: var(--teal-800);
  font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.hero-chips svg { width: 14px; height: 14px; color: var(--green); }
.form-col { min-width: 0; }

@media (max-width: 899px) {
  .hero-copy { display: contents; }
  .hero-copy > * { order: 0; }
  .form-col { order: 1; margin: 22px 0; }
  .hero-media { order: 2; margin-top: 0; clip-path: none; }
  .hero-grid { gap: 0; }
  .hero-chips { left: 12px; }
  .hero-chips li:nth-child(n+3) { display: none; }
  .tri { opacity: .6; }
}
@media (min-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 410px; gap: 44px; }
  .hero-chips { bottom: 16px; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: 60px 0; }
.section-mint { background: linear-gradient(180deg, var(--mint) 0%, var(--mint-2) 100%); }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); font-weight: 800; }
.section-head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.hl { color: var(--teal); }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: 18px; max-width: 54ch; }
.lead strong { color: var(--ink); }

/* Split imagen + texto */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% center; border-radius: 24px; box-shadow: var(--shadow-lg); }
.slant::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 60%;
  background: linear-gradient(160deg, var(--cyan), var(--teal)); opacity: .9;
  clip-path: polygon(100% 0, 100% 100%, 0 100%); border-radius: 0 0 24px 0; z-index: -1;
}
.split-media.slant { isolation: isolate; }

/* Grupos de beneficios */
.group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; color: var(--teal-800);
  margin: 44px 0 20px;
}
.group-title:first-of-type { margin-top: 0; }
.group-title span {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: var(--white);
  font-size: 1.1rem;
}

.cards-4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--white); border-radius: 18px; padding: 22px 20px;
  box-shadow: var(--shadow); border-bottom: 4px solid var(--cyan);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin-top: 14px; line-height: 1.15; }
.card p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--teal-600); }
.icon svg { width: 28px; height: 28px; }

/* Videoconsultas destacado */
.feature {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
}
@media (min-width: 800px) { .feature { grid-template-columns: 1fr 1.1fr; } }
.feature-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 60% center; }
.feature-body { padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .feature-body { padding: 40px 44px; } }
.pill { align-self: flex-start; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.feature h4 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-top: 12px; }
.icon-inline { width: 46px; height: 46px; flex: 0 0 46px; }
.feature-body > p { color: var(--muted); font-size: 1.05rem; margin-top: 10px; }
.share {
  display: flex; gap: 14px; align-items: center; margin-top: 20px;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-600) 100%); color: var(--white);
  border-radius: 16px; padding: 16px 18px;
}
.share-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.share-icon svg { width: 28px; height: 28px; }
.share p { font-size: 1.02rem; line-height: 1.4; }

/* Tarjetas degradadas (como el Genially) */
.cards-gradient { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .cards-gradient { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards-gradient { grid-template-columns: repeat(4, 1fr); } }
.gcard {
  position: relative; overflow: hidden; color: var(--white);
  border-radius: 22px; padding: 26px 22px 28px;
  box-shadow: var(--shadow); transition: transform .25s;
}
.gcard:hover { transform: translateY(-4px); }
.gcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: rgba(255,255,255,.10); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.g1 { background: linear-gradient(160deg, #5bb3a8, #3f9a90); }
.g2 { background: linear-gradient(160deg, #3f9a90, #2f7f78); }
.g3 { background: linear-gradient(160deg, #2f7f78, #24606a); }
.g4 { background: linear-gradient(160deg, #24606a, #1b3a6b); }
.gicon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.gicon svg { width: 30px; height: 30px; }
.gcard strong { display: block; font-family: var(--font-head); font-size: 1.45rem; margin-top: 14px; }
.gcard p { font-size: .95rem; margin-top: 8px; color: rgba(255,255,255,.92); }

/* Ahorro en hospitales en colaboración */
.savings {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--navy); color: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #1b3a6b 0%, #1f5f5b 100%);
}
@media (min-width: 900px) { .savings { grid-template-columns: 1fr 1.15fr; align-items: center; } }
.savings-media { padding: 16px 16px 0; }
@media (min-width: 900px) { .savings-media { padding: 28px 0 28px 28px; } }
.savings-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top;
  border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.savings-body { padding: 28px 22px 32px; }
@media (min-width: 900px) { .savings-body { padding: 40px 44px; } }
.savings-intro { font-family: var(--font-head); font-size: clamp(1.3rem, 2.8vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.stats { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 22px 0; }
@media (min-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(46,217,195,.4); border-radius: 18px; padding: 18px; }
.stat-big { display: block; font-family: var(--font-head); font-size: clamp(3rem, 9vw, 4rem); font-weight: 800; line-height: 1; color: var(--cyan); }
.stat-big small { font-size: .45em; font-weight: 700; }
.stat p { margin-top: 8px; color: #d6e4ee; font-size: .95rem; }
.stat strong { color: var(--white); }
.savings-foot { color: #d6e4ee; }
.savings .btn-cta { margin-top: 22px; }

/* Red hospitalaria (oculta hasta tener logos autorizados) */
.hospital-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: center; margin-top: 28px; }
@media (min-width: 768px) { .hospital-grid { grid-template-columns: repeat(4, 1fr); } }
.hospital-grid img { max-height: 56px; width: auto; margin: 0 auto; }

/* ---------- Lo que debes saber ---------- */
.facts { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } .fact-wide { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 999px) { .fact-wide { grid-column: 1 / -1; } }
.fact { background: var(--mint-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.fact dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-600); }
.fact dd { margin: 6px 0 0; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.fact dd small { display: block; font-size: .55em; font-weight: 600; color: var(--muted); margin-top: 2px; }
.fact p { color: var(--muted); font-size: .93rem; margin-top: 8px; }
.fact-wide {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-600) 100%); border: 0; color: var(--white);
}
.fact-wide dt { color: var(--cyan-200); flex-basis: 100%; }
.fact-wide dd { color: var(--white); font-size: clamp(2.2rem, 6vw, 3rem); }
.fact-wide p { color: rgba(255,255,255,.9); margin: 0; }
.footnote { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; color: var(--white); background: var(--teal-800); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(47,130,121,.97) 0%, rgba(63,154,144,.92) 42%, rgba(63,154,144,.15) 72%, rgba(63,154,144,0) 100%);
}
.final-cta .tri { z-index: 1; }
@media (max-width: 767px) { .final-cta::before { background: linear-gradient(180deg, rgba(47,130,121,.55) 0%, rgba(47,130,121,.96) 50%); } .final-inner { padding-top: 200px !important; } }
.final-inner { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 900px) { .final-inner { padding-top: 120px; padding-bottom: 120px; } }
.final-inner > * { max-width: 560px; }
.final-kicker { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--cyan-200); }
.final-cta h2 { color: var(--white); font-size: clamp(2.2rem, 5.6vw, 3.4rem); font-weight: 800; margin-top: 10px; }
.final-cta p:not(.final-kicker) { color: rgba(255,255,255,.92); font-size: 1.1rem; margin-top: 14px; }

/* ---------- Formulario ---------- */
.form-card {
  background: var(--white); color: var(--ink); border-radius: 22px;
  box-shadow: 0 24px 60px rgba(10, 50, 48, .35);
  padding: 26px 20px; scroll-margin-top: 80px; position: relative;
}
.form-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--cyan), var(--green)); }
.form-card.pulse { animation: pulse 1.2s ease-out 1; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,217,195,.75), 0 24px 60px rgba(10,50,48,.35); }
  100% { box-shadow: 0 0 0 20px rgba(46,217,195,0), 0 24px 60px rgba(10,50,48,.35); }
}
@media (min-width: 900px) { .form-card { padding: 26px 28px; } }
.form-card h2 { font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.form-card .sub { color: var(--muted); margin: 4px 0 16px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); background: var(--mint-2);
  border: 1.5px solid #cfe1dd; border-radius: 12px;
  padding: 11px 14px; min-height: 46px; appearance: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232f8279' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:focus, .field select:focus { border-color: var(--teal); background-color: var(--white); outline: none; box-shadow: 0 0 0 3px rgba(46,217,195,.4); }
.field-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
.invalid input, .invalid select { border-color: var(--error); }
.error-msg { display: none; color: var(--error); font-size: .84rem; margin-top: 5px; }
.invalid .error-msg { display: block; }
.field label.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; font-weight: 400; color: var(--muted); margin: 6px 0 4px; cursor: pointer; }
.field .consent input {
  appearance: auto; -webkit-appearance: checkbox;
  width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0;
  flex: 0 0 20px; border-radius: 4px; accent-color: var(--teal-600);
}
.consent-wrap { margin-bottom: 16px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.secure-note svg { width: 14px; height: 14px; }

/* ---------- Barra CTA fija (móvil) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(31,95,91,.15);
  transform: translateY(110%); transition: transform .3s ease;
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar .btn { padding: 15px 20px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cards-4 .reveal:nth-child(2), .js .cards-gradient .reveal:nth-child(2) { transition-delay: .08s; }
.js .cards-4 .reveal:nth-child(3), .js .cards-gradient .reveal:nth-child(3) { transition-delay: .16s; }
.js .cards-4 .reveal:nth-child(4), .js .cards-gradient .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .form-card.pulse { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 28px 0; font-size: .86rem; color: var(--muted); }
.footer-top { display: flex; font-size: .86rem; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer img { width: 150px; }
.legal { margin-top: 16px; font-size: .78rem; color: #7a8a95; }
@media (max-width: 899px) { .site-footer { padding-bottom: 96px; } }

/* ---------- Página de agradecimiento ---------- */
.thanks-page {
  min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #3f9a90 0%, #36a596 55%, #2c8f86 100%); color: var(--white);
}
.thanks-top { position: relative; z-index: 1; padding: 28px 0 0; }
.thanks-top img { width: 170px; }
.thanks-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; padding: 40px 0 60px; }
.thanks-inner { max-width: 640px; }
.check { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; }
.check svg { width: 38px; height: 38px; }
.thanks-page h1 { color: var(--white); font-size: clamp(3.6rem, 13vw, 7rem); font-weight: 800; line-height: .95; }
.thanks-page h2 { color: var(--cyan-200); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; margin-top: 10px; }
.thanks-page p { color: rgba(255,255,255,.92); font-size: 1.08rem; margin-top: 14px; }
.social { display: flex; gap: 12px; margin: 20px 0 28px; list-style: none; padding: 0; }
.social a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--teal-800); transition: background .2s, transform .2s, color .2s; }
.social a:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.thanks-page .btn-outline { width: auto; padding: 14px 26px; font-size: 1rem; }
.thanks-page .t1 { opacity: 1; width: 700px; height: 800px; }
.thanks-top, .thanks-main { width: 100%; }

/* Encuadres de las fotos del cliente */
.hero-media img { object-position: 70% 40%; }
.split-media img { object-position: center 35%; }
.feature-media img { object-position: center 30%; }
.final-bg { object-position: 60% 20%; }
@media (max-width: 767px) { .final-bg { object-position: 55% 10%; height: 260px; } }
