/* ---------- Cabecera ---------- */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ciruela); color: #fff; padding: .6em 1em; border-radius: 8px; }
.skip:focus { left: 16px; }

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--linea); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: auto; mix-blend-mode: multiply; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.brand__text span { font-size: .85rem; color: var(--ciruela-suave); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--frambuesa); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--linea); border-radius: 12px; background: var(--papel); cursor: pointer; padding: 0 11px; }
.menu-btn span { display: block; height: 2px; background: var(--ciruela); border-radius: 2px; }
.menu-btn span + span { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__place { font-weight: 600; color: var(--eucalipto); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.hero__place::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--eucalipto); box-shadow: 0 0 0 4px var(--eucalipto-velo); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; margin-bottom: .4em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ciruela-suave); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.creds { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; color: var(--ciruela-suave); }
.creds strong { color: var(--ciruela); font-weight: 600; }

/* La foto de Paula dentro de la huella del logo */
.footprint { position: relative; margin: 0; width: min(100%, 370px); justify-self: center; }
.footprint { padding-top: 33.333%; }
.footprint__toes { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; fill: var(--frambuesa); pointer-events: none; }
/* Huella en bucle: la planta y la tarjeta entran una vez; los dedos se «estampan» uno a uno
   de menor a mayor (el orden de los pasos de la reserva), se quedan un momento, se borran
   en el mismo orden y vuelven a empezar. Ciclo de 4,4 s; cada dedo va 0,22 s (5 %) después del anterior. */
.footprint__toes ellipse { transform-box: fill-box; transform-origin: center; animation: toe-loop 4.4s ease-out infinite both; }
.footprint__toes ellipse:nth-child(1) { animation-delay: .55s; }
.footprint__toes ellipse:nth-child(2) { animation-delay: .77s; }
.footprint__toes ellipse:nth-child(3) { animation-delay: .99s; }
.footprint__toes ellipse:nth-child(4) { animation-delay: 1.21s; }
.footprint__toes ellipse:nth-child(5) { animation-delay: 1.43s; }
@keyframes toe-loop {
  0% { opacity: 0; transform: scale(1.6); }
  6% { opacity: 1; transform: scale(.86); }
  9% { transform: scale(1.04); }
  11%, 70% { opacity: 1; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(1); }
}
/* Fuera de pantalla se pausa (lo controla site.js) */
.footprint.is-paused .footprint__toes ellipse { animation-play-state: paused; }
.footprint__sole { aspect-ratio: .66; clip-path: url(#sole); background: var(--frambuesa); padding: 12px; animation: sole-in .6s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes sole-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.footprint .nextslot { animation: card-in .45s ease-out 1.9s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
/* Con «reducir movimiento» activado (p. ej. Windows con los efectos de animación desactivados)
   no hay desplazamientos ni cambios de tamaño: los dedos aparecen y se borran con un fundido, también en bucle. */
@keyframes toe-fade-loop {
  0% { opacity: 0; }
  10%, 70% { opacity: 1; }
  80%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .footprint__sole, .footprint .nextslot { animation: none; }
  .footprint__toes ellipse { animation-name: toe-fade-loop !important; animation-duration: 4.4s !important; animation-timing-function: ease-in-out !important; }
}
.footprint__inner { display: block; width: 100%; height: 100%; clip-path: url(#sole); overflow: hidden; background: #eef0f2; }
.footprint__inner img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transform-origin: 50% 95%; }

.nextslot {
  position: absolute; left: -28px; bottom: 9%;
  display: grid; gap: 2px; padding: 14px 18px 14px 18px;
  background: var(--papel); border-radius: var(--r-m); box-shadow: var(--sombra);
  text-decoration: none; min-width: 230px; border: 1px solid var(--linea);
}
.nextslot__label { font-size: .85rem; color: var(--eucalipto); font-weight: 600; }
.nextslot__when { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.nextslot__cta { font-size: .9rem; font-weight: 600; color: var(--frambuesa-hondo); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.nextslot:hover .nextslot__cta { color: var(--frambuesa); }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--blush { background: var(--rubor); }
.section--euca { background: var(--eucalipto-velo); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: minmax(260px, .75fr) 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.services__intro { position: sticky; top: 104px; }
.services__intro p { color: var(--ciruela-suave); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.menu__group + .menu__group { margin-top: 40px; }
.menu__group h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ciruela-suave); margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ciruela); }
.svc { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--linea); }
.svc__name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin: 0 0 6px; }
.svc__desc { color: var(--ciruela-suave); margin: 0; max-width: 46ch; }
.svc__note { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--eucalipto); }
.svc__side { display: grid; justify-items: end; align-content: start; gap: 4px; text-align: right; }
.svc__price { font-family: var(--serif); font-size: 1.6rem; line-height: 1; white-space: nowrap; }
.svc__price--ask { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.svc__price small { font-family: var(--sans); font-size: .85rem; color: var(--ciruela-suave); margin-right: 4px; }
.svc__dur { font-size: .9rem; color: var(--ciruela-suave); white-space: nowrap; }
.svc__book { margin-top: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-weight: 600; color: var(--frambuesa-hondo); text-decoration: underline; text-underline-offset: 3px; }
.svc__book:hover { color: var(--frambuesa); }
.menu__aside { margin-top: 32px; padding: 18px 20px; border-radius: var(--r-m); background: var(--rubor); font-size: .95rem; color: var(--ciruela-suave); }
.menu__aside strong { color: var(--ciruela); }

/* ---------- Sobre Paula ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__seal img { width: min(100%, 340px); margin-inline: auto; mix-blend-mode: multiply; }
.about__text { max-width: 60ch; }
.about__text p { font-size: 1.1rem; line-height: 1.7; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--linea); }
.facts dt { font-size: .875rem; color: var(--ciruela-suave); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- Reserva ---------- */
.booking-head { max-width: 640px; margin-bottom: 32px; }
.booking-head p { color: var(--ciruela-suave); }
.booking { background: var(--rubor); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); border: 1px solid var(--linea); }

.toes { list-style: none; margin: 0 0 28px; padding: 0; display: flex; align-items: flex-end; gap: clamp(8px, 3vw, 40px); }
.toes li { flex: 0 0 auto; }
.toes button { display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 4px; cursor: pointer; }
.toes button[disabled] { cursor: default; }
.toe { display: block; border-radius: 50%; border: 2px solid #dcc6d1; background: var(--papel); transition: background-color .25s, border-color .25s, transform .25s; }
.toes li:nth-child(1) .toe { width: 20px; height: 20px; margin-bottom: 0; }
.toes li:nth-child(2) .toe { width: 24px; height: 25px; margin-bottom: 6px; }
.toes li:nth-child(3) .toe { width: 28px; height: 29px; margin-bottom: 10px; }
.toes li:nth-child(4) .toe { width: 32px; height: 33px; margin-bottom: 12px; }
.toes li:nth-child(5) .toe { width: 42px; height: 40px; margin-bottom: 10px; }
.toe__label { font-size: .875rem; font-weight: 500; color: var(--ciruela-suave); }
.toes .is-done .toe { background: var(--frambuesa); border-color: var(--frambuesa); }
.toes .is-current .toe { background: var(--frambuesa); border-color: var(--frambuesa); box-shadow: 0 0 0 5px var(--frambuesa-velo); transform: scale(1.08); }
.toes .is-current .toe__label { color: var(--ciruela); font-weight: 700; }

.booking__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.booking__main { min-width: 0; background: var(--papel); border-radius: var(--r-m); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--linea); min-height: 420px; }
.booking__main h3 { font-size: 1.5rem; margin-bottom: .25em; }
.step-sub { color: var(--ciruela-suave); margin-bottom: 20px; }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linea); }

.segmented { display: inline-flex; padding: 4px; background: var(--rubor); border-radius: 999px; border: 1px solid var(--linea); margin-bottom: 20px; }
.segmented button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-weight: 600; cursor: pointer; color: var(--ciruela-suave); }
.segmented button[aria-pressed="true"] { background: var(--papel); color: var(--ciruela); box-shadow: 0 1px 3px rgba(52, 23, 43, .15); }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 14px 16px; border: 1.5px solid var(--linea); border-radius: var(--r-s); background: var(--papel); cursor: pointer; }
.opt:hover { border-color: var(--frambuesa); }
.opt[aria-checked="true"] { border-color: var(--frambuesa); background: var(--frambuesa-velo); box-shadow: inset 0 0 0 1px var(--frambuesa); }
.opt__name { font-weight: 600; }
.opt__price { font-weight: 700; white-space: nowrap; }
.opt__dur { grid-column: 1 / -1; font-size: .875rem; color: var(--ciruela-suave); }
.opt-note { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-s); background: var(--eucalipto-velo); color: #1f4f48; font-size: .95rem; }

.quick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.quick .chip { flex: 0 0 auto; display: grid; line-height: 1.2; padding: 8px 14px; text-align: left; min-height: 0; border-radius: 14px; }
.quick .chip small { font-weight: 500; color: var(--eucalipto); }
.quick .chip.is-on small { color: #cfe7e1; }

.cal { max-width: 460px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__head strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--linea); background: var(--papel); cursor: pointer; font-size: 1.1rem; }
.cal__nav[disabled] { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { text-align: center; font-size: .8rem; color: var(--ciruela-suave); padding: 4px 0; }
.cal__day { aspect-ratio: 1; border-radius: 12px; border: 0; background: none; display: grid; place-items: center; align-content: center; gap: 2px; font-weight: 600; font-size: .98rem; color: #c8b8c1; }
.cal__day.is-open { background: var(--eucalipto-velo); color: var(--ciruela); cursor: pointer; }
.cal__day.is-open::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--eucalipto); }
.cal__day.is-open:hover { box-shadow: inset 0 0 0 1.5px var(--eucalipto); }
.cal__day.is-full { color: #a8949f; text-decoration: line-through; }
.cal__day.is-sel { background: var(--frambuesa); color: #fff; }
.cal__day.is-sel::after { background: #fff; }
.cal__legend { display: flex; gap: 18px; margin-top: 12px; font-size: .85rem; color: var(--ciruela-suave); }
.cal__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--eucalipto-velo); border: 1px solid var(--eucalipto); }

.slots h4 { font-size: .95rem; font-weight: 600; margin: 18px 0 10px; color: var(--ciruela-suave); }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border-radius: var(--r-s); border: 1.5px solid var(--linea); background: var(--papel); font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--eucalipto); }
.slot[aria-checked="true"] { background: var(--frambuesa); border-color: var(--frambuesa); color: #fff; }

.google { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: var(--r-s); background: var(--rubor); margin-bottom: 24px; }
.google p { margin: 0; font-size: .95rem; color: var(--ciruela-suave); flex: 1 1 220px; }
.gbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #dadce0; background: #fff; font-weight: 600; cursor: pointer; }
.gbtn:hover { background: #f8f9fa; }
.guser { display: flex; align-items: center; gap: 10px; flex: 1; }
.guser__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--eucalipto); color: #fff; display: grid; place-items: center; font-weight: 700; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid var(--linea); border-radius: var(--r-s); cursor: pointer; font-weight: 500; }
.radios input { accent-color: var(--frambuesa); width: 18px; height: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ciruela-suave); }
.consent input { accent-color: var(--frambuesa); width: 20px; height: 20px; margin-top: 2px; flex: none; }

.review { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 20px; }
.review dt { color: var(--ciruela-suave); }
.review dd { margin: 0; font-weight: 600; }
.notice { padding: 12px 16px; border-radius: var(--r-s); background: var(--aviso-velo); color: var(--aviso); font-size: .95rem; }

.done { text-align: center; padding: 24px 0; }
.done__mark { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--eucalipto); display: grid; place-items: center; animation: pop .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.done__mark svg { width: 36px; height: 36px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done h3 { font-size: 1.9rem; }
.done .review { text-align: left; max-width: 420px; margin: 20px auto; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.sync { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ciruela-suave); }
.sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aviso); }
.sync.is-ok::before { background: var(--eucalipto); }

.summary { background: var(--papel); border-radius: var(--r-m); border: 1px solid var(--linea); padding: 22px; position: sticky; top: 96px; }
.summary h3 { font-size: 1.15rem; margin-bottom: 14px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary dt { font-size: .85rem; color: var(--ciruela-suave); }
.summary dd { margin: 2px 0 0; font-weight: 600; }
.summary dd.is-empty { color: #b9a8b2; font-weight: 500; }
.summary__total { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--linea); display: flex; justify-content: space-between; align-items: baseline; }
.summary__total strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.summary__where { margin-top: 14px; font-size: .875rem; color: var(--ciruela-suave); }

/* ---------- Domicilio ---------- */
.home { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.home__lead p { font-size: 1.1rem; color: #3d5c57; max-width: 44ch; }
.home__price { display: flex; align-items: baseline; gap: 10px; color: var(--ciruela) !important; }
.home__price span { font-family: var(--serif); font-size: 2.6rem; color: var(--eucalipto); }
.home__steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; display: grid; gap: 4px; }
.home__steps li { counter-increment: paso; position: relative; padding: 20px 0 20px 64px; border-bottom: 1px solid #c8ddd8; }
.home__steps li::before { content: counter(paso); position: absolute; left: 0; top: 18px; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--eucalipto); display: grid; place-items: center; font-family: var(--serif); color: var(--eucalipto); font-size: 1.1rem; }
.home__steps h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; margin: 0 0 4px; }
.home__steps p { margin: 0; color: #3d5c57; }

/* ---------- Compañías ---------- */
.insurers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.insurers p { color: var(--ciruela-suave); max-width: 46ch; }
.insurers__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linea); border-left: 1px solid var(--linea); }
.insurers__list li { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); padding: 32px 24px; border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); text-align: center; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
address { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin-bottom: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--papel); border: 1px solid var(--linea); font-size: .95rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9a8b2; }
.status.is-open::before { background: var(--eucalipto); box-shadow: 0 0 0 3px var(--eucalipto-velo); }
.hours { border-collapse: collapse; margin: 20px 0 28px; min-width: 280px; }
.hours th, .hours td { text-align: left; padding: 10px 24px 10px 0; border-bottom: 1px solid var(--linea); vertical-align: top; font-variant-numeric: tabular-nums; }
.hours th { font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--frambuesa-hondo); }
.hours tr.is-today th::after { content: " (hoy)"; font-weight: 500; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: var(--r-l); overflow: hidden; background: #efe4ea; min-height: 360px; display: grid; position: relative; }
.map::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 52% 46%, var(--frambuesa) 0 9px, transparent 10px),
  linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%),
  linear-gradient(25deg, transparent 60%, #fff 60% 62%, transparent 62%),
  linear-gradient(170deg, transparent 30%, #f7eef2 30% 33%, transparent 33%);
  opacity: .9; }
.map__consent { position: relative; align-self: end; margin: 16px; padding: 16px; background: var(--papel); border-radius: var(--r-m); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; box-shadow: var(--sombra); }
.map__consent p { margin: 0; flex: 1 1 200px; font-size: .95rem; color: var(--ciruela-suave); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; position: relative; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--linea); }
.faq__list details:first-child { border-top: 1px solid var(--linea); }
.faq__list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.1rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--frambuesa); border-bottom: 2px solid var(--frambuesa); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__list details p { color: var(--ciruela-suave); max-width: 62ch; padding-bottom: 8px; }

/* ---------- Pie ---------- */
.footer { background: var(--rubor); border-top: 1px solid var(--linea); padding: 48px 0 96px; font-size: .95rem; color: var(--ciruela-suave); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer__grid img { width: 150px; mix-blend-mode: multiply; }
.footer__grid p { margin: 0 0 4px; }
.footer__links { display: grid; gap: 6px; }

/* CTA fijo en móvil */
.dock { display: none; }

/* ---------- Responsive ---------- */
.nav a, .topbar .btn, .account-btn, .brand__text strong { white-space: nowrap; }
@media (max-width: 1240px) {
  .nav { gap: 16px; }
  .nav a { font-size: .92rem; }
}
/* Con «Mis citas» en la cabecera, el menú pasa a hamburguesa antes */
@media (max-width: 1140px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--papel); border-bottom: 1px solid var(--linea); padding: 8px 16px 16px; box-shadow: var(--sombra); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--linea); font-size: 1.05rem; }
  .topbar__inner { gap: 12px; }
}
@media (max-width: 960px) {

  .hero__grid { grid-template-columns: 1fr; }
  .footprint { width: min(70%, 340px); justify-self: start; margin-left: 4%; }
  .nextslot { left: auto; right: -30%; bottom: 6%; min-width: 0; max-width: 250px; }
  .services, .about, .home, .insurers, .contact, .faq { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .about__seal img { width: 220px; }
  .booking__body { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__text span { display: none; }
  .topbar .btn--sm { display: none; }
  .hero { padding-top: 20px; }
  .hero__place { font-size: .92rem; }
  .footprint { width: 72%; margin-left: 0; }
  .nextslot { right: -22%; max-width: 220px; padding: 12px 14px; }
  .nextslot__when { font-size: 1.05rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .svc { grid-template-columns: 1fr; }
  .svc__side { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 14px; }
  .svc__book { margin: 0; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .booking { padding: 14px; border-radius: var(--r-m); margin-inline: -4px; }
  .toes { justify-content: space-between; gap: 0; }
  .toe__label { font-size: .75rem; }
  .options { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .summary { padding: 16px; }
  .summary dl { grid-template-columns: 1fr 1fr; }
  .insurers__list li { padding: 22px 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .dock {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    min-height: 54px; align-items: center; justify-content: center; border-radius: 999px;
    background: var(--frambuesa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(143, 33, 82, .55);
    transform: translateY(140%); transition: transform .25s;
  }
  .dock.is-visible { transform: none; }
}

/* ---------- Mis citas ---------- */
.account-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--papel); font-weight: 600; font-size: .95rem; cursor: pointer; }
.account-btn:hover { border-color: var(--frambuesa); }
.account-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ciruela); stroke-width: 1.8; stroke-linecap: round; }
.account-btn__avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--eucalipto); color: #fff; display: grid; place-items: center; font-size: .85rem; }

.account { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: var(--r-l); padding: 0; box-shadow: 0 30px 80px -20px rgba(52, 23, 43, .45); color: var(--ciruela); }
.account::backdrop { background: rgba(52, 23, 43, .35); }
.account__body { padding: 32px 28px 28px; }
.account__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--linea); background: var(--papel); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.account h2 { font-size: 1.8rem; margin: 0 48px 6px 0; }
.acc-google { width: 100%; justify-content: center; min-height: 50px; }
.acc-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ciruela-suave); font-size: .9rem; }
.acc-or::before, .acc-or::after { content: ""; flex: 1; border-top: 1px solid var(--linea); }
.acc-form { display: grid; gap: 14px; margin-bottom: 12px; }
.acc-form .hint { font-size: .85rem; color: var(--ciruela-suave); }
.acc-code { font-size: 1.4rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; max-width: 220px; }
.acc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding-right: 44px; }
.acc-head > div { flex: 1; min-width: 0; }
.acc-head h2 { margin: 0; }
.acc-head span:not(.guser__avatar) { color: var(--ciruela-suave); font-size: .9rem; overflow-wrap: anywhere; }
.acc-sub { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin: 24px 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ciruela); }
.acc-empty { color: var(--ciruela-suave); margin: 12px 0 16px; }
.mine-list { list-style: none; margin: 0 0 16px; padding: 0; }
.mine { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.mine__date { display: grid; justify-items: center; line-height: 1; padding: 8px 0; border-radius: 12px; background: var(--rubor); }
.mine__date strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.mine__date span { font-size: .8rem; color: var(--ciruela-suave); margin-top: 4px; }
.mine__info { display: grid; gap: 2px; min-width: 0; }
.mine__info > span:not(.tag) { font-size: .9rem; color: var(--ciruela-suave); }
.mine__act { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.mine.is-cancelled .mine__info strong { text-decoration: line-through; color: var(--ciruela-suave); }
.tag { justify-self: start; margin-top: 4px; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--eucalipto-velo); color: #1f4f48; }
.tag--off { background: #fbe9e7; color: #a3281c; }
.btn--danger { background: none; border-color: #e7c2bd; color: #a3281c; }
.btn--danger:hover { background: #fbe9e7; border-color: #a3281c; }

.insurers__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 8px; }
.segmented { flex-wrap: wrap; border-radius: 24px; }

@media (max-width: 640px) {
  .account-btn { padding: 0 10px; }
  .account-btn > span:last-child { font-size: .9rem; }
  .account { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
  .account__body { padding: 28px 16px 32px; }
  .account h2 { font-size: 1.5rem; }
  .mine { grid-template-columns: 48px 1fr; }
  .mine__act { grid-column: 2; justify-content: flex-start; }
  .segmented { display: flex; }
  .segmented button { flex: 1 1 auto; padding: 0 12px; }
}
/* Solicitud pendiente */
.tag--wait { background: var(--aviso-velo); color: var(--aviso); }
.done__mark--wait { background: var(--aviso); }

/* Botón «Iniciar sesión» del menú (en el panel de Paula pasa a «Panel de citas») */
.nav__login { font: inherit; font-weight: 600; font-size: .98rem; padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--frambuesa-hondo); cursor: pointer; text-decoration: none; white-space: nowrap; }
.nav__login:hover { border-bottom-color: var(--frambuesa); }
@media (max-width: 1140px) { .nav__login { text-align: left; padding: 14px 4px; font-size: 1.05rem; } }
.staff-note { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-s); background: var(--eucalipto-velo); color: #1f4f48; margin: 0 0 16px; }
.test-login { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r-s); background: var(--aviso-velo); font-size: .9rem; }
.test-login div { display: flex; gap: 8px; }
.test-login .input { min-height: 40px; }
