/* =====================================================================
   Consultorio 1 — estilos de la página
   Paleta: verde profundo + menta. Tipografía: Manrope + Instrument Serif.
   ===================================================================== */

:root {
  --deep: #052b2f;
  --deep-2: #0a3d42;
  --deep-3: #11525a;
  --mint: #6ee7c8;
  --mint-d: #34c9a5;
  --mint-soft: #dff8f0;
  --paper: #f4f8f6;
  --paper-2: #e9f1ee;
  --white: #ffffff;
  --ink: #0b2226;
  --ink-soft: #4b6266;
  --line: rgba(5, 43, 47, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(5, 43, 47, .06), 0 18px 40px -18px rgba(5, 43, 47, .35);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--mint-d); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 10px; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--mint-d)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn--xl { min-height: 62px; padding: 0 30px; font-size: 17px; }
.btn--mint { background: var(--mint); color: var(--deep); box-shadow: 0 10px 26px -12px rgba(52, 201, 165, .9); }
.btn--mint:hover { background: #8af0d6; }
.btn--deep { background: var(--deep); color: #fff; }
.btn--deep:hover { background: var(--deep-3); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn__ico { width: 20px; height: 20px; flex: none; }
.btn__arrow { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn__shine {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 5s ease-in-out infinite 2s;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Cabecera ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  color: #fff; transition: background-color .35s, box-shadow .35s, color .35s;
}
.nav.is-scrolled { background: rgba(5, 43, 47, .9); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .nav.is-scrolled { background: rgba(5, 43, 47, .72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); }
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; margin-right: auto; }
.brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--mint); color: var(--deep); }
.brand__mark svg { width: 22px; height: 22px; }
.nav__links { display: none; gap: 4px; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; opacity: .82; transition: opacity .2s, background-color .2s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; background: rgba(255, 255, 255, .1); }
.nav__cta { display: none; }
.burger { width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto; z-index: 99;
  background: var(--deep); padding: 12px 20px 28px; border-bottom: 1px solid var(--line-light);
  display: grid; gap: 18px; animation: drop .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; font-size: 22px; font-weight: 600; }
.mobile-menu small { font-size: 12px; color: var(--mint); font-weight: 700; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(120% 80% at 80% 0%, var(--deep-2), var(--deep) 60%);
  color: #fff; padding: calc(var(--nav-h) + 36px) 0 120px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--a { width: 420px; height: 420px; left: -140px; top: 10%; background: #1d8f85; animation: drift 18s ease-in-out infinite alternate; }
.blob--b { width: 380px; height: 380px; right: -120px; top: -60px; background: #2f6f9a; opacity: .4; animation: drift 22s ease-in-out infinite alternate-reverse; }
.blob--c { width: 300px; height: 300px; right: 15%; bottom: 0; background: var(--mint); opacity: .22; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.hero__rings {
  position: absolute; width: 760px; height: 760px; right: -300px; top: 50%; margin-top: -380px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(110, 231, 200, .08) 46px 47px);
}
.grain {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .07); border: 1px solid var(--line-light); padding: 8px 14px; border-radius: 999px; }
.dot { display: inline-block; vertical-align: 1px; margin-right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(110, 231, 200, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(110, 231, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 231, 200, 0); } }
.hero__title { margin-top: 22px; font-size: clamp(40px, 10.5vw, 84px); letter-spacing: -.035em; line-height: 1.02; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--mint); }
.hero__lead { margin-top: 22px; font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 48ch; }
.hero__actions { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.hero__facts { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 18px; overflow: hidden; }
.hero__facts li { background: rgba(5, 43, 47, .55); padding: 14px 16px; display: grid; gap: 2px; }
.hero__facts strong { font-size: 14px; }
.hero__facts span { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* Animación de entrada al cargar (no depende de JS) */
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
.hero__title .rise { animation-name: riseLine; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes riseLine { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }

.hero__visual { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.hero__frame { border-radius: 30px; padding: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); }
.float-card {
  position: absolute; display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow); font-size: 14px;
}
.float-card--a { left: -10px; bottom: 36px; }
.float-card--b { right: -10px; top: 28px; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.float-card__k { font-weight: 600; color: var(--ink-soft); font-size: 13px; line-height: 1.3; }
.float-card__k small { font-weight: 500; }
.float-card__v { font-size: 15px; }
.float-card__v strong { font-size: 24px; letter-spacing: -.02em; }
.float-card__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mint-soft); color: var(--deep); }
.float-card__ico svg { width: 20px; height: 20px; }

.hero__scroll { display: none; position: absolute; left: 50%; bottom: 76px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--mint); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Olas ---------- */
.wave { position: absolute; left: 0; right: 0; height: 70px; overflow: hidden; pointer-events: none; }
.wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: waveMove 16s linear infinite; }
.wave svg + svg { animation-duration: 11s; animation-direction: reverse; }
@keyframes waveMove { to { transform: translateX(-50%); } }
.wave--hero { bottom: -1px; }
.wave--hero .wave__back { fill: rgba(244, 248, 246, .35); }
.wave--hero .wave__front { fill: var(--paper); }
.wave--top { top: -1px; transform: scaleY(-1); }
.wave--top .wave__back { fill: rgba(244, 248, 246, .35); }
.wave--top .wave__front { fill: var(--paper); }

/* ---------- Espacios para fotos ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: 22px;
  background:
    repeating-linear-gradient(135deg, rgba(5, 43, 47, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #ffffff, var(--paper-2));
  border: 2px dashed rgba(5, 43, 47, .22); color: var(--deep);
}
.ph--hero { aspect-ratio: 4 / 5; }
.ph--card { aspect-ratio: 4 / 3; border-radius: 18px; }
.ph--map { width: 100%; aspect-ratio: 16 / 10; min-height: 240px; }
.ph--dark { background: repeating-linear-gradient(135deg, rgba(110, 231, 200, .07) 0 12px, transparent 12px 24px), linear-gradient(160deg, var(--deep-2), var(--deep)); border-color: rgba(110, 231, 200, .3); color: #fff; }
.ph__inner { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 20px; }
.ph__label { font-weight: 700; font-size: 20px; }
.ph__size { font-size: 13px; font-weight: 600; opacity: .7; }
.ph__hint { font-size: 13px; opacity: .6; }
.map__pin { width: 34px; height: 34px; margin: 0 auto 4px; }

/* ---------- Fotos ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.photo--hero { aspect-ratio: 4 / 5; }
.photo--hero img { object-position: 30% 50%; }
.photo--card { aspect-ratio: 4 / 3; border-radius: 18px; }
.photo--card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(5, 43, 47, .08); pointer-events: none; }

/* ---------- Secciones ---------- */
.section { padding: 88px 0; scroll-margin-top: var(--nav-h); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head--split { max-width: none; display: grid; gap: 18px; align-items: end; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-3); margin-bottom: 16px; }
.kicker span { display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--deep); color: var(--mint); font-size: 12px; letter-spacing: 0; }
.kicker--light { color: var(--mint); }
.kicker--light span { background: var(--mint); color: var(--deep); }
.sec-title { font-size: clamp(32px, 7.4vw, 56px); text-wrap: balance; }
.sec-title em { color: var(--deep-3); }
.sec-title--light { color: #fff; }
.sec-title--light em { color: var(--mint); }
.sec-intro { margin-top: 16px; font-size: 18px; color: var(--ink-soft); max-width: 56ch; }

/* Ventajas */
.perks { display: grid; gap: 14px; counter-reset: perk; }
.perk { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; transition: box-shadow .3s, border-color .3s; }
.perk:hover { box-shadow: var(--shadow); border-color: transparent; }
.perk__n { position: absolute; top: 22px; right: 24px; font: italic 400 24px/1 var(--serif); color: var(--mint-d); }
.perk__ico { width: 52px; height: 52px; margin-bottom: 18px; }
.perk__ico * { fill: none; stroke: var(--deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.js .perk__ico * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .25s; }
.js .perk.in .perk__ico * { stroke-dashoffset: 0; }
.perk h3 { font-size: 20px; margin-bottom: 8px; }
.perk p { color: var(--ink-soft); font-size: 16px; }

/* Cinta */
.ribbon { background: var(--deep); color: #fff; overflow: hidden; padding: 20px 0; }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.ribbon span { font-size: clamp(24px, 5vw, 40px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.ribbon em { color: var(--mint); }
.ribbon i { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Servicios */
.services { display: grid; gap: 18px; }
.service { border-radius: 28px; padding: 12px; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .3s; will-change: transform; }
.service--light { background: #fff; border: 1px solid var(--line); }
.service--dark { background: var(--deep); color: #fff; }
.service:hover { box-shadow: var(--shadow); }
.service__body { padding: 22px 14px 14px; }
.service__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--deep-3); }
.service--dark .service__tag { background: rgba(110, 231, 200, .14); color: var(--mint); }
.service__title { margin-top: 14px; font-size: clamp(28px, 6vw, 40px); }
.service__text { margin-top: 12px; color: var(--ink-soft); }
.service--dark .service__text { color: rgba(255, 255, 255, .72); }
.steps { margin-top: 22px; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.steps li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--deep); color: var(--mint); font-size: 13px; }
.service--dark .steps li > span { background: var(--mint); color: var(--deep); }
.service__foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.service--dark .service__foot { border-color: var(--line-light); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price small { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.service--dark .price small { color: rgba(255, 255, 255, .6); }
.price strong { font-size: 32px; letter-spacing: -.03em; }
.fineprint { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }

/* Precios */
.pricelists { display: grid; gap: 18px; }
.pricelist { display: grid; gap: 22px; align-content: start; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px 22px; }
.pricelist--dark { background: var(--deep); color: #fff; border-color: transparent; }
.pricelist__title { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 5vw, 30px); }
.pricelist__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--mint-soft); color: var(--deep); flex: none; }
.pricelist--dark .pricelist__ico { background: var(--mint); }
.pricelist__ico svg { width: 24px; height: 24px; }
.pricelist__items { display: grid; }
.pricelist__items li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.pricelist--dark .pricelist__items li { border-color: var(--line-light); }
.pricelist__name { display: grid; gap: 2px; font-weight: 600; }
.pricelist__name small { font-weight: 500; font-size: 14px; color: var(--ink-soft); }
.pricelist--dark .pricelist__name small { color: rgba(255, 255, 255, .6); }
.pricelist__items strong { font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.pricelist__items strong small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.pricelist--dark .pricelist__items strong small { color: rgba(255, 255, 255, .6); }
.pricelist--dark .pricelist__items strong { color: var(--mint); }
.pricelist__plan { font-size: 15px; padding: 14px 16px; border-radius: 16px; background: rgba(110, 231, 200, .12); color: rgba(255, 255, 255, .85); }
.pricelist__plan b { color: #fff; }
.pricelist .btn { justify-self: start; }

/* Testimonios */
.testimonios { background: var(--paper-2); }
.quotes { display: grid; gap: 14px; }
.quote { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 18px; align-content: start; }
.quote--lead { background: var(--deep); color: #fff; border-color: transparent; }
.tag-example { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff1b8; color: #6b4300; }
.quote__mark { width: 40px; height: 30px; fill: var(--mint); }
.quote blockquote { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.5; }
.quote--lead blockquote { font: italic 400 clamp(24px, 5vw, 32px)/1.25 var(--serif); }
.quote figcaption { display: grid; gap: 2px; font-size: 14px; }
.quote figcaption span { color: var(--ink-soft); }
.quote--lead figcaption span { color: rgba(255, 255, 255, .65); }

/* Contacto */
.contacto { position: relative; isolation: isolate; overflow: clip; background: var(--deep); color: #fff; padding: 120px 0 0; scroll-margin-top: var(--nav-h); }
.contacto__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob--d { width: 520px; height: 520px; left: -200px; bottom: -120px; background: #1d8f85; opacity: .35; animation: drift 24s ease-in-out infinite alternate; }
.contacto__grid { display: grid; gap: 40px; padding-bottom: 72px; }
.contacto__grid > *, .hero__inner > *, .services > *, .sec-head--split > * { min-width: 0; }
.contacto__lead { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .75); max-width: 46ch; }
.contacto__info > .btn { margin-top: 28px; }
.details { margin: 36px 0 0; display: grid; }
.details__row { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line-light); }
.details dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.details dd { margin: 0; font-weight: 600; }
.link-u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.link-u:hover { background-size: 100% 1px; }
.hours { display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; }
.hours li.is-today { background: rgba(110, 231, 200, .14); color: var(--mint); }
.hours li.is-today span:first-child::after { content: " · hoy"; font-weight: 500; opacity: .8; }
.map { border-radius: 24px; overflow: hidden; }
.map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; min-height: 300px; border: 0; }
.footer { display: grid; gap: 8px; padding-top: 28px; padding-bottom: 120px; border-top: 1px solid var(--line-light); font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer a { color: var(--mint); }
.footer__brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 16px; }
.footer__brand svg { width: 22px; height: 22px; color: var(--mint); }
.footer__credits { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.footer__credits a { color: rgba(255, 255, 255, .7); }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; z-index: 90;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: #fff; box-shadow: 0 14px 30px -10px rgba(14, 110, 55, .8);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }

/* Etiqueta de demo */
.demo-badge {
  position: fixed; z-index: 80; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: #fff1b8; color: #6b4300; font-size: 12px; font-weight: 700; box-shadow: var(--shadow);
}
.demo-badge span { width: 7px; height: 7px; border-radius: 50%; background: #d18b00; }

/* ---------- Aparición al hacer scroll (solo con JS) ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.reveal[data-split] { opacity: 1; translate: none; }

/* ---------- Tableta ---------- */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .quote--lead { grid-column: 1 / -1; }
  .service { padding: 14px; }
  .service__body { padding: 26px 20px 18px; }
}

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
  :root { --nav-h: 76px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }
  .hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 150px; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .hero__visual { margin: 0; justify-self: end; }
  .float-card--a { left: -56px; }
  .float-card--b { right: -36px; }
  .hero__scroll { display: block; }
  .wave { height: 100px; }
  .section { padding: 128px 0; }
  .sec-head--split { grid-template-columns: 1.2fr .8fr; gap: 48px; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricelists { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricelist { padding: 40px; }
  .quotes { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .quote--lead { grid-column: 1; grid-row: 1 / span 2; padding: 40px; }
  .contacto { padding-top: 160px; }
  .contacto__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-bottom: 96px; }
  .footer { padding-bottom: 36px; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
  .footer p:nth-child(2) { text-align: center; }
  .footer__credits { grid-column: 1 / -1; order: 9; }
}

/* Movimiento reducido: solo se apaga lo que se mueve en bucle */
@media (prefers-reduced-motion: reduce) {
  .ribbon__track { animation-duration: 80s; }
  .wave svg { animation: none; }
  .blob { animation: none; }
  .btn__shine, .hero__scroll span { animation: none; }
}

/* =====================================================================
   Mejoras de diseño (nov 2026) + sección "Agenda tu cita"
   ===================================================================== */

/* Botón verde de WhatsApp como segunda opción */
.btn--wa { background: #1fa855; color: #fff; box-shadow: 0 10px 24px -12px rgba(14, 110, 55, .8); }
.btn--wa:hover { background: #178f47; }

/* Portada: título más equilibrado y foto en forma de arco */
.hero__title { font-size: clamp(40px, 10vw, 76px); }
.hero__frame { border-radius: 999px 999px 34px 34px; padding: 10px; }
.photo--hero { border-radius: 999px 999px 26px 26px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% -8% -6% 8%; z-index: -1; border-radius: 999px 999px 40px 40px;
  background: radial-gradient(closest-side, rgba(110, 231, 200, .35), transparent);
  filter: blur(30px);
}

/* Datos clave de la portada */
.hero__facts { grid-template-columns: 1fr; gap: 0; background: rgba(255, 255, 255, .04); }
.hero__facts li { display: flex; align-items: center; gap: 12px; background: transparent; padding: 12px 16px; border-top: 1px solid var(--line-light); }
.hero__facts li:first-child { border-top: 0; }
.hero__facts li > svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: rgba(110, 231, 200, .16); color: var(--mint); }
.hero__facts li > span { display: grid; gap: 1px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.hero__facts li strong { font-size: 14px; color: #fff; }

/* Menú móvil: dos botones */
.mobile-menu__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-menu__ctas .btn { padding: 0 14px; }

/* Encabezado centrado */
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .kicker { justify-content: center; }

/* Ritmo de fondos */
.testimonios { background: var(--paper); }
.precios { background: linear-gradient(180deg, var(--paper), #fff 40%, var(--paper)); }

/* Tarjetas con un poco más de vida */
.perk { transition: box-shadow .3s, border-color .3s, transform .4s var(--ease); }
.perk:hover { transform: translateY(-4px); }
.perk::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--mint), var(--mint-d)); opacity: 0; transition: opacity .3s; }
.perk:hover::after { opacity: 1; }
.pricelist { box-shadow: 0 1px 2px rgba(5, 43, 47, .04), 0 24px 50px -32px rgba(5, 43, 47, .35); }

/* ---------- Agenda tu cita ---------- */
.agenda { position: relative; isolation: isolate; overflow: clip; background: var(--paper-2); }
.agenda__glow {
  position: absolute; z-index: -1; width: 620px; height: 620px; right: -220px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 231, 200, .45), transparent); pointer-events: none;
}
.agenda__grid { display: grid; gap: 18px; }

.agenda__info { background: var(--deep); color: #fff; border-radius: 28px; padding: 28px 22px; display: grid; gap: 22px; align-content: start; }
.agenda__info h3 { font-size: 22px; }
.agenda__steps { display: grid; gap: 16px; }
.agenda__steps li { display: flex; gap: 14px; align-items: flex-start; }
.agenda__steps li > span { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--mint); color: var(--deep); font-weight: 700; font-size: 15px; }
.agenda__steps p { display: grid; gap: 2px; font-size: 14px; color: rgba(255, 255, 255, .68); }
.agenda__steps strong { font-size: 16px; color: #fff; }
.agenda__alt { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.agenda__alt p { font-size: 14px; color: rgba(255, 255, 255, .75); }
.agenda__alt .btn { justify-self: start; white-space: normal; text-align: left; }

.agenda__card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 20px 4px 16px; box-shadow: 0 1px 2px rgba(5, 43, 47, .04), 0 30px 60px -36px rgba(5, 43, 47, .4); min-width: 0; }
.agenda__lead { font-size: 17px; font-weight: 600; color: var(--ink); padding: 0 16px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.agenda__cal { position: relative; min-height: 520px; }
.agenda__embed { width: 100%; min-height: 520px; overflow: auto; -webkit-overflow-scrolling: touch; }
.agenda__embed.is-ready { min-height: 0; }
.agenda__cal.is-fallback { min-height: 0 !important; }
.agenda__embed[hidden] { display: none; }
.agenda__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-soft); font-weight: 600; font-size: 15px; pointer-events: none; }
.agenda__loading[hidden] { display: none; }
.agenda__spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--mint-soft); border-top-color: var(--deep); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.agenda__fallback { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 48px 16px; }
.agenda__fallback[hidden] { display: none; }
.agenda__fallback > svg { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: var(--mint-soft); color: var(--deep); }
.agenda__fallback p { display: grid; gap: 4px; color: var(--ink-soft); max-width: 36ch; }
.agenda__fallback strong { color: var(--ink); font-size: 17px; }
.agenda__small { padding: 12px 8px 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
.agenda__small a { color: var(--deep-3); font-weight: 600; }
.agenda__small[hidden] { display: none; }

@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts li { border-top: 0; border-left: 1px solid var(--line-light); padding: 14px; }
  .hero__facts li:first-child { border-left: 0; }
  .agenda__card { padding: 26px 22px 20px; }
  .agenda__info { padding: 32px 28px; }
}

@media (min-width: 960px) {
  .agenda__grid { grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
  .agenda__info { position: sticky; top: calc(var(--nav-h) + 20px); }
  .agenda__cal, .agenda__embed { min-height: 600px; }
}

@media (prefers-reduced-motion: reduce) {
  .agenda__spinner { animation-duration: 2s; }
}
