/* ================================================= */
/* BOTÓN STICKY SUMATE */
/* ================================================= */
/* Colores invertidos: por defecto rosa, hover amarillo */
.sumate-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-6deg);
    z-index: 1200;
    background: linear-gradient(120deg, var(--color-rose) 60%, var(--color-gold) 100%);
    color: #fff;
    font-family: 'Nunito Sans', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.04em;
    padding: 1.1rem 2.2rem 1.1rem 1.5rem;
    border-radius: 32px 0 0 32px;
    box-shadow: 0 8px 32px rgba(232,66,111,0.13), 0 2px 8px rgba(0,33,44,0.09);
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
    display: flex;
    align-items: center;
    gap: 0.7em;
}
.sumate-btn:hover, .sumate-btn:focus {
    background: linear-gradient(120deg, var(--color-gold) 60%, var(--color-rose) 100%);
    box-shadow: 0 12px 36px rgba(232,66,111,0.19), 0 4px 16px rgba(0,33,44,0.13);
    transform: translateY(-50%) scale(1.06) rotate(-3deg);
    color: #fff;
    text-decoration: none;
}
@media (max-width: 700px) {
    .sumate-btn {
        font-size: 0.92rem;
        padding: 0.48rem 0.9rem 0.48rem 0.7rem;
        border-radius: 16px 0 0 16px;
        min-width: unset;
    }
}
/* ================================================= */
/* RESET */
/* ================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================================= */
/* VARIABLES DE COLOR */
/* ================================================= */
:root {
    --color-terra: #E2A38C; /* RGB 226 163 140 */
    --color-gold: #E8C730;  /* RGB 232 199 48 */
    --color-dark: #00212C;  /* RGB 0 33 44 */
    --color-rose: #E8426F;  /* RGB 232 66 111 */

    --bg: #fbfcfd;
    --muted: #6b6b6b;

    --text-dark: var(--color-dark);
    --text-light: var(--muted);

    --radius: 18px;
    --card-shadow: 0 8px 20px rgba(232,199,48,0.06);
    --glass: rgba(255,255,255,0.06);
    --transition: 0.28s;
    --sidebar-width: 290px;
} 

/* ================================================= */
/* FUENTES – NUNITO SANS */
/* ================================================= */
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('/static/NunitoSans_10pt-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ================================================= */
/* GLOBAL */
/* ================================================= */
body {
    font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    transition: padding-left var(--transition);
}

body.sidebar-open {
    padding-left: var(--sidebar-width);
}

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

/* ================================================= */
/* SIDEBAR + NAVEGACIÓN */
/* ================================================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #071018 0%, #0f1417 100%);
    box-shadow: 8px 0 28px rgba(2,18,25,0.18);
    z-index: 1000;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    transform: translateX(0);
    transition: transform var(--transition);
}

body.sidebar-hidden .sidebar {
    transform: translateX(calc(-1 * var(--sidebar-width)));
}

.sidebar-brand {
    margin: 0.2rem 0 1.35rem;
    padding: 0.38rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
}

.sidebar-logo {
    display: block;
    width: 100%;
    max-width: 110px;
    margin: 0.4rem auto 0.6rem auto;
    padding: 0.12rem 0.18rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.92);
    object-fit: contain;
    height: 36px;
}

.sidebar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar nav ul li a {
    position: relative;
    text-decoration: none;
    color: #e6eef0;
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
    transition: color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
    font-weight: 600;
    display: block;
}

.sidebar nav ul li a::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 50%;
    width: 4px;
    height: 0;
    border-radius: 999px;
    background: #fff;
    transform: translateY(-50%);
    opacity: 0;
    transition: height var(--transition), opacity var(--transition);
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
    background: linear-gradient(90deg, var(--color-gold), var(--color-rose));
    color: #fff;
    transform: translateX(3px);
    box-shadow: 0 8px 20px rgba(232,199,48,0.16);
}

.sidebar nav ul li a:hover::before,
.sidebar nav ul li a.active::before {
    height: 65%;
    opacity: 0.9;
}

.sidebar-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1100;
    border: none;
    border-radius: 12px;
    padding: 0.6rem 0.78rem;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(90deg, rgba(0,33,44,0.9), rgba(7,16,24,0.9));
    box-shadow: 0 8px 20px rgba(2,18,25,0.2);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(2,18,25,0.24);
}

body.sidebar-open .sidebar-toggle {
    left: calc(var(--sidebar-width) + 12px);
}

/* ================================================= */
/* HERO (MEJORADO: FRESCO Y LLAMATIVO) */
/* ================================================= */
.hero {
    min-height: 100vh;
    padding: 12rem 0 6rem;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;

    background: linear-gradient(135deg, var(--color-terra), var(--color-gold));
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -10% -20% auto -20%;
    height: 60%;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.12), transparent 20%);
    transform: rotate(-12deg);
    opacity: 0.8;
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    animation: fadeUp 0.9s ease both;
}

.hero-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
    padding: 0.55rem 0.8rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 14px 34px rgba(0,33,44,0.2);
}

.hero-logo {
    display: block;
    width: auto;
    max-width: 240px;
    height: auto;
    margin: 0;
    opacity: 1;
    transform-origin: center;
    filter: drop-shadow(0 4px 10px rgba(0,33,44,0.16));
    transition: none;
}

.hero-logo:hover {
    transform: none;
    filter: drop-shadow(0 4px 10px rgba(0,33,44,0.16));
}

.hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    margin-bottom: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.hero p {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    margin-bottom: 28px;
    color: rgba(0,0,0,0.72);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ================================================= */
/* BOTÓN */
/* ================================================= */
.btn {
    background: linear-gradient(90deg, var(--color-gold), var(--color-rose));
    color: white;
    padding: 0.95rem 2.2rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 30px rgba(232,199,48,0.18);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(232,199,48,0.22);
}

.btn:focus { outline: 3px solid rgba(232,199,48,0.16); }


/* ================================================= */
/* SECCIONES */
/* ================================================= */
section {
    padding: 7rem 0;
    position: relative;
}

/* Divider between consecutive sections */
section + section {
    border-top: none;
}

section + section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(88%, 1040px);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(226,163,140,0.16) 0%,
        rgba(232,199,48,0.45) 34%,
        rgba(232,66,111,0.45) 66%,
        rgba(226,163,140,0.16) 100%
    );
}

/* Subtle alternating background for clearer separation */
section:not(.hero):nth-of-type(even) {
    background: linear-gradient(180deg, rgba(232,199,48,0.03), transparent);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.4rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 6px;
    margin: 18px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-rose));
}

.about-intro {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.about-intro-text {
    display: flex;
    align-items: center;
}

.about-intro-text p {
    margin: 0;
}

.about-intro-media {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    width: 95%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro-media img {
    width: 80%;
    max-width: 480px;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.mission-block-title {
    text-align: center;
    margin: 0 0 0.55rem;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: var(--text-dark);
}

.mission-block-title::after {
    content: "";
    display: block;
    width: 62px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-rose));
}

.mission-intro {
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: clamp(1.08rem, 2.25vw, 1.25rem);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.45;
}

.programs-layout {
    display: block;
    margin-top: 0.9rem;
}

.programs-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(232,199,48,0.12), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(232,66,111,0.08), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.98), #fff);
}

.programs-intro {
    text-align: center;
    color: var(--text-light);
    margin: 0.1rem auto 0.2rem;
    max-width: 760px;
}

.programs-main h4,
.programs-side h4 {
    font-size: 1.04rem;
    margin-bottom: 0.65rem;
    color: var(--text-dark);
}

.programs-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.6rem;
}

.program-item {
    border: 1px solid rgba(232,199,48,0.28);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(232,199,48,0.05));
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.program-item:hover {
    transform: translateY(-2px);
    border-color: rgba(232,66,111,0.34);
}

.program-item[open] {
    border-color: rgba(232,66,111,0.38);
    box-shadow: 0 10px 24px rgba(232,199,48,0.1);
}

.program-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.9rem 1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.program-item summary::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-rose));
    box-shadow: 0 0 0 3px rgba(232,199,48,0.14);
    flex: 0 0 auto;
    margin-right: 0.45rem;
}

.program-item summary::-webkit-details-marker {
    display: none;
}

.program-item summary::after {
    content: "+";
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-rose);
    transition: transform var(--transition);
}

.program-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
}

.program-item p {
    margin: 0;
    padding: 0 1rem 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

.programs-side {
    background: linear-gradient(180deg, rgba(232,199,48,0.09), rgba(255,255,255,0.9));
    border: 1px solid rgba(232,199,48,0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.programs-side h4 {
    margin-bottom: 0.5rem;
}

.programs-side p {
    margin: 0;
    line-height: 1.55;
    color: var(--text-dark);
}

.section-cta {
    margin-top: 1.15rem;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(232,199,48,0.35);
    background: linear-gradient(90deg, rgba(232,199,48,0.12), rgba(232,66,111,0.08));
    color: var(--text-dark);
    font-weight: 600;
}

.founders-card {
    max-width: 920px;
    margin: 0 auto;
}

.founders-card h4 {
    margin: 1rem 0 0.55rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.org-list,
.founders-members {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: justify;
}

.org-list {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.org-list li {
    background: linear-gradient(90deg, rgba(232,199,48,0.11), rgba(232,66,111,0.06));
    border: 1px solid rgba(232,199,48,0.3);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
}

.org-list span {
    font-weight: 700;
    color: var(--text-dark);
}

.founders-members {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.founders-members li {
    padding: 0.48rem 0.6rem;
    border-radius: 8px;
    background: rgba(0,33,44,0.04);
}

.legal-note {
    margin-top: 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    background: linear-gradient(90deg, rgba(232,199,48,0.15), rgba(232,66,111,0.1));
    border: 1px solid rgba(232,199,48,0.28);
    border-radius: 10px;
    padding: 0.62rem 0.8rem;
}

/* Decoración para títulos dentro de tarjetas de sección (p. ej. "Nuestro Propósito") */
.card.section-card h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    position: relative;
}

.card.section-card h3::after {
    content: "";
    display: block;
    width: 56px;
    height: 6px;
    margin: 10px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-rose));
}

/* ================================================= */
/* GRID */
/* ================================================= */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ================================================= */
/* CARDS */
/* ================================================= */
.card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), #fff);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border-left: 6px solid rgba(0,0,0,0.04);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2,18,25,0.12);
    border-left-color: var(--color-gold);
}

.card ul {
    padding-left: 1.2rem;
}

.card ul li {
    margin-bottom: 0.6rem;
}

/* ================================================= */
/* EVENTOS */
/* ================================================= */
.events-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.event-card {
    padding: 0.9rem;
    border-left: none;
    overflow: hidden;
}

.event-card h4 {
    margin: 0.85rem 0 0.2rem;
    font-size: 1.02rem;
    text-align: center;
    color: var(--text-dark);
}

.event-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    cursor: zoom-in;
    transition: transform var(--transition), filter var(--transition);
}

.event-card:hover .event-image {
    transform: scale(1.02);
    filter: saturate(1.06);
}

.lightbox-target {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 12, 0.88);
    backdrop-filter: blur(3px);
    display: grid;
    place-items: center;
    padding: 1.2rem;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

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

.image-lightbox img {
    max-width: min(95vw, 1100px);
    max-height: 84vh;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    transition: background var(--transition), transform var(--transition);
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1.04);
}


/* ================================================= */
/* PILARES */
/* ================================================= */
#pillars {
    background: #f8f9fa;
}

/* Grid más controlada para que en desktop quede 3 columnas x 2 filas */
.pillars-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Forzar 3 columnas en pantallas grandes para lograr simetría */
@media (min-width: 992px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.4rem;
    }
}

/* Asegurar altura y alineación uniforme de las tarjetas */
.pillar-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.8rem;
    min-height: 260px; /* iguala la altura para filas simétricas */
    transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2,18,25,0.06);
}

.pillar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-terra));
    box-shadow: 0 10px 24px rgba(232,199,48,0.12);
}

.pillar-icon svg {
    width: 52%;
    height: 52%;
    transition: transform var(--transition), filter var(--transition), opacity var(--transition);
    transform-origin: center;
}

/* Estilo para los nuevos íconos de pilares en formato imagen */
.pillar-icon img {
    width: 52%;
    height: 52%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.07));
    transition: transform var(--transition), filter var(--transition), opacity var(--transition);
}

.pillar-card:hover .pillar-icon img {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 8px 22px rgba(232,199,48,0.08));
}
}

/* Contraste: iconos blancos con trazo oscuro y acentos rosas */
.pillar-icon svg path {
    fill: #fff;
    stroke: rgba(0,33,44,0.12);
    stroke-width: 0.8px;
}

/* Mantener elementos decorativos en rosa para acento y asegurar contraste */
.pillar-icon svg path[opacity],
.pillar-icon svg path[opacity="0.6"],
.pillar-icon svg path[opacity="0.8"],
.pillar-icon svg path[opacity="0.9"] {
    fill: var(--color-rose) !important;
    stroke: none !important;
    opacity: 0.98 !important;
}

/* Para iconos que usan paths como líneas (tienen stroke-width) asegurar color oscuro */
.pillar-icon svg [stroke-width] {
    stroke: var(--color-dark);
    stroke-width: 1.4px;
    fill: none;
}

/* Separador interno para mejorar lectura (sutil aro claro) */
.pillar-icon {
    position: relative;
}
.pillar-icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.pillar-card:hover .pillar-icon { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 36px rgba(232,199,48,0.12); }
.pillar-card:hover .pillar-icon svg { transform: translateY(-3px); filter: drop-shadow(0 8px 22px rgba(232,199,48,0.08)); }

/* Ajustes tipográficos */
.pillar-card h3 { margin-top: 0.4rem; margin-bottom: 0.6rem; }
.pillar-card p { color: var(--text-light); line-height: 1.45; }


/* ================================================= */
/* FOOTER */
/* ================================================= */
#footer {
    position: relative;
    background:
        radial-gradient(circle at 12% 15%, rgba(232,199,48,0.2), transparent 34%),
        radial-gradient(circle at 88% 88%, rgba(232,66,111,0.16), transparent 36%),
        linear-gradient(180deg, #071018 0%, #0f1417 100%);
    padding: 3rem 1rem 2.6rem;
    text-align: center;
    color: #e6eef0;
    overflow: hidden;
}

#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(86%, 880px);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(232,199,48,0.2), rgba(232,66,111,0.6), rgba(232,199,48,0.2));
}

.footer-title {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    margin-bottom: 0.35rem;
    letter-spacing: 0.4px;
}

.footer-lead {
    color: #cfd8dd;
    margin-bottom: 1.2rem;
}

.footer-text {
    margin-top: 1.4rem;
    color: #b9c1c6;
    font-size: 0.92rem;
}

.footer-socials a {
    background: rgba(255,255,255,0.05);
    padding: 11px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.09);
}

.footer-socials a:hover {
    transform: translateY(-4px);
    background: linear-gradient(90deg, rgba(232,199,48,0.24), rgba(232,66,111,0.22));
    border-color: rgba(232,199,48,0.55);
    box-shadow: 0 12px 28px rgba(232,199,48,0.2);
}


/* ================================================= */
/* REDES */
/* ================================================= */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.footer-socials img {
    width: 22px;
    height: 22px;
    opacity: 0.84;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
}

.footer-socials a:hover img {
    opacity: 1;
    filter: brightness(1.12);
}

/* ================================================= */
/* UTILIDADES Y ANIMACIONES */
/* ================================================= */

.fade-up { animation: fadeUp 0.9s ease both; }
.icon-bounce { transition: transform var(--transition); }
.icon-bounce:hover { transform: translateY(-6px); }

/* Small helpers */
.center { display: grid; place-items: center; }

/* ================================================= */
/* RESPONSIVE */
/* ================================================= */
@media (max-width: 992px) {
    .hero {
        padding: 9rem 0 4rem;
    }

    section {
        padding: 4rem 0;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .programs-layout {
        margin-top: 0.75rem;
    }

    .founders-members {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    body.sidebar-open {
        padding-left: 0;
    }

    .sidebar {
        transform: translateX(calc(-1 * var(--sidebar-width)));
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-toggle {
        left: 14px;
    }

    body.sidebar-open .sidebar-toggle {
        left: 14px;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 180px;
    }

    .hero-logo-frame {
        margin-bottom: 24px;
        padding: 0.42rem 0.58rem;
        border-radius: 14px;
    }

    .sidebar {
        width: min(85vw, var(--sidebar-width));
    }

    .about-intro-media {
        padding: 0.7rem;
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .about-intro-media img {
        width: 100%;
        min-width: 0;
        height: 180px;
        object-fit: cover;
    }

    .sidebar-brand {
        margin: 0.05rem 0 1rem;
        padding: 0.35rem;
        border-radius: 12px;
    }

    .sidebar-logo {
        max-width: 170px;
        padding: 0.2rem 0.25rem;
    }

    .event-image {
        height: 190px;
    }

    #footer {
        padding-top: 2.6rem;
    }

    .footer-lead {
        font-size: 0.96rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 150px;
    }

    .hero-logo-frame {
        margin-bottom: 20px;
        padding: 0.34rem 0.48rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-intro-media img {
        width: 100%;
        min-width: 0;
        height: 150px;
        object-fit: cover;
    }

    .event-image {
        height: 170px;
    }
}
