/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c1810;
    overflow-x: hidden;
    background: #faf8f5;
}

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

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c1810;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #1e3a5f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #8b4513 0%, #1e3a5f 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #1e3a5f;
    color: white;
    border: 1px solid #1e3a5f;
}

.btn-primary:hover {
    background: transparent;
    color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Secciones generales */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Experiencias Section */
.experiencias {
    background: white;
    padding: 8rem 0;
}

.experiencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.experiencia-card {
    background: rgba(139, 69, 19, 0.02);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.experiencia-card:hover {
    background: rgba(139, 69, 19, 0.05);
}

.experiencia-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.experiencia-card h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.experiencia-card p {
    color: #6b5b47;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Sedes Section */
.sedes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.sede-card {
    background: rgba(30, 58, 95, 0.02);
    border-radius: 8px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}

.sede-card:hover {
    background: rgba(30, 58, 95, 0.05);
}

.sede-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.sede-image.valle-bravo {
    background: linear-gradient(135deg, #8b4513 0%, #1e3a5f 100%);
    position: relative;
}

.sede-image.valle-bravo::before {
    content: "🏔️ Valle de Bravo";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.sede-image.tepoztlan {
    background: linear-gradient(135deg, #1e3a5f 0%, #8b4513 100%);
    position: relative;
}

.sede-image.tepoztlan::before {
    content: "🏔️ Tepoztlán";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.sede-content {
    padding: 2rem;
}

.sede-content h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.sede-content p {
    color: #6b5b47;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.sede-features {
    list-style: none;
}

.sede-features li {
    padding: 0.5rem 0;
    color: #6b5b47;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.sede-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e3a5f;
    font-weight: bold;
}

/* Equipo Section */
.equipo {
    background: white;
    padding: 8rem 0;
}

/* Testimonios Section */
.testimonios {
    background: #faf8f5;
    color: #2c1810;
    padding: 8rem 0;
}

.testimonios .section-title {
    color: #1e3a5f;
}

.testimonios .section-subtitle {
    color: #6b5b47;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonio-card {
    background: rgba(139, 69, 19, 0.02);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.testimonio-card:hover {
    background: rgba(139, 69, 19, 0.05);
}

.testimonio-content {
    margin-bottom: 1.5rem;
}

.testimonio-content p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: #6b5b47;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonio-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b4513 0%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.testimonio-info h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: #1e3a5f;
}

.testimonio-info span {
    font-size: 0.85rem;
    color: #6b5b47;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.equipo-card {
    background: rgba(30, 58, 95, 0.02);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.equipo-card:hover {
    background: rgba(30, 58, 95, 0.05);
}

.equipo-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b4513 0%, #1e3a5f 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.equipo-card h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.equipo-card p {
    color: #6b5b47;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Contacto Section */
.contacto {
    background: linear-gradient(135deg, #8b4513 0%, #1e3a5f 100%);
    color: white;
    padding: 8rem 0;
}

.contacto .section-title {
    color: white;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contacto-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contacto-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contacto-item .icon {
    font-size: 1.2rem;
}

.contacto-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
}

/* Footer */
.footer {
    background: #2c1810;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: #1e3a5f;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sedes-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .experiencias-grid,
    .equipo-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 1rem;
    }
}
