/* ==========================================================================
   Variables de Color - Paleta Verde Esmeralda y Dorado Warm
   ========================================================================== */
:root {
    --primary: #0f382c;        /* Verde Bosque / Esmeralda Oscuro */
    --primary-light: #1a4d3e;  /* Verde Medio */
    --primary-dark: #08241c;   /* Verde Profundo */
    
    --gold: #d4af37;           /* Dorado Warm */
    --gold-hover: #e5c158;     /* Dorado Brillante */
    
    --bg-light: #f4f9f7;       /* Fondo Verde Menta Muy Suave */
    --bg-white: #ffffff;
    
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --text-light: #f9fafb;
    
    --border-color: #e5e7eb;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(15, 56, 44, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 56, 44, 0.12);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Layout Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.align-center { align-items: center; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }

.section-subtitle {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--primary-dark);
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 56, 44, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-img {
    height: 52px;
    width: auto;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 2px;
}

.logo-text .brand-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1.1;
}

.logo-text .brand-sub {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--gold);
}

.hero-badge-img {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #fff;
}

.hero h1 {
    font-size: 3.25rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 36px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}

.hero-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-card h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.icon-accent {
    font-size: 1.75rem;
    color: var(--gold);
}

/* Nosotros Section */
.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary);
    color: var(--gold);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--gold);
}

.about-experience-badge .number {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.75rem;
    color: #fff;
}

.lead-p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
}

.mission-vision-grid {
    margin-top: 30px;
    display: grid;
    gap: 16px;
}

.mv-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold);
}

.mv-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.mv-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.mv-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Servicios Section */
.services-section {
    background-color: var(--bg-light);
}

.service-card {
    background-color: var(--bg-white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.service-card.featured {
    border: 2px solid var(--gold);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e2e8f0;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.service-badge.gold {
    background: var(--gold);
    color: var(--primary-dark);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-time {
    color: var(--gold);
    font-weight: 600;
    margin: 10px 0;
    font-size: 0.95rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Calendario / Eventos */
.calendar-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.events-grid {
    display: grid;
    gap: 20px;
}

.event-card {
    display: flex;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
}

.event-date {
    background-color: var(--primary);
    color: #ffffff;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

.event-date .day {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
}

.event-details {
    padding: 20px;
    flex-grow: 1;
}

.event-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.tag-jovenes { background-color: #e0f2fe; color: #0369a1; }
.tag-comunidad { background-color: #dcfce7; color: #15803d; }
.tag-familias { background-color: #fef3c7; color: #b45309; }

.event-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 6px 0;
}

/* Quote Banner */
.quote-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 70px 0;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.quote-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 12px auto;
    line-height: 1.4;
}

.quote-author {
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
}

/* Contacto Section */
.contact-section {
    background-color: var(--bg-light);
}

.info-list {
    margin: 30px 0;
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: #ffffff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 56, 44, 0.1);
}

.form-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: var(--radius-sm);
    display: none;
    text-align: center;
    font-size: 0.9rem;
}

.form-feedback.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 500px;
    padding: 36px;
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.donation-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.donation-card h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.small-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-cards {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        display: none;
        border-bottom: 2px solid var(--gold);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .about-experience-badge {
        right: 10px;
        bottom: -10px;
    }
}