/* ==========================================================================
   K9 Marbella — styles
   Paleta de marca: negro verdoso + lima del logo (#E3ED4A)
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #121411;
  --ink-2: #1b1e19;
  --ink-3: #262a23;
  --lime: #e3ed4a;
  --lime-600: #c9d32c;
  --lime-100: #f6f9cf;
  --sand: #f5f3ec;
  --paper: #ffffff;
  --text: #1a1c18;
  --muted: #5b6057;
  --muted-on-dark: #b5b9ad;
  --line: #e3e1d7;
  --line-dark: #2f342b;
  --star: #f5b301;
  --ok: #2f8f4e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18, 20, 17, .06), 0 8px 30px rgba(18, 20, 17, .08);
  --shadow-lg: 0 30px 60px -20px rgba(18, 20, 17, .35);
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-variation-settings: "opsz" 48; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 750; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 120px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #f2f3ee; }
.section--dark .lead, .section--dark p { color: var(--muted-on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--lime); border-radius: 2px; }
.section--dark .eyebrow { color: var(--lime); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding-inline: .08em; }
.section--dark .hl, .hero .hl { background: none; color: var(--lime); padding: 0; }
.sr-only { position: absolute; 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(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--lime); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 750; font-size: 1.02rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.15;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(227, 237, 74, .7); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { box-shadow: 0 12px 24px -10px rgba(18, 20, 17, .6); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { box-shadow: none; background: rgba(255, 255, 255, .08); }
.btn--wa { --bg: #25d366; --fg: #0b2b16; }
.btn--wa:hover { box-shadow: 0 12px 24px -10px rgba(37, 211, 102, .6); }
.btn--block { width: 100%; }
.btn--lg { min-height: 62px; font-size: 1.12rem; padding-inline: 32px; }
.btn-note { display: block; font-size: .85rem; color: var(--muted); margin-top: 10px; }
.section--dark .btn-note, .hero .btn-note { color: var(--muted-on-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(18, 20, 17, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06); color: #fff;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 999px; color: #e7e9e1; transition: background .2s; }
.nav a:hover { background: rgba(255, 255, 255, .08); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: none; text-decoration: none; font-weight: 600; font-size: .95rem; color: #e7e9e1; padding: 10px 12px; }
.header-actions .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; gap: 5px; }
.menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 0; color: #fff; cursor: pointer; }
.burger { position: relative; width: 22px; height: 16px; display: block; }
.burger span { position: absolute; left: 0; width: 100%; height: 2.2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, top .35s cubic-bezier(.2, .8, .2, 1); }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; }
.burger span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] { background: var(--lime); color: var(--ink); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.menu-toggle { transition: background .25s, color .25s; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink); padding: 12px var(--gutter) 28px; border-bottom: 1px solid var(--line-dark); transform: translateY(-110%); transition: transform .3s ease; z-index: 99; visibility: hidden; }
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 980px) {
  .nav { display: block; }
  .menu-toggle, .mobile-nav { display: none; }
  .header-phone { display: inline-flex; }
}
@media (max-width: 420px) { .header-actions .btn span.long { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 88px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero h1 { margin-bottom: 14px; }
.hero__promise { font-family: var(--font-head); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; margin-bottom: 18px; color: #fff; }
.hero .lead { color: #cfd3c7; max-width: 560px; margin-bottom: 30px; }
.proof-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem; color: #e9ebe3; margin-bottom: 22px;
}
.proof-pill .avatars { display: flex; }
.proof-pill__score { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff; margin-right: -4px; }
.proof-pill .avatars img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -8px; }
.proof-pill .avatars img:first-child { margin-left: 0; }
.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars svg { width: 16px; height: 16px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); max-width: 560px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1; color: var(--lime); letter-spacing: -.03em; }
.stat span { font-size: .85rem; color: var(--muted-on-dark); line-height: 1.35; display: block; margin-top: 6px; }
.hero__media { position: relative; }
.hero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 80px; }
.hero__pair img { border-radius: 22px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.hero__pair img:nth-child(2) { margin-top: 56px; }
.hero__badge {
  position: absolute; left: -24px; bottom: 0; max-width: 270px;
  background: #fff; color: var(--text); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-lg);
  font-size: .92rem; line-height: 1.45;
}
.hero__badge p { margin: 6px 0 8px; }
.hero__badge cite { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--muted); }
.hero__tag {
  position: absolute; right: 14px; top: 70px; background: var(--lime); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: 8px 14px; border-radius: 999px;
}
@media (max-width: 979px) { .hero__media { max-width: 520px; } .hero__pair { padding-bottom: 0; } .hero__badge { position: relative; left: auto; bottom: auto; max-width: none; margin: -48px 16px 0; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--lime); color: var(--ink); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 650; font-size: 1rem; }
.trust svg { width: 20px; height: 20px; }
@media (max-width: 639px) { .trust ul { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.problem {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line);
  text-align: left; cursor: pointer; font-weight: 600; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.problem:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.problem .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-100); flex: none; font-size: 1.35rem; }
.problem .arrow { margin-left: auto; opacity: .4; transition: transform .2s, opacity .2s; }
.problem:hover .arrow { opacity: 1; transform: translateX(3px); }
.problems-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 24px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.problems-foot p { margin: 0; max-width: 640px; color: #d6d9cf; }
.problems-foot strong { color: #fff; }

/* ---------- Method ---------- */
.method { display: grid; gap: 48px; }
.method { grid-template-areas: "head" "triad" "body"; row-gap: 32px; }
.method__head { grid-area: head; margin-bottom: 0; }
.method__triad { grid-area: triad; }
.method__body { grid-area: body; }
@media (min-width: 980px) { .method { grid-template-columns: .9fr 1.1fr; grid-template-areas: "triad head" "triad body"; align-items: start; column-gap: 64px; row-gap: 36px; } }
/* Triángulo perro · familia · entorno */
.triad { max-width: 480px; width: 100%; margin-inline: auto; }
@media (min-width: 980px) { .triad { position: sticky; top: calc(var(--header-h) + 24px); } }
.triad__stage { position: relative; aspect-ratio: 400 / 360; }
.triad__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.triad__area { fill: rgba(227, 237, 74, .06); }
.triad__edge { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; animation: triad-dash 18s linear infinite; }
@keyframes triad-dash { to { stroke-dashoffset: -240; } }
.triad__spoke { stroke: #3a4034; stroke-width: 2; transition: stroke .3s, stroke-width .3s; }
.triad__spoke.is-active { stroke: var(--lime); stroke-width: 3; }
.triad__center {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%);
  width: 23%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--ink);
  display: grid; place-content: center; text-align: center; line-height: 1;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.6vw, 1.5rem); letter-spacing: -.03em;
  box-shadow: 0 0 0 10px rgba(227, 237, 74, .12), 0 0 0 22px rgba(227, 237, 74, .05);
}
.triad__center span { display: block; font-size: .55em; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.triad__node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 27%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--line-dark); background: var(--ink-2); color: #fff;
  display: grid; place-content: center; justify-items: center; gap: 4px; cursor: pointer; padding: 0;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, background .3s, box-shadow .3s;
}
.triad__node:hover { border-color: var(--lime); }
.triad__node.is-active { border-color: var(--lime); background: #262b1c; transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 8px rgba(227, 237, 74, .14), 0 18px 40px -12px rgba(0, 0, 0, .6); }
.triad__ico { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1; }
.triad__label { font-family: var(--font-head); font-weight: 750; font-size: clamp(.85rem, 2vw, 1.05rem); }
.triad__node.is-active .triad__label { color: var(--lime); }
.triad__panel { margin-top: 18px; padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); min-height: 236px; }
.triad__info { display: none; animation: qin .4s cubic-bezier(.2, .8, .2, 1); }
.triad__info.is-active { display: block; }
.triad__info h3 { color: var(--lime); font-size: 1.3rem; margin-bottom: 6px; }
.triad__info p { font-size: .97rem; margin-bottom: 10px; }
.triad__info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; color: #dfe2d8; }
.triad__info li::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 8px; }
.triad__foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-dark); font-size: .88rem; font-weight: 600; color: #fff !important; }

.pillars { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 14px; counter-reset: p; }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); }
.pillar::before { counter-increment: p; content: "0" counter(p); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--lime); line-height: 1; letter-spacing: -.03em; }
.pillar h3 { color: #fff; margin-bottom: 6px; font-size: 1.2rem; }
.pillar p { margin: 0; font-size: .97rem; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.creds span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .88rem; color: #dfe2d8; }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step__n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--lime); font-family: var(--font-head); font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
.step .tag { display: inline-block; margin-top: 14px; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--lime-100); }

/* ---------- Services ---------- */
.services { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.service { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service__body p { color: var(--muted); font-size: .97rem; }
.service__for { font-size: .88rem; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.service__for strong { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; display: block; color: var(--muted); }
.service__link { margin-top: 14px; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.service__link:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

/* ---------- Quiz ---------- */
.quiz-wrap { display: grid; gap: 28px; }
@media (min-width: 980px) { .quiz-wrap { grid-template-columns: 1.35fr .65fr; align-items: start; } }
.quiz { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 28px; padding: clamp(20px, 4vw, 40px); color: #fff; min-height: 520px; display: flex; flex-direction: column; }
.quiz__top { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.quiz__back { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.quiz__back[hidden] { display: grid; visibility: hidden; }
.quiz__progress { flex: 1; }
.quiz__bar { height: 10px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 10%; background: linear-gradient(90deg, var(--lime-600), var(--lime)); border-radius: inherit; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.quiz__meta { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted-on-dark); margin-top: 8px; }
.quiz__xp { color: var(--lime); font-weight: 700; }
.q-step { display: none; animation: qin .45s cubic-bezier(.2, .8, .2, 1); }
.q-step.is-active { display: block; }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.q-step h3 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; letter-spacing: -.03em; margin-bottom: 8px; }
.q-step .q-sub { color: var(--muted-on-dark); margin-bottom: 24px; }
.q-input { width: 100%; padding: 18px 20px; border-radius: 16px; border: 2px solid var(--line-dark); background: var(--ink); color: #fff; font-size: 1.25rem; font-weight: 600; }
.q-input:focus { outline: none; border-color: var(--lime); }
.q-input::placeholder { color: #6f7569; }
.options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line-dark); background: var(--ink);
  cursor: pointer; font-weight: 600; line-height: 1.25; transition: border-color .15s, background .15s, transform .15s;
}
.opt label:hover { border-color: #545b4d; }
.opt .emo { font-size: 1.5rem; flex: none; width: 34px; text-align: center; }
.opt small { display: block; font-weight: 400; color: var(--muted-on-dark); font-size: .8rem; margin-top: 2px; }
.opt input:checked + label { border-color: var(--lime); background: rgba(227, 237, 74, .1); transform: scale(1.01); }
.opt input:checked + label::after { content: "✓"; margin-left: auto; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.opt input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 2px; }
.quiz__nav { margin-top: auto; padding-top: 28px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.quiz__hint { font-size: .85rem; color: var(--muted-on-dark); }
.quiz__cheer { min-height: 1.5em; color: var(--lime); font-weight: 700; margin-top: 16px; font-size: .98rem; }
.quiz .btn[disabled] { opacity: .35; pointer-events: none; }
.q-intro { text-align: left; }
.q-intro ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; color: #dfe2d8; }
.q-intro li::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 10px; }

/* Dog card (live preview) */
.dogcard { color: var(--text); position: relative; border-radius: 24px; background: linear-gradient(160deg, #fff 0%, var(--lime-100) 100%); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 980px) { .dogcard { position: sticky; top: calc(var(--header-h) + 24px); } }
.dogcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dogcard__avatar { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); display: grid; place-items: center; font-size: 2rem; flex: none; }
.dogcard__label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--muted); font-weight: 700; }
.dogcard__name { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; line-height: 1.05; word-break: break-word; }
.dogcard dl { margin: 0; display: grid; gap: 12px; }
.dogcard dt { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--muted); font-weight: 700; }
.dogcard dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.dogcard dd.empty { color: #a3a79c; font-weight: 400; font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; }
.chip--warn { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.dogcard__meter { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #cfd0c3; font-size: .85rem; color: var(--muted); }
.dogcard__meter b { color: var(--ink); }

/* Result */
.result { display: grid; gap: 20px; }
.result__plan { border-radius: 20px; background: var(--ink); border: 1px solid var(--line-dark); padding: 22px; }
.result__plan h4 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 6px; color: var(--lime); }
.result__plan ul { margin: 12px 0 0; padding-left: 20px; color: #dfe2d8; }
.result__plan li { margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font-size: 1rem;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(227, 237, 74, .55); }
.dark-form .field label { color: #e6e8e0; }
.dark-form .field input, .dark-form .field select, .dark-form .field textarea { background: var(--ink); border-color: var(--line-dark); color: #fff; }
.dark-form .field input:focus, .dark-form .field select:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(227, 237, 74, .2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.dark-form .consent { color: var(--muted-on-dark); }
.dark-form .consent input { accent-color: var(--lime); }
.form-status { font-size: .92rem; min-height: 1.2em; margin: 0; }
.form-status.err { color: #e5484d; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .big { font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.chip-choice { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chip-choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip-choice label { display: inline-flex; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .92rem; margin: 0; background: #fff; }
.chip-choice input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-choice input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 2px; }
.reassure { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); }
.reassure li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.dark-form .reassure { color: var(--muted-on-dark); }
.dark-form .reassure li::before { color: var(--lime); }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 980px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 24px; background: #fff; border: 1.5px solid var(--line); }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 980px) { .plan--featured { transform: translateY(-14px); } }
.plan__ribbon { position: absolute; top: -14px; left: 26px; background: var(--lime); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; }
.plan__name { font-family: var(--font-head); font-weight: 750; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: .94rem; min-height: 3em; }
.plan--featured .plan__for { color: var(--muted-on-dark); }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 2px; flex-wrap: wrap; }
.plan__price strong { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -.04em; }
.plan__price s { color: var(--muted); font-size: 1.05rem; }
.plan--featured .plan__price s { color: #8d9286; }
.plan__per { font-size: .9rem; color: var(--muted); }
.plan--featured .plan__per { color: var(--lime); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: .96rem; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: "✓"; font-weight: 900; color: var(--ok); }
.plan--featured li::before { color: var(--lime); }
.plan .btn { margin-top: auto; }
.pricing-extra { margin-top: 28px; display: grid; gap: 14px; }
@media (min-width: 860px) { .pricing-extra { grid-template-columns: 1fr 1fr; } }
.mini-plan { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); border: 1.5px dashed #c9c7bb; background: rgba(255, 255, 255, .6); }
.mini-plan .ico { font-size: 1.8rem; }
.mini-plan h3 { font-size: 1.1rem; margin: 0 0 2px; }
.mini-plan p { margin: 0; font-size: .92rem; color: var(--muted); }
.mini-plan .price { margin-left: auto; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; white-space: nowrap; text-align: right; line-height: 1.1; }
.mini-plan .price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--muted); }
.guarantee { margin-top: 28px; display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: var(--lime); }
.guarantee .ico { font-size: 2rem; }
.guarantee p { margin: 0; font-size: .97rem; }
.price-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.testimonial { margin: 0; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.testimonial blockquote { margin: 0; font-size: 1rem; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.testimonial figcaption div span { font-weight: 400; color: var(--muted); display: block; font-size: .82rem; }
.initial { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: none; }
.testimonial--quote { background: var(--ink); color: #fff; border-color: var(--ink); }
.testimonial--quote blockquote { font-family: var(--font-head); font-weight: 650; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.01em; }
.testimonial--quote figcaption div span { color: var(--muted-on-dark); }
.inline-proof { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); font-size: .93rem; }
.inline-proof p { margin: 0; }
.inline-proof cite { font-style: normal; font-weight: 700; display: block; font-size: .85rem; margin-top: 4px; }
.section--dark .inline-proof { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .inline-proof p { color: #e0e3da; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-filters button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; }
.gallery-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { column-gap: 12px; }
@media (min-width: 860px) { .gallery { columns: 4; } }
.gallery figure { margin: 0 0 12px; break-inside: avoid; position: relative; border-radius: 14px; overflow: hidden; }
.gallery figure[hidden] { display: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--sand); }
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 11, 9, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-width: min(1000px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 12px; }
.lightbox p { color: #e6e8e0; text-align: center; margin: 12px 0 0; font-size: .92rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 40px; }
@media (min-width: 980px) { .areas { grid-template-columns: 1fr 1fr; align-items: center; } }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.area-list li.main { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.coast { width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(18, 20, 17, .04); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--lime); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Booking ---------- */
.booking { display: grid; gap: 32px; }
@media (min-width: 980px) { .booking { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.booking__card { background: #fff; color: var(--text); border-radius: 28px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.booking__card h3 { font-size: 1.6rem; font-weight: 800; }
.booking__aside ul.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.booking__aside ul.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: #e0e3da; }
.booking__aside ul.ticks li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: .8rem; margin-top: 2px; }
.contact-lines { display: grid; gap: 10px; margin-top: 24px; }
.contact-lines a, .contact-lines span { display: inline-flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--lime); }
.contact-lines svg { width: 20px; height: 20px; color: var(--lime); }
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: var(--lime-100); font-size: .92rem; margin-bottom: 18px; }
.price-tag strong { font-family: var(--font-head); font-size: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0c0d0b; color: var(--muted-on-dark); padding-block: 64px 120px; font-size: .94rem; }
@media (min-width: 980px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .84rem; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(18, 20, 17, .96); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 50px; padding: 10px 16px; font-size: .98rem; }
.sticky-cta .btn:first-child { flex: 1; }
.sticky-cta .btn--wa { width: 54px; padding: 0; flex: none; }
@media (min-width: 980px) { .sticky-cta { display: none; } }
.wa-float { display: none; }
@media (min-width: 980px) {
  .wa-float { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 30px; height: 30px; }
}

/* ---------- Page (subpages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.page-hero .lead { color: #cfd3c7; max-width: 680px; }
.breadcrumbs { font-size: .85rem; color: var(--muted-on-dark); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted-on-dark); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.todo { background: #fff3c4; padding: 0 .25em; border-radius: 4px; }

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

/* Confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--dx), 105vh, 0) rotate(720deg); } }

/* ---------- Ajustes ---------- */
.quiz__nav[hidden] { display: none; }
.gallery { columns: 2; }
@media (min-width: 860px) { .gallery { columns: 4; } }
@media (max-width: 979px) {
  /* En móvil la ficha se convierte en una barra compacta encima del test */
  .dogcard { order: -1; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .dogcard__head { margin: 0; }
  .dogcard__avatar { width: 44px; height: 44px; font-size: 1.4rem; border-radius: 12px; }
  .dogcard__name { font-size: 1.3rem; }
  .dogcard dl { display: none; }
  .quiz { min-height: 0; }
  .dogcard__meter { margin: 0; padding: 0; border: 0; text-align: right; font-size: .8rem; }
}
.zones-note { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 0 0 4px; }
.zones-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--lime); }
.booking__aside .inline-proof { margin-bottom: 20px; }
@media (max-width: 520px) { .proof-pill { border-radius: 16px; font-size: .85rem; } }
@media (min-width: 600px) { .proof-pill { flex-wrap: nowrap; white-space: nowrap; } }
