/* ─────────── BPuppy · Home styles ─────────── */
:root {
  /* Familia (default) palette */
  --bg: #FFF5EB;
  --bg-2: #FFE8D1;
  --ink: #2D2421;
  --ink-2: #6B5A4E;
  --ink-soft: rgba(45, 36, 33, 0.62);
  --line: rgba(45, 36, 33, 0.12);
  --orange: #F58220;
  --orange-deep: #D86A0E;
  --accent: #6B4423;
  --accent-2: #FFD9B3;
  --paper: #FFFCF6;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --r: 22px;
  --r-sm: 14px;
  --shadow-soft: 0 24px 60px -24px rgba(45, 36, 33, 0.18);
  --shadow-card: 0 1px 2px rgba(45,36,33,.06), 0 14px 36px -18px rgba(45,36,33,.18);
  --dark-sec: #EDE4DA;
}

[data-theme="pop"] {
  --bg: #FFFAF0;
  --bg-2: #FFEDB8;
  --ink: #1F1A18;
  --ink-2: #6B5246;
  --ink-soft: rgba(31, 26, 24, 0.62);
  --line: rgba(31, 26, 24, 0.12);
  --orange: #FF7A1A;
  --orange-deep: #E55A00;
  --accent: #1B7A4D;
  --accent-2: #B8E9CF;
  --paper: #FFFFFF;
  --display: 'Caprasimo', 'Bricolage Grotesque', serif;
}

[data-theme="boutique"] {
  --bg: #FAFAF7;
  --bg-2: #F2EFE9;
  --ink: #1A1817;
  --ink-2: #595148;
  --ink-soft: rgba(26, 24, 23, 0.55);
  --line: rgba(26, 24, 23, 0.10);
  --orange: #DA6B14;
  --orange-deep: #B85100;
  --accent: #2D2421;
  --accent-2: #E5DED3;
  --paper: #FFFFFF;
  --shadow-soft: 0 30px 80px -30px rgba(26, 24, 23, 0.10);
  --shadow-card: 0 1px 2px rgba(26,24,23,.04), 0 18px 40px -22px rgba(26,24,23,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  cursor: var(--app-cursor, auto);
}

img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
.display { font-family: var(--display); letter-spacing: -0.02em; line-height: 0.96; font-weight: 600; }
[data-theme="pop"] .display { font-weight: 400; letter-spacing: -0.01em; line-height: 1.0; }
[data-theme="boutique"] .display { letter-spacing: -0.025em; }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--orange);
}
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ── Container ── */
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
@media (max-width: 700px) { .container { width: min(1280px, 100% - 32px); } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 8px 24px -8px var(--orange);
}
.btn-primary:hover { background: var(--orange-deep); box-shadow: 0 14px 32px -10px var(--orange); }
.btn-ghost {
  background: rgba(255,255,255,.18);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.36);
}
.btn-ghost:hover { background: rgba(255,255,255,.28); }

/* CTA light buttons for dark backgrounds */
.btn-cta-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-cta-light:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
}
.btn-dark {
  background: var(--ink); color: var(--bg);
}
.btn-dark:hover { background: #000; }
.btn-outline {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ── Header ── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding .3s ease, background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.hdr.scrolled {
  background: rgba(255, 245, 235, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
[data-theme="pop"] .hdr.scrolled { background: rgba(255, 250, 240, 0.82); }
[data-theme="boutique"] .hdr.scrolled { background: rgba(250, 250, 247, 0.82); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap; }
.hdr-logo { display: flex; align-items: center; gap: 10px; }
.hdr-logo img { width: 46px; height: auto; }
.hdr-logo .wm { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); transition: color .3s ease; white-space: nowrap; margin-top: 4px; }
.hdr.over-dark .wm { color: #fff; }
.hdr.over-dark .nav a { color: rgba(255,255,255,.85); }
.hdr.over-dark .nav a:hover { color: #fff; }
.hdr.over-dark .lang button { color: rgba(255,255,255,.85); }
.hdr.over-dark .lang button[data-active="true"] { color: #fff; background: rgba(255,255,255,.16); }
.hdr.over-dark .hdr-cta { background: rgba(255,255,255,.95); color: var(--ink); }

.hdr-phone {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(45,36,33,.06);
  color: var(--ink-2);
  transition: all .2s;
}
.hdr-phone:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }
.hdr.over-dark .hdr-phone { background: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.hdr.over-dark .hdr-phone:hover { background: var(--orange); color: #fff; }

.nav { display: flex; gap: 16px; flex-wrap: nowrap; }
.nav a { font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: color .2s; position: relative; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a::after { content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--orange); border-radius:2px; transform: scaleX(0); transform-origin:left; transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }

.lang { display: flex; align-items: center; padding: 4px; border-radius: 999px; background: rgba(45,36,33,0.06); }
.lang button { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2); transition: all .2s; }
.lang button[data-active="true"] { background: var(--ink); color: var(--bg); }
.hdr.over-dark .lang { background: rgba(255,255,255,.14); }

.hdr-cta {
  padding: 10px 22px; border-radius: 999px;
  background: var(--orange); color: #fff !important;
  font-size: 14px; font-weight: 700;
  transition: all .25s;
  box-shadow: 0 4px 18px -4px rgba(245,130,32,.45);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.hdr-cta:hover { background: var(--orange-deep); color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 26px -6px rgba(245,130,32,.55); }
.hdr.over-dark .hdr-cta { background: rgba(255,255,255,.95); color: var(--ink) !important; box-shadow: none; }
.hdr.over-dark .hdr-cta:hover { background: #fff; color: var(--orange) !important; }

/* Media: header oscuro permanente (solo paginas con html.media-dark) */
html.media-dark .hdr,
html.media-dark .hdr.scrolled { background: #12101A !important; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
html.media-dark .hdr .wm { color: #fff !important; }
html.media-dark .hdr .nav a { color: rgba(255,255,255,.82) !important; }
html.media-dark .hdr .nav a:hover { color: #fff !important; }
html.media-dark .hdr .lang { background: rgba(255,255,255,.12); }
html.media-dark .hdr .lang button { color: rgba(255,255,255,.82); }
html.media-dark .hdr-phone { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
html.media-dark .hdr-burger { background: rgba(255,255,255,.12); color: #fff; }
html.media-dark .hdr .nav-dropdown a { color: var(--ink) !important; }

.hdr-burger { display: none; background: rgba(45,36,33,.06); border: none; border-radius: 10px; width: 40px; height: 40px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.hdr.over-dark .hdr-burger { background: rgba(255,255,255,.16); color: #fff; }
.mobile-nav { display: none; }
@media (max-width: 880px) {
  .nav { display: none; }
  .hdr-phone, .lang, .hdr-row .hdr-globe { display: none !important; }
  .hdr-burger { display: flex; }
  .hdr-cta { padding: 8px 15px; font-size: 13px; }
  .mobile-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px 20px 18px; background: var(--paper, #fff); border-top: 1px solid var(--line, #ebe7e3); box-shadow: 0 14px 24px -12px rgba(0,0,0,.18); position: relative; z-index: 250; }
  .mobile-nav a { padding: 13px 6px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1px solid rgba(45,36,33,.06); }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav-footer { display: flex; align-items: center; gap: 18px; padding: 16px 6px 2px; margin-top: 8px; border-top: 1px solid rgba(45,36,33,.10); }
  .mobile-nav-footer .hdr-globe { display: block !important; color: var(--ink); }
  .mobile-nav-footer .hdr-phone { display: grid !important; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  background-color: #2A1E14;
  pointer-events: none;
}
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,6,3,0.52) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(10,6,3,0.88) 100%),
    radial-gradient(120% 80% at 50% 50%, rgba(0,0,0,0.22) 0%, transparent 70%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.65 0 0 0 0 0.30 0 0 0 0.13 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: .55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 36px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #65E08F; box-shadow: 0 0 0 3px rgba(101,224,143,0.28); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.hero-eyebrow .live { background: #fff; color: var(--ink); padding: 2px 8px; border-radius: 999px; font-size: 10.5px; letter-spacing: 0.06em; }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 16px 0 22px;
  color: #fff;
  text-wrap: balance;
}
[data-theme="pop"] .hero h1 { font-weight: 400; letter-spacing: -0.01em; }
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: #FFD9B3;
  letter-spacing: -0.01em;
}
.hero p.sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin: 0 0 28px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-stats {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-end;
  text-align: right;
}
@media (max-width: 980px) { .hero-stats { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; gap: 20px; } }

.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 18px;
  border-radius: 18px;
  min-width: 160px;
}
.stat .n { font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.stat .l { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 4px; letter-spacing: 0.02em; }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:''; position: absolute; top:-20px; left:0; width:1px; height:20px; background:#fff; animation: scrollPulse 2.2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { top:-20px; } 100% { top:42px; } }

/* Floating breed pills in hero */
.float-pills { position: absolute; top: 18%; right: -2%; z-index: -1; display:flex; flex-direction:column; gap: 14px; }
.float-pill {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: #fff;
  animation: floatY 6s ease-in-out infinite;
}
.float-pill:nth-child(1) { transform: translateX(-30px); animation-delay: 0s; }
.float-pill:nth-child(2) { transform: translateX(0); animation-delay: 1s; }
.float-pill:nth-child(3) { transform: translateX(-20px); animation-delay: 2s; }
.float-pill .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #FFD9B3, #F58220); display:grid; place-items:center; font-size: 14px; }
.float-pill .meta { font-size: 10.5px; color: rgba(255,255,255,0.65); margin-top: 1px; letter-spacing: 0.04em; }
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@media (max-width: 980px) { .float-pills { display: none; } }

/* ── Section base ── */
.sec { padding: 120px 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5.6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 0;
  text-wrap: balance;
  max-width: 18ch;
}
[data-theme="pop"] .sec-head h2 { font-weight: 400; }
.sec-head p { color: var(--ink-2); max-width: 42ch; font-size: 16.5px; line-height: 1.5; margin: 0; }
.sec-head h2 em { font-family: var(--serif); font-style: italic; color: var(--orange); font-weight: 400; }

/* ── Process ── */
.process { background: var(--paper); border-top: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 28px 24px 28px;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
  cursor: default;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.step:hover .step-num { color: var(--orange); transform: scale(1.05); }
.step-num {
  font-family: var(--display);
  font-size: 88px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.04em;
  transition: color .25s ease, transform .25s ease;
}
[data-theme="pop"] .step-num { font-weight: 400; }
.step h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 14px 0 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 0; }
.step .ic {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  transition: transform .35s ease;
}
.step:hover .ic { transform: rotate(-6deg) scale(1.08); }

/* ── Quiz ── */
.quiz {
  background: var(--dark-sec);
  color: var(--ink);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.quiz-shape {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
  opacity: 0.08;
  filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
.quiz-shape:nth-child(1) { top: -200px; left: -120px; }
.quiz-shape:nth-child(2) { bottom: -260px; right: -160px; animation-delay: -7s; opacity: 0.25; }
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}
.quiz-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 60px; align-items: center; position: relative; }
@media (max-width: 980px) { .quiz-grid { grid-template-columns: 1fr; gap: 40px; } }

.quiz-intro h2 { color: var(--ink); }
.quiz-intro p { color: var(--ink-2); font-size: 17px; line-height: 1.55; margin: 22px 0 30px; max-width: 38ch; }

.quiz-card {
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 540px) { .quiz-card { padding: 24px; min-height: 420px; } }

.quiz-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.quiz-progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.quiz-progress span.done { background: var(--orange); }

.quiz-q {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
  text-wrap: balance;
}
[data-theme="pop"] .quiz-q { font-weight: 400; }
.quiz-step-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }

.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.quiz-options.full { grid-template-columns: 1fr; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1.5px solid transparent;
  text-align: left;
  transition: all .2s ease;
  font-size: 15px; font-weight: 500;
}
.quiz-opt:hover { border-color: var(--orange); transform: translateY(-2px); }
.quiz-opt.sel { background: var(--orange); color: #fff; border-color: var(--orange); }
.quiz-opt .emoji { font-size: 24px; line-height: 1; flex-shrink: 0; }
.quiz-opt .lab { flex: 1; }
.quiz-opt .desc { font-size: 12px; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.quiz-opt.sel .desc { color: rgba(255,255,255,0.85); }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 24px; }
.quiz-back { color: var(--ink-soft); font-size: 14px; font-weight: 500; padding: 8px 0; }
.quiz-back:hover { color: var(--ink); }
.quiz-back:disabled { opacity: 0; pointer-events: none; }

.quiz-result {
  display: flex; flex-direction: column;
  flex: 1;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
}
.quiz-result .match-pct {
  font-family: var(--display);
  font-size: 80px; font-weight: 700; line-height: 1;
  letter-spacing: -0.04em;
  color: var(--orange);
}
[data-theme="pop"] .quiz-result .match-pct { font-weight: 400; }
.quiz-result .match-lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.quiz-result h3 { font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 6px; }
.quiz-result p { color: var(--ink-2); margin: 0 0 22px; max-width: 36ch; }
.quiz-result .actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── Gallery ── */
.gallery {
  background: var(--bg);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.gallery-marquee {
  display: flex;
  gap: 14px;
  margin-top: 56px;
  animation: marqueeScroll 60s linear infinite;
  width: max-content;
}
.gallery:hover .gallery-marquee { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.g-card {
  position: relative;
  flex-shrink: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--accent-2);
  transition: transform .35s ease;
  cursor: pointer;
}
.g-card:hover { transform: translateY(-8px) rotate(var(--rot, 0deg)); }
.g-card-1 { width: 280px; height: 360px; --rot: -1.5deg; }
.g-card-2 { width: 340px; height: 280px; --rot: 1deg; }
.g-card-3 { width: 240px; height: 320px; --rot: -1deg; }
.g-card-4 { width: 320px; height: 380px; --rot: 1.5deg; }

.g-card image-slot { width: 100%; height: 100%; display: block; }
.g-card .g-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  background: #2A1E14;
}
.g-card-overlay {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: end; justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.g-tag {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.g-tag .heart { color: var(--orange); }
.g-card-name {
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

/* ── Testimonials ── */
.testimonials { background: var(--paper); padding: 140px 0; }
.t-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
@media (max-width: 1200px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .t-grid { grid-template-columns: 1fr; } }

.t-card {
  background: var(--bg);
  padding: 32px 28px 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.t-card .stars { color: var(--orange); display: flex; gap: 2px; font-size: 16px; margin-bottom: 14px; }
.t-card blockquote {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.32;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--orange));
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: 15px;
  flex-shrink: 0;
}
.t-card .nm { font-weight: 600; font-size: 14.5px; }
.t-card .meta { font-size: 12.5px; color: var(--ink-soft); }
.t-card .pup-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px; font-weight: 600;
  background: var(--orange);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ── Final CTA ── */
.cta {
  padding: 0;
}
.cta-inner {
  background: var(--dark-sec);
  color: var(--ink);
  padding: clamp(60px, 10vw, 120px) clamp(32px, 6vw, 80px);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  margin: 0 0 60px;
}
.cta-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange), transparent 60%);
  opacity: 0.12;
  filter: blur(40px);
  bottom: -300px; right: -200px;
  animation: drift 16s ease-in-out infinite alternate;
}
.cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 14ch;
  text-wrap: balance;
  position: relative;
  color: var(--ink);
}
[data-theme="pop"] .cta-inner h2 { font-weight: 400; }
.cta-inner h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.cta-inner p { color: var(--ink-2); font-size: 17.5px; max-width: 50ch; margin: 0 0 32px; line-height: 1.5; position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-inner .btn-primary { box-shadow: 0 12px 36px -6px var(--orange); }

/* ── Footer ── */
.foot { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-logo { display: flex; align-items: center; gap: 10px; }
.foot-logo img { width: 32px; }
.foot-logo span { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.foot p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { font-size: 13px; color: var(--ink-2); }
.foot-links a:hover { color: var(--orange); }

/* ── WhatsApp floating ── */
.wa {
  position: fixed; right: 22px; bottom: 22px;
  z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none;
}
.wa > * { pointer-events: auto; }
.wa-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, 0.5);
  transition: transform .25s ease;
  position: relative;
}
.wa-btn::before {
  content: ''; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: ringPulse 2s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--orange); color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}
.wa-bubble {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow-card);
  max-width: 280px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  animation: bubbleIn .4s cubic-bezier(.2,.9,.3,1.2) both;
}
.wa-bubble strong { color: var(--orange); }
.wa-bubble .nm { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.wa-bubble .nm::before { content:''; width:6px; height:6px; border-radius:50%; background:#65E08F; }
.wa-bubble .x {
  position: absolute; top: 6px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 14px; color: var(--ink-soft);
  display:grid; place-items:center;
}
.wa-bubble .x:hover { background: rgba(0,0,0,0.06); }
@keyframes bubbleIn {
  from { transform: translateY(8px) scale(.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ── Paw cursor trail ── */
.paw {
  position: fixed;
  width: 16px; height: 16px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.85;
  transform: translate(-50%, -50%);
}
.paw svg { width: 100%; height: 100%; fill: var(--orange); }
.paw.fading { animation: pawFade 1.2s ease-out forwards; }
@keyframes pawFade {
  0% { opacity: 0.85; transform: translate(-50%,-50%) scale(1) rotate(var(--r,0deg)); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(0.4) rotate(var(--r,0deg)); }
}

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ── Image-slot custom styling ── */
image-slot {
  --is-bg: var(--accent-2);
  --is-fg: var(--ink-2);
  --is-radius: 0px;
}
.g-card image-slot::part(empty-text) { font-size: 12px; }

/* ── Nav dropdown ── */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s; position: relative; display: flex; align-items: center; gap: 4px; }
.nav-item > a:hover { color: var(--ink); }
.nav-item > a::after { content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--orange); border-radius:2px; transform: scaleX(0); transform-origin:left; transition: transform .25s ease; }
.nav-item:hover > a::after { transform: scaleX(1); }
.nav-caret { width:14px; height:14px; transition: transform .2s; opacity:.5; }
.nav-item:hover .nav-caret { transform: rotate(180deg); opacity:1; }
/* Bridge: invisible zone between nav item and dropdown so diagonal mouse movement works */
.nav-item::before { content:''; position:absolute; top:100%; left:-20px; right:-20px; height:16px; }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: -14px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 48px -12px rgba(45,36,33,0.18);
  min-width: 220px; z-index: 200;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  /* Slow to hide (0.3s delay), instant to show */
  transition: opacity .15s .3s, transform .15s .3s;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
  transition: opacity .15s, transform .15s;
}
.nav-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2) !important; transition: color .15s, background .15s; text-decoration: none; }
.nav-dropdown a:hover { color: var(--orange) !important; background: var(--bg); }
.nav-dropdown a::after { display: none !important; }
.nd-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-2, var(--bg)); display: grid; place-items: center; flex-shrink: 0; color: var(--orange); }
.nd-sep { height: 1px; background: var(--line); margin: 4px 0; }
/* Fix: dropdown text always dark regardless of hero overlay */
.hdr.over-dark .nav-dropdown a { color: var(--ink-2) !important; }
.hdr.over-dark .nav-dropdown { background: var(--paper); }
.divider-line { height: 1px; background: var(--line); width: 100%; }

/* ── White section backgrounds ── */
.process     { background: #fff; }
.testimonials { background: #fff; }
.faq         { background: #fff; }

/* Theme: Pop accents */
[data-theme="pop"] .step { background: var(--paper); }
[data-theme="pop"] .step-num { color: var(--orange); }
[data-theme="pop"] .t-card { background: var(--paper); border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 0 var(--ink); }
[data-theme="pop"] .t-card:hover { transform: translate(-2px, -4px); box-shadow: 8px 8px 0 0 var(--ink); }
[data-theme="pop"] .step:hover { box-shadow: 6px 6px 0 0 var(--ink); transform: translate(-3px, -6px); }
[data-theme="pop"] .step { border: 1.5px solid var(--ink); }
[data-theme="pop"] .quiz-card { border: 2px solid var(--ink); box-shadow: 8px 8px 0 0 var(--orange); }
[data-theme="pop"] .btn-primary { box-shadow: 4px 4px 0 0 var(--ink); }
[data-theme="pop"] .btn-primary:hover { box-shadow: 6px 6px 0 0 var(--ink); }
[data-theme="pop"] .cta-inner { border: 2px solid var(--ink); }

/* Theme: Boutique refinements */
[data-theme="boutique"] .step { background: var(--paper); border: 1px solid var(--line); }
[data-theme="boutique"] .step-num { color: var(--accent-2); font-family: var(--serif); font-style: italic; }
[data-theme="boutique"] .step .ic { background: var(--ink); border-radius: 50%; }
[data-theme="boutique"] .t-card { background: var(--paper); border: 1px solid var(--line); }
[data-theme="boutique"] .hero h1 em { color: #FFF5DC; }
[data-theme="boutique"] .quiz { background: #4A3F3A; }
[data-theme="boutique"] .quiz-card { border-radius: 8px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }
[data-theme="boutique"] .step, [data-theme="boutique"] .t-card, [data-theme="boutique"] .quiz-card { border-radius: 6px; }
[data-theme="boutique"] .quiz-opt { border-radius: 4px; }
[data-theme="boutique"] .btn { border-radius: 4px; padding: 14px 26px; }
[data-theme="boutique"] .hdr-cta, [data-theme="boutique"] .lang { border-radius: 4px; }
[data-theme="boutique"] .lang button, [data-theme="boutique"] .hero-eyebrow, [data-theme="boutique"] .float-pill, [data-theme="boutique"] .stat { border-radius: 4px; }
[data-theme="boutique"] .stat { border-radius: 6px; }
[data-theme="boutique"] .g-card { border-radius: 6px; }
[data-theme="boutique"] .g-card-1, [data-theme="boutique"] .g-card-2, [data-theme="boutique"] .g-card-3, [data-theme="boutique"] .g-card-4 { --rot: 0deg; }
[data-theme="boutique"] .cta-inner { border-radius: 8px; }
[data-theme="boutique"] .quiz-q, [data-theme="boutique"] .sec-head h2, [data-theme="boutique"] .hero h1, [data-theme="boutique"] .cta-inner h2 { letter-spacing: -0.035em; }

/* ─────────── About / Quiénes somos ─────────── */
.about { padding: 110px 0; background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-copy .eyebrow { margin-bottom: 18px; }
.about-title {
  font-size: clamp(38px, 5.5vw, 72px);
  margin: 0 0 28px;
  text-wrap: balance;
}
.about-title em { color: var(--orange); font-weight: 400; }
.about-lead {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 56ch;
}
.about-p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 58ch;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-stat-n {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
}
.about-stat-l {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin-top: 8px;
  line-height: 1.35;
}

.about-video { position: relative; }
.about-video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--accent-2);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.about-video-frame image-slot {
  --is-bg: linear-gradient(135deg, var(--accent-2) 0%, var(--bg-2) 100%);
  --is-radius: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.about-video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--orange);
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, background .25s ease;
  z-index: 2;
  pointer-events: none;
}
.about-video-frame:hover .about-video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.about-video-play svg { margin-left: 4px; }
.about-video-cap {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.about-video-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(245,130,32,0.18);
  animation: vDot 1.6s ease-in-out infinite;
}
@keyframes vDot { 50% { box-shadow: 0 0 0 7px rgba(245,130,32,0.0); } }
.about-video-note {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.about-video-note strong { color: var(--ink); font-weight: 700; }
.about-video-note span { font-size: 11px; text-transform: none; letter-spacing: 0; opacity: .8; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ─────────── Promise / Compromiso ─────────── */
.promise {
  padding: 120px 0;
  background: var(--dark-sec);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(245,130,32,0.08), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(245,130,32,0.05), transparent 60%);
  pointer-events: none;
}
.promise .container { position: relative; z-index: 1; }
.promise .sec-head h2 { color: var(--ink); }
.promise .sec-head em { color: var(--orange); font-weight: 400; }
.promise .sec-head p { color: var(--ink-2); max-width: 60ch; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.promise-card {
  position: relative;
  padding: 28px 22px 26px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
}
.promise-card:hover {
  background: var(--paper);
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.promise-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 14px;
  line-height: 1;
}
.promise-t {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.2;
}
.promise-d {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 1000px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .promise-grid { grid-template-columns: 1fr; } }

/* ─────────── Instagram feed ─────────── */
.ig { padding: 110px 0; background: var(--bg); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  display: block;
  background: var(--accent-2);
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.ig-tile:hover .ig-tile-overlay { opacity: 1; }
.ig-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Ghost variant for dark backgrounds */
.hero .btn-ghost,
.cta-inner .btn-ghost {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero .btn-ghost:hover,
.cta-inner .btn-ghost:hover {
  background: rgba(255,255,255,.32);
  color: #fff;
}

@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* ─────────── Families Map ─────────── */
.fmap { padding: 120px 0; background: var(--bg-2); }
.fmap-card {
  margin-top: 48px;
  padding: 36px clamp(20px, 3vw, 48px) 28px;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.fmap-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 600;
}
.fmap-bg { width: 100%; height: 100%; display: block; }
.fmap-dot {
  position: absolute;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  animation: dotIn .6s cubic-bezier(.2,.8,.2,1) backwards;
}
.fmap-dot::after {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform .2s ease;
}
.fmap-dot:hover::after, .fmap-dot.is-active::after { transform: scale(1.45); }
.fmap-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
  animation: dotPulse 2.4s ease-out infinite;
}
.fmap-dot-y24::after { background: #C45A1F; }
.fmap-dot-y24 .fmap-pulse { background: #C45A1F; }
.fmap-dot-y25::after { background: var(--orange); }
.fmap-dot-y25 .fmap-pulse { background: var(--orange); }
.fmap-dot-next::after { background: transparent; border: 2px dashed var(--ink); }
.fmap-dot-next .fmap-pulse { display: none; }

.fmap-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10;
}
.fmap-tooltip::after {
  content: "";
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--ink);
}
.fmap-dot:hover .fmap-tooltip,
.fmap-dot.is-active .fmap-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes dotIn {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes dotPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.fmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.fmap-leg-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.fmap-sw {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.fmap-sw-y24  { background: #C45A1F; }
.fmap-sw-y25  { background: var(--orange); }
.fmap-sw-next { background: transparent; border: 2px dashed var(--ink); }

/* ─────────── FAQ ─────────── */
.faq { padding: 120px 0; background: var(--bg); }
.faq-list {
  margin-top: 48px;
  max-width: 920px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .2s ease;
}
.faq-q:hover { color: var(--orange); }
.faq-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  font-size: 18px;
  min-width: 32px;
}
.faq-q-text { line-height: 1.35; }
.faq-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .2s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(180deg); background: var(--orange); color: var(--paper); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1);
}
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  padding: 0 4px 4px 50px;
  max-width: 78ch;
}
.faq-item.is-open .faq-a { padding-bottom: 26px; }

@media (max-width: 600px) {
  .faq-q { grid-template-columns: auto 1fr auto; gap: 12px; padding: 20px 2px; }
  .faq-a { padding-left: 44px; }
}

/* Pop theme tweaks for new sections */
[data-theme="pop"] .promise-card { border: 1.5px solid rgba(255,245,235,0.20); border-radius: 8px; }
[data-theme="pop"] .ig-tile { border-radius: 6px; }
[data-theme="pop"] .fmap-card { border-radius: 10px; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 0 var(--ink); }
[data-theme="pop"] .faq-icon { border-radius: 6px; }

/* Boutique theme tweaks for new sections */
[data-theme="boutique"] .about-video-frame { border-radius: 6px; }
[data-theme="boutique"] .promise-card { border-radius: 6px; }
[data-theme="boutique"] .ig-tile { border-radius: 6px; }
[data-theme="boutique"] .fmap-card { border-radius: 8px; }
[data-theme="boutique"] .faq-icon { border-radius: 6px; }
[data-theme="boutique"] .about-title em { color: var(--accent); }
