/* ==========================================================
   Cristina Reyes G. · Abogada de Familia
   Dirección 1a "Clásica": marfil, marino y dorado
   ========================================================== */

:root {
  /* Paleta */
  --navy: #0B2A5B;
  --royal: #1E4FA3;
  --mist: #EAF1FB;
  --ivory: #FAF8F3;
  --white: #FFFFFF;
  --gold: #B8975A;
  --gold-text: #8C6F38;        /* dorado oscurecido para texto pequeño sobre marfil (contraste AA) */
  --text: #1F2430;
  --text-2: #5B6472;
  --line: #ECE6D9;
  --line-2: #E4DFD3;
  --wa: #1EA952;
  --wa-dark: #16813F;
  --ok: #1E7F4F;  --ok-bg: #E6F4EC;
  --err: #B42318; --err-bg: #FDECEA;
  --muted-bg: #EFEDE8; --muted: #8A8478;

  /* Tipografía */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Medidas */
  --gutter: clamp(18px, 4vw, 48px);
  --max: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; padding: 12px; background: var(--navy); color: #fff; text-align: center; z-index: 60; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow { font-size: 12px; letter-spacing: .22em; color: var(--gold-text); font-weight: 700; }
.rule { display: block; width: 48px; height: 1px; background: var(--gold); }

h2 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; color: var(--navy); text-wrap: balance; }
h3 { font-family: var(--serif); color: var(--navy); }

.section { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.section-head { gap: 14px; margin-bottom: clamp(32px, 5vw, 48px); }
.section-lead { font-size: 17px; color: var(--text-2); max-width: 560px; }

.ico { width: 18px; height: 18px; flex: none; }
.ico-line { width: 26px; height: 26px; flex: none; color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s;
}
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-wa-outline { background: transparent; color: var(--wa-dark); border-color: var(--wa); }
.btn-wa-outline:hover { background: var(--ok-bg); color: var(--wa-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: #E4E1DA; color: #77736B; border-color: transparent; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.btn-link { background: none; border: 0; padding: 0; color: var(--royal); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- Monograma ---------- */
.mono {
  width: 44px; height: 44px; flex: none; border: 1px solid var(--gold); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 16px; letter-spacing: .04em; color: var(--navy);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--serif); font-size: 21px; line-height: 1; color: var(--navy); }
.brand-sub { font-size: 10px; letter-spacing: .22em; white-space: nowrap; color: var(--gold-text); font-weight: 700; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 243, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.main-nav { display: none; }
.main-nav a { color: var(--text); font-size: 15px; white-space: nowrap; }
.main-nav a:hover { color: var(--royal); }

.menu-toggle { width: 44px; height: 44px; border: 0; background: none; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; height: 1.5px; width: 22px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-toggle span:last-child { width: 14px; align-self: flex-end; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { width: 22px; transform: translateY(-6.5px) rotate(-45deg); }

/* Menú desplegable en celular */
.nav-open .main-nav {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  box-shadow: 0 16px 24px rgba(11, 42, 91, .08);
}
.nav-open .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; color: var(--navy); }
.nav-open .main-nav a:last-child { border-bottom: 0; }

.hide-mobile { display: none; }
@media (max-width: 400px) { .brand-sub { letter-spacing: .12em; } .brand { gap: 10px; } .mono { width: 40px; height: 40px; font-size: 14px; } .brand-name { font-size: 19px; } .header-actions .btn-sm { padding: 0 14px; } }

@media (min-width: 1100px) {
  .main-nav { display: flex; gap: 26px; white-space: nowrap; }
  .menu-toggle { display: none; }
  .hide-mobile { display: inline; }
  .btn.hide-mobile { display: inline-flex; }
}

/* ---------- Portada ---------- */
.hero {
  display: grid; gap: clamp(36px, 6vw, 72px); align-items: center;
  padding-top: clamp(36px, 7vw, 88px); padding-bottom: clamp(48px, 6vw, 80px);
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.06; color: var(--navy); text-wrap: balance; }
.hero h1 em, .closing em { font-style: italic; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 520px; text-wrap: pretty; }
.hero .btn-row { flex-direction: column; width: 100%; margin-top: 4px; }
.hero .btn-row .btn { width: 100%; }
.meta-line { font-size: 14px; color: var(--text-2); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; align-items: center; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.photo {
  position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, #ECE6D9 0 8px, #F3EEE4 8px 16px);
  display: flex; justify-content: center; padding: 24px;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-arch-top { height: clamp(380px, 46vw, 560px); border-radius: 1000px 1000px 4px 4px; align-items: flex-end; }
.photo-arch-bottom { height: clamp(380px, 40vw, 500px); border-radius: 4px 4px 1000px 1000px; align-items: flex-start; }
.photo-label { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #6F6857; background: var(--ivory); padding: 4px 10px; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; }
  .hero-copy { text-align: left; align-items: flex-start; }
  .hero .btn-row { flex-direction: row; width: auto; }
  .hero .btn-row .btn { width: auto; }
  .meta-line { justify-content: flex-start; }
}

/* ---------- Franja de confianza ---------- */
.trust { background: var(--navy); }
.trust-list { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.trust-list li { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 15px; line-height: 1.4; }
@media (min-width: 560px) { .trust-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .trust-list { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .trust-list li { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- Por qué una abogada ---------- */
.why .center { gap: 20px; }
.compare-wrap { margin-top: clamp(32px, 5vw, 48px); max-width: 920px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 16px clamp(14px, 3vw, 28px); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.45; border-bottom: 1px solid var(--line); width: 50%; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--text-2); background: var(--ivory); }
.compare th + th { color: var(--navy); background: var(--mist); }
.compare td { color: var(--text-2); }
.compare td + td { color: var(--text); background: rgba(234, 241, 251, .45); font-weight: 700; }
.compare td + td::before {
  content: ""; display: inline-block; width: 14px; height: 8px; margin-right: 10px; vertical-align: .2em;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
@media (min-width: 720px) { .compare th, .compare td { font-size: 17px; padding-top: 20px; padding-bottom: 20px; } }

.letter { margin-top: clamp(40px, 6vw, 64px); margin-bottom: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.letter blockquote { margin: 0; }
.letter blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.letter figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sign { font-family: var(--serif); font-size: 26px; color: var(--navy); }

/* ---------- Servicios ---------- */
.services { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.service { background: var(--ivory); padding: 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.numeral { font-family: var(--serif); font-size: 16px; color: var(--gold-text); }
.service h3 { font-size: 27px; line-height: 1.1; }
.service p { font-size: 15px; color: var(--text-2); flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--wa-dark); align-self: flex-start; }
.service-link:hover { color: var(--navy); }
.service-link .ico { transition: transform .18s; }
.service-link:hover .ico { transform: translateX(3px); }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } .service { padding: 36px 32px; } }

/* ---------- Cómo trabajo ---------- */
.steps-section { background: var(--mist); }
.steps { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 6px; padding: 20px 0; border-top: 1px solid rgba(11, 42, 91, .1); }
.steps li:first-child { border-top: 0; }
.step-num { grid-row: span 2; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); }
.steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; color: var(--navy); }
.steps p { font-size: 15px; color: var(--text-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps li { display: flex; flex-direction: column; gap: 12px; padding: 0; border-top: 0; }
}

/* ---------- Sobre mí ---------- */
.about { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-copy > p { font-size: 17px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
.ticks { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; font-size: 15px; }
.ticks li::before { content: ""; width: 16px; height: 1px; background: var(--gold); flex: none; transform: translateY(-4px); }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; } }

/* ---------- Testimonios ---------- */
.test-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.testimonial { background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5; }
.testimonial .who { font-size: 13px; letter-spacing: .12em; color: var(--gold-text); font-weight: 700; }

/* ---------- Reservar (sección) ---------- */
.reserve { padding-top: 0; }
.reserve-card {
  background: var(--white); border: 1px solid var(--line-2); border-radius: 24px;
  padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; align-items: center;
  box-shadow: 0 24px 48px -32px rgba(11, 42, 91, .25);
}
.reserve-copy { display: flex; flex-direction: column; gap: 14px; }
.reserve-copy p:last-child { color: var(--text-2); font-size: 17px; }
.reserve-facts { display: grid; gap: 16px; }
.reserve-facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.reserve-facts strong { display: block; color: var(--navy); font-size: 17px; }
.reserve-card .btn { width: 100%; }
@media (min-width: 900px) {
  .reserve-card { grid-template-columns: 1.2fr 1fr; }
  .reserve-card .btn { grid-column: 1 / -1; justify-self: start; width: auto; }
}

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 23px; line-height: 1.25; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold-text); transform: translate(-50%, -50%); transition: transform .2s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 52px 24px 4px; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* ---------- Cierre ---------- */
.closing { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 104px) 0; }
.closing .center { gap: 20px; }
.closing h2 { color: #fff; font-size: clamp(40px, 5.4vw, 60px); }
.closing-sub { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 28px); color: #fff; }
.closing-meta { font-size: 15px; color: #C9D6EC; }
.closing .btn-row { margin-top: 8px; }
@media (max-width: 520px) { .closing .btn-row { flex-direction: column; width: 100%; } .closing .btn-row .btn { width: 100%; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: 14px; color: var(--text-2); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-tag { font-size: 14px; color: var(--text-2); }
.footer-info { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 40px; flex: 1; max-width: 720px; }
.footer-info dt { font-size: 11px; letter-spacing: .18em; color: var(--gold-text); font-weight: 700; }
.footer-info dd { margin: 4px 0 0; color: var(--text); }
.footer-info a { color: var(--text); }
.footer-info a:hover { color: var(--royal); }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; padding-bottom: 72px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(11, 42, 91, .25); transition: transform .18s, background-color .18s;
}
.wa-float:hover { color: #fff; background: var(--wa-dark); transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* ==========================================================
   RESERVA
   ========================================================== */
.booking {
  padding: 0; border: 0; background: var(--ivory); color: var(--text);
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0;
}
.booking::backdrop { background: rgba(11, 42, 91, .45); }
.booking[open] { display: flex; animation: sheet-in .22s ease-out; }
@keyframes sheet-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.booking-inner { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.booking-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; flex: none; }
.booking-step { font-size: 12px; letter-spacing: .16em; color: var(--gold-text); font-weight: 700; }
.icon-btn { width: 44px; height: 44px; border: 1px solid #DDD5C4; background: var(--white); border-radius: 50%; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { border-color: var(--royal); color: var(--royal); }
.booking-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.b-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 20px 20px; -webkit-overflow-scrolling: touch; }
.b-foot { flex: none; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.b-foot .btn { width: 100%; }
.b-foot-note { font-size: 13px; color: var(--text-2); text-align: center; }

@media (min-width: 640px) {
  .booking { width: min(560px, calc(100% - 32px)); height: auto; max-height: min(92vh, 900px); margin: auto; border-radius: 22px; box-shadow: 0 40px 80px -24px rgba(11, 42, 91, .45); }
  .booking-inner { max-height: min(92vh, 900px); }
  .booking-top { padding: 20px 24px 8px; }
  .b-scroll { padding: 0 24px 24px; }
  .b-foot { padding: 18px 24px 24px; border-radius: 0 0 22px 22px; }
}

.b-title { font-family: var(--serif); font-size: 34px; color: var(--navy); line-height: 1.1; }
.b-sub { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.b-block { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.b-label { font-size: 15px; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.b-label small { font-weight: 400; font-size: 13px; color: var(--text-2); }

/* Calendario */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 11px; letter-spacing: .08em; color: var(--text-2); text-align: center; padding-bottom: 2px; font-weight: 700; }
.day {
  position: relative; aspect-ratio: 1 / 1.05; min-height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; padding: 0;
  font-size: 17px; color: var(--text); transition: border-color .15s, background-color .15s;
}
.day:hover { border-color: var(--royal); }
.day .m { font-size: 10px; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; line-height: 1; }
.day.is-closed { background: #F0ECE3; border-color: transparent; color: var(--muted); }
.day.is-closed:hover { border-color: #D7CFBF; }
.day.is-full { color: var(--muted); }
.day.is-full::after { content: ""; position: absolute; bottom: 6px; width: 14px; height: 1.5px; background: #C9C1B1; }
.day.is-past { visibility: hidden; }
.day.is-selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.day.is-selected .m { color: #C9D6EC; }
.day.is-closed.is-selected { background: #E3DDD0; border-color: #CFC6B4; color: var(--text-2); }
.day.is-today:not(.is-selected)::before { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--text-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.lg-free { background: var(--white); border: 1px solid var(--line-2); }
.lg-closed { background: #F0ECE3; }
.lg-sel { background: var(--navy); }

/* Horas */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  height: 58px; border: 1px solid #D8DFEA; background: var(--white); border-radius: 12px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 16px; color: var(--text); transition: border-color .15s, background-color .15s; padding: 0;
}
.slot:hover { border-color: var(--royal); }
.slot small { font-size: 11px; line-height: 1; }
.slot.is-taken { border-color: transparent; background: var(--muted-bg); color: var(--muted); }
.slot.is-taken .t { text-decoration: line-through; }
.slot.is-past { border-color: transparent; background: var(--muted-bg); color: var(--muted); cursor: not-allowed; }
.slot.is-sel { border: 2px solid var(--royal); background: var(--mist); color: var(--navy); font-weight: 700; }
.slot.is-sel-taken { border: 2px solid var(--err); background: var(--err-bg); color: var(--err); }

.hint { font-size: 14px; color: var(--text-2); padding: 18px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; }

/* Mensajes de estado */
.msg { margin-top: 18px; padding: 14px 16px; border-radius: 12px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.msg-ico { width: 22px; height: 22px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; margin-top: 0; }
.msg-ico svg { width: 14px; height: 14px; }
.msg-ok { background: var(--ok-bg); color: var(--ok); }
.msg-ok .msg-ico { background: var(--ok); }
.msg-err { background: var(--err-bg); color: var(--err); flex-direction: column; }
.msg-err .msg-row { display: flex; gap: 12px; align-items: flex-start; }
.msg-err .msg-ico { background: var(--err); }
.msg-info { background: var(--mist); color: var(--navy); flex-direction: column; }
.msg-info .msg-row { display: flex; gap: 12px; align-items: flex-start; }
.msg-info .msg-ico { background: var(--navy); }
.msg-wait { background: var(--white); border: 1px solid var(--line-2); color: var(--text-2); align-items: center; }
.alts { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 34px; }
.alt { min-height: 40px; padding: 0 14px; background: var(--white); border: 1px solid #F3C7C2; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; }
.msg-info .alt { border-color: #C9D6EC; }
.alt:hover { border-color: var(--royal); }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--royal); animation: spin .8s linear infinite; flex: none; }
.btn .spinner { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton { background: linear-gradient(90deg, #F0ECE3 25%, #F7F4EE 37%, #F0ECE3 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 12px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* Formulario */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .flabel { font-size: 13px; font-weight: 700; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-2); }
.input {
  height: 52px; padding: 0 14px; border: 1px solid #C9D2E0; border-radius: 12px; background: var(--white);
  font-size: 16px; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%235B6472' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(30, 79, 163, .15); }
.input::placeholder { color: #8E96A3; }
.input-group { display: flex; align-items: stretch; }
.input-prefix { display: flex; align-items: center; padding: 0 12px; border: 1px solid #C9D2E0; border-right: 0; border-radius: 12px 0 0 12px; background: var(--ivory); color: var(--text-2); font-size: 16px; }
.input-group .input { border-radius: 0 12px 12px 0; }
.field.has-error .input, .field.has-error .input-prefix { border-color: var(--err); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.field-error { display: none; font-size: 13px; color: var(--err); line-height: 1.4; }
.field.has-error .field-error { display: flex; gap: 6px; align-items: flex-start; }
.field-help { font-size: 12px; color: var(--text-2); }
.form-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice legend { font-size: 13px; font-weight: 700; color: var(--text); padding: 0; margin-bottom: 6px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { height: 52px; border: 1px solid #C9D2E0; background: var(--white); border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: var(--text); }
.choice span svg { width: 20px; height: 20px; color: var(--text-2); }
.choice input:checked + span { border: 2px solid var(--royal); background: var(--mist); color: var(--navy); font-weight: 700; }
.choice input:checked + span svg { color: var(--royal); }
.choice input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.summary-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; margin-top: 16px; font-size: 14px; }
.summary-chip svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.summary-chip div { flex: 1; }
.summary-chip strong { display: block; color: var(--navy); font-size: 15px; }

/* Confirmación */
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 8px; }
.done-mark { width: 68px; height: 68px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ok); }
.done-mark svg { width: 30px; height: 30px; }
.done-text { font-size: 16px; color: var(--text-2); line-height: 1.65; max-width: 420px; }
.done-text strong { color: var(--text); }
.done-card { margin-top: 22px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; text-align: left; width: 100%; }
.done-card .row { display: flex; justify-content: space-between; gap: 12px; }
.done-card .row span:first-child { color: var(--text-2); }
.done-card .row span:last-child { text-align: right; }
.sk-day { aspect-ratio: 1 / 1.05; }
.booking-form { display: contents; }
a.alt { display: inline-flex; align-items: center; }
.done-back { align-self: center; min-height: 44px; text-decoration: none; }

/* Autorización de datos */
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; padding: 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--royal); cursor: pointer; }
.check a { color: var(--royal); text-decoration: underline; }
.field.has-error .check { border-color: var(--err); }

/* Sobre mí: texto largo */
.about-copy .about-lead { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 25px); line-height: 1.45; color: var(--navy); }
.footer-legal a { color: var(--text-2); text-decoration: underline; }
@media (min-width: 900px) {
  .about { align-items: start; }
  .about .photo { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Página legal */
.legal { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; color: var(--navy); }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 22px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal ul { padding-left: 4px; display: flex; flex-direction: column; gap: 6px; }
.legal li { display: flex; gap: 12px; }
.legal li::before { content: ""; width: 14px; height: 1px; background: var(--gold); flex: none; transform: translateY(13px); }
.legal a { text-decoration: underline; }
.legal-lead { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 24px) !important; color: var(--text) !important; line-height: 1.5 !important; }
.legal-date { margin-top: 18px; font-size: 14px !important; }
.site-footer .footer-legal:only-child { margin-top: 0; padding-bottom: 0; border-top: 0; padding-top: 0; }
