/* ===== IMPORTAR QUICKSAND DESDE GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
:root {
    /* ===== OFICIAL ===== */
    --primary-green: #156764;
    --light-green: #A7DBB7;
    --cream: #f9f7f1;
    --text-dark: #2c3e50;
    --white: #ffffff;

    /* ===== ACEPTADOS ===== */
    --mustard: #B7C909;
    --violet: #58256B;

}

body {
    font-family: 'Quicksand', sans-serif; /* ✅ Reemplaza GUKEN */
    color: #333;
    font-weight: 400;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    padding: 80px 0;
    margin-top: 80px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.2);
}

.hero-section h1 {
    font-family: 'GROBOLD', sans-serif;
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
}

/* Personal Story Section */
.personal-story-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff 0%, var(--cream) 100%);
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(45, 80, 22, 0.1);
    padding: 40px;
}

.story-image-container {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    border-radius: 15px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.story-title {
    font-family: 'GROBOLD', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 10px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-family: 'CARONI', serif;
}

.story-content {
    padding: 20px;
}

.story-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-weight: 500;
}

.story-intro {
    font-size: 1.2rem !important;
    color: var(--violet) !important;
    margin-bottom: 25px !important;
    font-weight: 600;
}

.story-highlight {
    background: linear-gradient(to right, rgba(122, 92, 140, 0.1), rgba(122, 92, 140, 0.05));
    border-left: 4px solid var(--violet);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.story-highlight p {
    margin: 0;
    font-weight: 600;
    color: var(--violet);
}

.community-values {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.values-intro {
    font-weight: 600;
    color: var(--violet);
    margin-bottom: 20px;
    font-size: 1.1rem !important;
    font-family: 'CARONI', serif;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: linear-gradient(to right, rgba(122, 92, 140, 0.05), transparent);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: linear-gradient(to right, rgba(122, 92, 140, 0.1), transparent);
    transform: translateX(5px);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--mustard);
}

.value-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.story-closing {
    text-align: center;
    font-family: 'GROBOLD', sans-serif;
    font-size: 1.5rem !important;
    font-weight: normal !important;
    color: var(--mustard) !important;
    margin: 30px 0 0 0 !important;
    padding: 20px;
    background: linear-gradient(135deg, rgba(230, 184, 77, 0.1), rgba(122, 92, 140, 0.1));
    border-radius: 10px;
    text-transform: uppercase;
}

/* About Cards */
.about-card {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.about-card:hover {
    border-color: var(--mustard);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 184, 77, 0.2);
}

.about-card .card-header {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    padding: 20px;
    font-family: 'CARONI', serif;
    text-transform: none;
}

.about-card .card-body {
    padding: 30px;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--mustard), var(--violet));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

/* Stats Section */
.stats-section {
    background-color: white;
    padding: 60px 0;
}

.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-family: 'GROBOLD', sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--violet);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-family: 'CARONI', serif;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--mustard), var(--violet));
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    width: 45%;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--violet);
    box-shadow: 0 5px 20px rgba(122, 92, 140, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--violet);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--mustard);
    top: 30px;
    z-index: 2;
}

.timeline-year {
    font-family: 'GROBOLD', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--mustard);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.timeline-content h4 {
    color: var(--violet);
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'CARONI', serif;
}

/* Instagram Section */
.instagram-section {
    background: linear-gradient(to bottom, var(--cream) 0%, white 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.instagram-header {
    text-align: center;
    margin-bottom: 50px;
}

.instagram-header h2 {
    font-family: 'GROBOLD', sans-serif;
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.instagram-header p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.instagram-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--violet), var(--mustard));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(122, 92, 140, 0.3);
}

.instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(122, 92, 140, 0.4);
    color: white;
}

.instagram-feed-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.instagram-feed-container h3 {
    font-family: 'CARONI', serif;
    font-size: 2rem;
    color: var(--primary-green);
}

/* ===================================
   RESPONSIVE Diseño
   =================================== */

@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        margin-top: 70px;
        padding: 50px 0;
        border-radius: 0 0 20px 20px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .hero-section p {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Story content */
    .story-content p,
    .story-intro,
    .story-highlight p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .story-card {
        padding: 25px 15px;
    }

    .story-image-container {
        padding: 20px 10px;
    }

    .story-title {
        font-size: 1.8rem;
    }

    .story-subtitle {
        font-size: 1rem;
    }

    /* === TIMELINE MÓVIL - CORREGIDA === */
    .timeline {
        padding: 30px 0;
    }

    .timeline::before {
        left: 24px; /* Línea vertical fija a la izquierda */
        transform: none;
        width: 3px;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 50px;
        padding-left: 60px; /* Espacio para el punto + margen */
        min-height: 60px;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        box-sizing: border-box;
    }

    .timeline-dot {
        position: absolute !important;
        left: 24px !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
        width: 20px;
        height: 20px;
        background: var(--violet);
        border: 4px solid white;
        border-radius: 50%;
        box-shadow: 0 0 0 4px var(--mustard);
        z-index: 3;
    }

    .timeline-year {
        font-size: 1.3rem;
        position: relative;
        z-index: 4;
        display: inline-block;
        background: white; /* Evita que el punto lo tape visualmente */
        padding: 0 6px;
        border-radius: 4px;
        margin-bottom: 12px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    /* About Cards */
    .about-card .card-header {
        font-size: 1.1rem;
        padding: 15px;
    }

    .about-card .card-body {
        padding: 20px 15px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Stats */
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    /* Instagram */
    .instagram-link {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .instagram-feed-container h3 {
        font-size: 1.5rem;
    }

    /* Valores comunitarios */
    .value-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        text-align: left;
    }

    .value-item i {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .value-item span {
        font-size: 1rem;
    }

    /* Cierre de historia */
    .story-closing {
        font-size: 1.2rem !important;
        padding: 15px;
    }
}