/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    line-height: 1.5;
    background-color: #ffffff;
}

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

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, .hero-title, .logo span {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.title-line {
    display: block;
    width: 80px;
    height: 3px;
    background: #059669;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== NAVEGACIÓN ===== */
nav {
    background: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #1e3a8a;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Estilos para el logo con escudo */
.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 4px;
}

.logo span {
    font-size: 1.3rem;
    color: #1e3a8a;
    font-weight: 700;
}

.nav-links a {
    margin-left: 28px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #059669;
    border-bottom: 2px solid #059669;
    padding-bottom: 4px;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1e3a8a;
}

/* ===== HERO ===== */
.hero {
   background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)), url('colegio-fondo.png');
    background-size: cover;
    background-position: center 30%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #059669;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #047857;
    transform: translateY(-2px);
}

/* ===== MISION/VISION ===== */
.mission-vision {
    padding: 60px 0;
    background: #f8fafc;
}

.mv-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.mv-card {
    flex: 1;
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    text-align: center;
}

.mv-card i {
    font-size: 2.5rem;
    color: #059669;
    margin-bottom: 20px;
}

.mv-card h2 {
    margin-bottom: 1rem;
    color: #1e3a8a;
}

/* ===== VALORES ===== */
.values {
    padding: 60px 0;
}

.values-grid {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.value-card {
    flex: 1;
    background: #f1f5f9;
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.2s;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-icon {
    font-size: 2.8rem;
    color: #059669;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 12px;
    color: #1e3a8a;
}

/* ===== QUOTE ===== */
.quote-section {
    background: #0f172a;
    color: white;
    padding: 60px 30px;
    text-align: center;
    font-style: italic;
    font-size: 1.3rem;
}

.quote-section span {
    display: block;
    margin-top: 20px;
    font-weight: 300;
    font-size: 0.9rem;
}

/* ===== QUICK LINKS ===== */
.quick-links {
    padding: 60px 0;
}

.links-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.link-card {
    flex: 1;
    background: #f8fafc;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    border-radius: 20px;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.link-card i {
    font-size: 2rem;
    color: #059669;
    margin-bottom: 16px;
}

.link-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
    transform: scale(1.02);
}

/* ===== PÁGINAS INTERNAS ===== */
.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin: 2rem 0 1rem;
    color: #1e3a8a;
}

.subtitle {
    text-align: center;
    color: #475569;
    margin-bottom: 3rem;
}

.section {
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

/* Nosotros: símbolos */
.symbols-grid, .profiles-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.symbol-card, .profile-card {
    flex: 1;
    background: #f8fafc;
    padding: 28px;
    border-radius: 24px;
}

.symbol-card i, .profile-card i {
    font-size: 2rem;
    color: #059669;
    margin-bottom: 16px;
}
.flag-sample {
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
}
.flag-blue {
    background: #1e3a8a;
    height: 35px;
    width: 100%;
}
.flag-red {
    background: #dc2626;
    height: 35px;
}
.anthem-box {
    background: #fefce8;
    padding: 32px;
    border-radius: 24px;
    border-left: 6px solid #fbbf24;
}
.anthem-chorus {
    font-weight: bold;
    font-style: italic;
    margin-bottom: 24px;
    text-align: center;
}
.anthem-verses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

/* Comunidad: órganos */
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 28px;
    margin-top: 32px;
}
.org-card, .rights-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.org-card i, .rights-card i {
    font-size: 1.8rem;
    color: #059669;
}
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
}
.step {
    background: #1e3a8a;
    color: white;
    padding: 10px 18px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Proyectos */
.project-item {
    display: flex;
    gap: 24px;
    background: #fff;
    margin-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 28px;
    align-items: flex-start;
}
.project-icon {
    font-size: 2.2rem;
    color: #059669;
}
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
    gap: 20px;
}
.strategy-card {
    background: #f1f5f9;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}
.info-card {
    margin-bottom: 32px;
}
.info-card i {
    font-size: 1.6rem;
    color: #059669;
    margin-right: 12px;
    width: 40px;
}
.contact-form {
    background: #f8fafc;
    padding: 32px;
    border-radius: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #059669;
}
.form-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

/* ===== FOOTER ===== */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding-top: 40px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 160px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
}

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

/* Botones de redes sociales compactos */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    color: white;
    width: fit-content;
}

.social-btn i {
    font-size: 14px;
}

.social-btn.facebook {
    background: #1877f2;
}
.social-btn.facebook:hover {
    background: #145dbf;
    transform: translateY(-2px);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
}
.social-btn.instagram:hover {
    transform: translateY(-2px);
}

.social-btn.youtube {
    background: #ff0000;
}
.social-btn.youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #1e293b;
    font-size: 11px;
}

/* ===== RESPONSIVE PARA MÓVILES ===== */
@media (max-width: 768px) {
    /* Menú de hamburguesa */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 10px 0;
        padding: 10px;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .social-buttons {
        align-items: center;
    }
    
    .social-btn {
        justify-content: center;
    }
}
