/*
Theme Name: Dental Studio
Theme URI: https://example.cl
Author: Sitio Dental Studio
Description: Tema a medida para clínicas dentales — diseño claro, elegante e interactivo (estilo Apple) con reserva de horas en 3 pasos, formulario de contacto y validación de RUT chileno.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dentalstudio
Tags: dental, clinica, salud, claro, chile, reservas
*/

/* ==========================================================================
   DENTAL STUDIO  |  Sistema de diseño

   Estética: claro, mucho aire, tipografía grande y apretada, bordes suaves,
   micro-interacciones sutiles — "tipo Apple", pero en clave clínica.

   >> PARA RE-VESTIR CON LA MARCA REAL:
      cambia solo las variables de :root. Todo lo demás se adapta.
   ========================================================================== */

/* ------------------------------- Tokens ---------------------------------- */
:root {
  /* Superficies */
  --bg:          #ffffff;
  --bg-2:        #f5f8fa;
  --bg-3:        #eef4f6;
  --surface:     #ffffff;
  --ink-surface: #0b1b24;          /* secciones oscuras de contraste */

  --line:        rgba(11,27,36,.09);
  --line-strong: rgba(11,27,36,.16);

  /* Texto */
  --ink:      #0b1b24;
  --ink-soft: #47606c;
  --muted:    #7c919c;
  --on-dark:  #eef6f8;

  /* Marca — cámbiala por los colores de la clínica */
  --brand:      #0e9f9a;
  --brand-2:    #21c7bd;
  --brand-deep: #077a83;
  --brand-soft: rgba(14,159,154,.10);
  --brand-line: rgba(14,159,154,.28);

  --grad-brand: linear-gradient(120deg, #21c7bd 0%, #0e9f9a 48%, #077a83 100%);
  --grad-soft:  linear-gradient(160deg, #f2fbfa 0%, #eaf4f7 100%);

  /* Tipografía */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Ritmo */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --shadow-sm: 0 2px 10px -4px rgba(11,27,36,.14);
  --shadow:    0 24px 60px -30px rgba(11,27,36,.35);
  --shadow-lg: 0 40px 90px -40px rgba(11,27,36,.42);
  --shadow-brand: 0 18px 40px -16px rgba(14,159,154,.45);
}

/* ------------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
ul { list-style: none; padding: 0; }

::selection { background: var(--brand); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #cddbe1; border-radius: 20px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #b3c6ce; }

/* Accesibilidad: foco visible sin ensuciar el diseño */
:focus-visible { outline: 3px solid var(--brand-line); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------ Layout ----------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 8vw, 92px); }
.section--soft { background: var(--bg-2); }
.section--gradient { background: var(--grad-soft); }

/* --------------------------- Tipografía ---------------------------------- */
.display { font-weight: 700; line-height: 1.03; letter-spacing: -.035em; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }

.eyebrow {
  font-size: .76rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--grad-brand); display: inline-block; }

.h1 { font-size: clamp(2.6rem, 7.2vw, 5rem); }
.h2 { font-size: clamp(1.95rem, 4.4vw, 3.15rem); }
.h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.lead { font-size: clamp(1.04rem, 1.5vw, 1.22rem); color: var(--ink-soft); font-weight: 400; }
.muted { color: var(--muted); }
.brand-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }

/* ------------------------------ Botones ---------------------------------- */
.btn {
  --pad-y: 15px; --pad-x: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .3s, color .3s, border-color .3s;
  will-change: transform;
  position: relative;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-brand:hover { transform: translateY(-3px); box-shadow: 0 26px 55px -18px rgba(14,159,154,.55); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-lg { --pad-y: 18px; --pad-x: 38px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ------------------------------- Navbar ---------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), backdrop-filter .5s, border-color .5s, box-shadow .5s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .4s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px -12px rgba(11,27,36,.3);
}
.nav.scrolled .nav__inner { padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  box-shadow: var(--shadow-brand);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__name { font-size: 1.14rem; letter-spacing: -.03em; line-height: 1.15; }
.brand__name small {
  display: block; font-size: .58rem; letter-spacing: .28em;
  color: var(--muted); text-transform: uppercase; font-weight: 600; margin-top: 2px;
}

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  padding: 10px 15px; border-radius: 100px; font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  transition: color .3s, background .3s;
}
.nav__links a:hover { color: var(--ink); background: rgba(11,27,36,.05); }
.nav__links a.active { color: var(--brand-deep); font-weight: 600; }

/* El botón del menú: `.nav__links a` es más específico que `.btn-brand`,
   así que hay que devolverle a mano el color y el aire del botón. */
.nav__links a.nav__cta {
  margin-left: 8px;
  padding: 13px 26px;
  color: #fff;
  background: var(--grad-brand);
}
.nav__links a.nav__cta:hover { color: #fff; background: var(--grad-brand); }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 350px);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 6px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(24px);
    padding: 40px 26px; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .5s var(--ease-out);
    box-shadow: -30px 0 60px -40px rgba(11,27,36,.5);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 15px 18px; font-size: 1.08rem; }
  .nav__links .nav__cta { margin: 14px 0 0; }
  .nav__toggle { display: block; }
}

/* ------------------------------- Hero ------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(130px, 18vh, 180px) 0 clamp(70px, 10vw, 110px);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 55% at 78% 8%, rgba(33,199,189,.20), transparent 62%),
    radial-gradient(60% 50% at 10% 95%, rgba(14,159,154,.12), transparent 60%),
    linear-gradient(180deg, #f6fcfc 0%, #ffffff 62%);
}
.hero__blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .5;
  pointer-events: none;
}
.hero__blob--1 { width: 420px; height: 420px; top: -80px; right: -60px; background: rgba(33,199,189,.35); }
.hero__blob--2 { width: 340px; height: 340px; bottom: -120px; left: -80px; background: rgba(120,190,255,.28); }

.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero .h1 { margin: 20px 0 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 52px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; color: var(--ink); }
.hero__meta span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Tarjeta flotante del hero (mock de la hora reservada) */
.hero__visual { position: relative; perspective: 1400px; }
.hero__card {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--ease-out);
  transform-style: preserve-3d;
}
.hero__card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.hero__card-head .av {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 700;
}
.hero__card-head b { display: block; letter-spacing: -.02em; }
.hero__card-head span { font-size: .84rem; color: var(--muted); }
.hero__card-rows { display: grid; gap: 2px; margin-top: 6px; }
.hero__card-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hero__card-rows div:last-child { border-bottom: 0; }
.hero__card-rows dt, .hero__card-rows span:first-child { color: var(--muted); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.hero__card-rows span:last-child { font-weight: 600; letter-spacing: -.01em; }
.hero__card-state {
  margin-top: 20px; display: flex; align-items: center; gap: 10px;
  background: var(--brand-soft); color: var(--brand-deep);
  border: 1px solid var(--brand-line); border-radius: 14px; padding: 13px 16px;
  font-weight: 600; font-size: .92rem;
}
.hero__pill {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 11px 18px; font-size: .86rem; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }
.hero__pill--1 { top: -22px; left: -18px; animation: float 6s var(--ease) infinite; }
.hero__pill--2 { bottom: -20px; right: -14px; animation: float 7.5s var(--ease) infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 20px; }
  .hero__pill--1 { left: 0; }
  .hero__pill--2 { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__pill--1, .hero__pill--2 { animation: none; } }

/* --------------------------- Cinta de previsiones ------------------------ */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding-block: 18px; }
.marquee__track { display: flex; gap: 52px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .96rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; letter-spacing: -.01em;
}
.marquee__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------- Servicios --------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(33,199,189,.14), transparent 65%);
  transition: opacity .5s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.svc-card:hover::before { opacity: 1; }
.svc-card .ic {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 6px;
  transition: transform .5s var(--ease-out);
}
.svc-card:hover .ic { transform: scale(1.08) rotate(-4deg); }
.svc-card h3 { font-size: 1.22rem; letter-spacing: -.025em; font-weight: 700; }
.svc-card p { color: var(--ink-soft); font-size: .95rem; }
.svc-card .price { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--brand-deep); font-size: .92rem; }
.svc-card .more { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brand-deep); font-size: .92rem; }
.svc-card .more svg { transition: transform .4s var(--ease-out); }
.svc-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 940px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* Filtros de servicios */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }
.filters button {
  padding: 11px 22px; border-radius: 100px; font-weight: 600; font-size: .93rem;
  color: var(--ink-soft); border: 1px solid var(--line); background: var(--surface);
  transition: all .35s var(--ease);
}
.filters button:hover { border-color: var(--brand-line); color: var(--brand-deep); }
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-card[hidden] { display: none; }

/* ----------------------------- Pasos (cómo funciona) --------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: paso; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step__num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; letter-spacing: -.025em; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* --------------------- Antes / Después (comparador) ---------------------- */
.compare {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; border: 1px solid var(--line); box-shadow: var(--shadow);
  touch-action: none; cursor: ew-resize; user-select: none;
  background: var(--bg-3);
}
.compare__side { position: absolute; inset: 0; display: grid; place-items: center; }
.compare__side .ph {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.85);
}
.compare__before { background: linear-gradient(140deg, #6d7b83, #384850); }
.compare__after  { background: linear-gradient(140deg, #24c8be, #0b8f94); clip-path: inset(0 0 0 50%); }
.compare__side img { width: 100%; height: 100%; object-fit: cover; }
.compare__label {
  position: absolute; top: 18px; padding: 8px 16px; border-radius: 100px;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  background: rgba(11,27,36,.55); color: #fff; backdrop-filter: blur(8px);
}
.compare__label--l { left: 18px; }
.compare__label--r { right: 18px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  transform: translateX(-50%); box-shadow: 0 0 18px rgba(0,0,0,.35);
}
.compare__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  box-shadow: 0 8px 24px -6px rgba(11,27,36,.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%230b1b24' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6l-4 6 4 6M15 6l4 6-4 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.compare__hint { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 14px; }

/* ------------------------------ Split ------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg); min-height: 440px; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--grad-soft);
  display: grid; place-items: center;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split__media .ph { color: var(--muted); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.split__media .tag-float {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px; padding: 15px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.split__media .tag-float span { color: var(--brand-deep); font-weight: 700; }

.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); }
.feature-list b { display: block; letter-spacing: -.02em; }
.feature-list p { color: var(--ink-soft); font-size: .94rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .split__media { min-height: 300px; } }

/* ------------------------------ Equipo ----------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo {
  aspect-ratio: 4 / 3; position: relative; overflow: hidden;
  background: var(--pho, linear-gradient(150deg,#e6f4f5,#d5e7ec));
  display: grid; place-items: center;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__photo .ph { color: var(--muted); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.team-card__body { padding: 22px 24px 26px; }
.team-card__body b { display: block; font-size: 1.08rem; letter-spacing: -.025em; }
.team-card__body .role { color: var(--brand-deep); font-weight: 600; font-size: .88rem; margin-top: 2px; }
.team-card__body p { color: var(--ink-soft); font-size: .92rem; margin-top: 10px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------------------------- Testimonios -------------------------------- */
.quotes { position: relative; }
.quotes__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.quotes__track { display: flex; transition: transform .7s var(--ease-out); }
.quote {
  min-width: 100%; padding: clamp(32px, 5vw, 56px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-align: center;
}
.quote .stars { color: #f5a623; letter-spacing: .18em; font-size: 1rem; }
.quote p { font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.02em; line-height: 1.45; margin: 20px auto 22px; max-width: 44ch; }
.quote b { display: block; letter-spacing: -.02em; }
.quote span { color: var(--muted); font-size: .88rem; }
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 26px; }
.dots { display: flex; gap: 9px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; background: #cfdde2; transition: all .4s var(--ease); }
.dots button.active { background: var(--grad-brand); width: 28px; border-radius: 10px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft); background: var(--surface);
  transition: all .3s;
}
.arrows button:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }

/* -------------------------------- FAQ ------------------------------------ */
.faq { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(1.02rem, 1.8vw, 1.14rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink);
  transition: color .3s;
}
.faq__q:hover { color: var(--brand-deep); }
.faq__q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230e9f9a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 1v12M1 7h12'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .45s var(--ease-out);
}
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(135deg); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease-out); }
.faq__a p { color: var(--ink-soft); padding-bottom: 26px; max-width: 62ch; }

/* ------------------------------ Formularios ------------------------------ */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.form-aside { position: sticky; top: 110px; }
.form-aside .h2 { margin: 16px 0 18px; }
.aside-list { display: grid; gap: 20px; margin-top: 32px; }
.aside-list li { display: flex; gap: 14px; align-items: flex-start; }
.aside-list .ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); }
.aside-list b { display: block; margin-bottom: 2px; letter-spacing: -.02em; }
.aside-list p { color: var(--ink-soft); font-size: .92rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-soft); margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .with-prefix { display: flex; align-items: stretch; }
.field .with-prefix .prefix {
  display: grid; place-items: center; padding-inline: 15px;
  background: var(--bg-3); border: 1px solid var(--line); border-right: 0;
  border-radius: 14px 0 0 14px; color: var(--ink-soft); font-weight: 600;
}
.field .with-prefix input { border-radius: 0 14px 14px 0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #a4b4bc; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0645b; box-shadow: 0 0 0 4px rgba(224,100,91,.12); }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 7px; display: block; }
.field .error { font-size: .78rem; color: #c94b41; margin-top: 7px; display: none; align-items: center; gap: 6px; }
.field.invalid .error { display: flex; }
.field.valid input:not(:placeholder-shown) { border-color: rgba(14,159,154,.45); }

.form-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; }
.form-consent input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.form-consent label { font-size: .86rem; color: var(--muted); }

.form-note {
  padding: 16px 20px; border-radius: 16px; background: var(--bg-2);
  border: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem;
}
.form-note--error { border-color: rgba(201,75,65,.35); background: rgba(201,75,65,.06); color: #a63b32; }

/* Confirmación */
.form-success { text-align: center; padding: 16px 6px; animation: fadeUp .6s var(--ease-out); }
.form-success .check {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep);
  animation: pop .6s var(--ease-out);
}
.form-success h3 { font-size: 1.7rem; letter-spacing: -.03em; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }
.ticket {
  margin: 26px auto 0; max-width: 420px; text-align: left;
  border: 1px dashed var(--line-strong); border-radius: 18px; padding: 18px 22px; background: var(--bg-2);
}
.ticket div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ticket div:last-child { border-bottom: 0; }
.ticket span:first-child { color: var(--muted); flex: none; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.ticket span:last-child { text-align: right; font-weight: 600; word-break: break-word; }

/* Botones «Agregar a mi calendario» en la confirmación */
.cal-actions { margin-top: 26px; }
.cal-actions__title { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.cal-actions__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cal-actions__btns .btn { --pad-y: 12px; --pad-x: 20px; font-size: .92rem; }
.cal-actions__btns .btn svg { color: var(--brand-deep); }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .form-wrap { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  form .grid-2 { grid-template-columns: 1fr; }
}

/* -------------------- Reserva de hora en 3 pasos ------------------------- */
.wizard__bar { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.wizard__dot { display: flex; align-items: center; gap: 10px; flex: 1; }
.wizard__dot i {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-style: normal; font-size: .82rem; font-weight: 700;
  background: var(--bg-3); color: var(--muted); border: 1px solid var(--line);
  transition: all .4s var(--ease);
}
.wizard__dot b { font-size: .84rem; font-weight: 600; color: var(--muted); letter-spacing: -.01em; transition: color .4s; }
.wizard__dot::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px; transition: background .5s var(--ease); }
.wizard__dot:last-child { flex: none; }
.wizard__dot:last-child::after { display: none; }
.wizard__dot.done i, .wizard__dot.current i { background: var(--grad-brand); color: #fff; border-color: transparent; }
.wizard__dot.done b, .wizard__dot.current b { color: var(--ink); }
.wizard__dot.done::after { background: var(--brand); }
@media (max-width: 620px) { .wizard__dot b { display: none; } }

.wizard__step { display: none; animation: fadeUp .5s var(--ease-out); }
.wizard__step.active { display: block; }
.wizard__actions { display: flex; gap: 12px; margin-top: 8px; }
.wizard__actions .btn { flex: 1; }

/* Selector visual de servicio */
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; transition: all .35s var(--ease);
  font-weight: 600; letter-spacing: -.01em;
}
.choice span small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.choice span:hover { border-color: var(--brand-line); background: #fff; }
.choice input:checked + span {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.choice input:focus-visible + span { outline: 3px solid var(--brand-line); outline-offset: 2px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }

/* Horas disponibles */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
  display: block; text-align: center; padding: 13px 8px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--bg-2); cursor: pointer;
  font-weight: 600; font-size: .95rem; transition: all .3s var(--ease);
}
.slot span:hover { border-color: var(--brand-line); background: #fff; }
.slot input:checked + span { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.slot input:disabled + span { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* Resumen del paso 3 */
.summary { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 6px 20px; margin-bottom: 24px; }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary span:first-child { color: var(--muted); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.summary span:last-child { font-weight: 600; text-align: right; }

/* --------------------------- Info / contacto ----------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-line); }
.info-card .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); margin-bottom: 18px; }
.info-card h3 { font-size: 1.14rem; letter-spacing: -.025em; margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--ink-soft); }
.info-card a:hover { color: var(--brand-deep); }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  position: relative; background: var(--bg-3); aspect-ratio: 4 / 3; min-height: 340px;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* Horario */
.hours { display: grid; gap: 2px; }
.hours div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours .day { color: var(--ink-soft); }
.hours .time { color: var(--brand-deep); font-weight: 600; }
.hours .closed { color: var(--muted); font-weight: 500; }
.hours div.today { background: var(--brand-soft); border-radius: 10px; padding-inline: 12px; }

/* --------------------------- Franja CTA ---------------------------------- */
.cta-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  padding: clamp(46px, 7vw, 84px); text-align: center; color: #fff;
  background: var(--ink-surface);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(80% 120% at 50% -20%, rgba(33,199,189,.42), transparent 62%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: var(--brand-2); }
.cta-band .eyebrow::before { background: var(--brand-2); }
.cta-band .h2 { margin: 16px 0 16px; }
.cta-band .lead { color: rgba(238,246,248,.78); }
.cta-band .btn { margin-top: 30px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }

/* ------------------------------- Footer ---------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 66px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.footer a { color: var(--ink-soft); display: inline-block; padding: 5px 0; transition: color .3s; }
.footer a:hover { color: var(--brand-deep); }
.footer__brand p { color: var(--muted); max-width: 34ch; margin: 16px 0 20px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); background: var(--surface); transition: all .3s; }
.socials a:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-3px); }
.footer__bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* --------------------------- Reveal on scroll ---------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* --------------------------- Hero de subpáginas -------------------------- */
.page-hero { padding: clamp(122px, 15vh, 156px) 0 10px; position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 100% at 82% 0%, rgba(33,199,189,.16), transparent 60%), linear-gradient(180deg, #f7fcfc, #ffffff);
}

/* --------------------------------- Util ---------------------------------- */
.stack-sm { display: grid; gap: 10px; }
.divider { height: 1px; background: var(--line); margin-block: 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line-strong); font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 160%);
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 100px; z-index: 200; box-shadow: var(--shadow);
  transition: transform .5s var(--ease-out); font-weight: 500; display: flex; gap: 10px; align-items: center;
  max-width: calc(100vw - 40px);
}
.toast.show { transform: translate(-50%, 0); }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); flex: none; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6);
  transition: transform .4s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }

/* Contenido de páginas genéricas del editor */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { letter-spacing: -.03em; margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
