/* ==========================================================================
   Khloe's — Capa de modernización visual
   Se carga DESPUÉS de style.css y solo sobrescribe estilos.
   Para volver al diseño anterior basta con quitar el <link> a modern.css.
   ========================================================================== */

:root {
    --surface-1: #15121d;
    --surface-2: #1b1725;
    --surface-3: #231e30;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --radius-card: 20px;
    --radius-pill: 999px;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.6);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --header-height: 72px;
    --header-offset: 14px;
    --section-space: clamp(64px, 9vw, 112px);

    /* Colores que usan los estilos escritos en el HTML/JS (cambian con el tema) */
    --ink: #ffffff;
    --ink-soft: #d4d4d8;
    --ink-muted: #a1a1aa;
    --tint-1: rgba(255, 255, 255, 0.02);
    --tint-2: rgba(255, 255, 255, 0.05);
    --tint-3: rgba(255, 255, 255, 0.08);
    --item-bg: rgba(20, 18, 28, 0.5);
    --item-bg-active: rgba(28, 25, 38, 0.9);
    --drawer-bg: rgba(15, 13, 22, 0.75);
    --well-bg: rgba(10, 10, 15, 0.6);
    --bizum: #00d2ff;

    color-scheme: dark;
}

/* --- Base ---------------------------------------------------------------- */
body {
    background-image:
        radial-gradient(60rem 40rem at 10% -10%, rgba(255, 42, 141, 0.10), transparent 60%),
        radial-gradient(50rem 30rem at 110% 20%, rgba(157, 78, 221, 0.08), transparent 60%);
    background-attachment: scroll;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
    letter-spacing: -0.02em;
    text-wrap: balance;
}

/* Los títulos pequeños en mayúsculas anchas se leen mal: los pasamos a tipo frase */
h3, h4,
.policy-card h3,
.subcategory-title,
.panel-title,
.booking-category-header h4,
.detail-text strong,
.footer-links h3,
.footer-newsletter h3 {
    text-transform: none;
    letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

::selection {
    background: rgba(255, 42, 141, 0.35);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--color-neon-pink);
    outline-offset: 3px;
}

/* Brillo neón más contenido (el pulso animado ya no se usa) */
.text-neon {
    text-shadow: none;
}

.text-neon-glow {
    animation: none;
    filter: drop-shadow(0 6px 24px rgba(255, 42, 141, 0.25));
}

/* --- Botones -------------------------------------------------------------- */
.btn,
.btn-primary-compact,
.btn-secondary-outline,
.btn-map-directions,
.flyer-btn,
.p-btn {
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.btn {
    padding: 14px 26px;
    font-size: 0.95rem;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
                background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff2a8d 0%, #ff5a6e 55%, #f59e0b 130%);
    box-shadow: 0 10px 30px -10px rgba(255, 42, 141, 0.7);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4d9e 0%, #ff6b7d 55%, #fbbf24 130%);
    box-shadow: 0 14px 34px -10px rgba(255, 42, 141, 0.85);
    transform: translateY(-2px);
}

.btn-primary:active,
.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
    transform: translateY(-2px);
}

.btn-secondary-neon {
    box-shadow: none;
    border-width: 1px;
}

.btn-secondary-neon:hover {
    box-shadow: 0 10px 30px -10px rgba(255, 42, 141, 0.7);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-strong);
    color: var(--color-text-white);
}

.btn-outline:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.btn:disabled,
.btn[disabled],
.wizard-footer .btn-primary:disabled {
    opacity: 0.35;
    filter: grayscale(0.4);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-primary-compact:hover,
.btn-map-directions:hover,
.flyer-btn:hover {
    box-shadow: 0 10px 26px -10px rgba(255, 42, 141, 0.8);
}

/* --- Cabecera flotante ---------------------------------------------------- */
.header {
    top: var(--header-offset);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1240px;
    height: var(--header-height);
    border-radius: var(--radius-pill);
    background: rgba(18, 15, 26, 0.62);
    border: 1px solid var(--line);
    box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    /* Solo animar lo que cambia al hacer scroll (con "all" la cabecera se deslizaba al cargar) */
    transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    height: 62px;
    background: rgba(14, 12, 20, 0.85);
    border: 1px solid var(--line);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.75);
}

.header-container {
    padding: 0 10px 0 18px;
}

.header-logo-img {
    height: 42px;
    filter: none;
}

.header.scrolled .header-logo-img {
    height: 36px;
}

.logo-text-brand {
    font-size: 1.1rem;
    text-shadow: none;
}

.logo-text-accent {
    text-shadow: none;
}

.nav-menu ul {
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.btn-nav-booking,
.btn-nav-booking.active {
    background: linear-gradient(135deg, #ff2a8d 0%, #ff5a6e 100%);
    border: none;
    color: #fff !important;
    padding: 10px 18px !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
    box-shadow: 0 8px 22px -10px rgba(255, 42, 141, 0.9);
    margin-left: 6px;
}

.btn-nav-booking:hover {
    background: linear-gradient(135deg, #ff4d9e 0%, #ff6b7d 100%);
    box-shadow: 0 10px 26px -10px rgba(255, 42, 141, 1);
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.1rem;
}

/* --- Hero ----------------------------------------------------------------- */
.hero-section {
    min-height: min(100svh, 920px);
    align-items: flex-end;
}

.hero-bg-overlay {
    background:
        linear-gradient(0deg, var(--color-bg-primary) 0%, rgba(14, 12, 20, 0.55) 30%, rgba(14, 12, 20, 0) 60%),
        linear-gradient(90deg, rgba(14, 12, 20, 0.85) 0%, rgba(14, 12, 20, 0.45) 50%, rgba(14, 12, 20, 0.05) 100%);
}

.hero-container {
    padding: calc(var(--header-height) + 80px) 24px clamp(90px, 12vh, 140px);
    align-items: end;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #fff;
    text-shadow: none;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-tagline::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-neon-pink);
    box-shadow: 0 0 0 4px rgba(255, 42, 141, 0.25);
}

.hero-title {
    font-size: clamp(2.4rem, 6.2vw, 5.2rem);
    line-height: 0.98;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.hero-desc {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    text-shadow: none;
    max-width: 520px;
}

.hero-badge {
    animation: none;
    align-self: end;
    border-left: 1px solid var(--line-strong);
    border-radius: var(--radius-card);
    background: rgba(20, 17, 29, 0.55);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
    padding: 18px 22px;
}

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    background: rgba(255, 42, 141, 0.14);
    text-shadow: none;
}

.badge-text strong {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: none;
    font-size: 1.05rem;
}

.hero-carousel-arrow {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 24px;
    transform: none;
    background: rgba(18, 15, 26, 0.5);
    border-color: var(--line-strong);
    box-shadow: none;
}

.hero-carousel-arrow:hover {
    transform: scale(1.06);
    box-shadow: none;
}

.hero-carousel-prev { left: auto; right: 80px; }
.hero-carousel-next { right: 24px; }

.hero-carousel-dots {
    left: 24px;
    transform: none;
    bottom: 34px;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    gap: 8px;
}

.hero-carousel-dots .dot {
    width: 8px;
    height: 8px;
}

.hero-carousel-dots .dot.active {
    width: 26px;
    box-shadow: none;
}

@media (min-width: 1301px) {
    .hero-carousel-dots { left: calc((100% - 1300px) / 2 + 24px); }
    .hero-carousel-next { right: calc((100% - 1300px) / 2 + 24px); }
    .hero-carousel-prev { right: calc((100% - 1300px) / 2 + 80px); }
}

/* --- Cabeceras de sección --------------------------------------------------- */
.section-header {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.section-subtitle,
.policy-tag,
.contact-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-neon-pink);
    text-shadow: none;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 42, 141, 0.1);
    border: 1px solid rgba(255, 42, 141, 0.25);
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.02;
}

.section-desc {
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.65;
}

/* Espaciado más generoso entre secciones */
.feed-section,
.policy-section,
.services-section,
.booking-section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.contact-section {
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: clamp(56px, 7vw, 88px);
    border-top: none;
}

/* Páginas que empiezan sin hero: dejar sitio a la cabecera flotante */
body > .services-section:first-of-type,
body > .booking-section:first-of-type {
    padding-top: calc(var(--header-height) + var(--header-offset) + clamp(40px, 6vw, 72px));
}

.services-section,
.booking-section {
    background-color: transparent;
    background-image: none;
}

/* --- Feed de Instagram ------------------------------------------------------ */
.instagram-grid {
    gap: 16px;
}

.ig-post {
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 0.4s var(--ease-out), border-color 0.3s ease, box-shadow 0.4s var(--ease-out);
}

.ig-post:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.8);
}

.image-post:hover img {
    transform: scale(1.04);
}

.ig-overlay {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px;
    background: linear-gradient(0deg, rgba(10, 8, 14, 0.85) 0%, rgba(10, 8, 14, 0) 55%);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.ig-overlay span i {
    color: #fff;
    font-size: 1.1rem;
}

.flyer-post:hover {
    transform: translateY(-4px);
}

.promo-junio {
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(255, 42, 141, 0.45) 0%, transparent 60%),
        var(--surface-2);
    border: 1px solid rgba(255, 42, 141, 0.45);
    box-shadow: var(--shadow-card);
}

.flyer-badge {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: none;
}

.policies-flyer {
    background: var(--surface-1);
    border: 1px solid var(--line);
}

.policies-flyer::before {
    inset: 12px;
    border-radius: 14px;
    border-color: rgba(255, 42, 141, 0.22);
}

.flyer-subtitle-glow,
.laser-dates,
.laser-tag {
    text-shadow: none;
}

.laser-flyer {
    background:
        radial-gradient(90% 80% at 0% 100%, rgba(255, 42, 141, 0.22) 0%, transparent 60%),
        var(--surface-1);
    border: 1px solid var(--line);
}

.prices-flyer {
    border-width: 1px;
}

/* --- Servicios -------------------------------------------------------------- */
.services-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 6px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.services-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
}

.tab-btn.active {
    background: #fff;
    color: #111;
    box-shadow: 0 6px 20px -8px rgba(255, 255, 255, 0.4);
}

.tab-btn.active i {
    color: var(--color-neon-pink);
}

.service-subcategory-group {
    border-radius: var(--radius-card);
    background: var(--surface-1);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.service-subcategory-group:hover {
    border-color: var(--line-strong);
}

.subcategory-header {
    padding: 20px 24px;
    background: transparent;
}

.subcategory-header:hover {
    background: rgba(255, 255, 255, 0.03);
    border-bottom-color: var(--line);
}

.subcategory-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
}

.subcategory-title i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 42, 141, 0.12);
    font-size: 0.95rem;
}

.subcategory-badge {
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
}

.subcategory-right-info {
    flex-shrink: 0;
}

/* --- Políticas --------------------------------------------------------------- */
.policy-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
}

.policy-cta-box {
    border-left: none;
    padding: 20px;
    border-radius: var(--radius-card);
    background: var(--surface-1);
    border: 1px solid var(--line);
}

.policy-card {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 28px;
}

.policy-card:hover {
    border-color: rgba(255, 42, 141, 0.35);
    box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.8);
    transform: translateY(-4px);
}

.policy-icon-wrapper,
.detail-icon {
    border-radius: 14px;
    background: rgba(255, 42, 141, 0.12);
    border: none;
    box-shadow: none;
}

.policy-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
}

.policy-card p {
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- Contacto y mapa ----------------------------------------------------------- */
.contact-title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.contact-detail-item {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.detail-text strong {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-text span {
    font-size: 0.88rem;
    line-height: 1.45;
}

.map-wrapper {
    height: 340px;
    border-radius: var(--radius-card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.map-overlay-glow {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 -80px 60px -40px rgba(14, 12, 20, 0.7);
}

/* Mapa de OpenStreetMap oscurecido (no necesita clave de API) */
.styled-dark-map .leaflet-tile-pane {
    filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.9) saturate(0.35);
}

.leaflet-control-attribution {
    background: rgba(14, 12, 20, 0.7) !important;
    color: #8a8a95 !important;
}

.leaflet-control-attribution a {
    color: #b4b4be !important;
}

.leaflet-popup-content-wrapper {
    border: 1px solid var(--line-strong) !important;
    border-radius: 14px !important;
}

.leaflet-popup-tip {
    border: none;
}

.map-pin {
    background: none;
    border: none;
}

.map-pin span {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #ff2a8d, #ff5a6e);
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(255, 42, 141, 0.6);
}

/* --- Reservas (asistente) ------------------------------------------------------ */
.wizard-card {
    background: var(--surface-1);
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.panel-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.3rem;
}

.step-num {
    font-family: var(--font-body);
    background: var(--surface-1);
    border-color: var(--line-strong);
}

.step-label {
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    font-size: 0.82rem;
}

.progress-step.active .step-num {
    box-shadow: 0 0 0 5px rgba(255, 42, 141, 0.18);
}

.booking-category-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
}

.booking-category-header {
    background: transparent;
}

.booking-category-header h4 {
    font-family: var(--font-body);
    font-weight: 600;
}

.form-control-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
}

.form-control-dark:focus {
    border-color: var(--color-neon-pink);
    box-shadow: 0 0 0 4px rgba(255, 42, 141, 0.15);
}

.form-control-dark::placeholder {
    color: #71717a;
}

.checkmark {
    border-radius: 6px;
    border-color: var(--line-strong);
}

.checkbox-container input:checked ~ .checkmark {
    box-shadow: none;
}

.item-price {
    font-family: var(--font-body);
}

.total-amount,
.live-total span {
    text-shadow: none;
}

#time-slots-container .btn {
    border-radius: 12px;
    font-variant-numeric: tabular-nums;
}

/* --- Footer --------------------------------------------------------------------- */
.footer {
    background: #09080d;
    border-top: 1px solid var(--line);
    padding: clamp(48px, 6vw, 72px) 24px 28px;
}

.footer-brand h2 {
    font-size: 1.3rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
}

.social-icons a:hover {
    box-shadow: none;
}

.newsletter-form input {
    border-radius: var(--radius-pill);
    padding: 10px 16px;
}

.footer-links a:hover {
    padding-left: 0;
    color: #fff;
}

/* --- Puntos del carrusel (ahora son botones) ---------------------------------- */
.hero-carousel-dots .dot {
    border: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* --- Enlaces de contacto --------------------------------------------------------- */
.detail-text a {
    color: var(--color-text-zinc);
    font-size: 0.88rem;
    line-height: 1.45;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.15);
    text-underline-offset: 3px;
}

.detail-text a:hover {
    color: #fff;
    text-decoration-color: var(--color-neon-pink);
}

.laser-contact:hover {
    color: #fff;
}

/* --- Pie: WhatsApp / Instagram ------------------------------------------------------ */
.footer-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.88rem;
}

.footer-cta-ghost {
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-strong);
    color: #fff;
    font-weight: 600;
}

.footer-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* --- Descripciones de servicios ------------------------------------------------------ */
.desc-content p,
.service-detail-drawer p {
    margin: 0 0 8px;
}

.service-desc-list {
    list-style: none;
    margin: 4px 0 10px;
    padding: 0;
    display: grid;
    gap: 4px;
}

.service-desc-list li {
    position: relative;
    padding-left: 18px;
}

.service-desc-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-neon-pink);
}

/* --- Reserva recibida (Bizum) ---------------------------------------------------------- */
.booking-success {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.booking-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.15);
}

.booking-success-title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.booking-success-text {
    color: var(--color-text-zinc);
    margin-bottom: 24px;
}

.booking-success-summary {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    margin: 0 0 18px;
    text-align: left;
}

.booking-success-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: var(--surface-1);
}

.booking-success-summary dt {
    color: var(--color-text-zinc);
    font-size: 0.88rem;
}

.booking-success-summary dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.booking-success-bizum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px;
    border-radius: 16px;
    text-align: left;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.25);
    margin-bottom: 18px;
}

.booking-success-bizum > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bizum-label {
    font-size: 0.82rem;
    color: var(--color-text-zinc);
}

.bizum-number {
    font-size: 1.35rem;
    color: #00d2ff;
    font-variant-numeric: tabular-nums;
}

.booking-success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-success-actions .btn {
    width: 100%;
}

.booking-success-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--color-text-grey);
}

/* --- Página legal (política de privacidad) ------------------------------------------ */
.legal-page {
    padding: calc(var(--header-height) + var(--header-offset) + clamp(40px, 6vw, 72px)) 24px var(--section-space);
}

.legal-container {
    max-width: 780px;
    margin: 0 auto;
}

.legal-header {
    margin-bottom: 28px;
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 10px;
}

.legal-updated {
    color: var(--color-text-grey);
    font-size: 0.9rem;
}

.legal-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
}

.legal-section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal-section h2 {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.legal-section p,
.legal-section li {
    color: #d4d4d8;
    line-height: 1.7;
    font-size: 0.97rem;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
    margin-top: 12px;
}

.legal-section ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.legal-section ul li {
    position: relative;
    padding-left: 18px;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-neon-pink);
}

.legal-section a,
.privacy-first-layer a,
.privacy-check a,
.footer-legal a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 42, 141, 0.6);
    text-underline-offset: 3px;
}

.legal-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 14px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 12px 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    color: #d4d4d8;
    line-height: 1.55;
}

.legal-table th {
    background: var(--surface-1);
    color: #fff;
    font-weight: 600;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.dato-pendiente {
    background: #fde047;
    color: #111;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.legal-contact-box {
    margin-top: 28px;
    padding: 24px;
    border-radius: var(--radius-card);
    background: var(--surface-1);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.legal-contact-box p {
    font-weight: 600;
}

/* --- Protección de datos en el formulario de reserva ------------------------------ */
.field-help {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--color-text-grey);
}

.privacy-first-layer {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-text-zinc);
}

.privacy-first-layer ul {
    list-style: none;
    margin: 6px 0;
    display: grid;
    gap: 2px;
}

.privacy-first-layer strong {
    color: #e4e4e7;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 4px;
    font-size: 0.92rem;
    color: #e4e4e7;
    cursor: pointer;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-neon-pink);
    cursor: pointer;
}

.footer-legal {
    margin-top: 8px;
}

/* --- Botón fijo "Reservar" en móvil --------------------------------------------- */
.mobile-book-cta {
    display: none;
}

/* --- Animaciones al hacer scroll (las activa js/app.js) ------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-slide {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
}

/* --- Responsive --------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        text-align: left;
        justify-items: start;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-ctas {
        justify-content: flex-start;
    }

    .hero-badge {
        justify-self: start;
    }

    .policy-info-block {
        text-align: left;
        align-items: flex-start;
    }

    .policy-cta-box {
        border-top: 1px solid var(--line);
        padding: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --header-offset: 10px;
    }

    .header {
        width: calc(100% - 20px);
        border-radius: 20px;
    }

    .header.scrolled {
        height: 56px;
    }

    .header-logo-img,
    .header.scrolled .header-logo-img {
        height: 34px;
    }

    /* Menú móvil como tarjeta desplegable */
    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + 8px);
        left: 0;
        right: 0;
        width: auto;
        height: auto;
        max-height: calc(100svh - var(--header-height) - 40px);
        padding: 12px;
        border-radius: 20px;
        border: 1px solid var(--line);
        background: rgba(18, 15, 26, 0.97);
        box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s var(--ease-out), visibility 0.25s;
    }

    .nav-menu.open {
        left: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-menu ul {
        gap: 2px;
        align-items: stretch;
    }

    .nav-link {
        display: block;
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .btn-nav-booking,
    .btn-nav-booking.active {
        margin: 6px 0;
        text-align: center;
        padding: 14px 16px !important;
    }

    /* Hero */
    .hero-section {
        min-height: 88svh;
    }

    .hero-container {
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 84px;
    }

    .hero-ctas {
        width: 100%;
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-badge,
    .hero-carousel-arrow {
        display: none;
    }

    .hero-carousel-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 28px;
    }

    .section-header {
        text-align: left;
        padding: 0;
    }

    .instagram-grid {
        gap: 12px;
    }

    .contact-details-list {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 280px;
    }

    .wizard-panel {
        padding: 24px 18px;
    }

    .wizard-footer {
        flex-wrap: wrap;
        gap: 14px;
    }

    /* Botón fijo para reservar */
    .mobile-book-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px;
        border-radius: var(--radius-pill);
        background: linear-gradient(135deg, #ff2a8d 0%, #ff5a6e 100%);
        color: #fff;
        font-weight: 600;
        box-shadow: 0 16px 40px -12px rgba(255, 42, 141, 0.8);
        transform: translateY(140%);
        transition: transform 0.35s var(--ease-out);
    }

    .mobile-book-cta.visible {
        transform: none;
    }

    body.has-mobile-cta .footer {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Los carteles de texto ocupan toda la fila para que se lean bien */
    .instagram-grid .flyer-post {
        grid-column: 1 / -1;
        aspect-ratio: auto;
        min-height: 300px;
    }

    .wizard-progress {
        display: flex;
    }

    .progress-step {
        width: auto;
    }

    .step-label {
        display: none;
    }
}


/* --- Botón de cambio de tema --------------------------------------------------------- */
.header-container {
    gap: 8px;
}

.nav-menu {
    margin-left: auto;
}

.theme-toggle {
    order: 5;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--tint-3);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    background: var(--tint-2);
    transform: rotate(-15deg);
}

.nav-toggle {
    order: 6;
}

@media (max-width: 768px) {
    .theme-toggle {
        margin-left: auto;
    }
}

/* ======================================================================================
   TEMA CLARO  (se activa con <html data-theme="light">)
   ====================================================================================== */
html[data-theme="light"] {
    color-scheme: light;

    --color-bg-primary: #fbf7f9;
    --color-bg-secondary: #f4edf1;
    --color-card-bg: #ffffff;
    --color-card-border: rgba(40, 20, 40, 0.10);
    --color-neon-pink: #e0157a;
    --color-neon-pink-hover: #c81169;
    --color-neon-glow: rgba(224, 21, 122, 0.18);
    --color-text-white: #1b1320;
    --color-text-zinc: #5f5764;
    --color-text-grey: #7c7481;

    --surface-1: #ffffff;
    --surface-2: #ffffff;
    --surface-3: #f7f1f5;
    --line: rgba(40, 20, 40, 0.10);
    --line-strong: rgba(40, 20, 40, 0.18);
    --shadow-card: 0 1px 2px rgba(60, 20, 50, 0.04), 0 18px 40px -24px rgba(60, 20, 50, 0.28);

    --ink: #1b1320;
    --ink-soft: #3d3542;
    --ink-muted: #6b6370;
    --tint-1: rgba(40, 20, 40, 0.025);
    --tint-2: rgba(40, 20, 40, 0.06);
    --tint-3: rgba(40, 20, 40, 0.08);
    --item-bg: #faf6f9;
    --item-bg-active: #ffffff;
    --drawer-bg: #fdf6fa;
    --well-bg: #eef6fa;
    --bizum: #0277b6;
}

html[data-theme="light"] body {
    background-color: var(--color-bg-primary);
    background-image:
        radial-gradient(60rem 40rem at 10% -10%, rgba(255, 42, 141, 0.08), transparent 60%),
        radial-gradient(50rem 30rem at 110% 20%, rgba(157, 78, 221, 0.06), transparent 60%);
    color: var(--ink);
}

html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #d9d0d9; }

/* Botones con fondo rosa: el texto siempre blanco */
html[data-theme="light"] .btn-primary,
html[data-theme="light"] .btn-nav-booking,
html[data-theme="light"] .btn-primary-compact,
html[data-theme="light"] .flyer-btn,
html[data-theme="light"] .btn-map-directions,
html[data-theme="light"] .mobile-book-cta,
html[data-theme="light"] .flyer-badge {
    color: #fff !important;
}

html[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--line-strong);
    color: var(--ink);
}

html[data-theme="light"] .btn-secondary:hover { background: #fff; }

html[data-theme="light"] .btn-secondary-neon:hover { color: #fff; }

html[data-theme="light"] .btn-outline {
    background: #fff;
    color: var(--ink);
}

html[data-theme="light"] .btn-outline:hover:not(:disabled) { background: var(--surface-3); }

/* Cabecera */
html[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
    box-shadow: 0 10px 30px -16px rgba(60, 20, 50, 0.3);
}

html[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-color: var(--line);
}

html[data-theme="light"] .nav-link { color: var(--ink-muted); }
html[data-theme="light"] .nav-link:hover { background: var(--tint-2); color: var(--ink); }
html[data-theme="light"] .nav-link.active { background: var(--tint-3); color: var(--ink); }
html[data-theme="light"] .nav-toggle { background: var(--tint-3); color: var(--ink); }
html[data-theme="light"] .btn-nav-booking,
html[data-theme="light"] .btn-nav-booking.active {
    background: linear-gradient(135deg, #ff2a8d 0%, #ff5a6e 100%);
}

@media (max-width: 768px) {
    html[data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 30px 60px -20px rgba(60, 20, 50, 0.35);
    }
}

/* Portada */
html[data-theme="light"] .hero-section { background-color: var(--color-bg-primary); }

html[data-theme="light"] .hero-bg-overlay {
    background:
        linear-gradient(0deg, var(--color-bg-primary) 0%, rgba(251, 247, 249, 0.6) 28%, rgba(251, 247, 249, 0) 60%),
        linear-gradient(90deg, rgba(251, 247, 249, 0.94) 0%, rgba(251, 247, 249, 0.7) 45%, rgba(251, 247, 249, 0.05) 100%);
}

html[data-theme="light"] .hero-title { color: var(--ink); text-shadow: none; }
html[data-theme="light"] .hero-desc { color: var(--ink-soft); }

html[data-theme="light"] .text-neon-glow {
    background: linear-gradient(135deg, #e0157a 0%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: none;
}

html[data-theme="light"] .hero-tagline {
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--line);
    color: var(--ink);
}

html[data-theme="light"] .hero-badge {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--line);
    box-shadow: var(--shadow-card);
}

html[data-theme="light"] .hero-carousel-arrow {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line);
    color: var(--ink);
}

html[data-theme="light"] .hero-carousel-dots .dot { background: rgba(40, 20, 40, 0.2); }
html[data-theme="light"] .hero-carousel-dots .dot.active { background: var(--color-neon-pink); }

@media (max-width: 768px) {
    html[data-theme="light"] .hero-bg-overlay {
        background: linear-gradient(0deg, var(--color-bg-primary) 0%, rgba(251, 247, 249, 0.9) 45%, rgba(251, 247, 249, 0.55) 100%);
    }
}

/* Etiquetas de sección */
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .policy-tag,
html[data-theme="light"] .contact-tag {
    background: rgba(224, 21, 122, 0.07);
    border-color: rgba(224, 21, 122, 0.22);
}

/* Feed */
html[data-theme="light"] .ig-post { border-color: var(--line); }
html[data-theme="light"] .ig-post:hover { box-shadow: 0 28px 50px -26px rgba(60, 20, 50, 0.4); }
html[data-theme="light"] .price-item { border-bottom-color: var(--line); }

html[data-theme="light"] .promo-junio {
    background: radial-gradient(120% 90% at 100% 0%, rgba(255, 42, 141, 0.18) 0%, transparent 60%), #fff;
    border-color: rgba(224, 21, 122, 0.35);
}

html[data-theme="light"] .policies-flyer { background: #fff; }
html[data-theme="light"] .policies-flyer::before { border-color: rgba(224, 21, 122, 0.25); }

html[data-theme="light"] .laser-flyer {
    background: radial-gradient(90% 80% at 0% 100%, rgba(255, 42, 141, 0.12) 0%, transparent 60%), #fff;
}

/* Servicios */
html[data-theme="light"] .services-tabs { background: var(--tint-2); border-color: var(--line); }
html[data-theme="light"] .tab-btn { color: var(--ink-muted); }
html[data-theme="light"] .tab-btn:hover { background: var(--tint-2); color: var(--ink); }
html[data-theme="light"] .tab-btn.active { background: var(--ink); color: #fff; box-shadow: none; }
html[data-theme="light"] .tab-btn.active i { color: #ff7ab8; }

html[data-theme="light"] .subcategory-header:hover { background: var(--tint-1); }

html[data-theme="light"] .subcategory-badge {
    background: var(--tint-2);
    border-color: var(--line);
    color: var(--ink-muted);
}

/* Reservas */
html[data-theme="light"] .wizard-card { box-shadow: 0 30px 70px -40px rgba(60, 20, 50, 0.45); }
html[data-theme="light"] .wizard-progress::before { background-color: var(--line-strong); }
html[data-theme="light"] .step-num { background: #fff; border-color: var(--line-strong); color: var(--ink-muted); }
html[data-theme="light"] .progress-step.active .step-num { color: var(--ink); border-color: var(--color-neon-pink); background: #fff; }
html[data-theme="light"] .progress-step.completed .step-num { color: #fff; background: var(--color-neon-pink); }
html[data-theme="light"] .panel-title { border-bottom-color: var(--line); }
html[data-theme="light"] .booking-category-group { background: var(--tint-1); border-color: var(--line); }
html[data-theme="light"] .wizard-footer { border-top-color: var(--line); }

html[data-theme="light"] .form-control-dark {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--ink);
}

html[data-theme="light"] select.form-control-dark option { background: #fff; color: var(--ink); }
html[data-theme="light"] .form-control-dark::placeholder { color: #9a929f; }

html[data-theme="light"] .privacy-first-layer strong { color: var(--ink); }
html[data-theme="light"] .privacy-check { color: var(--ink-soft); }

html[data-theme="light"] .booking-success-bizum {
    background: rgba(2, 119, 182, 0.06);
    border-color: rgba(2, 119, 182, 0.25);
}

/* Contacto y mapa */
html[data-theme="light"] .styled-dark-map .leaflet-tile-pane { filter: saturate(0.85); }
html[data-theme="light"] .leaflet-container { background-color: #eef0f2 !important; }
html[data-theme="light"] .map-overlay-glow { box-shadow: inset 0 0 0 1px rgba(40, 20, 40, 0.06); }

html[data-theme="light"] .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.85) !important;
    color: var(--ink-muted) !important;
}

html[data-theme="light"] .leaflet-control-attribution a { color: var(--ink-soft) !important; }

html[data-theme="light"] .detail-text a { color: var(--ink-muted); text-decoration-color: var(--line-strong); }
html[data-theme="light"] .detail-text a:hover { color: var(--ink); }

/* Páginas legales */
html[data-theme="light"] .legal-intro { color: var(--ink-soft); }
html[data-theme="light"] .legal-section p,
html[data-theme="light"] .legal-section li,
html[data-theme="light"] .legal-table td { color: var(--ink-soft); }
html[data-theme="light"] .legal-table th { background: var(--surface-3); color: var(--ink); }
html[data-theme="light"] .legal-section a,
html[data-theme="light"] .privacy-first-layer a,
html[data-theme="light"] .privacy-check a,
html[data-theme="light"] .footer-legal a { color: var(--ink); }

/* Pie */
html[data-theme="light"] .footer { background: #f3ecf1; border-top-color: var(--line); }
html[data-theme="light"] .social-icons a { background: #fff; border-color: var(--line); color: var(--ink-muted); }
html[data-theme="light"] .social-icons a:hover { color: #fff; }
html[data-theme="light"] .footer-links a:hover { color: var(--ink); }
html[data-theme="light"] .footer-cta-ghost { color: var(--ink); border-color: var(--line-strong); }
html[data-theme="light"] .footer-cta-ghost:hover { background: #fff; }
html[data-theme="light"] .footer-bottom { border-top-color: var(--line); }

/* Transición suave al cambiar de tema (solo mientras se cambia) */
html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* --- Mapa bajo demanda ---------------------------------------------------------------- */
.map-placeholder {
    height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 20px; text-align: center; background: var(--surface-1);
}
.map-placeholder > i { font-size: 2rem; color: var(--color-neon-pink); }
.map-placeholder p { color: var(--color-text-zinc); font-size: 0.92rem; }
.map-placeholder small { color: var(--color-text-grey); font-size: 0.75rem; max-width: 280px; }

/* --- Botón de idioma (CA / ES) ---------------------------------------------------------- */
.lang-toggle {
    order: 4; flex-shrink: 0; height: 40px; min-width: 40px; padding: 0 10px;
    border-radius: var(--radius-pill); border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06); color: var(--color-text-white);
    font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; cursor: pointer;
    transition: background-color 0.2s ease;
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.12); }
html[data-theme="light"] .lang-toggle { background: rgba(40, 20, 40, 0.06); }
@media (max-width: 768px) { .lang-toggle { margin-left: auto; } .theme-toggle { margin-left: 0; } }

/* --- Crédito del desarrollador en el pie ------------------------------------------------ */
.credito-web {
    color: var(--color-text-white);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 42, 141, 0.6);
    text-underline-offset: 3px;
}
.credito-web:hover { color: var(--color-neon-pink); }
