/* ==========================================================================
   MASCOPLUS · ESTILOS
   Mobile first · Inter · blanco + rosado/azul pastel + azul petróleo
   ========================================================================== */

:root {
  --ink: #0e3b48;          /* azul petróleo · títulos */
  --ink-2: #24525f;
  --text: #46606a;
  --muted: #6f848c;
  --line: #e6eef1;
  --line-2: #d6e3e8;
  --bg: #ffffff;
  --soft: #f7fafb;

  --pink: #d12f78;         /* CTA (contraste AA con blanco) */
  --pink-hover: #b8246a;
  --pink-brand: #e6438b;   /* rosado logo · acentos */
  --pink-50: #fff5f9;
  --pink-100: #fde7f0;
  --pink-200: #f9cfe1;

  --teal: #00a3b4;         /* azul logo */
  --teal-ink: #00707f;
  --blue-50: #f1f9fb;
  --blue-100: #dff1f6;
  --blue-200: #c4e6ef;

  --wa: #1fa855;
  --wa-hover: #188c46;
  --ok: #1d8a5b;
  --error: #c0353f;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(14, 59, 72, .05);
  --shadow-sm: 0 1px 2px rgba(14, 59, 72, .04), 0 6px 18px rgba(14, 59, 72, .05);
  --shadow-md: 0 2px 6px rgba(14, 59, 72, .04), 0 18px 40px rgba(14, 59, 72, .08);

  --header-h: 64px;
  --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.accent { color: var(--teal-ink); }

.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 16px; height: 16px; }

:focus-visible { outline: 3px solid rgba(0, 163, 180, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------------- Botones ---------------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-pill); border: 1.5px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic use[href="#i-arrow"] { }
.btn:hover > .ic:last-child:not(:first-child) { transform: translateX(2px); }
.btn-primary { --b-bg: var(--pink); box-shadow: 0 6px 16px -6px rgba(209, 47, 120, .55); }
.btn-primary:hover { --b-bg: var(--pink-hover); }
.btn-secondary { --b-bg: #fff; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn-secondary:hover { --b-bd: var(--ink); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: transparent; }
.btn-ghost:hover { --b-bg: var(--soft); }
.btn-wa { --b-bg: var(--wa); }
.btn-wa:hover { --b-bg: var(--wa-hover); }
.btn-dashed { --b-bg: transparent; --b-fg: var(--teal-ink); --b-bd: var(--blue-200); border-style: dashed; border-radius: var(--r-md); }
.btn-dashed:hover { --b-bg: var(--blue-50); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--wa-hover); border-color: currentColor; }

.icon-btn { width: 42px; height: 42px; border-radius: var(--r-pill); display: inline-grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.icon-btn--wa { color: var(--wa); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(14, 59, 72, .18); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand img { height: 44px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.hide-sm { display: none !important; }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding: 8px 16px 20px; box-shadow: var(--shadow-md); animation: drop .25s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 4px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-menu-actions { padding-top: 16px; display: grid; gap: 10px; }
.mobile-menu-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu-social .btn { border: 1px solid var(--line); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------------- Secciones ---------------- */
.section { padding: 72px 0; position: relative; }
.section--compact { padding: 32px 0; }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #fff 85%); }
.section--soft { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head--left { text-align: left; margin: 0 0 32px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
h2 { font-size: clamp(28px, 6.4vw, 44px); font-weight: 700; letter-spacing: -0.032em; line-height: 1.08; }
.h-md { font-size: clamp(22px, 4.6vw, 28px); letter-spacing: -0.025em; }
.h-sm { font-size: 17px; letter-spacing: -0.01em; }
.section-sub { font-size: 17px; color: var(--text); margin-top: 14px; }
.fineprint { font-size: 13px; color: var(--muted); margin-top: 20px; line-height: 1.5; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: var(--r-pill); background: var(--pink-50); color: var(--ink-2); font-size: 13px; font-weight: 500; border: 1px solid var(--pink-100); margin-bottom: 20px; }
.pill .ic { color: var(--pink); }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 28px 0 48px; overflow: hidden; }
.hero-deco .blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.blob--blue { width: 520px; height: 520px; background: radial-gradient(circle at 40% 40%, var(--blue-100), rgba(223, 241, 246, 0) 70%); top: -180px; left: -220px; }
.blob--pink { width: 560px; height: 560px; background: radial-gradient(circle at 50% 50%, var(--pink-100), rgba(253, 231, 240, 0) 68%); bottom: -260px; right: -200px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 10.5vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.0; }
.hero .lead { font-size: 18px; line-height: 1.55; margin: 20px 0 28px; max-width: 540px; }
.hero-ctas { display: grid; gap: 10px; }
.hero-advisor { margin-top: 18px; }
.hero-zone { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 20px; }

.hero-visual { position: relative; max-width: 460px; margin: 0 auto; width: 100%; padding: 0 8px 0 0; }
.hero-photo { margin: 0; border-radius: 46% 54% 42% 58% / 40% 42% 58% 60%; overflow: hidden; aspect-ratio: 6 / 6.6; background: var(--pink-100); box-shadow: var(--shadow-md); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-sm { position: absolute; left: -4px; bottom: 6%; width: 28%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-md); background: var(--blue-100); }
.hero-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: 12px 14px; display: flex; gap: 10px; align-items: center; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: 14px; line-height: 1.25; }
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.float-card--a { top: 7%; left: -6px; max-width: 230px; }
.float-card--b { right: -2px; bottom: 16%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3s; }
.float-card--b strong { font-size: 22px; letter-spacing: -0.03em; }
.float-card--b em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.float-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--teal-ink); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------------- Trust ---------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-list { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.trust-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.35; }
.trust-list .ic { width: 18px; height: 18px; color: var(--teal); margin-top: 1px; stroke-width: 2.2; }

/* ---------------- Pilares ---------------- */
.pillars { display: grid; gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-50); }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pillar:hover .pillar-media img { transform: scale(1.04); }
.pillar-body { padding: 22px 22px 26px; }
.pillar-num { font-size: 13px; font-weight: 700; color: var(--pink); letter-spacing: .08em; }
.pillar h3 { font-size: 21px; margin: 6px 0 8px; }
.pillar p { font-size: 15px; }

/* ---------------- Quiz ---------------- */
.quiz-layout { display: grid; gap: 28px; }
.quiz-intro .section-sub { margin-bottom: 20px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mini-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.mini-list .ic { color: var(--teal); }
.mini-list--stack { flex-direction: column; gap: 10px; }

.quiz { padding: 24px 20px; position: relative; overflow: hidden; }
.progress { height: 4px; border-radius: 4px; background: var(--blue-50); overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--teal), var(--pink-brand)); border-radius: 4px; transition: width .5s var(--ease); }
.step-count { font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-title { font-size: clamp(21px, 5vw, 26px); font-weight: 700; color: var(--ink); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 18px; padding: 0; }
.quiz-step, .aff-step { display: none; }
.quiz-step.is-active, .aff-step.is-active { display: block; animation: stepIn .4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.quiz-nav, .aff-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.quiz-nav [data-quiz-next], .aff-nav [data-aff-next] { margin-left: auto; }

/* ---------------- Formularios ---------------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--stack, .field-row--md { grid-template-columns: 1fr; gap: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2346606a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer; }
input::placeholder { color: #9aabb2; }
input:hover, select:hover { border-color: #bfd2d9; }
input:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 163, 180, .14); }
.is-invalid input, .is-invalid select, input.is-invalid, select.is-invalid { border-color: var(--error); }
.field-error { color: var(--error); font-size: 13px; margin: 0; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.field-hint.warn { color: var(--error); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; margin: 6px 0 8px; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pink); flex: none; cursor: pointer; }
.check--sm { font-size: 12.5px; }
.check--sm input { width: 18px; height: 18px; }

.choice-grid { display: grid; gap: 12px; }
.choice-grid--2 { grid-template-columns: 1fr 1fr; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); font-weight: 600; color: var(--ink); background: #fff; transition: all .2s var(--ease); }
.choice-emoji { font-size: 34px; line-height: 1; }
.choice:hover .choice-box { border-color: var(--teal); }
.choice input:checked + .choice-box { border-color: var(--teal); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(0, 163, 180, .14); }
.choice input:focus-visible + .choice-box { outline: 3px solid rgba(0, 163, 180, .45); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: #fff; transition: all .2s var(--ease); }
.chip:hover span { border-color: var(--teal); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span::before { content: "✓"; font-size: 12px; }
.chip input:focus-visible + span { outline: 3px solid rgba(0, 163, 180, .45); outline-offset: 2px; }

.seg-group { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--soft); border: 1px solid var(--line); }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.seg-opt input:checked + span { background: #fff; box-shadow: var(--shadow-xs); color: var(--ink); }
.seg-opt input:focus-visible + span { outline: 3px solid rgba(0, 163, 180, .45); }

/* ---------------- Resultado del quiz ---------------- */
.quiz-result:focus { outline: none; }
.result-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.result-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; background: var(--blue-50); }
.result-avatar img { width: 100%; height: 100%; object-fit: cover; }
.result-head h3 { font-size: 21px; letter-spacing: -0.02em; }
.result-head p { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.result-plans { display: grid; gap: 10px; margin: 14px 0; }
.result-plan { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.result-plan:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.result-plan.is-featured { border-color: var(--pink-200); background: linear-gradient(180deg, var(--pink-50), #fff 60%); }
.result-plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.result-plan h4 { font-size: 18px; }
.result-plan .price { font-weight: 700; color: var(--ink); font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.result-plan .price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.result-plan p { font-size: 14px; margin: 6px 0 10px; }
.result-plan ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: 14px; }
.result-plan li { display: flex; gap: 8px; align-items: flex-start; }
.result-plan li .ic { width: 16px; height: 16px; color: var(--teal); margin-top: 3px; stroke-width: 2.2; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result-priorities { margin-top: 18px; padding: 16px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.result-priorities h4 { font-size: 15px; margin-bottom: 10px; }
.prio-row { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.prio-row:first-of-type { border-top: 0; padding-top: 0; }
.prio-row > span { display: block; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.prio-vals { display: grid; gap: 4px; }
.prio-vals div { display: flex; justify-content: space-between; gap: 12px; }
.prio-vals b { color: var(--ink); font-weight: 600; min-width: 64px; }
.prio-vals em { font-style: normal; text-align: right; color: var(--text); }
.result-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.result-restart { margin-top: 12px; }
.badge-soft { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); background: var(--pink-100); padding: 3px 9px; border-radius: var(--r-pill); vertical-align: middle; white-space: nowrap; }
.result-plan > .badge-soft { margin-bottom: 8px; }
.aff-pet-head .badge-soft { margin-left: 6px; }
.result-plan .result-actions .btn { flex: 1 1 140px; }

/* ---------------- Planes ---------------- */
.stage-filter { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 22px; padding: 2px 16px 6px; scrollbar-width: none; justify-content: flex-start; }
.stage-filter::-webkit-scrollbar { display: none; }
.seg { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s var(--ease); }
.seg small { color: var(--muted); font-weight: 500; font-size: 12px; }
.seg:hover { border-color: var(--ink); }
.seg.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg.is-active small { color: rgba(255, 255, 255, .7); }

.plans-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 14px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.plans-track::-webkit-scrollbar { display: none; }
.plans-track:focus-visible { outline-offset: -3px; }
.plan-card { scroll-snap-align: center; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 22px 22px; box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .35s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.is-hidden { display: none; }
.plan-card.is-featured { border-color: var(--pink-200); background: linear-gradient(180deg, var(--pink-50) 0%, #fff 38%); box-shadow: 0 0 0 1px var(--pink-200), var(--shadow-sm); }
.plan-card.is-selected { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 163, 180, .2), var(--shadow-md); }
.plan-badge { position: absolute; top: -12px; left: 22px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: var(--r-pill); background: var(--pink); color: #fff; }
.plan-badge--soft { background: var(--blue-100); color: var(--teal-ink); }
.plan-stage { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.plan-card h3 { font-size: 28px; letter-spacing: -0.035em; margin: 4px 0 2px; }
.plan-age { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan-price strong { font-size: 34px; font-weight: 800; letter-spacing: -0.045em; color: var(--ink); line-height: 1; }
.plan-price span { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan-intro { font-size: 14px; line-height: 1.5; margin: 10px 0 16px; min-height: 63px; }
.plan-feats { list-style: none; padding: 16px 0 0; margin: 0 0 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-feats li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.plan-feats .ic { width: 17px; height: 17px; color: var(--teal); margin-top: 1px; stroke-width: 2.2; }
.plan-actions { display: grid; gap: 8px; }

/* ---------------- Modal ---------------- */
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop { background: rgba(14, 59, 72, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal { width: min(720px, 100%); max-width: 100%; max-height: 100dvh; margin: auto auto 0; border-radius: 26px 26px 0 0; background: #fff; box-shadow: var(--shadow-md); }
.modal[open] { animation: sheetUp .35s var(--ease); }
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-inner { max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; }
.modal-head { position: sticky; top: 0; z-index: 2; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 20px 20px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.modal-head h2 { font-size: 26px; }
.modal-head p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.modal-close { flex: none; }
.modal-body { padding: 8px 20px 20px; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail-list h3 { font-size: 15.5px; margin-bottom: 4px; letter-spacing: -0.01em; }
.detail-list p { font-size: 14.5px; line-height: 1.6; }
.modal-legal { background: var(--soft); border-radius: var(--r-md); padding: 14px 16px; font-size: 13.5px; margin-top: 18px; }
.modal-legal p { margin-bottom: 6px; }
.modal-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.modal-foot .price { font-weight: 800; color: var(--ink); font-size: 20px; letter-spacing: -0.03em; }
.modal-foot .price small { font-weight: 500; color: var(--muted); font-size: 13px; }

/* ---------------- Comparador ---------------- */
.compare-table-wrap { display: none; }
.compare-pickers { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin-bottom: 14px; position: sticky; top: calc(var(--header-h) + 4px); z-index: 5; background: var(--soft); padding: 8px 0; }
.compare-pickers .field { margin: 0; }
.compare-pickers select { min-height: 46px; font-weight: 600; }
.vs { font-size: 13px; color: var(--muted); font-weight: 600; padding-bottom: 14px; }
.compare-rows { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.cmp-row { padding: 14px 16px; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row h3 { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; text-transform: none; }
.cmp-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-vals div { font-size: 14px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.cmp-price-row { background: var(--blue-50); }
.cmp-price-row .cmp-vals div { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.na { color: #9aabb2 !important; font-weight: 400 !important; }
.yes { color: var(--ink); }

.ctable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); font-size: 14px; }
.ctable thead th:first-child { border-top-left-radius: var(--r-xl); }
.ctable thead th:last-child { border-top-right-radius: var(--r-xl); }
.ctable tfoot td:last-child { border-bottom-right-radius: var(--r-xl); }
.ctable tfoot th { border-bottom-left-radius: var(--r-xl); }
.ctable tbody tr:first-child th, .ctable tbody tr:first-child td { border-top: 0; }
.ctable th, .ctable td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); line-height: 1.45; }
.ctable thead th { vertical-align: bottom; border-top: 0; background: #fff; position: sticky; top: var(--header-h); z-index: 2; padding-top: 14px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line), 0 10px 18px -14px rgba(14, 59, 72, .35); }
.ctable thead th .th-name { display: block; font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.ctable thead th .th-age { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.ctable thead th .th-price { display: block; margin-top: 4px; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.ctable thead th .th-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.ctable tbody th { font-weight: 600; color: var(--ink-2); width: 18%; background: var(--soft); }
.ctable td { color: var(--ink); width: 16.4%; }
.ctable .col-featured { background: var(--pink-50); }
.ctable thead .col-featured { background: var(--pink-50); }
.ctable tbody tr:hover td, .ctable tbody tr:hover th { background-color: #f3f8fa; }
.ctable tbody tr:hover td.col-featured { background-color: #fdeef5; }
.th-badge { display: inline-block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pink); }
.ctable tfoot td, .ctable tfoot th { background: #fff; }

/* ---------------- Calculadora ---------------- */
.calc-layout { display: grid; gap: 18px; align-items: start; }
.calc-pets { display: grid; gap: 14px; }
.pet-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-xs); animation: stepIn .35s var(--ease); }
.pet-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; }
.pet-card-head h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pet-card-head .tag { font-size: 11.5px; font-weight: 700; color: var(--teal-ink); background: var(--blue-50); padding: 3px 9px; border-radius: var(--r-pill); letter-spacing: .02em; }
.pet-card-head .tag--pink { color: var(--pink); background: var(--pink-50); }
.remove-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 6px 8px; border-radius: var(--r-sm); }
.remove-btn:hover { color: var(--error); background: #fdf2f3; }
.remove-btn .ic { width: 16px; height: 16px; }
.pet-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.pet-grid .field { margin: 0; }
.pet-grid .span-2, .pet-grid .pet-age { grid-column: 1 / -1; }
.pet-grid .seg-group { width: 100%; grid-auto-columns: 1fr; }
.pet-grid .seg-opt span { width: 100%; justify-content: center; }
.age-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-hint { font-size: 13px; color: var(--muted); margin: 0; }
.plan-hint.warn { color: var(--error); }
.add-pet { width: 100%; }

.calc-summary { padding: 22px; position: relative; }
.sum-lines { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-lines li span:first-child { color: var(--ink-2); }
.sum-lines li em { font-style: normal; color: var(--muted); font-size: 12.5px; display: block; }
.sum-lines li .sum-price { text-align: right; white-space: nowrap; color: var(--ink); font-weight: 600; }
.sum-lines li .sum-price s { color: var(--muted); font-weight: 400; font-size: 12.5px; margin-right: 4px; }
.sum-lines .empty { color: var(--muted); font-size: 14px; display: block; }
.sum-row { display: flex; justify-content: space-between; font-size: 14.5px; padding: 10px 0; border-top: 1px solid var(--line); }
.sum-row--discount { color: var(--ok); font-weight: 600; }
.sum-row--discount span { color: var(--ok); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1.5px solid var(--ink); margin-top: 4px; }
.sum-total span { font-weight: 600; color: var(--ink); }
.sum-total strong { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.sum-saving { margin-top: 10px; background: #edf8f2; color: var(--ok); font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: var(--r-sm); text-align: center; }
.tick { animation: tick .45s var(--ease); }
@keyframes tick { 0% { color: var(--pink); } 100% { color: var(--ink); } }

.family { margin-top: 24px; padding: 24px 20px; border-color: var(--pink-100); background: linear-gradient(135deg, var(--pink-50), #fff 45%, var(--blue-50)); }
.family-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.family-head h3 { font-size: 22px; letter-spacing: -0.025em; }
.family-head p { margin: 0; font-size: 14px; }
.family-ic { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--pink); box-shadow: var(--shadow-xs); flex: none; }
.family-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.family-list li { display: flex; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--r-md); font-size: 14.5px; }
.family-list li strong { font-weight: 600; }
.family-total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px 18px; }
.family-total strong { font-size: 26px; letter-spacing: -0.035em; font-weight: 800; }
.family-ctas { display: grid; gap: 10px; }
.family-contact { background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 16px; }
.family-contact-title { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.family-fields { display: grid; gap: 0 12px; }
.family-fields .field { margin-bottom: 10px; }
.opt { font-weight: 400; color: var(--muted); }

/* ---------------- Pasos ---------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 20px 74px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.step-n { position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); background: var(--blue-50); border: 1px solid var(--blue-100); font-size: 15px; }
.step-ic { display: none; }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { font-size: 14.5px; }

/* ---------------- Información importante ---------------- */
.clear-box { border-radius: var(--r-xl); border: 1px solid var(--blue-100); background: var(--blue-50); padding: 24px 20px; }
.clear-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.clear-head p { margin: 6px 0 0; font-size: 15px; }
.clear-ic { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.clear-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.clear-list li { background: #fff; border-radius: var(--r-md); padding: 14px 16px; font-size: 14.5px; line-height: 1.5; border: 1px solid #e3f1f5; }
.clear-list strong { display: block; font-size: 14px; margin-bottom: 2px; }

/* ---------------- Afiliación ---------------- */
.aff-layout { display: grid; gap: 28px; align-items: start; }
.aff { padding: 22px 18px; }
.aff-progress { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.aff-progress::before { content: ""; position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.aff-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.aff-progress span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #fff; color: var(--muted); border: 1.5px solid var(--line-2); position: relative; z-index: 1; transition: all .3s var(--ease); }
.aff-progress em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.2; }
.aff-progress li.is-current span { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 0 4px var(--pink-100); }
.aff-progress li.is-current em { color: var(--ink); font-weight: 600; }
.aff-progress li.is-done span { background: var(--teal); border-color: var(--teal); color: #fff; }
.aff-pet { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 14px; background: #fff; animation: stepIn .35s var(--ease); }
.aff-pet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.aff-pet-head h3 { font-size: 15px; }
.aff-mini-total { margin-top: 16px; }
.mini-total { display: flex; justify-content: space-between; align-items: baseline; background: var(--soft); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; }
.mini-total strong { font-size: 20px; letter-spacing: -0.03em; }
.summary-block { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 14px; }
.summary-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 16px; background: var(--soft); display: flex; justify-content: space-between; align-items: center; }
.summary-block h4 button { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--teal-ink); background: none; border: 0; cursor: pointer; font-weight: 600; padding: 4px; }
.summary-rows { padding: 4px 16px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.summary-rows div:first-child { border-top: 0; }
.summary-rows span:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.summary-rows .disc span { color: var(--ok); font-weight: 600; }
.summary-rows .total { border-top: 1.5px solid var(--ink); }
.summary-rows .total span { font-weight: 700; color: var(--ink); font-size: 16px; }
.summary-rows .total span:last-child { font-size: 22px; letter-spacing: -0.03em; }
.summary-rows .first-pay span { color: var(--teal-ink); font-weight: 600; }
.coupon { margin-top: 6px; }
.coupon summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--teal-ink); padding: 6px 0; list-style: none; }
.coupon summary::-webkit-details-marker { display: none; }
.coupon summary::before { content: "+ "; }
.coupon[open] summary::before { content: "– "; }
.coupon-body { padding-top: 8px; }
.field-inline { display: flex; gap: 8px; }
.field-inline input { flex: 1; text-transform: uppercase; }
.confirm-box { display: flex; gap: 12px; background: var(--blue-50); border-radius: var(--r-md); padding: 16px; font-size: 15px; color: var(--ink-2); margin-bottom: 16px; }
.confirm-box .ic { color: var(--teal-ink); margin-top: 2px; }
.next-steps { margin: 0 0 18px; padding-left: 20px; font-size: 14.5px; display: grid; gap: 6px; }
.aff-final-ctas { display: grid; gap: 10px; margin-top: 20px; }
.aff-final-back { margin-top: 10px; }
.aff-success { text-align: center; padding: 10px 4px; }
.aff-success:focus { outline: none; }
.success-ic { width: 64px; height: 64px; border-radius: 50%; background: #edf8f2; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.success-ic .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.aff-success h3 { font-size: 24px; margin-bottom: 8px; }
.aff-success p { max-width: 460px; margin-left: auto; margin-right: auto; }
.aff-success .btn { margin-top: 10px; }
.notice { background: #fff8e8; border: 1px solid #f6e3b4; color: #6b5313; border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; text-align: left; margin: 14px 0; }

/* ---------------- Aliado ---------------- */
.ally { display: grid; gap: 16px; padding: 26px 22px; border-radius: var(--r-xl); border: 1px solid var(--line); background: #fff; }
.ally-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--pink-50); color: var(--pink); display: grid; place-items: center; }
.ally-ic .ic { width: 26px; height: 26px; }
.ally .eyebrow { margin-bottom: 6px; }
.ally h2 { margin-bottom: 10px; }
.ally p { font-size: 15.5px; }

/* ---------------- FAQ ---------------- */
.faq-layout { display: grid; gap: 8px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; margin: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; padding: 20px 2px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; letter-spacing: -0.01em; line-height: 1.35; }
.faq-q .ic { color: var(--muted); transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] .ic { transform: rotate(180deg); color: var(--pink); }
.faq-q:hover { color: var(--teal-ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > .faq-a-inner { overflow: hidden; }
.faq-a.is-open { grid-template-rows: 1fr; }
.faq-a-inner > *:first-child { margin-top: 0; }
.faq-a-inner { font-size: 15.5px; }
.faq-a.is-open .faq-a-inner { padding-bottom: 22px; }
.faq-a .btn { margin-top: 6px; }
.kv { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.kv li { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--soft); border-radius: var(--r-sm); font-size: 14.5px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.copay-panel { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.copay-panel:focus-visible { outline-offset: 2px; }
.copay-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.copay-row:first-child { border-top: 0; }
.copay-row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.copay-row.key { background: var(--pink-50); }

/* ---------------- CTA final ---------------- */
.final-cta { padding: 24px 0 72px; }
.final-card { position: relative; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, var(--pink-50) 0%, #fff 50%, var(--blue-50) 100%); border: 1px solid var(--line); display: grid; }
.final-copy { padding: 36px 22px 28px; position: relative; z-index: 1; }
.final-copy h2 { font-size: clamp(28px, 7vw, 48px); letter-spacing: -0.04em; line-height: 1.06; }
.final-copy p { font-size: 17px; margin: 16px 0 24px; max-width: 460px; }
.final-ctas { display: grid; gap: 10px; }
.final-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.footer-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.footer-links a:hover { color: var(--pink); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }

/* ---------------- WhatsApp flotante / barra ---------------- */
.wa-float { display: none; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 46px; }

/* ---------------- Popup ---------------- */
.popup { width: min(760px, calc(100% - 24px)); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.popup[open] { display: grid; grid-template-columns: minmax(0, 1fr); animation: popIn .4s var(--ease); }
.popup-body, .popup-body > div { min-width: 0; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.popup-media { background: var(--pink-100); aspect-ratio: 16 / 7; overflow: hidden; }
.popup-media img { width: 100%; height: 100%; object-fit: cover; }
.popup-body { padding: 24px 22px 22px; background: linear-gradient(180deg, #fff, var(--blue-50)); }
.popup-body h2 { font-size: 26px; letter-spacing: -0.03em; margin-bottom: 8px; }
.popup-body > div > p { font-size: 16px; margin-bottom: 16px; }
.popup .field { margin-bottom: 8px; }
.popup .fineprint { margin-top: 12px; font-size: 12px; }
.popup-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.popup-close:hover { background: #fff; }
.coupon-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed var(--pink-200); background: var(--pink-50); border-radius: var(--r-md); padding: 12px 14px; margin: 14px 0; }
.coupon-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 700; color: var(--pink); letter-spacing: .06em; }

/* ---------------- Toast ---------------- */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 120; max-width: calc(100% - 32px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; padding: 22px 0; }
  .plans-track { grid-auto-columns: 46%; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
  .stage-filter { margin: 0 0 26px; padding: 2px 0 6px; justify-content: center; }
  .quiz { padding: 32px; }
  .aff { padding: 30px; }
  .pet-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row--md { grid-template-columns: 1fr 1fr; gap: 12px; }
  .family-ctas, .final-ctas, .aff-final-ctas { display: flex; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr 1fr; }
  .modal { margin: auto; border-radius: 26px; }
  .popup[open] { grid-template-columns: 42% minmax(0, 1fr); }
  .popup-media { aspect-ratio: auto; height: 100%; }
  .popup-body { padding: 36px 32px 28px; }
  .footer-links { grid-template-columns: repeat(3, auto); justify-content: start; }
  .aff-progress em { font-size: 12px; }
  .clear-list { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: none; }
  .wa-float { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(31, 168, 85, .6); transition: transform .25s var(--ease), background-color .2s; }
  .wa-float .ic { width: 28px; height: 28px; }
  .wa-float:hover { transform: translateY(-2px) scale(1.04); background: var(--wa-hover); }
  .toast { bottom: 100px; }
}

/* ==========================================================================
   ≥ 900px
   ========================================================================== */
@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .section { padding: 112px 0; }
  .section--compact { padding: 48px 0; }
  #como-afiliarte { padding-bottom: 72px; }
  .section-head { margin-bottom: 56px; }
  .brand img { height: 52px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero .lead { font-size: 19px; }
  .hero-visual { max-width: 500px; margin-right: 0; }
  .float-card--a { left: -40px; }
  .float-card--b { right: -24px; }
  .hero-photo-sm { left: -48px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .quiz-layout { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .quiz-intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .quiz { padding: 40px; }
  .plans-track { display: flex; flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 14px 0 0; gap: 18px; }
  .plans-track .plan-card { flex: 0 1 calc((100% - 36px) / 3); }
  .compare-table-wrap { display: block; }
  .compare-mobile { display: none; }
  .calc-layout { grid-template-columns: 1.35fr 1fr; gap: 24px; }
  .calc-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; }
  .pet-grid .pet-plan { grid-column: 1 / -1; }
  .family { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; align-items: center; }
  .family-head { grid-column: 1 / -1; }
  .family-list { margin: 0; }
  .family-total { flex-direction: column; align-items: flex-start; padding: 0; }
  .family-total strong { font-size: 40px; }
  .family-ctas { grid-column: 2; }
  .family-contact { grid-column: 1 / -1; margin: 8px 0 0; }
  .family-fields { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
  .step { padding: 24px 20px; }
  .step-n { position: static; margin-bottom: 18px; }
  .clear-box { padding: 40px; }
  .clear-list { grid-template-columns: repeat(3, 1fr); }
  .aff-layout { grid-template-columns: .75fr 1.25fr; gap: 56px; }
  .aff-intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .aff { padding: 40px; }
  .ally { grid-template-columns: auto 1fr; gap: 28px; padding: 36px 40px; align-items: start; }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
  .final-card { grid-template-columns: 1.2fr .8fr; min-height: 460px; }
  .final-copy { padding: 64px 56px; align-self: center; }
  .final-photo { aspect-ratio: auto; height: 100%; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .modal-head, .modal-body, .modal-foot { padding-left: 32px; padding-right: 32px; }
}

/* ==========================================================================
   ≥ 1100px
   ========================================================================== */
@media (min-width: 1100px) {
  .container { max-width: 1240px; }
  .main-nav { display: block; }
  .main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
  .main-nav a { display: block; padding: 8px 12px; border-radius: var(--r-pill); color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s, background-color .2s; }
  .main-nav a:hover { background: var(--soft); color: var(--ink); }
  .main-nav a.is-active { color: var(--ink); background: var(--blue-50); }
  .hide-sm { display: inline-flex !important; }
  .menu-toggle { display: none; }
  .header-actions .btn { margin-left: 8px; }
}
@media (min-width: 1240px) {
  .plans-track { gap: 14px; }
  .plans-track .plan-card { flex-basis: calc((100% - 56px) / 5); }
  .plan-card { padding: 26px 18px 18px; }
  .plan-card h3 { font-size: 25px; }
  .plan-price strong { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Barra del evento ---------------- */
.event-bar { display: block; text-align: center; padding: 9px 16px; background: #0e3b48; color: #fff; font-size: 13.5px; text-decoration: none; line-height: 1.35; }
.event-bar strong { color: #fff; }
.event-bar span { color: #ffb4d3; font-weight: 600; white-space: nowrap; margin-left: 4px; }
.event-bar:hover span { text-decoration: underline; }

/* ---------------- Club en acción ---------------- */
.section--club { background: linear-gradient(180deg, #fff, var(--pink-50) 60%, #fff); }
.club-layout { display: grid; gap: 32px; align-items: center; }
.club-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0; }
.club-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.club-reel { position: relative; margin: 0 auto; width: 100%; max-width: 320px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-md); }
.club-reel video { width: 100%; height: 100%; object-fit: cover; }
.club-reel figcaption { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(14, 59, 72, .7); padding: 5px 10px; border-radius: 999px; }
.club-sound { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); border: 0; border-radius: 999px; padding: 10px 16px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 700 14px var(--font); cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-md); }
.club-sound[aria-pressed="true"] { background: var(--pink); color: #fff; }
@media (min-width: 900px) {
  .club-layout { grid-template-columns: 1.2fr .8fr; gap: 64px; }
}

/* ---------------- Servicio exequial ---------------- */
.exq-layout { display: grid; gap: 28px; align-items: center; }
.exq-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.exq-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.exq-list .ic { width: 20px; height: 20px; color: var(--pink); stroke-width: 2.2; }
.exq-media { display: grid; gap: 12px; }
.exq-ap { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; }
.exq-ap img { width: 100%; height: 100%; object-fit: cover; }
.exq-video { position: relative; margin: 0 auto; width: 100%; max-width: 300px; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; }
.exq-video video { width: 100%; height: 100%; object-fit: cover; }
.exq-video figcaption { position: absolute; top: 10px; left: 10px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(14, 59, 72, .7); padding: 5px 10px; border-radius: 999px; }
.exq-video .club-sound { font-size: 12px; padding: 8px 12px; bottom: 10px; }
@media (min-width: 900px) { .exq-layout { grid-template-columns: 1fr 1.1fr; gap: 56px; } .exq-media { grid-template-columns: 1.5fr 1fr; } .exq-ap { aspect-ratio: auto; } }

/* ---------------- Comparador: nota ---------------- */
.compare-note { text-align: center; margin-top: 20px; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--teal-ink); text-decoration: underline; cursor: pointer; }
.ctable tbody th { width: 22%; }
.ctable td { width: 26%; }

/* ---------------- Cierre ---------------- */
.closing { padding: 8px 0 64px; }
.closing-card { display: grid; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--pink-50), #fff 55%, var(--blue-50)); }
.closing-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.closing-copy { padding: 28px 22px 30px; }
.closing-copy h2 { font-size: clamp(26px, 6vw, 40px); letter-spacing: -0.035em; }
.closing-copy p { margin: 12px 0 22px; font-size: 16.5px; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
@media (min-width: 900px) {
  .closing-card { grid-template-columns: .8fr 1.2fr; align-items: center; }
  .closing-photo { aspect-ratio: 1 / 1; height: auto; }
  .closing-copy { padding: 48px 52px; }
}

/* Planes: una sola tarjeta visible → centrada (móvil y tablet) */
.plans-track.is-single { justify-content: center; }

/* ---------------- Comparador móvil: 3 planes ---------------- */
.compare-mobile .cmp3 { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-xs); }
.cmp3-head { position: sticky; top: var(--header-h); z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 24px 24px 0 0; border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px -16px rgba(14, 59, 72, .45); }
.cmp3-plan { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 6px 12px; }
.cmp3-plan:first-child { border-top-left-radius: 24px; }
.cmp3-plan:last-child { border-top-right-radius: 24px; }
.cmp3-plan b { font-size: 16px; color: var(--ink); letter-spacing: -0.02em; }
.cmp3-price { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cmp3-price small { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.cmp3-badge { font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-ink); background: var(--blue-50); padding: 3px 7px; border-radius: 999px; margin-bottom: 4px; white-space: nowrap; }
.cmp3-badge--empty { color: var(--muted); background: var(--soft); }
.cmp3-plan.is-featured .cmp3-badge { color: #fff; background: var(--pink); }
.cmp3-plan.is-featured, .cmp3-vals .is-featured, .cmp3-foot .is-featured { background: var(--pink-50); }
.cmp3-row { border-top: 1px solid var(--line); }
.cmp3-row:first-of-type { border-top: 0; }
.cmp3-row h3 { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 12px 10px 6px; }
.cmp3-vals { display: grid; grid-template-columns: repeat(3, 1fr); }
.cmp3-vals > div { padding: 2px 8px 12px; font-size: 13px; line-height: 1.4; color: var(--ink); font-weight: 500; text-align: center; overflow-wrap: anywhere; }
.cmp3-vals .na { font-size: 12px; }
.cmp3-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cmp3-foot > div { padding: 12px 6px; display: flex; justify-content: center; }
.cmp3-foot > div:first-child { border-bottom-left-radius: 24px; }
.cmp3-foot > div:last-child { border-bottom-right-radius: 24px; }
.cmp3-foot .btn { padding: 8px 10px; min-height: 36px; font-size: 12.5px; }
.cmp3-hint { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------------- Comparador móvil v2: tarjetas por característica ---------------- */
.cmpm { --c-classic: #00a3b4; --c-gold: #d9a21b; --c-premium: var(--pink); }
.cmpm-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: currentColor; display: inline-block; }
.cmpm-classic { color: var(--c-classic); }
.cmpm-gold { color: var(--c-gold); }
.cmpm-premium { color: var(--c-premium); }
.cmpm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.cmpm-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 10px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: inherit; box-shadow: var(--shadow-xs); }
.cmpm-plan.is-featured { border-color: var(--pink-200); background: var(--pink-50); }
.cmpm-plan b { color: var(--ink); font-size: 15px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px; }
.cmpm-plan .cmpm-dot { margin-bottom: 4px; }
.cmpm-price { color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cmpm-price small { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.cmpm-badge { font-size: 10px; font-weight: 700; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.cmpm-plan.is-featured .cmpm-badge { color: var(--pink); }
.cmpm-list { display: grid; gap: 10px; }
.cmpm-row { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px 10px; }
.cmpm-row.is-extra { display: none; }
.cmpm-list.is-open .cmpm-row.is-extra { display: block; animation: stepIn .35s var(--ease); }
.cmpm-row h3 { font-size: 14.5px; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.cmpm-line { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-top: 1px dashed var(--line); }
.cmpm-line:first-of-type { border-top: 0; }
.cmpm-name { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.cmpm-name .cmpm-dot { width: 8px; height: 8px; }
.cmpm-val { color: var(--ink); font-size: 14px; line-height: 1.4; font-weight: 500; }
.cmpm-val .na { font-size: 13px; }
.cmpm-more { margin-top: 12px; }

/* ==========================================================================
   v3 · Mosaico "Lo que incluye", historias, comparador plegable, móvil
   ========================================================================== */
.bento { display: grid; gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 26px; min-height: 340px; background: var(--ink); isolation: isolate; box-shadow: var(--shadow-sm); }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile:hover .tile-bg { transform: scale(1.04); }
.tile-bg--slow { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 30, 37, 0) 35%, rgba(8, 30, 37, .82) 100%); }
.tile--care::after { display: none; }
.tile-body { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 8px; height: 100%; }
.tile-body--overlay { position: absolute; left: 0; right: 0; bottom: 0; height: auto; color: #fff; }
.tile-body--overlay h3 { color: #fff; }
.tile-body--overlay p { color: rgba(255, 255, 255, .88); }
.tile h3 { font-size: clamp(22px, 5.6vw, 28px); letter-spacing: -0.03em; line-height: 1.1; }
.tile p { font-size: 15px; margin: 0; }
.tile-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tile-tag--teal { background: #fff; color: var(--teal-ink); }
.tile--care { background: linear-gradient(160deg, var(--blue-50), #fff 70%); border: 1px solid var(--blue-100); min-height: 0; }
.tile--care .tile-body { justify-content: center; }
.tile-stat { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--blue-200); }
.tile-stat strong { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--teal-ink); line-height: 1; }
.tile-stat span { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.tile--club { min-height: 460px; }
.tile .club-sound { top: 14px; right: 14px; left: auto; bottom: auto; transform: none; font-size: 12.5px; padding: 8px 12px; }
.tile-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 10px 16px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 700 14px var(--font); cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.tile-more:hover { transform: translateY(-1px); background: var(--pink-50); }
.tile--exq { min-height: 380px; }

@media (min-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr .82fr; grid-template-rows: 330px 360px; grid-template-areas: "vet care club" "exq exq club"; gap: 16px; }
  .tile { min-height: 0; }
  .tile--vet { grid-area: vet; } .tile--care { grid-area: care; } .tile--club { grid-area: club; } .tile--exq { grid-area: exq; }
  .tile-body { padding: 28px; }
}

/* Historias ("Conocer más") */
.story { width: min(760px, 100%); }
.story-inner { max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; }
.story-close { position: absolute; top: 12px; right: 12px; z-index: 5; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-sm); }
.story-hero { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.story-hero img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 22px 20px 26px; display: grid; gap: 14px; }
.story-body h2 { font-size: clamp(24px, 6vw, 32px); }
.story-body > p { font-size: 15.5px; margin: 0; }
.story-body .eyebrow { margin-bottom: -6px; }
.memorial { overflow: hidden; margin: 4px -20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.memorial-track { display: flex; gap: 10px; width: max-content; animation: marquee 38s linear infinite; }
.memorial:hover .memorial-track { animation-play-state: paused; }
.memorial img { height: 104px; width: auto; border-radius: 12px; box-shadow: var(--shadow-xs); }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.story-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.story-list li { padding: 8px 14px; border-radius: 999px; background: var(--pink-50); border: 1px solid var(--pink-100); color: var(--ink); font-weight: 600; font-size: 14px; }
.story-list li::before { content: "✓ "; color: var(--pink); }
.story-video { margin: 4px auto 0; width: 100%; max-width: 300px; }
.story-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: #000; }
.story-video figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
.story-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.story-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.story-gallery .g-tall { grid-row: span 2; }
@media (min-width: 700px) { .story-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; } .story-body { padding: 28px 32px 32px; } .memorial { margin: 4px -32px; } }

/* Planes: bueno saber + comparador plegable */
.good-to-know { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.good-to-know li { font-size: 13px; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.good-to-know li::before { content: "• "; color: var(--pink); font-weight: 800; }
.compare-toggle-wrap { display: flex; justify-content: center; margin-top: 26px; scroll-margin-top: calc(var(--header-h) + 16px); }
.compare-toggle .ic { transition: transform .3s var(--ease); }
.compare-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.compare-panel { margin-top: 24px; animation: stepIn .4s var(--ease); scroll-margin-top: calc(var(--header-h) + 12px); }

/* Afiliación: pasos compactos */
.aff-steps { list-style: none; counter-reset: st; margin: 22px 0 0; padding: 0; display: grid; gap: 4px; }
.aff-steps li { counter-increment: st; position: relative; padding: 2px 0 16px 46px; }
.aff-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--pink-200); color: var(--pink); font-weight: 800; font-size: 14px; }
.aff-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--pink-100); }
.aff-steps b { display: block; color: var(--ink); font-size: 15.5px; }
.aff-steps span { display: block; font-size: 14px; color: var(--muted); }

/* Celular: más aire y menos altura */
@media (max-width: 599px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .section-sub { font-size: 16px; }
  .hero { padding: 18px 0 36px; }
  .hero .lead { font-size: 16.5px; margin: 16px 0 22px; }
  .hero-visual { max-width: 330px; }
  .float-card--a { top: 4%; }
  .trust-list li { font-size: 13px; }
  .plan-card { padding: 22px 18px 18px; }
  .plan-intro { min-height: 0; }
  .quiz { padding: 22px 18px; }
  .faq-q { font-size: 16px; padding: 18px 2px; }
  .closing { padding-bottom: 40px; }
  .closing-copy { padding: 24px 20px 26px; }
  .tile--club { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile-bg--slow, .memorial-track { animation: none !important; }
  .memorial { overflow-x: auto; }
}
.tile--exq .tile-bg { object-position: 50% 72%; }
.closing-photo { object-position: 50% 62%; }
@media (max-width: 599px) {
  .good-to-know { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .good-to-know li { font-size: 12px; padding: 7px 10px; border-radius: 12px; line-height: 1.3; }
}

/* ---------------- Plan exequial (versión sección) ---------------- */
.exq-hero { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.exq-hero img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.exq-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 30, 37, 0) 45%, rgba(8, 30, 37, .75)); }
.exq-hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.exq-hero-copy .eyebrow { color: #fff; background: rgba(209, 47, 120, .9); padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }
.exq-hero-copy h2 { color: #fff; }
.memorial--page { margin: 28px 0 0; border-radius: 0; }
.memorial--page img { height: 120px; }
@media (max-width: 599px) {
  .exq-hero { aspect-ratio: 4 / 3; border-radius: 22px; }
  .exq-hero img { object-position: 50% 70%; }
  .exq-hero-copy { padding: 18px; }
  .exq-hero-copy h2 { font-size: 26px; }
  .memorial--page img { height: 92px; }
}
@media (min-width: 900px) { .exq-hero { aspect-ratio: 21 / 9; } .exq-layout { grid-template-columns: 1.3fr .7fr; } }
@media (prefers-reduced-motion: reduce) { .exq-hero img { animation: none; } }

/* ---------------- Planes: tarjetas compactas + detalle al tocar ---------------- */
.plan-card--compact { font: inherit; text-align: left; cursor: pointer; color: inherit; align-items: flex-start; gap: 2px; padding: 24px 20px 18px; min-height: 0; }
.plan-card--compact .plan-name { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.035em; line-height: 1.1; margin-top: 4px; }
.plan-card--compact .plan-price { margin: 14px 0 12px; }
.plan-open { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--teal-ink); padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
.plan-open .ic { transition: transform .3s var(--ease); }
.plan-card--compact:hover .plan-open { color: var(--pink); }
.plan-card--compact.is-open { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 163, 180, .18), var(--shadow-md); transform: translateY(-4px); }
.plan-card--compact.is-open .plan-open { color: var(--pink); }
.plan-card--compact.is-open .plan-open .ic { transform: rotate(180deg); }
.plans-hint { text-align: center; font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.plan-detail { margin: 18px auto 0; max-width: 980px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 22px; box-shadow: var(--shadow-md); }
.plan-detail.pd-anim { animation: stepIn .4s var(--ease); }
.pd-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.pd-head h3 { font-size: clamp(24px, 5.5vw, 30px); letter-spacing: -0.03em; margin: 4px 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pd-price { font-size: .8em; color: var(--pink); font-weight: 800; }
.pd-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.pd-head p { margin: 0; font-size: 15px; }
.pd-close { flex: none; }
.pd-feats { list-style: none; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pd-feats li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.pd-feats .ic { width: 18px; height: 18px; color: var(--teal); margin-top: 1px; stroke-width: 2.2; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 700px) { .pd-feats { grid-template-columns: 1fr 1fr; gap: 12px 28px; } .plan-detail { padding: 30px 32px; } }
@media (max-width: 599px) {
  .plans-track { grid-auto-columns: 62%; }
  .plan-card--compact { padding: 20px 16px 14px; }
  .plan-card--compact .plan-name { font-size: 24px; }
  .plan-card--compact .plan-price strong { font-size: 28px; }
  .pd-actions .btn { flex: 1 1 100%; }
}
.plan-groups:has(.is-open) + .plans-hint { visibility: hidden; height: 0; margin: 0; }

/* ---------------- Planes por categoría ---------------- */
.plan-groups { display: grid; gap: 14px; margin-top: 8px; }
.plan-group { border-radius: 26px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.plan-group--puppy { background: linear-gradient(180deg, var(--blue-50), #fff); border-color: var(--blue-100); --g: var(--teal); }
.plan-group--adult { background: linear-gradient(180deg, #fbfcfd, #fff); --g: var(--ink); }
.plan-group--senior { background: linear-gradient(180deg, var(--pink-50), #fff); border-color: var(--pink-100); --g: var(--pink); }
.pg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 2px 4px 14px; }
.pg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--g); align-self: center; }
.pg-head b { font-size: 18px; color: var(--ink); letter-spacing: -0.02em; }
.pg-age { font-size: 14px; font-weight: 600; color: var(--g); }
.pg-head small { flex-basis: 100%; padding-left: 18px; font-size: 13px; color: var(--muted); }
.pg-cards { display: grid; gap: 10px; }
.plan-group .plan-card--compact { width: 100%; padding: 22px 18px 14px; box-shadow: var(--shadow-xs); }
.plan-group .plan-card--compact .plan-name { font-size: 24px; margin-top: 0; }
.plan-group .plan-price { margin: 8px 0 12px; }
.plan-group .plan-price strong { color: var(--pink); font-size: 30px; }
.plan-group .plan-badge { top: -11px; left: 16px; }
.plan-group--adult .pg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 699px) {
  .plan-group--adult .pg-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 16px 6px; margin: -14px -16px 0; scrollbar-width: none; }
  .plan-group--adult .pg-cards::-webkit-scrollbar { display: none; }
  .plan-group--adult .plan-card { scroll-snap-align: start; }
  .plan-group--puppy, .plan-group--senior { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 10px; }
  .plan-group--puppy .pg-head, .plan-group--senior .pg-head { padding-bottom: 0; }
  .plan-group .plan-price strong { font-size: 26px; }
}
@media (min-width: 900px) {
  .plan-groups { grid-template-columns: 1fr 3fr 1fr; gap: 16px; align-items: stretch; }
  .plan-group { padding: 18px 14px 14px; display: flex; flex-direction: column; }
  .pg-cards { flex: 1; }
  .plan-group .plan-card--compact { height: 100%; }
  .pg-head small { padding-left: 18px; }
}
.plan-groups, .plan-group, .pg-cards, .plan-group > * { min-width: 0; }
.plan-groups { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 699px) {
  .plan-group--puppy, .plan-group--senior { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
@media (min-width: 900px) { .plan-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr); } }
.plan-group .plan-price { white-space: nowrap; flex-wrap: nowrap; }
@media (max-width: 699px) {
  .plan-group .plan-price strong { font-size: 24px; }
  .plan-group .plan-price span { font-size: 12px; }
  .plan-group--puppy .plan-card--compact, .plan-group--senior .plan-card--compact { padding: 18px 14px 12px; }
}
