:root {
    --gold: #c5a059;
    --dark: #1a1a1a;
    --light: #fdfdfd;
    --serif: 'Playfair Display', serif;
    --sans: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER BASE --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.logo img {
    height: 60px; /* Ajusta según el diseño de tu logo */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--gold);
}

/* Botón especial dentro del menú */
.nav-btn {
    border: 1px solid var(--gold);
    padding: 10px 20px;
    transition: all 0.3s !important;
}

.nav-btn:hover {
    background: var(--gold);
    color: var(--dark) !important;
}

/* --- MOBILE MENU (HAMBURGER) --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* --- MEDIA QUERY (MÓVILES) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%; /* Oculto por defecto */
        top: 80px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.5s;
        padding-top: 50px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0; /* Se muestra al activar */
    }

    .nav-links li {
        margin: 2rem 0;
    }

    .nav-links li a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    /* Animación X de la hamburguesa */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -7px);
    }
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: center;
    background: linear-gradient(to right, #1a1a1a 40%, transparent);
}

.hero-content {
    padding: 10%;
}

.hero h1 {
    font-family: var(--serif);
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    border-radius: 2px;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-5px);
}

.hero-image img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
}
/* media query para hero-image  */
@media (max-width: 768px) {
    .hero-image {
        display: inline !important;
    }
    .hero-image img {
        height: 50vh;
        display: block;
    }
}

/* Services */
.services {
    padding: 5rem 5%;
    text-align: center;
}

.section-title {
    font-family: var(--serif);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--gold);
}

/* Contenedor principal */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos de la última fila */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta individual */
.service-card {
    flex: 0 1 calc(33.333% - 25px); /* 3 por fila restando el gap */
    min-width: 300px;
    background: #1e1e1e;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

/* Contenedor de imagen y Filtros */
.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Capa de filtro sutil común para todas */
.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4; /* Ajusta la intensidad del color aquí */
    transition: opacity 0.3s;
}

.service-card:hover .card-img::after {
    opacity: 0.2; /* Al pasar el mouse, el color se aclara para ver mejor la foto */
}

/* Variaciones de Filtros (Colores Místicos) */
.f-oro::after { background-color: #c5a059; }      /* Tono Dorado */
.f-magni::after { background-color: #6a4c93; }   /* Tono Púrpura */
.f-rosa::after { background-color: #b33939; }    /* Tono Rojizo/Amor */
.f-luna::after { background-color: #2c3e50; }    /* Tono Azul Noche */
.f-mist::after { background-color: #16a085; }    /* Tono Esmeralda */

/* Filtros CSS extra para diferenciar fotos repetidas */
.f-oro { filter: sepia(0.5) brightness(0.8); }
.f-magni { filter: hue-rotate(45deg) contrast(1.1); }
.f-luna { filter: grayscale(0.4) brightness(0.7); }

/* Ajuste Responsivo */
@media (max-width: 992px) {
    .service-card {
        flex: 0 1 calc(50% - 25px); /* 2 por fila en tablets */
    }
}

@media (max-width: 650px) {
    .service-card {
        flex: 0 1 100%; /* 1 por fila en móviles */
    }
}

/* Etiquetas de precio en la tarjeta */
.price-tag {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin: 10px 0;
    font-size: 1.2rem;
}

.btn-open-modal {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 8px 20px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.btn-open-modal:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: all 0.3s ease;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid var(--gold);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover { color: var(--gold); }

#modal-title {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-price {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 20px;
}

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 20px auto;
    width: 60%;
}

#modal-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 30px;
}

.btn-agendar {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-agendar:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.service-card:hover {
    border-color: var(--gold);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-card h3 {
    margin: 1.5rem 0 0.5rem;
    font-family: var(--serif);
}

.service-card p {
    padding: 0 1rem 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Form */
.contact {
    padding: 5rem 5%;
    background: #111;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#contact-form input, #contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: white;
    padding: 1rem;
    margin-bottom: 1.5rem;
    outline: none;
}

.btn-submit {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .hero-image { display: none; }
}

/* Estilos Generales de la Sección Bio */
.about {
    background-color: #ffffff; /* Blanco puro para paz y transparencia */
    color: #1a1a1a;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.container-about {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

/* Imagen con toque artístico */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 20px 20px 0px #f4f4f4; /* Un marco sutil */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold);
    color: #fff;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

/* Texto y Tipografía */
.about-text .subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-family: var(--serif);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-text h2 span {
    color: var(--gold);
    font-style: italic;
}

.highlight-info {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
}

.divider-short {
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 30px;
}

.description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

/* Stats / Social Proof */
.social-proof {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat .number {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.stat .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 850px) {
    .container-about {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        max-width: 400px;
        margin: 0 auto 40px;
    }
    .divider-short {
        margin: 0 auto 30px;
    }
    .social-proof {
        justify-content: center;
    }
}

/* Sección Terapias */
.therapies {
    background-color: #f9f7f2; /* Color crema suave para calma */
    padding: 100px 5%;
    color: #333;
}

.container-therapies {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.therapies-content .tag {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.therapies-content h2 {
    font-family: var(--serif);
    font-size: 3rem;
    margin: 15px 0 25px;
}

.therapies-content h2 span {
    font-style: italic;
    font-weight: 400;
}

.main-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

/* Cuadrícula de Beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
}

.benefit-item .icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.benefit-item p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
}

/* Botón Outline */
.btn-outline {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--gold);
    color: white;
}

/* Imagen de Terapias */
.image-frame {
    position: relative;
    padding: 20px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--gold);
    z-index: 0;
}

.image-frame img {
    width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 0 100px 0 100px; /* Corte asimétrico elegante */
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .container-therapies {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .benefits-grid {
        justify-content: center;
    }
    .benefit-item {
        text-align: left;
    }
    .therapies-image {
        order: -1; /* La imagen aparece arriba en móvil */
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Sección Rituales */
.rituals {
    background-color: #111; /* Negro profundo */
    padding: 100px 5%;
    text-align: center;
}

.section-subtitle {
    color: #888;
    margin-top: -20px;
    margin-bottom: 50px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rituals-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ritual-card {
    flex: 1 1 350px;
    max-width: 380px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ritual-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.ritual-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: grayscale(0.5) contrast(1.2);
    transition: filter 0.4s;
}
.ritual-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ritual-card:hover .ritual-img {
    filter: grayscale(0) contrast(1);
}

/* Imágenes Placeholder para Rituales (Reemplazar con assets reales) */
.r-limpieza { background-image: url('assets/imgs/ritual-limpieza.jpg'); }
.r-abrecaminos { background-image: url('assets/imgs/ritual-abrecaminos.jpg'); }
.r-proteccion { background-image: url('assets/imgs/ritual-proteccion.jpg'); }

.ritual-info {
    padding: 30px;
}

.ritual-info h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.ritual-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 15px;
}

.ritual-info p {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 25px;
}

.btn-ritual {
    width: 100%;
    margin-bottom: 0;
    border-color: #333;
    padding: 12px;
}

/* Footer Principal */
.main-footer {
    background-color: #0d0d0d; /* Un tono más oscuro que el resto */
    color: #ffffff;
    padding: 80px 5% 40px;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

/* Columna de Marca */
.footer-logo {
    font-family: var(--serif);
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-contact-info {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

.email-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.email-link:hover {
    opacity: 0.7;
}

/* Columna de Enlaces */
.footer-col h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--gold);
}

/* Columna de Redes */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.social-item:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* Barra inferior de Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
    .social-links {
        align-items: center;
    }
    .footer-col h3::after {
        content: '';
        display: block;
        width: 30px;
        height: 1px;
        background: var(--gold);
        margin: 10px auto;
    }
}