/* ===== VARIABLES & RESET ===== */
:root {
    --marfil: #F5F1EB;
    --beige: #EFE7DC;
    --dorado: #C6A06A;
    --dorado-claro: #E4C79A;
    --marron: #8A6B4B;
    --texto: #3B3128;
    --gris: #D9D2C8;
    --negro: #2A2522;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(42, 37, 34, 0.08);
    --shadow-lg: 0 10px 40px rgba(42, 37, 34, 0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--texto);
    background-color: var(--marfil);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 108px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 80px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-link {
    color: var(--texto);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dorado);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    background: var(--dorado);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--marron);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--texto);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('imagenes/hero banner.png') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(42, 37, 34, 0.75) 0%,
        rgba(42, 37, 34, 0.55) 50%,
        rgba(42, 37, 34, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 20px;
    max-width: 600px;
}

.hero-highlight {
    color: var(--dorado-claro);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-golden {
    display: inline-block;
    background: var(--dorado);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-golden:hover {
    background: var(--marron);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 160, 106, 0.3);
}

/* ===== FEATURES BAR ===== */
.features-bar {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--dorado);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--negro);
}

.feature-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--negro);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: #777;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--marfil);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--negro);
}

.service-info p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
}

/* ===== NOSOTROS ===== */
.nosotros {
    padding: 100px 0;
    background: var(--white);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nosotros-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--negro);
    margin-bottom: 20px;
}

.nosotros-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pillar {
    text-align: center;
    padding: 20px 10px;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.pillar-icon i {
    font-size: 1.4rem;
    color: var(--dorado);
}

.pillar h4 {
    font-size: 0.9rem;
    color: var(--negro);
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.pillar p {
    font-size: 0.82rem;
    color: #777;
}

.nosotros-images {
    position: relative;
}

.img-collage {
    position: relative;
}

.collage-main {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.collage-secondary {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 55%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

/* ===== MIEDO SECTION ===== */
.miedo-section {
    position: relative;
    padding: 100px 0;
    background: url('imagenes/hero banner.png') center center / cover no-repeat;
}

.miedo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 37, 34, 0.82);
}

.miedo-section .container {
    position: relative;
    z-index: 2;
}

.miedo-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.miedo-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
    color: var(--white);
}

.miedo-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.miedo-list {
    list-style: none;
    text-align: left;
    max-width: 450px;
    margin: 0 auto 30px;
}

.miedo-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.miedo-list li i {
    color: var(--dorado-claro);
    font-size: 1.1rem;
}

.miedo-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.miedo-bold {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dorado-claro);
    margin-bottom: 30px;
}

/* ===== PLATAFORMA ===== */
.plataforma {
    padding: 100px 0;
    background: var(--beige);
}

.plataforma-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.plataforma-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--negro);
    margin-bottom: 15px;
}

.plataforma-content > p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.plataforma-features {
    list-style: none;
    margin-bottom: 35px;
}

.plataforma-features li {
    padding: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--texto);
}

.plataforma-features li i {
    color: var(--dorado);
    font-size: 1.1rem;
    width: 20px;
}

.plataforma-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platform-mockup {
    background: var(--white);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.platform-mockup i {
    font-size: 4rem;
    color: var(--dorado);
    margin-bottom: 20px;
}

.platform-mockup p {
    font-size: 1.1rem;
    color: var(--texto);
    font-weight: 500;
}

/* ===== HORARIOS ===== */
.horarios {
    padding: 80px 0;
    background: var(--marfil);
}

.horarios-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.horarios-card h2 {
    font-size: 2rem;
    color: var(--negro);
    margin-bottom: 30px;
}

.horarios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.horario-item {
    padding: 25px;
    background: var(--beige);
    border-radius: var(--radius);
}

.horario-item i {
    font-size: 1.8rem;
    color: var(--dorado);
    margin-bottom: 12px;
}

.horario-item h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--negro);
}

.horario-item p {
    font-size: 1.1rem;
    color: var(--marron);
    font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--marfil);
    border-radius: var(--radius);
    padding: 35px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    margin-bottom: 15px;
}

.testimonial-stars i {
    color: var(--dorado);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--dorado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--white);
    font-size: 0.9rem;
}

.testimonial-author span {
    font-weight: 600;
    color: var(--negro);
}

/* ===== CONTACT ===== */
.contacto {
    padding: 100px 0;
    background: var(--beige);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--dorado);
    margin-top: 4px;
    width: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--negro);
}

.contact-item p {
    font-size: 0.92rem;
    color: #555;
}

.contact-item a {
    color: var(--marron);
}

.contact-item a:hover {
    color: var(--dorado);
}

.contacto-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--negro);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 70px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--dorado-claro);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--dorado-claro);
}

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--dorado);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 650px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--texto);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--dorado);
}

.modal-content h2 {
    font-size: 1.8rem;
    color: var(--negro);
    margin-bottom: 20px;
    padding-right: 30px;
}

.modal-body h3 {
    font-size: 1.1rem;
    color: var(--marron);
    margin: 20px 0 10px;
    font-family: 'Inter', sans-serif;
}

.modal-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--texto);
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .nosotros-images {
        order: -1;
    }
    
    .collage-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        width: 60%;
        margin-top: -40px;
        margin-left: auto;
    }
    
    .plataforma-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .horarios-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pillars {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .features-bar {
        margin-top: -40px;
    }
    
    .horarios-card {
        padding: 30px 20px;
    }
    
    .modal-content {
        padding: 25px;
    }
}
