/* ============================================================
   GQ WELLNESS — Sistema visual propuesta Claude · 2026
   Tipografía: Fraunces (display) + Manrope (texto)
   Paleta: negro tinta, grafito, blanco frío, dorado premium
   ============================================================ */

:root {
    --ink: #0e1116;
    --ink-soft: #3b414c;
    --navy: #12283f;
    --navy-deep: #0c1b2c;
    --blue: #1d72c2;
    --pine: #12283f;
    --sage: #9aa2b0;
    --sage-deep: #6d7684;
    --sage-soft: #eef0f4;
    --cream: #fbfbfc;
    --sand: #f0f1f4;
    --gold: #c6a15b;
    --gold-soft: #ecdfc0;
    --white: #ffffff;
    --danger: #b4552f;
    --ok: #4d7f5f;
    --shadow-sm: 0 2px 10px rgba(10, 14, 20, .06);
    --shadow-md: 0 14px 40px -12px rgba(10, 14, 20, .20);
    --shadow-lg: 0 30px 70px -20px rgba(10, 14, 20, .34);
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 560;
    color: var(--ink);
    line-height: 1.16;
    letter-spacing: -.01em;
    margin: 0 0 .6rem;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- Utilidades ---------- */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .9rem;
}
.kicker::before {
    content: "";
    width: 26px; height: 1px;
    background: var(--gold);
}
.kicker--center::after {
    content: "";
    width: 26px; height: 1px;
    background: var(--gold);
}
.text-center { text-align: center; }
.text-center .kicker { justify-content: center; }
.lead { font-size: 1.07rem; line-height: 1.7; }
.muted { color: #6b7f8e; }

.section { padding: clamp(3.2rem, 6.5vw, 5.2rem) 0; }
.section--soft { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-intro { max-width: 680px; margin: 0 auto 2.2rem; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.7rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn-solid {
    background: var(--pine);
    color: #f5f5f3;
    box-shadow: 0 10px 26px -10px rgba(10, 14, 20, .6);
}
.btn-solid:hover { background: var(--navy-deep); color: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(10, 14, 20, .55); }
.btn-gold {
    background: linear-gradient(120deg, var(--gold), #a8823f);
    color: var(--white);
    box-shadow: 0 10px 26px -10px rgba(198, 161, 91, .6);
}
.btn-gold:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 16px 34px -12px rgba(198, 161, 91, .65); }
.btn-ghost {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-line {
    border-color: rgba(20, 35, 46, .25);
    color: var(--ink);
    background: transparent;
}
.btn-line:hover { border-color: var(--pine); background: var(--pine); color: var(--white); }
.btn-wsp { background: #1fae54; color: var(--white); box-shadow: 0 10px 24px -10px rgba(31, 174, 84, .55); }
.btn-wsp:hover { background: #178f44; color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.gq-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding: 14px 0;
}
.gq-header.is-solid {
    background: rgba(252, 252, 253, .92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}
.gq-nav { display: flex; align-items: center; gap: 1.5rem; }
.gq-brand { display: flex; align-items: center; gap: .8rem; }
.gq-brand img { width: 46px; height: 46px; border-radius: 12px; background: var(--white); padding: 4px; box-shadow: var(--shadow-sm); }
.gq-brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--white); line-height: 1.1; display: block; }
.gq-brand-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.is-solid .gq-brand-name, .gq-header--dark .gq-brand-name { color: var(--ink); }
.is-solid .gq-brand-tag, .gq-header--dark .gq-brand-tag { color: var(--gold); }

.gq-menu { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.gq-menu a:not(.btn) {
    font-weight: 600;
    font-size: .95rem;
    color: rgba(255, 255, 255, .88);
    position: relative;
}
.gq-menu a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.gq-menu a:not(.btn):hover::after, .gq-menu a.is-active::after { transform: scaleX(1); }
.is-solid .gq-menu a:not(.btn), .gq-header--dark .gq-menu a:not(.btn) { color: var(--ink-soft); }
.gq-menu .btn { padding: .62rem 1.35rem; font-size: .92rem; }

.gq-burger {
    display: none;
    margin-left: auto;
    width: 46px; height: 46px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, .16);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
}
.is-solid .gq-burger, .gq-header--dark .gq-burger { background: var(--sage-soft); color: var(--ink); }

.gq-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(20, 35, 46, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.gq-drawer.is-open { opacity: 1; pointer-events: auto; }
.gq-drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--cream);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    transform: translateX(100%);
    transition: transform .34s cubic-bezier(.32, .72, .35, 1);
    box-shadow: var(--shadow-lg);
}
.gq-drawer.is-open .gq-drawer-panel { transform: translateX(0); }
.gq-drawer-panel a:not(.btn) {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ink);
    padding: .55rem 0;
    border-bottom: 1px solid rgba(20, 35, 46, .08);
}
.gq-drawer-panel .btn { margin-top: 1.2rem; }
.gq-drawer-close {
    align-self: flex-end;
    background: none; border: none;
    font-size: 1.6rem;
    color: var(--ink);
    cursor: pointer;
    margin-bottom: .8rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    padding: 7.5rem 0 6.5rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 22%;
    animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8, 16, 26, .90) 0%, rgba(12, 27, 44, .60) 46%, rgba(12, 27, 44, .14) 78%),
        linear-gradient(0deg, rgba(8, 16, 26, .58) 0%, transparent 32%);
}
.hero-inner { position: relative; max-width: 640px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    font-weight: 600;
    padding: .42rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 540px; }
.hero-name { font-size: .95rem; letter-spacing: .06em; color: rgba(255, 255, 255, .78); margin: 1.1rem 0 1.8rem; }
.hero-name strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    font-size: 1.5rem;
    animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }

/* ---------- Banda de disponibilidad ---------- */
.avail {
    position: relative;
    margin-top: -78px;
    z-index: 10;
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.avail-card {
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.6rem, 3.4vw, 2.6rem);
    border: 1px solid rgba(20, 35, 46, .05);
}
.avail-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; margin-bottom: 1.5rem; }
.avail-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 0; }
.avail-head .muted { font-size: .95rem; margin: 0; }
.avail-link { margin-left: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.avail-link i { transition: transform .2s; }
.avail-link:hover i { transform: translateX(4px); }

.slot-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 1fr);
    gap: .9rem;
    overflow-x: auto;
    padding: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.slot-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    background: linear-gradient(160deg, #fdfcf9, var(--white));
    border: 1.5px solid rgba(198, 161, 91, .4);
    border-radius: var(--r-md);
    padding: 1.05rem 1.15rem .95rem;
    color: var(--ink);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.slot-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    color: var(--ink);
}
.slot-card .slot-day { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.slot-card .slot-date { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.slot-card .slot-time {
    margin-top: .55rem;
    align-self: flex-start;
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--gold-soft);
    background: var(--ink);
    padding: .28rem .85rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.slot-card .slot-go { margin-top: .6rem; font-size: .82rem; font-weight: 700; color: var(--gold); display: inline-flex; gap: .3rem; align-items: center; }
.avail-empty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    background: var(--sage-soft);
    border-radius: var(--r-md);
    padding: 1.3rem 1.5rem;
}
.avail-empty i { font-size: 1.6rem; color: var(--sage-deep); }

/* ---------- Tarjetas de síntomas ---------- */
.sym-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.sym-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1.5rem 1.4rem;
    border: 1px solid rgba(20, 35, 46, .06);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}
.sym-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sym-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    color: var(--pine);
    background: linear-gradient(140deg, #e6eef7, var(--gold-soft));
    margin-bottom: 1rem;
}
.sym-card h3 { font-size: 1.08rem; }
.sym-card p { font-size: .94rem; margin: 0; }

/* ---------- Método (pasos) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; counter-reset: paso; }
.step-card {
    position: relative;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 2rem 1.5rem 1.6rem;
    border: 1px solid rgba(20, 35, 46, .06);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.step-card::before {
    counter-increment: paso;
    content: "0" counter(paso);
    position: absolute;
    top: .4rem; right: 1rem;
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 600;
    color: var(--sand);
    line-height: 1;
}
.step-card i { font-size: 1.7rem; color: var(--gold); }
.step-card h3 { margin-top: .8rem; }
.step-card p { font-size: .94rem; margin: 0; }

/* ---------- Split (imagen + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    width: 100%;
}
.split-media::after {
    content: "";
    position: absolute;
    inset: auto -18px -18px auto;
    width: 58%; height: 58%;
    border: 2px solid var(--gold-soft);
    border-radius: var(--r-lg);
    z-index: -1;
}
.badge-float {
    position: absolute;
    left: -14px; bottom: 26px;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    padding: .8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: .7rem;
}
.badge-float i { font-size: 1.5rem; color: var(--gold); }
.badge-float strong { display: block; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.badge-float span { font-size: .8rem; color: #6b7f8e; }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list i { color: var(--blue); font-size: 1.1rem; margin-top: .15rem; }

/* ---------- Pilares del enfoque ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.pillar {
    background: linear-gradient(165deg, #16324e, #0c1b2c);
    color: rgba(255, 255, 255, .85);
    border-radius: var(--r-md);
    padding: 1.8rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .22s ease;
}
.pillar:hover { transform: translateY(-6px); }
.pillar::after {
    content: "";
    position: absolute;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 161, 91, .4), transparent 70%);
    top: -46px; right: -36px;
}
.pillar { border: 1px solid rgba(198, 161, 91, .22); }
.pillar i { font-size: 1.7rem; color: var(--gold); }
.pillar h3 { color: var(--white); margin-top: .9rem; font-size: 1.1rem; }
.pillar p { font-size: .92rem; margin: 0; }

/* ---------- Cinta de confianza ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.stat {
    text-align: center;
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1.6rem 1rem 1.3rem;
    border: 1px solid rgba(20, 35, 46, .06);
    box-shadow: var(--shadow-sm);
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--pine);
    line-height: 1.1;
}
.stat span { font-size: .88rem; color: #6b7f8e; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details {
    background: var(--white);
    border-radius: var(--r-md);
    border: 1px solid rgba(20, 35, 46, .07);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    font-weight: 700;
    color: var(--ink);
    font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    margin-left: auto;
    color: var(--gold);
    transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.4rem 1.2rem; font-size: .96rem; }

/* ---------- CTA final ---------- */
.cta-band {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    padding: clamp(2.6rem, 6vw, 4.2rem);
    color: var(--white);
    background:
        linear-gradient(110deg, rgba(8, 16, 26, .94), rgba(18, 40, 63, .86)),
        var(--pine);
    border: 1px solid rgba(198, 161, 91, .3);
    background-size: cover;
    background-position: center;
    text-align: center;
}
.cta-band h2 { color: var(--white); max-width: 640px; margin: 0 auto .8rem; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 1.6rem; align-items: stretch; }
.card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: clamp(1.6rem, 3vw, 2.3rem);
    border: 1px solid rgba(20, 35, 46, .06);
    box-shadow: var(--shadow-sm);
}
.contact-lines { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 1rem; }
.contact-lines li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-lines i {
    width: 42px; height: 42px;
    flex: none;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--sage-soft);
    color: var(--pine);
    font-size: 1.15rem;
}
.contact-lines strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-lines span, .contact-lines a { font-size: .92rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .88rem; color: var(--ink); display: block; margin-bottom: .35rem; }
.input, textarea.input {
    width: 100%;
    border: 1.5px solid rgba(20, 35, 46, .14);
    border-radius: 14px;
    padding: .8rem 1rem;
    font-family: var(--font-body);
    font-size: .98rem;
    color: var(--ink);
    background: var(--cream);
    transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198, 161, 91, .2); background: var(--white); }
.form-note { font-size: .85rem; color: #6b7f8e; }

/* ---------- Footer ---------- */
.gq-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .72);
    padding: 3.6rem 0 2rem;
    margin-top: clamp(3rem, 7vw, 5rem);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.4rem; }
.gq-footer h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 1rem;
}
.gq-footer a { color: rgba(255, 255, 255, .72); }
.gq-footer a:hover { color: var(--gold-soft); }
.gq-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .94rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 52px; height: 52px; border-radius: 14px; background: var(--white); padding: 5px; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 1.15rem; display: block; }
.footer-brand span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: space-between;
    font-size: .85rem;
}

/* ---------- WhatsApp flotante + barra móvil ---------- */
.wsp-float {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 55;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: #1fae54;
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    box-shadow: 0 12px 30px -8px rgba(31, 174, 84, .65);
    transition: transform .2s;
}
.wsp-float:hover { transform: scale(1.08); color: var(--white); }

.mobile-cta {
    position: fixed;
    left: 14px; right: 86px; bottom: 20px;
    z-index: 55;
    display: none;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: var(--pine);
    color: var(--white);
    font-weight: 800;
    padding: .95rem 1.2rem;
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
}
.mobile-cta:hover { color: var(--white); }

/* ---------- Agenda: calendario ---------- */
.booking-hero {
    padding: 8.5rem 0 3rem;
    background:
        radial-gradient(60% 90% at 85% 10%, rgba(198, 161, 91, .18), transparent),
        linear-gradient(180deg, var(--sand), var(--cream));
}
.booking-steps { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.bstep {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    background: var(--white);
    border: 1.5px solid rgba(20, 35, 46, .1);
    font-size: .9rem;
    font-weight: 700;
    color: #6b7f8e;
}
.bstep span {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sand);
    font-size: .8rem;
    color: var(--ink);
}
.bstep.is-on { border-color: var(--gold); color: var(--ink); }
.bstep.is-on span { background: var(--pine); color: var(--white); }

/* minmax(0, …) en vez de 7fr a secas: '7fr' equivale a 'minmax(auto, 7fr)',
   y ese 'auto' impide que la columna se encoja por debajo de su contenido.
   Con muchos días disponibles, la tira empujaba la columna y la página
   entera se ensanchaba. */
.booking-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.6rem; align-items: start; }
.booking-grid > * { min-width: 0; }

.cal-card { position: sticky; top: 96px; }
.quick-slots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 35, 46, .08);
}
.quick-slots-label {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--sage-deep);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.quick-slots-label i { color: var(--gold); }
.quick-slot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    border: 1.5px solid rgba(198, 161, 91, .4);
    background: linear-gradient(160deg, #fdfcf9, var(--white));
    border-radius: 14px;
    padding: .55rem .85rem .6rem;
    font-family: var(--font-body);
    color: var(--ink);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.quick-slot .qs-day {
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1.1;
}
.quick-slot .qs-date {
    font-family: var(--font-display);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.15;
}
.quick-slot .qs-time {
    margin-top: .3rem;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    font-weight: 800;
    color: var(--gold-soft);
    background: var(--navy);
    padding: .16rem .6rem;
    border-radius: 999px;
    line-height: 1.3;
}
.quick-slot:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.quick-slot.is-selected {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 8px 18px -6px rgba(10, 14, 20, .5);
}
.quick-slot.is-selected .qs-date { color: var(--white); }
.quick-slot.is-selected .qs-time { background: var(--gold); color: var(--white); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink); text-transform: capitalize; }
.cal-nav { display: flex; gap: .5rem; }
.cal-nav button {
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1.5px solid rgba(20, 35, 46, .12);
    background: var(--white);
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all .2s;
}
.cal-nav button:hover:not(:disabled) { background: var(--pine); color: var(--white); border-color: var(--pine); }
.cal-nav button:disabled { opacity: .35; cursor: default; }

.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-week { margin-bottom: 6px; }
.cal-week span { text-align: center; font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: #8a9aa7; text-transform: uppercase; padding: .3rem 0; }
.cal-day {
    aspect-ratio: 1;
    border-radius: 14px;
    border: 1.5px solid transparent;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    color: #b0bcc6;
    cursor: default;
    transition: all .18s;
    padding: 0;
}
.cal-day.has-slots {
    color: var(--ink);
    background: rgba(198, 161, 91, .13);
    border-color: rgba(198, 161, 91, .45);
    cursor: pointer;
}
.cal-day.has-slots:hover { border-color: var(--gold); transform: scale(1.06); box-shadow: var(--shadow-sm); }
.cal-day.has-slots .dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.cal-day.is-selected {
    background: var(--pine);
    color: var(--white);
    border-color: var(--pine);
    box-shadow: 0 8px 18px -6px rgba(10, 14, 20, .55);
    transform: scale(1.06);
}
.cal-day.is-selected .dot { background: var(--gold); }
.cal-day.is-today { position: relative; }
.cal-day.is-today::after { content: "hoy"; font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.cal-legend { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: .8rem; color: #8a9aa7; }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend .lg { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.lg--free { background: rgba(198, 161, 91, .13); border: 1.5px solid rgba(198, 161, 91, .5); }
.lg--sel { background: var(--pine); }

.times-box { margin-top: 1.4rem; }
.times-title { font-weight: 800; color: var(--ink); font-size: .95rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.times-title i { color: var(--gold); }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.time-chip {
    border: 1.5px solid rgba(20, 35, 46, .14);
    background: var(--white);
    border-radius: 12px;
    padding: .6rem .4rem;
    text-align: center;
    font-weight: 800;
    font-size: .98rem;
    color: var(--ink);
    cursor: pointer;
    transition: all .18s;
}
.time-chip:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.time-chip.is-selected { background: var(--gold); border-color: var(--gold); color: var(--white); box-shadow: 0 8px 18px -6px rgba(198, 161, 91, .6); }
.times-empty { font-size: .92rem; color: #8a9aa7; background: var(--cream); border-radius: 12px; padding: 1rem 1.2rem; }

.resume-box {
    background: linear-gradient(150deg, #12283f, #0c1b2c);
    border-radius: var(--r-md);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.4rem;
    border: 1.5px solid rgba(198, 161, 91, .5);
}
.resume-box .rb-label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.resume-box .rb-slot { color: var(--white) !important; }
.resume-box .rb-meta { color: rgba(255, 255, 255, .6) !important; }
.resume-box .rb-slot { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.resume-box .rb-meta { font-size: .88rem; color: #6b7f8e; }

.service-meta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0 1.4rem; }
.sm-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--cream);
    border: 1px solid rgba(20, 35, 46, .08);
    border-radius: 999px;
    padding: .45rem 1rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
}
.sm-chip i { color: var(--gold); }

.trust-inline { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.2rem; font-size: .85rem; color: #6b7f8e; }
.trust-inline span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-inline i { color: var(--gold); }

/* ---------- Modos de pago (abono / total) ---------- */
.pay-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pay-mode { display: block; cursor: pointer; margin: 0; }
.pay-mode input { position: absolute; opacity: 0; pointer-events: none; }
.pay-mode .pm-body {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    border: 1.5px solid rgba(20, 35, 46, .15);
    border-radius: 14px;
    padding: .8rem .95rem;
    transition: all .18s;
    height: 100%;
}
.pay-mode strong { font-size: .95rem; color: var(--ink); }
.pay-mode em { font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.pay-mode small { font-size: .78rem; color: #6b7f8e; line-height: 1.4; }
.pay-mode input:checked + .pm-body {
    border-color: var(--gold);
    background: linear-gradient(160deg, #fdfcf9, var(--white));
    box-shadow: 0 8px 20px -10px rgba(198, 161, 91, .55);
}
.pay-mode input:checked + .pm-body strong::after {
    content: "\F26B";
    font-family: "bootstrap-icons";
    color: var(--gold);
    margin-left: .4rem;
}
.pay-policy { margin-top: .7rem; }
@media (max-width: 560px) { .pay-modes { grid-template-columns: 1fr; } }

/* ---------- Zona de pacientes ---------- */
.patient-code-form label { margin-bottom: .4rem; }
.patient-code-row { display: flex; gap: .6rem; }
.patient-code-row .input { flex: 1; }
.patient-alert {
    margin-top: 1rem;
    display: flex;
    gap: .6rem;
    align-items: center;
    background: #f7e9de;
    color: #8a4a26;
    border-radius: 12px;
    padding: .9rem 1.1rem;
    font-size: .92rem;
}
.patient-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
@media (max-width: 900px) { .patient-grid { grid-template-columns: 1fr; } }
.exercise-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .6rem; }
.exercise-list li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    background: var(--cream);
    border-radius: 12px;
    padding: .75rem .95rem;
}
.exercise-list .ex-num {
    flex: none;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold-soft);
    font-weight: 800;
    font-size: .8rem;
    display: grid;
    place-items: center;
}

/* ---------- Página de estado de reserva ---------- */
.status-wrap { min-height: 100vh; display: grid; place-items: center; padding: 7rem 0 4rem; }
.status-card { max-width: 640px; width: 100%; text-align: center; }
.status-ico {
    width: 78px; height: 78px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
}
.status-ico--success { background: #e3f2e7; color: var(--ok); }
.status-ico--info { background: var(--gold-soft); color: var(--gold); }
.status-ico--warning { background: #f7e5db; color: var(--danger); }
.res-detail {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem 1.4rem;
    background: var(--cream);
    border-radius: var(--r-md);
    padding: 1.4rem 1.6rem;
    margin: 1.6rem 0;
}
.res-detail strong { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #8a9aa7; }
.res-detail span { color: var(--ink); font-weight: 700; }

/* ---------- Recursos / trayectoria ---------- */
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.res-card {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1.7rem 1.5rem;
    border: 1px solid rgba(20, 35, 46, .06);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: transform .22s, box-shadow .22s;
}
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.res-card .btn { margin-top: auto; align-self: flex-start; }
.tag {
    align-self: flex-start;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .8rem;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #8d6a3f;
}
.tag--soon { background: var(--sand); color: var(--sage-deep); }

.subhero {
    padding: 9rem 0 4rem;
    background:
        radial-gradient(50% 80% at 90% 0%, rgba(198, 161, 91, .16), transparent),
        linear-gradient(180deg, var(--sand), var(--cream));
}

/* ---------- Animaciones reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-bg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .gq-menu { display: none; }
    .gq-burger { display: grid; place-items: center; }
    .split, .contact-grid, .booking-grid { grid-template-columns: 1fr; }
    .split--rev > .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cal-card { position: static; }
}
@media (max-width: 640px) {
    body { font-size: .98rem; }
    .hero { min-height: 86vh; padding-top: 7.5rem; }
    .avail { margin-top: -56px; }
    .mobile-cta { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .res-detail { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .wsp-float { bottom: 88px; }
}

/* ============================================================
   ZONA DE PACIENTES V2 — cuentas, ejercicios, cuestionarios,
   diario de síntomas y bonos.
   ============================================================ */

.btn-sm { padding: .5rem .95rem; font-size: .86rem; }

/* ---------- Acceso: login y registro ---------- */
.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
.auth-card { padding: 1.8rem; }
.auth-side { background: var(--sage-soft); }
.auth-tabs {
    display: flex;
    gap: .4rem;
    background: var(--sand);
    padding: .3rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.auth-tabs a {
    flex: 1;
    text-align: center;
    padding: .6rem .8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    color: var(--ink-soft);
    transition: background .2s, color .2s;
}
.auth-tabs a.is-active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-form { display: grid; gap: 1rem; }
.auth-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.auth-check { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--ink-soft); }
.auth-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--gold); }
.auth-extra summary { cursor: pointer; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.auth-alt {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--sand);
    display: grid;
    gap: .7rem;
    justify-items: center;
}
.auth-alt span { font-size: .85rem; color: var(--sage-deep); }
.btn-link {
    background: none; border: 0; padding: 0; cursor: pointer;
    font: inherit; font-size: .88rem; color: var(--sage-deep); text-decoration: underline;
}

/* ---------- Cabecera y pestañas del panel ---------- */
.patient-top { padding: 7.5rem 0 0; background: var(--cream); }
.patient-top-row {
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: space-between; align-items: flex-start;
}
.patient-tabs {
    display: flex; gap: .35rem; margin-top: 1.6rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--sand);
}
.patient-tabs a {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .85rem 1.05rem; white-space: nowrap;
    font-weight: 700; font-size: .92rem; text-decoration: none;
    color: var(--sage-deep); border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s;
}
.patient-tabs a:hover { color: var(--ink); }
.patient-tabs a.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.tab-badge {
    background: var(--gold); color: var(--white);
    font-size: .72rem; font-weight: 800;
    min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
    border-radius: 999px; display: inline-grid; place-items: center;
}

.patient-ok {
    display: flex; align-items: center; gap: .6rem;
    background: #eaf4ee; color: #2f5c43;
    border: 1px solid #cfe4d8; border-radius: var(--r-sm);
    padding: .85rem 1.1rem; margin-bottom: 1.5rem; font-size: .93rem;
}

/* ---------- Historial de atenciones ---------- */
.history-list { display: grid; gap: .5rem; margin-top: 1rem; }
.history-row {
    display: grid;
    grid-template-columns: 6.5rem 1fr auto;
    gap: 1rem; align-items: center;
    padding: .85rem 1rem;
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: var(--r-sm);
}
.history-row.is-past { opacity: .68; }
.hr-date { display: grid; line-height: 1.25; }
.hr-date strong { font-size: .92rem; }
.hr-date span { font-size: .8rem; color: var(--sage-deep); }
.hr-body { display: grid; gap: .15rem; min-width: 0; }
.hr-body span { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill {
    display: inline-block; padding: .28rem .7rem;
    border-radius: 999px; font-size: .76rem; font-weight: 800;
    background: var(--sand); color: var(--ink-soft);
}
.pill--confirmed { background: #d9ece1; color: #2f5c43; }
.pill--pending { background: #fdf1d8; color: #7a5a12; }
.pill--cancelled { background: #f7dfd7; color: #8c3f21; }

/* ---------- Ejercicios ---------- */
.plan-notes {
    background: var(--sage-soft);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.2rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin: 1rem 0; font-size: .96rem;
}
.ex-grid {
    display: grid; gap: 1rem; margin-top: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.ex-card {
    border: 1px solid var(--sand); border-radius: var(--r-md);
    padding: 1.2rem; background: var(--white);
    display: flex; flex-direction: column; gap: .6rem;
    transition: border-color .2s, background .2s;
}
.ex-card.is-done { border-color: #cfe4d8; background: #f6fbf8; }
.ex-head { display: flex; align-items: flex-start; gap: .7rem; }
.ex-head h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.ex-num {
    flex: none; width: 1.75rem; height: 1.75rem;
    border-radius: 50%; background: var(--gold); color: var(--white);
    display: grid; place-items: center; font-size: .85rem; font-weight: 800;
}
.ex-detail { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.ex-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ex-meta li {
    font-size: .78rem; font-weight: 700; color: var(--sage-deep);
    background: var(--sand); padding: .28rem .6rem; border-radius: 999px;
}
.ex-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .4rem; }

/* ---------- Cuestionarios ---------- */
.form-list { display: grid; gap: .6rem; margin-top: 1rem; }
.form-row {
    display: flex; flex-wrap: wrap; gap: 1rem;
    justify-content: space-between; align-items: center;
    padding: 1rem 1.15rem; background: var(--cream);
    border: 1px solid var(--sand); border-radius: var(--r-sm);
}
.form-row span.muted { display: block; font-size: .84rem; }
.quiz-form { display: grid; gap: 1.4rem; margin-top: 1.2rem; }
.quiz-q label { display: block; font-weight: 700; font-size: .96rem; margin-bottom: .55rem; }
.quiz-q .req { color: var(--danger); }
.scale-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.scale-dot input { position: absolute; opacity: 0; pointer-events: none; }
.scale-dot span {
    display: grid; place-items: center;
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    border: 1.5px solid var(--sand); background: var(--white);
    font-weight: 700; font-size: .9rem; cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}
.scale-dot span:hover { border-color: var(--gold); }
.scale-dot input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--white); }
.scale-row--big .scale-dot span { width: 2.8rem; height: 2.8rem; font-size: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt span {
    display: inline-block; padding: .55rem 1.1rem; border-radius: 999px;
    border: 1.5px solid var(--sand); background: var(--white);
    font-weight: 700; font-size: .9rem; cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Diario de síntomas ---------- */
.spark {
    display: flex; align-items: flex-end; gap: 3px;
    height: 110px; margin: 1.2rem 0 .4rem;
    padding: .6rem; background: var(--cream);
    border-radius: var(--r-sm);
}
.spark-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.spark-bar span {
    display: block; width: 100%;
    background: linear-gradient(180deg, var(--gold), var(--gold-soft));
    border-radius: 3px 3px 0 0; min-height: 3px;
}
.spark-axis {
    display: flex; justify-content: space-between;
    font-size: .74rem; color: var(--sage-deep); margin-bottom: 1.2rem;
}
.diary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.diary-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; }
.d-pain {
    flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: .88rem;
}
.d-pain--bajo { background: #d9ece1; color: #2f5c43; }
.d-pain--medio { background: #fdf1d8; color: #7a5a12; }
.d-pain--alto { background: #f7dfd7; color: #8c3f21; }

/* ---------- Bonos ---------- */
.bono-balance { display: grid; gap: .1rem; margin: .8rem 0 1rem; }
.bono-balance strong { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--gold); }
.bono-balance span { font-size: .95rem; color: var(--ink-soft); }
.pack-list { display: grid; gap: .8rem; margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.pack-card {
    display: grid; gap: .3rem; justify-items: start;
    padding: 1.1rem; border: 1px solid var(--sand);
    border-radius: var(--r-md); background: var(--cream);
}
.pack-card strong { font-size: 1.05rem; }
.pack-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }
.pack-card .btn { margin-top: .5rem; }
.pay-mode--bono .pm-body strong { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .patient-top { padding-top: 6rem; }
    .history-row { grid-template-columns: 5.2rem 1fr; }
    .history-row .hr-tag { grid-column: 1 / -1; }
    .scale-dot span { width: 2.1rem; height: 2.1rem; font-size: .82rem; }
    .scale-row--big .scale-dot span { width: 2.35rem; height: 2.35rem; }
    .bono-balance strong { font-size: 2.8rem; }
}

/* ============================================================
   INVITACIONES Y HORAS SIN PAGO
   ============================================================ */

.invita-box {
    display: flex; gap: .9rem; align-items: flex-start;
    background: linear-gradient(135deg, #fdf7e9, #f7f0e0);
    border: 1px solid var(--gold-soft);
    border-radius: var(--r-md);
    padding: 1.1rem 1.25rem; margin-bottom: 1.1rem;
}
.invita-box > i { font-size: 1.4rem; color: var(--gold); line-height: 1.2; }
.invita-box strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.invita-box span { font-size: .88rem; color: var(--ink-soft); }
.invita-box--credito { background: var(--sage-soft); border-color: #dfe3ea; }
.invita-box--credito > i { color: var(--navy); }

.ref-code {
    display: grid; gap: .2rem; justify-items: center;
    background: var(--ink); color: var(--white);
    border-radius: var(--r-md); padding: 1.3rem;
    margin: 1.2rem 0;
}
.ref-code span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.ref-code strong {
    font-family: var(--font-display); font-size: 2.3rem;
    letter-spacing: .12em; color: var(--gold);
}

/* Horas marcadas como sin pago en el calendario */
.time-chip.is-libre {
    border-color: var(--gold);
    background: #fdf9f0;
    position: relative;
    padding-bottom: 1.5rem;
}
.time-chip.is-libre.is-selected { background: var(--gold); }
.chip-free {
    position: absolute; left: 0; right: 0; bottom: .26rem;
    font-size: .6rem; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--gold);
}
.time-chip.is-libre.is-selected .chip-free { color: var(--white); }

.libre-box {
    background: #fdf9f0;
    border: 1px solid var(--gold-soft);
    border-left: 3px solid var(--gold);
    border-radius: var(--r-sm);
    padding: 1.15rem 1.3rem;
}
.libre-box strong { display: block; font-size: 1rem; margin-bottom: .4rem; }
.libre-box p { margin: 0 0 .8rem; font-size: .9rem; color: var(--ink-soft); }
.libre-box label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .3rem; }

/* ============================================================
   AGENDA V2 — tira de días disponibles y horas más grandes
   Reemplaza el calendario mensual: con pocos días abiertos,
   un mes completo era 84% de espacio vacío.
   ============================================================ */

.day-strip-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap;
}
.day-strip-head strong { font-size: 1.05rem; display: inline-flex; align-items: center; gap: .5rem; }
.day-strip-head strong i { color: var(--gold); }
.ds-count { font-size: .82rem; color: var(--sage-deep); font-weight: 700; }

/* Grilla que se acomoda en filas, no una tira que se desplaza:
   con muchos días disponibles seguía cabiendo sin scroll horizontal,
   que es casi invisible y la gente no lo descubre. */
.day-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: .55rem;
    padding: .25rem;
    max-width: 100%;
}
/* Si algún día hay muchísimas fechas, se desplaza en vertical,
   que sí es un gesto natural. */
.day-strip { max-height: 21rem; overflow-y: auto; }
.day-strip::-webkit-scrollbar { width: 8px; }
.day-strip::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 99px; }

.day-pill {
    display: grid; justify-items: center; gap: .1rem;
    min-width: 0; padding: .75rem .45rem .6rem;
    border: 1.5px solid var(--sand); border-radius: var(--r-md);
    background: var(--white); cursor: pointer;
    font-family: var(--font-body); color: var(--ink);
    transition: border-color .18s, transform .18s, box-shadow .18s, background .18s;
}
.day-pill:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.dp-top { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep); }
.dp-big { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.05; font-weight: 600; }
.dp-sub { font-size: .74rem; color: var(--sage-deep); margin-top: -.15rem; }
.dp-count {
    margin-top: .35rem; font-size: .64rem; font-weight: 800;
    background: var(--gold-soft); color: #7a5a12;
    padding: .16rem .42rem; border-radius: 99px; white-space: nowrap;
}
.day-pill.is-selected {
    background: var(--ink); border-color: var(--ink); color: var(--white);
    box-shadow: 0 10px 22px -10px rgba(14, 17, 22, .55);
}
.day-pill.is-selected .dp-top,
.day-pill.is-selected .dp-sub { color: var(--gold-soft); }
.day-pill.is-selected .dp-count { background: var(--gold); color: var(--white); }

/* El bloque de horas: más presencia y aviso visual al cambiar de día */
.times-box {
    margin-top: 1rem; padding: 1.15rem;
    background: var(--cream); border: 1px solid var(--sand);
    border-radius: var(--r-md);
    transition: box-shadow .35s, border-color .35s;
}
.times-box.is-flash {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(198, 161, 91, .18);
}
.times-title { font-size: 1.02rem; margin-bottom: .9rem; }

/* Horas más grandes: objetivo cómodo para el dedo (mín. 48px de alto) */
.times-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .7rem; }
.time-chip {
    min-height: 52px; font-size: 1.05rem; font-weight: 700;
    border-width: 1.5px;
}
.time-chip.is-libre { padding-bottom: 1.5rem; }

@media (max-width: 640px) {
    .cal-card { position: static; }
    .day-strip { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: .45rem; }
    .day-pill { padding: .65rem .35rem .55rem; }
    .dp-big { font-size: 1.4rem; }
    .times-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .time-chip { min-height: 56px; font-size: 1.08rem; }
}

/* Opción "reservar sin pagar ahora", solo en horas habilitadas */
.pay-mode--libre {
    border-color: var(--gold);
    background: #fdf9f0;
}
.pay-mode--libre .pm-body strong { color: #8a6d1f; }
.pay-mode--libre .pm-body strong i { color: var(--gold); }


/* IMPORTANTE: cualquier clase con 'display' propio (.pay-mode, .libre-box…)
   pisa el atributo hidden de HTML y el elemento sigue viéndose.
   Esta regla hace que hidden gane siempre. */
[hidden] { display: none !important; }

/* La opción sin pago va primera cuando está disponible.
   'order' también funciona en grid, así que no cambia el layout. */
.pay-mode--libre { order: -1; }


/* NO se usa overflow-x:hidden en html/body: eso rompe el position:sticky
   del calendario. La solución correcta es minmax(0,…) en la grilla. */
.cal-card { min-width: 0; }

/* ============================================================
   Tarjeta de fidelización (zona de pacientes)
   ============================================================ */
.loyalty-stamps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: .5rem;
    margin: 1.4rem 0;
}
.loyalty-stamps .stamp {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--sage);
    border-radius: 50%;
    font-weight: 800;
    color: var(--sage-deep);
    background: var(--white);
    font-size: .95rem;
}
.loyalty-stamps .stamp.is-full {
    border-style: solid;
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}
.loyalty-stamps .stamp.is-prize {
    border-color: var(--gold);
    color: var(--gold);
    background: #fdf9f1;
}
.loyalty-stamps .stamp.is-prize.is-full {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.loyalty-prize {
    border: 1px solid var(--gold);
    background: linear-gradient(180deg, #fdf9f1, var(--white));
    border-radius: var(--r-md);
    padding: 1.1rem 1.2rem;
}
.loyalty-prize strong { display: block; color: var(--gold); font-size: 1.02rem; }
.loyalty-prize p { margin: .4rem 0 .9rem; color: var(--sage-deep); }

.loyalty-next {
    border: 1px solid var(--line, #dde4e9);
    border-radius: var(--r-md);
    padding: .9rem 1.1rem;
    background: var(--sage-soft);
}
.loyalty-next strong { color: var(--navy); }
.loyalty-next span { color: var(--sage-deep); }

/* ---------- Selector de servicio en la agenda ----------
   Antes eran pastillas pequeñas que se perdían entre el resto de la
   interfaz. Con más de una prestación en venta, elegir servicio es la
   primera decisión de la reserva y tiene que verse como tal. */
.section--sin-tope { padding-top: .8rem; }
.svc-picker { margin-bottom: 2rem; }
.svc-picker-head { margin-bottom: 1rem; }
.svc-picker-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: .3rem 0 0; }
.svc-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.1rem 1.2rem 1.1rem 2.9rem;
    border-radius: var(--r-md, 14px);
    border: 2px solid rgba(20, 35, 46, .10);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.svc-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.svc-card.is-on { border-color: var(--pine); box-shadow: var(--shadow-lg); }
.svc-check { position: absolute; left: 1rem; top: 1.15rem; font-size: 1.15rem; color: rgba(20, 35, 46, .25); }
.svc-card.is-on .svc-check { color: var(--pine); }
.svc-name { font-weight: 700; font-size: 1.02rem; }
.svc-desc { font-size: .88rem; color: #6b7f8e; line-height: 1.45; }
.svc-meta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .35rem; font-size: .86rem; font-weight: 600; }
.svc-meta i { color: var(--gold); margin-right: .25rem; }
.svc-detalle { margin: .9rem 0 0; font-size: .88rem; color: #6b7f8e; }
.svc-detalle i { color: var(--gold); }
@media (max-width: 560px) {
    .svc-card { padding: .95rem 1rem .95rem 2.6rem; }
    .svc-check { top: 1rem; }
}

/* ---------- Menú desplegable de Servicios ----------
   Se abre con :hover y con :focus-within, sin JavaScript: así también
   funciona llegando con el teclado. Por debajo de 960px .gq-menu queda
   oculto y manda el cajón lateral, donde los servicios van en lista. */
.gq-drop { position: relative; display: inline-flex; }
/* El botón copia el color de los demás enlaces del menú en sus dos
   estados. Con `color: inherit` heredaba del body, no del menú: arriba
   del todo, con la cabecera transparente sobre la foto, quedaba oscuro
   mientras el resto se veía blanco. */
.gq-drop-btn {
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    position: relative;
}
.is-solid .gq-drop-btn, .gq-header--dark .gq-drop-btn { color: var(--ink-soft); }
/* Mismo subrayado dorado que los enlaces vecinos. */
.gq-drop-btn::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.gq-drop:hover .gq-drop-btn::after, .gq-drop:focus-within .gq-drop-btn::after, .gq-drop-btn.is-active::after { transform: scaleX(1); }
.gq-drop-btn i { font-size: .75em; transition: transform .2s ease; }
.gq-drop:hover .gq-drop-btn i, .gq-drop:focus-within .gq-drop-btn i { transform: rotate(180deg); }
.gq-drop-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    min-width: 290px;
    background: var(--white);
    border-radius: var(--r-md, 14px);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(20, 35, 46, .07);
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 60;
}
/* El puente invisible evita que el menú se cierre al bajar el mouse
   desde el botón, cruzando el espacio de 8px que los separa. */
.gq-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.gq-drop:hover .gq-drop-menu, .gq-drop:focus-within .gq-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 4px);
}
/* Los enlaces del desplegable van DENTRO de .gq-menu, así que la regla
   `.gq-menu a:not(.btn)` los alcanzaba y les imponía el blanco del menú:
   texto blanco sobre la tarjeta blanca, ilegible mientras la cabecera
   está transparente. Al bajar, la variante `.is-solid` los pintaba
   oscuros y parecía arreglarse solo. Estos selectores llevan la
   cabecera delante para ganar por especificidad en los dos estados, sin
   recurrir a !important. */
.gq-header .gq-menu .gq-drop .gq-drop-menu a {
    display: block;
    padding: .7rem .85rem;
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 400;
    transition: background .15s ease;
}
.gq-header.is-solid .gq-menu .gq-drop .gq-drop-menu a, .gq-header--dark .gq-menu .gq-drop .gq-drop-menu a { color: var(--ink); }
.gq-header .gq-menu .gq-drop .gq-drop-menu a:hover { background: var(--sand); }
/* Sin el subrayado dorado de los enlaces de la barra: aquí sobra. */
.gq-header .gq-menu .gq-drop .gq-drop-menu a::after { display: none; }
.gq-drop-menu strong { display: block; font-size: .93rem; font-weight: 700; color: var(--ink); }
.gq-drop-menu span { display: block; font-size: .8rem; color: #6b7f8e; margin-top: .1rem; }
.gq-drawer-label {
    display: block;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6b7f8e;
    margin-top: .6rem;
}
.gq-drawer-sub { padding-left: .9rem !important; }
