@import url('/fonts/montserrat/montserrat.css');

/* ═══════════════════════════════════════════════
   Sonrisa Studio — plantilla odontológica moderna
   Paleta cálida (crema + menta + coral), bento,
   píldoras y tipografía grande. Sin modo oscuro
   (salud = calidez y legibilidad).
   ═══════════════════════════════════════════════ */

:root {
  --bg: #FBF7F1;
  --bg-tint: #F3EDE2;
  --surface: #FFFFFF;
  --ink: #10231E;
  --ink-2: #405650;
  --line: #E6DED1;
  --mint: #37C9A5;
  --mint-soft: #DDF3EB;
  --teal: #0B6B58;
  --coral: #FF6A55;
  --coral-soft: #FFE7E1;
  --amber: #E8951B;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(16, 35, 30, .05), 0 14px 34px -14px rgba(16, 35, 30, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 96px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip-link:focus { left: 12px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 48px); }

/* ─── Botones ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: 800 .95rem/1.2 'Montserrat', sans-serif; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--mint); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(14, 124, 102, .7); }
.btn-primary:hover { background: #2FBB98; box-shadow: 0 14px 28px -10px rgba(14, 124, 102, .8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1B3B33; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ─── Cinta de urgencias ─── */
.ribbon { background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; }
.ribbon-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 9px 16px; text-align: center; }
.ribbon-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 106, 85, .25); }
.ribbon-link { color: var(--mint); font-weight: 800; text-underline-offset: 3px; }

/* ─── Header (pastilla de vidrio) ─── */
.header {
  position: sticky; top: 12px; z-index: 50;
  width: min(1180px, 100% - 24px); margin: 12px auto 0;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 8px 30px -14px rgba(16, 35, 30, .25);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 8px 10px 8px 26px; }
.logo { font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 6px 4px 0 -2px var(--coral); }
.main-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-menu a { padding: 9px 14px; font-weight: 600; font-size: .9rem; text-decoration: none; border-radius: 999px; color: var(--ink-2); transition: background .2s, color .2s; }
.main-menu a:hover { background: var(--mint-soft); color: var(--ink); }
.header-cta { min-height: 44px; padding: 10px 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: 50%; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ─── Hero ─── */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 110px); overflow-x: clip; position: relative; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, var(--mint-soft), transparent); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.status-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .85rem; color: var(--ink-2); margin-bottom: 26px; }
.status-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #A8B5B0; }
.status-chip[data-state="open"] .dot { background: #1FBF6B; box-shadow: 0 0 0 0 rgba(31, 191, 107, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 191, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 191, 107, 0); } }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.9rem); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; }
.hero-title > span { display: inline; }
.hl { position: relative; white-space: normal; background: linear-gradient(transparent 60%, rgba(55, 201, 165, .55) 60% 90%, transparent 90%); }
.hl::after { content: ''; position: absolute; left: 4%; right: 4%; bottom: -.16em; height: .3em; border-bottom: 5px solid var(--teal); border-radius: 0 0 50% 50% / 0 0 100% 100%; pointer-events: none; }
.hero-lead { margin-top: 28px; max-width: 34rem; font-size: 1.15rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; }
.trust-item { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.trust-item svg { color: var(--teal); flex: none; }

.hero-visual { position: relative; padding: 0 0 0 6%; }
.hero-frame { position: relative; border-radius: 999px 999px 36px 36px; overflow: hidden; background: var(--mint-soft); aspect-ratio: 640 / 760; box-shadow: var(--shadow); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3; }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--ink-2); font-size: .78rem; }
.float-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--mint-soft); color: var(--teal); flex: none; }
.float-card-a { left: -2%; bottom: 12%; }
.float-card-b { right: -3%; top: 12%; }

/* ─── Secciones ─── */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tint { background: var(--bg-tint); border-radius: 48px; margin-inline: 12px; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; padding: 6px 16px; margin-bottom: 18px; background: var(--mint-soft); color: var(--teal); border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.section-title { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 900; line-height: 1.08; letter-spacing: -.025em; }
.section-lead { margin-top: 18px; font-size: 1.08rem; color: var(--ink-2); }

/* ─── Tratamientos ─── */
.treat-grid, .case-grid, .team-grid, .review-grid, .plan-grid, .tips, .steps, .bento {
  display: grid; gap: 20px; justify-content: center;
}
.treat-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.treat-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .2s, box-shadow .3s; }
.treat-card:hover { transform: translateY(-6px); border-color: var(--mint); box-shadow: var(--shadow); }
.treat-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; background: var(--mint-soft); color: var(--teal); }
.tag { align-self: flex-start; padding: 4px 12px; background: var(--coral-soft); color: #9B2C1C; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.treat-title { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.treat-desc { color: var(--ink-2); font-size: .95rem; flex: 1; }
.treat-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; font-weight: 800; }
.treat-meta span:first-child { color: var(--ink-2); font-weight: 600; }
.treat-meta span:last-child { color: var(--teal); }
.treat-link { font-weight: 800; font-size: .9rem; color: var(--ink); text-decoration: none; }
.treat-link::after { content: ' →'; transition: margin .2s; }
.treat-link:hover { color: var(--teal); }
.treat-link:hover::after { margin-left: 6px; }

/* ─── Test interactivo ─── */
.quiz-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.quiz { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); background: var(--surface); border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quiz-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz-step legend { padding: 0; margin-bottom: 14px; font-weight: 800; font-size: 1.05rem; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.quiz-options-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.quiz-opt, .pill { position: relative; display: block; cursor: pointer; }
.quiz-opt input, .pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.quiz-opt span, .pill span { display: flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 16px; font-weight: 600; font-size: .9rem; line-height: 1.3; background: #fff; transition: background .2s, border-color .2s, color .2s; }
.pill span { justify-content: center; border-radius: 999px; min-width: 56px; }
.quiz-opt:hover span, .pill:hover span { border-color: var(--mint); }
.quiz-opt input:checked + span, .pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.quiz-opt input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.quiz-result { padding: 24px; background: var(--ink); color: #fff; border-radius: 24px; }
.quiz-result-label { color: var(--mint); font-weight: 800; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 8px; }
.quiz-result-empty { color: #C9D8D3; font-size: .95rem; }
.quiz-result-body { display: none; }
.quiz-result.is-ready .quiz-result-body { display: block; }
.quiz-result.is-ready .quiz-result-empty { display: none; }
.quiz-result-title { font-size: 1.5rem; font-weight: 900; letter-spacing: -.01em; }
.quiz-result-text { margin: 8px 0 20px; color: #C9D8D3; font-size: .95rem; }

/* ─── Antes y después ─── */
.case-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.case-card { position: relative; padding: 14px 14px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ba { position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 20px; background: var(--mint-soft); --pos: 50%; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 35, 30, .15); pointer-events: none; }
.ba-handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(16, 35, 30, .3); font-weight: 900; font-size: .8rem; letter-spacing: 2px; color: var(--ink); }
.ba-label { position: absolute; z-index: 2; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(16, 35, 30, .78); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ba-label-after { left: 12px; }
.ba-label-before { right: 12px; }
.ba-range { display: block; width: calc(100% - 8px); height: 44px; margin: 6px 4px 0; background: transparent; accent-color: var(--teal); cursor: ew-resize; }
.case-title { padding: 0 12px; margin-top: 4px; font-size: 1.15rem; font-weight: 800; }
.case-desc { padding: 0 12px; margin-top: 6px; color: var(--ink-2); font-size: .92rem; }

/* ─── Primera visita ─── */
.steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); counter-increment: step; overflow: hidden; }
.step::after { content: counter(step); position: absolute; top: 6px; right: 18px; font-size: 4.6rem; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--mint-soft); pointer-events: none; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: var(--mint); }
.step-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.step-desc { color: var(--ink-2); font-size: .93rem; }

/* ─── Tecnología (bento) ─── */
.bento { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-flow: dense; }
.tech-photo { position: relative; grid-row: span 2; min-height: 320px; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mint-soft); }
.tech-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 16px; background: rgba(255, 255, 255, .92); border-radius: 16px; font-size: .82rem; font-weight: 600; }
.tech-card { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tech-wide { grid-column: span 2; }
.tech-card:nth-of-type(3n+1) { background: var(--mint-soft); border-color: transparent; }
.tech-card:nth-of-type(4n+2) { background: var(--ink); border-color: var(--ink); color: #fff; }
.tech-card:nth-of-type(4n+2) .tech-desc { color: #C9D8D3; }
.tech-card:nth-of-type(4n+2) .tech-icon { background: rgba(255, 255, 255, .12); color: var(--mint); }
.tech-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 18px; background: var(--mint-soft); color: var(--teal); }
.tech-card:nth-of-type(3n+1) .tech-icon { background: #fff; }
.tech-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.tech-desc { color: var(--ink-2); font-size: .93rem; }

/* ─── Equipo ─── */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.team-card { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding-bottom: 26px; }
.team-photo { position: relative; aspect-ratio: 4 / 4.2; background: var(--mint-soft); margin-bottom: 20px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name, .team-role, .team-cred, .team-bio { padding-inline: 26px; }
.team-name { font-size: 1.25rem; font-weight: 900; }
.team-role { color: var(--teal); font-weight: 800; font-size: .9rem; margin-top: 2px; }
.team-cred { margin-top: 8px; font-size: .78rem; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
.team-bio { margin-top: 12px; color: var(--ink-2); font-size: .92rem; }
.video-link { margin-top: 36px; text-align: center; }

/* ─── Precios y calculadora ─── */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.price-card { padding: clamp(24px, 3vw, 38px); background: var(--surface); border: 1px solid var(--line); border-radius: 32px; }
.price-card-title { font-size: 1.35rem; font-weight: 900; margin-bottom: 14px; }
.price-row { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-of-type { border-bottom: 0; }
.price-name { flex: 1; font-weight: 600; }
.price-amount { font-weight: 900; color: var(--teal); white-space: nowrap; }
.calc { background: var(--ink); color: #fff; border-color: var(--ink); }
.calc-note { color: #C9D8D3; font-size: .9rem; margin-bottom: 8px; }
.calc-label { margin: 18px 0 8px; font-weight: 800; font-size: .85rem; display: block; }
.calc-select, .field { width: 100%; min-height: 50px; padding: 12px 16px; font: 600 .95rem 'Montserrat', sans-serif; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; }
.field:focus, .calc-select:focus { outline: 3px solid var(--mint); outline-offset: 1px; border-color: var(--mint); }
.calc-months { display: flex; flex-wrap: wrap; gap: 8px; }
.calc .pill span { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.calc .pill input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.calc-out { margin: 22px 0; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); }
.calc-out-label { color: #C9D8D3; font-size: .85rem; }
.calc-out-value { margin-top: 4px; font-size: 1rem; color: #C9D8D3; }
.calc-out-value strong { font-size: 2.6rem; font-weight: 900; letter-spacing: -.02em; color: var(--mint); }

/* ─── Seguros y membresías ─── */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.chip { position: relative; padding: 12px 24px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; font-size: .95rem; }
.plan-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-featured { border: 3px solid var(--mint); box-shadow: var(--shadow); }
.plan-name { font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.plan-price { margin: 10px 0 12px; color: var(--ink-2); }
.plan-price strong { font-size: 2.5rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.plan-desc { color: var(--ink-2); font-size: .93rem; }

/* ─── Reseñas ─── */
.rating-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin: 0 auto 40px; padding: 20px 28px; max-width: 860px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.rating-score { display: flex; align-items: center; gap: 12px; }
.rating-score strong { font-size: 2.8rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; }
.rating-text { font-weight: 600; color: var(--ink-2); }
.review-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review:nth-child(3n+2) { background: var(--mint-soft); border-color: transparent; }
.review-quote { flex: 1; font-size: 1rem; font-weight: 600; }
.review-by { display: flex; flex-direction: column; font-size: .85rem; }
.review-by span { color: var(--ink-2); }

/* ─── Urgencias ─── */
.urgent { background: var(--coral); color: var(--ink); border-radius: 48px; margin-inline: 12px; }
.urgent .section-lead { color: var(--ink); }
.urgent-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-bottom: 40px; }
.urgent-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.urgent-head > div:nth-child(2) { flex: 1 1 320px; }
.urgent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tips { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tip { position: relative; padding: 24px; background: rgba(255, 255, 255, .95); border-radius: 24px; }
.tip-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.tip-text { font-size: .9rem; color: var(--ink-2); }

/* ─── FAQ ─── */
.faq-list { display: grid; gap: 12px; }
.faq-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--mint); box-shadow: var(--shadow); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 26px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-soft); color: var(--teal); font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: '–'; background: var(--ink); color: #fff; }
.faq-item p { padding: 0 26px 22px; color: var(--ink-2); }

/* ─── Reserva ─── */
.booking { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.check-item { position: relative; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check-item svg { color: var(--teal); flex: none; }
.booking-form { padding: clamp(24px, 3vw, 38px); background: var(--surface); border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.field-label { display: block; margin: 18px 0 8px; font-weight: 800; font-size: .85rem; }
.field-label:first-child { margin-top: 0; }
.booking-form .btn { margin-top: 26px; }
.form-note { margin-top: 14px; font-size: .78rem; color: var(--ink-2); text-align: center; }

/* ─── Ubicación ─── */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; align-items: start; }
.loc-block { padding: 22px 26px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.loc-h { font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.loc-note { margin-top: 6px; font-size: .88rem; color: var(--ink-2); }
.hours-row { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-weight: 600; }
.hours-time { font-weight: 800; }
.contact-list { display: grid; gap: 10px; margin-bottom: 18px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list svg { color: var(--teal); flex: none; }
.contact-list a { font-weight: 600; text-underline-offset: 3px; }
.map-frame { overflow: hidden; margin-bottom: 14px; border-radius: 28px; border: 1px solid var(--line); aspect-ratio: 8 / 5; background: var(--mint-soft); }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Footer ─── */
.footer { margin-top: clamp(40px, 6vw, 80px); padding: 64px 0 28px; background: var(--ink); color: #D5E2DD; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-logo { font-size: 1.4rem; font-weight: 900; color: #fff; }
.footer-tag { margin: 10px 0 20px; font-size: .92rem; max-width: 22rem; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social-item { position: relative; }
.social-item a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.social-item a:hover { background: var(--mint); color: var(--ink); }
.footer-h { color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-legal a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { color: var(--mint); text-decoration: underline; }
.footer-legal { font-size: .85rem; margin-bottom: 8px; }
.footer-copy { width: min(1180px, 100% - 48px); margin: 44px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; text-align: center; }

/* ─── Barra móvil fija ─── */
.mobile-bar { display: none; }

/* ─── Animaciones de scroll (mejora progresiva, solo CSS) ─── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .treat-card, .case-card, .team-card, .tech-card, .review, .step, .plan, .price-card, .tip, .quiz, .booking-form, .loc-block {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
    }
    @keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
  }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; padding-left: 0; }
  .float-card-a { left: -4%; }
  .float-card-b { right: -4%; }
}
@media (max-width: 860px) {
  .header { border-radius: 30px; }
  .header-inner { padding: 8px 8px 8px 20px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; margin: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
  .main-menu.menu-open { display: flex; }
  .main-menu a { padding: 14px 16px; font-size: 1rem; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 6px;
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; padding: 8px;
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 12px 34px -8px rgba(16, 35, 30, .35);
  }
  .mb-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 18px; font-size: .74rem; font-weight: 800; text-decoration: none; color: var(--ink); }
  .mb-primary { background: var(--mint); }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 700px) {
  .container, .container-narrow { width: min(100% - 32px, 1180px); }
  .section-tint, .urgent { margin-inline: 6px; border-radius: 32px; }
  .tech-wide, .tech-photo { grid-column: auto; grid-row: auto; }
  .rating-bar { border-radius: 28px; }
  .hero-actions .btn { width: 100%; }
  .float-card { position: relative; inset: auto; margin-top: 12px; }
  .hero-visual { display: flex; flex-direction: column; }
}
