:root {
    --primary-color: #0081c7;
    --accent-color: #26c968;
    --background-dark: #0a192f;
    --text-color-light: #ffffff;
    --font-family: system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color-light);
    background-color: #0c1a2c;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.main-header {
    background-color: transparent;
    padding: 25px 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.logo-circle {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding-bottom: 4px;
}

.main-nav a.active {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
}

.btn-reservar {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(39, 36, 160, 0.466);
    color: #fff;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-reservar:hover {
    background-color: #081626; /* Tono aún más oscuro al pasar el cursor */
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10px;
    background-color: #0d2843;
    overflow: hidden;
}

/* Fondo de la foto posicionado hacia la derecha *//* Capa de fondo con la imagen y los degradados azulados */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* 
       1er degradado: De azul oscuro (izquierda) a transparente (derecha) para que el texto sea legible.
       2do degradado: Un toque oscuro sutil abajo para integrar las píldoras inferiores.
    */
    background-image: 
        linear-gradient(90deg, #0d2843 20%, rgba(13, 40, 67, 0.75) 55%, rgba(13, 40, 67, 0.15) 100%),
        linear-gradient(to top, rgba(13, 40, 67, 0.8) 0%, transparent 25%),
        url('assets/hero mujer sonrisa.webp'); /* O la ruta de tu foto local */
    background-size: cover;
    background-position: 1% center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Asegura que el contenido quede por encima del degradado */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 500px; /* Mantiene las letras en el lado izquierdo */
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.12;
    margin-top: -38px;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.45;
}

/* Botones */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(38, 201, 104, 0.3);
}

.btn-tratamientos {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Pills inferiores */
.hero-features {
    display: flex;
    flex-direction: row; /* Alinea los elementos uno al lado del otro */
    align-items: center;
    gap: 5px;
    flex-wrap: wrap; /* Evita que se rompan en pantallas medianas */
}

.feature-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    font-size: 1rem;
    color: #64b5f6;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 100;
}


/* --- ESTILOS RESPONSIVE (MÓVILES Y TABLETS) --- */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .header-action {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #081626;
        padding: 20px 0;
        display: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .hero {
        padding-top: 80px;
        padding-bottom: 25px;
        min-height: 100vh;
        display: flex;
        align-items: flex-end; /* Alinea los elementos hacia abajo */
    }

    /* Imagen más nítida y enfocada en los ojos/sonrisa superior */
    .hero::after {
        background-image: 
            linear-gradient(180deg, rgba(13, 40, 67, 0.5) 0%, rgba(13, 40, 67, 0.1) 40%, rgba(13, 40, 67, 0.95) 85%),
            url('assets/hero mujer sonrisa.webp'); 
        background-position: center 20%; /* Sube la foto para ver mejor el rostro */
        background-size: cover;
        opacity: 0.95;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 8px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    }

    .hero-description {
        font-size: 0.82rem;
        margin-bottom: 16px;
        line-height: 1.35;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    }

    /* Botones principales más compactos */
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 18px;
    }

    .btn-whatsapp, .btn-tratamientos {
        justify-content: center;
        width: 85%; /* Menos ancho para no saturar los lados */
        padding: 9px 16px; /* Padding reducido */
        font-size: 0.82rem; /* Tamaño de texto más pequeño */
    }

    /* Píldoras inferiores más delgadas */
    .hero-features {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 6px;
    }

    .feature-item {
        width: 85%;
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.75rem;
        background: rgba(8, 22, 38, 0.75);
    }
}