@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.spa-theme {
    --primary: #8B6F47;
    --secondary: #A0826D;
    --accent: #C9A87C;
    --light: #F5EFE7;
    --dark: #5D4E37;
}

.estetica-theme {
    --primary: #B565A7;
    --secondary: #D88FC7;
    --accent: #E9B7E5;
    --light: #F9F0F8;
    --dark: #7A3E6F;
}

/* Menu hamburguesa */
header {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
    background: linear-gradient(135deg, #B4936E 0%, #8B7355 100%);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(153, 124, 96, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(153, 124, 96, 0.5);
}

.hamburger:active {
    transform: scale(0.95);
}

.hamburger span {
    display: block;
    height: 3px;
    width: 26px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Estilos cuando está en modo ESTÉTICA */
.estetica-theme .hamburger {
    background: linear-gradient(135deg, #D88FC7 0%, #B565A7 100%);
    box-shadow: 0 8px 25px rgba(181, 101, 167, 0.4);
}

.estetica-theme .hamburger:hover {
    box-shadow: 0 12px 35px rgba(181, 101, 167, 0.5);
}

.estetica-theme .hamburger.active {
    background: linear-gradient(135deg, #B565A7 0%, #9A4E8F 100%);
}

.estetica-theme .nav-links {
    background: linear-gradient(180deg, #D88FC7 0%, #B565A7 50%, #9A4E8F 100%);
}

/* Overlay oscuro */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
    backdrop-filter: blur(3px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Panel de navegación */
.nav-links {
    list-style: none;
    position: fixed;
    top: 0;
    left: -320px;
    height: 100vh;
    width: 300px;
    background: linear-gradient(180deg, #B4936E 0%, #997C60 50%, #8B7355 100%);
    flex-direction: column;
    padding: 100px 20px 30px;
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow-y: auto;
}

.nav-links.active {
    left: 0;
}

/* Animación hamburguesa */
.hamburger.active {
    background: linear-gradient(135deg, #8B7355 0%, #6D5D4A 100%);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Items del menú */
.nav-item {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.nav-links.active .nav-item {
    opacity: 1;
    transform: translateX(0);
}

/* Delay escalonado para cada item */
/* Delay escalonado para cada item - SPA */
.nav-links.active .nav-item.spa-nav:nth-of-type(1) {
    transition-delay: 0.1s;
}

.nav-links.active .nav-item.spa-nav:nth-of-type(2) {
    transition-delay: 0.15s;
}

.nav-links.active .nav-item.spa-nav:nth-of-type(3) {
    transition-delay: 0.2s;
}

.nav-links.active .nav-item.spa-nav:nth-of-type(4) {
    transition-delay: 0.25s;
}

.nav-links.active .nav-item.spa-nav:nth-of-type(5) {
    transition-delay: 0.3s;
}

.nav-links.active .nav-item.spa-nav:nth-of-type(6) {
    transition-delay: 0.35s;
}

/* Delay escalonado para cada item - ESTÉTICA */
.nav-links.active .nav-item.estetica-nav:nth-of-type(7) {
    transition-delay: 0.1s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(8) {
    transition-delay: 0.15s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(9) {
    transition-delay: 0.2s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(10) {
    transition-delay: 0.25s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(11) {
    transition-delay: 0.3s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(12) {
    transition-delay: 0.35s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(13) {
    transition-delay: 0.4s;
}

.nav-links.active .nav-item.estetica-nav:nth-of-type(14) {
    transition-delay: 0.45s;
}

/* Enlaces con rectángulos individuales */
.nav-link {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo al hover */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 3px rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* Scrollbar personalizado */
.nav-links::-webkit-scrollbar {
    width: 8px;
}

.nav-links::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.nav-links::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.nav-links::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}



.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="1"/></svg>');
    /* background-image: url('imagenes/spa/logos/ASlogoSoloMarronPng.png'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* width: 50%; */
    /* margin: 0 auto; */
    /* transform: translate(-3%, -35%); */
    opacity: 0.5;
}

.catalogo-hero-text {
    position: absolute;
    top: 16em;
    left: 50%;
    transform: translate(-50%, -50%);
}

.catalogo-hero-text i {
    font-size: 8em;
    animation: jump 2s ease infinite;
}

@keyframes jump {

    0%,
    100% {
        transform: translateY(0px);
    }

    60% {
        transform: translateY(25px);
    }
}

.catalog-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.toggle-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
}

.toggle-btn.active {
    color: white;
    transform: scale(1.05);
}

.promo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.promo-image {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #FFD700;
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    z-index: 10;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: #20ba5b;
    transform: scale(1.02);
}

.whatsapp-btn i {
    font-size: 22px;
}

.instagram-btn {
    transition: all .3s;
}

.instagram-btn:hover {
    transform: scale(1.02);
}

.instagram-btn i {
    font-size: 22px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.service-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.info-card {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-card-informacion {
    display: flex;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.info-card-img {
    height: 200px;
}

.info-card-img.calendario {
    /* height: 180px; */
    /* position: absolute; */
    /* right: 10px; */
}

.info-card-img.reloj {
    /* height: 180px; */
    /* position: absolute; */
    /* right: 10px; */
}

/** ========== Banner Terminos y Condiciones ========== */
/* Estilos para el Banner de Términos y Condiciones */
.terms-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f0e3;
    color: #3f2a25;
    font-weight: 500;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /* Asegura que esté por encima de otro contenido */
    /* display: none; */
    /* Inicialmente oculto, JavaScript lo mostrará */
    opacity: 0;
    /* Inicia invisible para la animación de entrada */
    transform: translateY(100%);
    /* Inicia abajo, fuera de la pantalla para animación de entrada */
    visibility: hidden;
    /* Inicia oculto del DOM y no interactuable */
    transition: opacity 1s ease-out, transform 1s ease-out, visibility 0s linear 1s;
    font-size: 0.9em;
    border-top: 1px solid #e0d5c6;
}

/* Clase para mostrar el banner con animación */
.terms-banner--visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out, visibility 0s linear 0s;
}

/* Clase para ocultar el banner con animación */
.terms-banner--hiding {
    opacity: 0;
    transform: translateY(100%);
    /* Lo desliza hacia abajo al ocultarse */
    visibility: hidden;
    /* Se oculta después de la transición de opacidad y transformación */
    /* La transición se define en la clase base .terms-banner */
}

.terms-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Para que se ajuste en pantallas pequeñas */
    max-width: 1200px;
    /* Limita el ancho del contenido en pantallas grandes */
    margin: 0 auto;
    /* Centra el contenido */
    gap: 15px;
    /* Espacio entre texto y botón si se envuelven */
}

.terms-banner-text {
    margin: 0;
    flex-grow: 1;
    /* Permite que el texto ocupe el espacio disponible */
    line-height: 1.5;
}

.terms-banner-link {
    color: #8D6E63;
    /* Un color que destaque ligeramente, como el de tu footer */
    text-decoration: underline;
    font-weight: bold;
}

.terms-banner-link:hover {
    color: #5D4037;
}

.terms-banner-button {
    background-color: #8D6E63;
    /* Color del botón, similar al newsletter de tu footer */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    /* Evita que el texto del botón se parta */
}

.terms-banner-button:hover {
    background-color: #795548;
}

/* Para pantallas más pequeñas */
@media (max-width: 768px) {
    .terms-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .terms-banner-text {
        margin-bottom: 15px;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .promo-image {
        height: auto;
    }

    .catalog-toggle {
        top: 10px;
        right: 10px;
    }

    .toggle-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .info-card-informacion {
        flex-wrap: wrap;
    }
}