/* ============================================================
   Vero Abilés · Psicología — hoja de estilos
   ============================================================ */

:root {
  /* paleta tomada del logotipo: azul pizarra, marino, ocre y terracota sobre crema */
  --bg: #f7f4ee;
  --bg-soft: #efe9de;
  --surface: #ffffff;
  --ink: #232f3f;
  --ink-soft: #5a6675;
  --line: rgba(35, 47, 63, 0.1);

  --brand: #35597e;
  --brand-deep: #24406b;
  --brand-soft: #e4ecf2;
  --steel: #9fb6c4;
  --ochre: #e0a75c;
  --sand: #ecdfc3;
  --terracotta: #c9704f;

  --grad: linear-gradient(120deg, var(--brand) 0%, #7d98ac 55%, var(--ochre) 130%);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 60px -25px rgba(35, 47, 63, 0.25);
  --shadow-soft: 0 10px 35px -18px rgba(35, 47, 63, 0.2);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 112.5%; /* 18px base: escala toda la tipografía (todo el CSS usa rem) */
}

/* iOS Safari permite "bambolear" en horizontal si algo sobresale del viewport:
   el recorte debe estar en html Y body, y clip es más fiable que hidden
   (hidden convierte el body en contenedor de scroll; clip recorta sin más) */
html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: var(--brand); }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}
.container.narrow { max-width: 780px; }
.center { text-align: center; }

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.kicker.center { text-align: center; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-sub { color: var(--ink-soft); max-width: 560px; margin: 0 auto 2.5rem; }

.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* ---------- botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 0.95rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(53, 89, 126, 0.65);
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(53, 89, 126, 0.7);
}
.btn-primary:disabled {
  background: #b8c3cf;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

/* ---------- resplandor de cursor ---------- */

.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 30%),
    rgba(53, 89, 126, 0.07),
    transparent 65%
  );
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  padding: 0.55rem 0;
  background: rgba(250, 246, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f6f3ec;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  flex: none;
}
.brand-mark img {
  position: absolute;
  width: 170%;
  height: 170%;
  left: -69%;
  top: -6%;
  object-fit: cover;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.brand-text em { color: var(--brand); font-style: normal; }

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob-a { width: 520px; height: 520px; top: -140px; right: -120px; background: radial-gradient(circle, var(--steel), transparent 70%); }
.blob-b { width: 460px; height: 460px; bottom: -160px; left: -140px; background: radial-gradient(circle, var(--ochre), transparent 70%); animation-delay: -7s; }
.blob-c { width: 380px; height: 380px; top: 30%; left: 38%; background: radial-gradient(circle, var(--sand), transparent 70%); animation-delay: -14s; }
.blob-d { width: 480px; height: 480px; top: -120px; right: -160px; background: radial-gradient(circle, var(--brand-soft), transparent 70%); }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-40px, 30px) scale(1.08); }
  100% { transform: translate(35px, -25px) scale(0.96); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  backdrop-filter: blur(6px);
  margin-bottom: 1.4rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 89, 126, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(53, 89, 126, 0); }
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  gap: 2.6rem;
  margin: 0;
  flex-wrap: wrap;
}
.hero-stats > div { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--brand-deep);
  line-height: 1.1;
}
.hero-stats dd {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* respiración */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.breath {
  position: relative;
  width: min(320px, 70vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  outline-offset: 8px;
  border-radius: 50%;
}

.breath-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(53, 89, 126, 0.25);
  transition: transform 4s ease-in-out;
}
.breath-ring.r2 { inset: -9%; border-color: rgba(53, 89, 126, 0.12); }

.breath-circle {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 30px 70px -25px rgba(53, 89, 126, 0.55), inset 0 -12px 30px rgba(255, 255, 255, 0.25);
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  transform: scale(0.8);
  transition: transform 4s cubic-bezier(0.45, 0, 0.35, 1);
}
.breath.inhale .breath-circle { transform: scale(1.06); }
.breath.inhale .breath-ring.r1 { transform: scale(1.05); }
.breath.hold .breath-circle { transform: scale(1.06); }
.breath.exhale .breath-circle { transform: scale(0.8); transition-duration: 6s; }
.breath.exhale .breath-ring.r1 { transform: scale(1); transition-duration: 6s; }
.breath.paused .breath-circle { transform: scale(0.92); transition-duration: 0.8s; }

.breath-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}
.breath-count {
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
}
.breath-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ticker */

.ticker {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 5vh, 4rem);
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: ticker 30s linear infinite;
  align-items: center;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker-track i { color: var(--steel); font-style: normal; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- sobre mí ---------- */

.about {
  background: var(--surface);
  overflow-x: clip; /* el halo rotado del retrato y las tarjetas flotantes no deben ensanchar la página */
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 400px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.portrait-bg {
  position: absolute;
  inset: -3%;
  background: var(--grad);
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  opacity: 0.9;
  transform: rotate(-5deg);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
  33% { border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%; }
  66% { border-radius: 52% 48% 60% 40% / 45% 58% 42% 55%; }
}
.portrait-photo {
  position: relative;
  width: 94%;
  height: 94%;
  overflow: hidden;
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
  animation: morph 14s ease-in-out infinite;
  animation-delay: -4s;
  background: #f6f3ec;
  box-shadow: var(--shadow);
}
.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%; /* mantiene el rostro centrado al recortar */
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.portrait:hover .portrait-photo img { transform: scale(1.06); }


.float-card {
  position: absolute;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.fc-1 { top: 8%; left: -12%; }
.fc-2 { bottom: 22%; right: -14%; animation-delay: -2s; }
.fc-3 { bottom: -4%; left: 2%; animation-delay: -4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chips {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chips li {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.about-social { margin-top: 1.3rem; }
.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  transition: all 0.25s ease;
}
.insta-link:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ---------- servicios ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.services-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.service-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.service-card:hover {
  box-shadow: var(--shadow);
}
.service-card.featured {
  background: linear-gradient(160deg, #fff 0%, var(--brand-soft) 130%);
  border-color: rgba(53, 89, 126, 0.3);
}
.service-card .tag {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.service-icon {
  font-size: 1.9rem;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-radius: 18px;
  margin-bottom: 1.1rem;
}
.service-card p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.service-meta .price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-deep);
}

/* ---------- método ---------- */

.method { background: var(--brand-deep); color: #f0f5f2; }
.method .kicker { color: var(--steel); }
.method h2 { color: #fff; }

.steps {
  list-style: none;
  padding: 0;
  margin: 3.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s, transform 0.3s;
}
.step:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--steel);
  display: block;
  margin-bottom: 0.4rem;
}
.step h3 { color: #fff; margin-bottom: 0.4rem; }
.step p { color: rgba(240, 245, 242, 0.75); font-size: 0.92rem; margin: 0; }

/* ---------- testimonios ---------- */

.quote-carousel {
  position: relative;
  margin-top: 2.5rem;
  min-height: 240px;
}
.quote {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.quote footer { color: var(--brand); font-weight: 600; font-size: 0.9rem; }

.quote-dots {
  position: absolute;
  bottom: -2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.dot.is-active { background: var(--brand); transform: scale(1.3); }

/* ---------- reserva / wizard ---------- */

.booking { background: var(--bg-soft); overflow: hidden; }
.booking .container { position: relative; z-index: 1; }

.wizard {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.wizard-progress {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0 0 2.2rem;
  position: relative;
  gap: 0.5rem;
}
.wizard-progress::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.wizard-progress li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  flex: 1;
  text-align: center;
}
.wizard-progress li span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 2px solid var(--line);
  font-weight: 600;
  transition: all 0.3s;
}
.wizard-progress li.is-active { color: var(--brand-deep); }
.wizard-progress li.is-active span {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(53, 89, 126, 0.15);
}
.wizard-progress li.is-done span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.wstep { display: none; animation: stepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.wstep.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(26px); }
  to { opacity: 1; transform: none; }
}

.wstep-title {
  text-align: center;
  margin-bottom: 1.6rem;
  font-size: 1.35rem;
}

/* paso 1: servicios */

.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.service-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-option:hover { border-color: var(--steel); transform: translateY(-2px); }
.service-option.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(53, 89, 126, 0.12);
}
.service-option .so-icon { font-size: 1.5rem; }
.service-option .so-body { flex: 1; }
.service-option .so-name { font-weight: 600; display: block; }
.service-option .so-meta { font-size: 0.82rem; color: var(--ink-soft); }
.service-option .so-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--brand-deep);
}

/* paso 2: calendario y huecos */

.datetime {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  align-items: start;
}

.calendar {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  background: var(--surface);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.cal-title { font-weight: 600; text-transform: capitalize; }
.cal-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.cal-nav:hover:not(:disabled) { background: var(--brand); color: #fff; border-color: var(--brand); }
.cal-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.cal-week, .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-week span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.3rem 0;
}
.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font: 500 0.88rem var(--font-body);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
}
.cal-day:hover:not(:disabled) { background: var(--brand-soft); transform: scale(1.06); }
.cal-day:disabled { color: #c6ccd4; cursor: not-allowed; }
.cal-day.has-slots::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel);
}
.cal-day.is-selected {
  background: var(--brand);
  color: #fff;
}
.cal-day.is-selected::after { background: #fff; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--steel); }

.slots-title { font-weight: 500; color: var(--ink-soft); font-size: 0.92rem; text-transform: capitalize; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.slot {
  padding: 0.7rem 0.4rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font: 600 0.92rem var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}
.slot:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.slot:disabled {
  text-decoration: line-through;
  color: #c6ccd4;
  cursor: not-allowed;
  background: var(--bg);
}
.slot.is-selected {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(53, 89, 126, 0.6);
}
.slots-empty {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem 0;
}

/* paso 3: formulario */

.booking-form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 560px; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.field-row { display: flex; gap: 1.1rem; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  font: 400 0.98rem var(--font-body);
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(53, 89, 126, 0.12);
}
.field input.invalid { border-color: #c96f5a; }

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.5rem;
  transition: background-color 0.2s;
}
.consent input {
  margin-top: 0.22rem;
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent a { font-weight: 600; }
.consent.invalid { outline: 1.5px solid #c96f5a; background: #fbeae5; }
.consent-info {
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0.2rem 0 0;
  padding: 0 0.5rem;
}

/* paso 4: resumen */

.summary {
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
}
.summary-row:nth-child(odd) { background: var(--bg); }
.summary-row .k { color: var(--ink-soft); }
.summary-row .v { font-weight: 600; text-align: right; text-transform: capitalize; }
.summary-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

/* éxito */

.wstep-success { text-align: center; padding: 1.5rem 0; }
.check { width: 96px; height: 96px; margin-bottom: 1rem; }
.check-circle {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}
.check-mark {
  fill: none;
  stroke: var(--brand);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}
.wstep.is-active .check-circle { animation: draw 0.7s ease forwards; }
.wstep.is-active .check-mark { animation: draw 0.5s ease 0.55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.success-text { color: var(--ink-soft); max-width: 420px; margin: 0 auto 1.6rem; }
.success-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
}
.wizard-nav .btn:only-child { margin-left: auto; }

/* partículas de celebración */

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
}

/* ---------- faq ---------- */

.faq-list { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.4rem;
  transition: box-shadow 0.3s;
}
.faq-list details[open] { box-shadow: var(--shadow-soft); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 500;
  transition: transform 0.3s;
}
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* ---------- cta final ---------- */

.final-cta {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(159, 182, 196, 0.25), transparent),
    radial-gradient(600px 300px at 80% 100%, rgba(224, 167, 92, 0.18), transparent);
  overflow: hidden;
}
.final-cta p { color: var(--ink-soft); margin-bottom: 1.8rem; }
.final-cta .container { position: relative; }

/* marca de agua de la mariposa — presente, diluida, en cada sección clara */
.watermark {
  position: absolute;
  top: 50%;
  width: min(400px, 42vw);
  opacity: 0.1;
  mix-blend-mode: multiply; /* funde el fondo crema del JPEG con la página */
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.wm-right { right: -3%; transform: translateY(-50%) rotate(8deg); }
.wm-left { left: -3%; transform: translateY(-50%) rotate(-8deg); }
.section { overflow-x: clip; }
.section > .container { position: relative; z-index: 1; }

/* ---------- footer ---------- */

.footer {
  background: var(--brand-deep);
  color: rgba(240, 245, 242, 0.8);
  padding: 3.5rem 0 1.5rem;
}
.footer .brand { color: #fff; }
.footer .brand-mark { border-color: rgba(255, 255, 255, 0.25); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.7rem;
}
.footer p { font-size: 0.92rem; margin: 0; }
.footer a { color: var(--steel); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-note { margin-top: 0.8rem; font-size: 0.85rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  font-size: 0.8rem;
}
.admin-link { color: rgba(240, 245, 242, 0.5) !important; font-size: 0.8rem; }

/* ---------- admin ---------- */

.admin-overlay[hidden] { display: none; }

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(35, 47, 63, 0.45);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } }

.admin-panel {
  width: min(760px, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  animation: stepIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.admin-head h3 { margin: 0; }
.admin-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s;
}
.admin-close:hover { background: var(--ink); color: #fff; }

.admin-stats {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.admin-stat {
  flex: 1;
  min-width: 130px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.admin-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brand-deep);
}

.admin-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.appt {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}
.appt-when {
  flex: none;
  text-align: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.3;
  min-width: 74px;
  text-transform: capitalize;
}
.appt-who { flex: 1; min-width: 0; }
.appt-who strong { display: block; }
.appt-who span { color: var(--ink-soft); font-size: 0.82rem; overflow-wrap: anywhere; }
.appt-service {
  flex: none;
  font-size: 0.78rem;
  background: var(--bg);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  color: var(--ink-soft);
}
.appt-cancel {
  flex: none;
  border: 1px solid transparent;
  background: transparent;
  color: #c96f5a;
  font: 600 0.82rem var(--font-body);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.appt-cancel:hover { background: #fbeae5; border-color: #eac3b8; }
.admin-empty { text-align: center; color: var(--ink-soft); padding: 2rem 0; }

/* ---------- conversión: confianza, WhatsApp, barra móvil ---------- */

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin: -1.6rem 0 2.4rem;
}

.card-cta {
  margin-top: 0.9rem;
  border: 0;
  background: none;
  padding: 0;
  color: var(--brand);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.card-cta:hover { color: var(--brand-deep); text-decoration: underline; }

.week-availability {
  display: block;
  width: fit-content;
  margin: -1.2rem auto 2.2rem;
  padding: 0.5rem 1.3rem;
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brand-deep);
  text-align: center;
}
.week-availability:empty { display: none; }
.dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: 0.35rem;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}

.trust-chips {
  list-style: none;
  padding: 0;
  margin: 1.7rem auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.trust-chips li { display: flex; align-items: center; gap: 0.45rem; }

.floating-wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font: 600 0.9rem var(--font-body);
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, 0.55);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.floating-wa.show { opacity: 1; transform: none; pointer-events: auto; }
.floating-wa:hover { transform: translateY(-2px); }

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-cta-text { display: flex; flex-direction: column; line-height: 1.35; }
.mobile-cta-text strong { font-size: 0.92rem; }
.mobile-cta-text span { font-size: 0.75rem; color: var(--ink-soft); }

/* ---------- toasts ---------- */

.toast-zone {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: toastIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 90vw;
}
.toast.error { background: #a44a35; }
.toast.leaving { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.95); } }

/* ---------- responsive ---------- */

/* ---------- táctil (móvil y tablet, sin ratón) ---------- */

@media (hover: none) {
  .cursor-glow { display: none; }
  .portrait:hover .portrait-photo img { transform: none; }
  /* los enlaces/botones no se quedan "pegados" en estado hover */
  .service-card:hover { transform: none; }
}

/* ---------- tablet (≤ 980px) ---------- */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-stats { justify-content: center; }
  .trust-line { justify-content: center; }
  .breath { width: min(260px, 58vw); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  /* blobs más ligeros: el blur grande castiga la GPU de móviles y tablets */
  .blob { filter: blur(48px); opacity: 0.45; }
  .blob-c { display: none; }
}

/* ---------- menú hamburguesa (≤ 860px: en tablet pequeña ya no caben los enlaces) ---------- */

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
    gap: 1rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links a { padding: 0.35rem 0; } /* objetivo táctil más generoso */
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle { display: flex; }
}

/* ---------- móvil (≤ 720px) ---------- */

@media (max-width: 720px) {
  .nav-cta { display: none; }
  .nav { padding: 0.7rem 0; }

  .hero { padding-top: 5.5rem; }
  .hero-stats { gap: 1.4rem 2rem; }
  .stat-num { font-size: 1.7rem; }
  .breath-hint { display: none; }

  .quote-carousel { min-height: 340px; }

  .datetime { grid-template-columns: 1fr; }
  .service-options { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 1.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .wizard-progress li { font-size: 0; gap: 0; }
  .wizard-progress li span { font-size: 0.85rem; }
  .slot { padding: 0.85rem 0.4rem; } /* objetivo táctil ≥ 44px */

  .float-card { font-size: 0.72rem; padding: 0.45rem 0.8rem; }
  .fc-2 { bottom: 8%; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .appt { flex-wrap: wrap; }
  .appt-who { min-width: 55%; }
  .admin-panel { padding: 1.2rem; max-height: 92vh; }

  .mobile-cta { display: flex; }
  .mobile-cta.show { transform: none; }
  .floating-wa { bottom: 5rem; padding: 0.75rem; }
  .floating-wa-label { display: none; }
  .toast-zone { bottom: 5.5rem; }
}

/* ---------- móviles pequeños (≤ 480px) ---------- */

@media (max-width: 480px) {
  .container { width: calc(100% - 2.2rem); }
  .portrait-bg { inset: -2%; transform: rotate(-3deg); } /* menos vuelo del halo en pantallas estrechas */
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-line { gap: 0.35rem 0.9rem; font-size: 0.78rem; }
  .quote-carousel { min-height: 400px; }
  .success-actions { flex-direction: column; align-items: stretch; }
  .wizard-nav { flex-wrap: wrap; }
  .wizard-nav .btn { flex: 1; min-width: 8rem; }
}

/* ---------- accesibilidad: menos movimiento ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
