:root {
  --bg: #f6f8f5;
  --surface: #ffffff;
  --surface-2: #eef3ef;
  --ink: #17251f;
  --muted: #5d6c65;
  --line: #dde5df;
  --accent: #3f6b5a;
  --accent-ink: #fff;
  --accent-soft: #e2ece6;
  --mint: #b9d8c8;
  --radius: 14px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --shadow: 0 1px 2px rgb(23 37 31 / 0.05), 0 12px 32px rgb(23 37 31 / 0.08);
}

body { font-size: 16px; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2, .results-copy h2, .agenda-copy h2, .guide h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 400; letter-spacing: -0.01em; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.btn { border-radius: 999px; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-light { background: #fff; color: var(--accent); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgb(246 248 245 / 0.86); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.header.is-solid { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo svg { width: 32px; fill: var(--accent); }
.logo em { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--accent); }
.nav { display: flex; gap: 30px; font-size: 0.93rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36d; box-shadow: 0 0 0 0 rgb(47 179 109 / 0.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(47 179 109 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 179 109 / 0); } }
.hero h1 { margin-top: 22px; font-size: clamp(2.8rem, 6.2vw, 5.2rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.hero h1 em { color: var(--accent); }
.lede { margin-top: 22px; max-width: 520px; font-size: 1.12rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; gap: clamp(20px, 4vw, 44px); margin: 44px 0 0; padding: 0; list-style: none; }
.trust li { display: grid; }
.trust strong { font-size: 1.35rem; }
.trust span { font-size: 0.82rem; color: var(--muted); }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-card small { display: block; font-size: 0.75rem; color: var(--muted); }
.float-card strong { display: block; font-size: 0.98rem; }
.float-next { left: -28px; bottom: 56px; }
.float-rating { right: -18px; top: 40px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.float-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); }
.float-icon svg { width: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.avatars { display: flex; }
.avatars > * { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; display: grid; place-items: center; font-size: 0.68rem; font-weight: 700; background: var(--mint); color: var(--accent); }
.avatars > :first-child { margin-left: 0; }

/* Tratamientos */
.treatments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.treatment { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.treatment:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.t-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); }
.t-icon svg { width: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.treatment h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; }
.treatment p { color: var(--muted); font-size: 0.95rem; }
.treatment .from { margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.treatment .from strong { color: var(--ink); font-size: 1.05rem; }

/* Orientador */
.guide-section { padding-top: 0; }
.guide { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.guide-steps { padding: clamp(28px, 5vw, 56px); display: grid; gap: 18px; align-content: start; }
.guide-sub { color: var(--muted); }
.choice { border: 0; padding: 0; margin: 10px 0 0; }
.choice legend { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; }
.step-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 500; font-size: 0.93rem; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-checked='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.guide-result { position: relative; display: grid; gap: 18px; align-content: center; padding: clamp(28px, 5vw, 56px); background: var(--accent); color: #fff; overflow: hidden; }
.guide-result::before { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / 0.16), transparent 70%); }
.result-label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.guide-result h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 400; }
.guide-result.is-updating h3, .guide-result.is-updating dd { animation: pop 0.45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.urgent { padding: 12px 14px; border-radius: 12px; background: rgb(255 255 255 / 0.15); font-size: 0.9rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.result-grid div { padding: 16px; border-radius: 16px; background: rgb(255 255 255 / 0.1); }
.result-grid dt { font-size: 0.78rem; opacity: 0.75; }
.result-grid dd { margin: 4px 0 0; font-weight: 700; font-size: 1.05rem; }
.result-price { grid-column: 1 / -1; }
.result-price dd { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1.1; }
.result-note { font-size: 0.8rem; opacity: 0.75; }

/* Antes y después */
.results-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.results-copy { display: grid; gap: 18px; }
.results-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.checks { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6b5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.compare-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-before img { filter: sepia(0.55) saturate(1.5) hue-rotate(-12deg) brightness(0.9) contrast(0.95); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; box-shadow: 0 0 12px rgb(0 0 0 / 0.3); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.compare-handle span::before, .compare-handle span::after { content: ''; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.compare-handle span::before { left: 12px; transform: translateY(-50%) rotate(-45deg); }
.compare-handle span::after { right: 12px; transform: translateY(-50%) rotate(135deg); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + * , .compare-frame:has(.compare-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }
.tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.9); font-size: 0.78rem; font-weight: 700; pointer-events: none; }
.tag-before { left: 18px; }
.tag-after { right: 18px; }
.compare-note { margin-top: 12px; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* Equipo */
.team-section { background: var(--surface); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { display: grid; gap: 14px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 22px; background: var(--surface-2); transition: transform 0.5s var(--ease); }
.member:hover img { transform: scale(1.02); }
.member h3 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; }
.member p { color: var(--muted); font-size: 0.92rem; }
.member .cop { font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { display: grid; gap: 20px; align-content: space-between; margin: 0; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; }
.quote .stars { color: #e2a63b; letter-spacing: 2px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img, .quote .initials { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.quote figcaption small { display: block; color: var(--muted); }

/* Agenda */
.agenda-section { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.agenda-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.agenda-copy { display: grid; gap: 16px; position: sticky; top: 110px; }
.agenda-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.faq { margin-top: 18px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.agenda-form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); }
.agenda-form fieldset { border: 0; padding: 0; margin: 0; }
.agenda-form legend { margin-bottom: 10px; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { display: grid; justify-items: center; gap: 2px; padding: 10px 0; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); scroll-snap-align: start; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.day small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.day strong { font-size: 1.3rem; }
.day:hover { border-color: var(--accent); }
.day[aria-checked='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.day[aria-checked='true'] small { color: rgb(255 255 255 / 0.8); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.9rem; }
.time:hover:not(:disabled) { border-color: var(--accent); }
.time:disabled { color: #b8c2bd; text-decoration: line-through; background: var(--bg); cursor: not-allowed; }
.time[aria-checked='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
.footer { padding: 56px 0 100px; background: var(--ink); color: rgb(255 255 255 / 0.75); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .logo svg { fill: var(--mint); }
.footer .logo svg path { fill: var(--ink); }
.footer .logo em { color: var(--mint); }
.footer strong { display: block; color: #fff; margin-bottom: 8px; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.8rem; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero-grid, .guide, .results-grid, .agenda-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .float-next { left: 12px; bottom: 16px; }
  .float-rating { right: 12px; top: 16px; }
  .treatments, .testimonials { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .agenda-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .treatments, .testimonials, .form-row { grid-template-columns: 1fr; }
  .trust { gap: 18px; flex-wrap: wrap; }
  .hero-actions .btn { width: 100%; }
  .header .btn-sm { padding: 0 14px; }
}
