/* ==========================================
   FUNDACIÓN QUINDE - HOJA DE ESTILOS PRINCIPAL
   ========================================== */

/* DESIGN SYSTEM & VARIABLES */
:root {
    /* Color Palette (60-30-10 Rule) */
    --color-bg-white: #FFFFFF;
    --color-bg-light-gray: #F4F7F6; /* Gris menta sutil */
    --color-bg-cool-white: #F8FAFC;
    
    --color-text-dark: #1E293B;
    --color-text-light: #5A6A85;
    --color-text-white: #FFFFFF;
    
    /* 30% Colores Secundarios - Estructura */
    --color-navy: #0C2340;        /* Azul corporativo profundo (Logo "uinde") */
    --color-navy-light: #16365C;  /* Tono marino más claro */
    --color-ocean: #0070B8;       /* Azul vivo (Logo cola del colibrí) */
    --color-ocean-light: #E0F2FE; /* Fondo azul celeste sutil */
    
    /* 10% Colores de Acento - Conversión */
    --color-emerald: #059669;      /* Verde Esmeralda (Logo "FUNDACIÓN") */
    --color-emerald-hover: #047857;
    --color-turquoise: #0891B2;    /* Turquesa/Cian Claro (Logo ala superior) */
    --color-turquoise-hover: #0e7490;
    
    /* Typography & Spacing */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    --shadow-sm: 0 4px 6px -1px rgba(12, 35, 64, 0.05);
    --shadow-md: 0 10px 20px -3px rgba(12, 35, 64, 0.08), 0 4px 6px -4px rgba(12, 35, 64, 0.08);
    --shadow-lg: 0 20px 30px -5px rgba(12, 35, 64, 0.12), 0 8px 10px -6px rgba(12, 35, 64, 0.1);
    
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* MULTI-LANGUAGE DYNAMIC DISPLAY */
body.lang-es .lang-en {
    display: none !important;
}
body.lang-en .lang-es {
    display: none !important;
}

/* Logo visibility per language */
body.lang-es .logo-en {
    display: none !important;
}
body.lang-en .logo-es {
    display: none !important;
}

/* UTILITY CLASSES */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

.w-full { width: 100%; }
.text-center { text-align: center; }
.center-text { text-align: center; }
.white-text { color: var(--color-text-white); }
.mt-3 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }
.py-5 { padding-top: 80px; padding-bottom: 80px; }
.rounded-img { border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); }
.hidden { display: none !important; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary-green {
    background-color: var(--color-emerald);
    color: var(--color-text-white);
}

.btn-primary-green:hover {
    background-color: var(--color-emerald-hover);
}

.btn-primary-cyan {
    background-color: var(--color-turquoise);
    color: var(--color-text-white);
}

.btn-primary-cyan:hover {
    background-color: var(--color-turquoise-hover);
}

.btn-secondary-outline {
    background-color: transparent;
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.btn-secondary-outline:hover {
    background-color: var(--color-navy);
    color: var(--color-text-white);
}

.btn-cta {
    padding: 10px 22px;
    font-size: 14px;
    background-color: var(--color-turquoise);
    color: var(--color-text-white);
    border-radius: 50px;
}

.btn-cta:hover {
    background-color: var(--color-turquoise-hover);
}

/* HEADER & NAVIGATION */
.app-header {
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(12, 35, 64, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

#app-content {
    padding-top: 80px; /* Offset the fixed header height */
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 52px;
}

.logo-img {
    height: 100%;
    object-fit: contain;
}

/* Nav Menu centrada */
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
}

.nav-link {
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 16px;
    position: relative;
    transition: var(--transition-smooth);
}

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

/* Active Link Underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background-color: var(--color-turquoise);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Header Lang Switcher */
.header-lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(8, 145, 178, 0.08);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid rgba(8, 145, 178, 0.15);
}

.header-lang-btn {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 16px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    display: inline-block;
}

.header-lang-btn.active {
    background: var(--color-bg-white);
    color: var(--color-turquoise);
    box-shadow: var(--shadow-sm);
}

.header-lang-btn:hover:not(.active) {
    color: var(--color-navy);
}

/* CTA Donar con estilo píldora y corazón */
.btn-cta-heart {
    background-color: var(--color-turquoise);
    color: var(--color-text-white);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-cta-heart:hover {
    background-color: var(--color-turquoise-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cta-heart .heart-icon-svg {
    transition: var(--transition-smooth);
}

.btn-cta-heart:hover .heart-icon-svg {
    transform: scale(1.2);
    fill: var(--color-text-white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* SPA VIEWS CONFIGURATION */
.app-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.app-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* HERO SECTION (La Bienvenida) */
.hero-section {
    background-color: var(--color-navy);
    position: relative;
    overflow: hidden;
    color: var(--color-text-white);
    padding-bottom: 140px; /* Space for the organic curve at the bottom */
}

/* Curve separator at the bottom */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: var(--color-bg-white);
    clip-path: ellipse(75% 100% at 50% 100%);
    z-index: 5;
}

.hero-container {
    position: relative;
    z-index: 4;
    padding-top: 100px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
}

.hero-section .hero-headline {
    color: var(--color-text-white);
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

/* Impact Box (Cálculo Automático) */
.impact-box {
    background-color: var(--color-bg-white);
    border-left: 6px solid var(--color-turquoise);
    padding: 20px 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 540px;
    transition: var(--transition-smooth);
    margin-top: 20px;
}

.impact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.impact-icon-wrapper {
    background-color: rgba(8, 145, 178, 0.1);
    color: var(--color-turquoise);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-svg-icon {
    width: 28px;
    height: 28px;
}

.impact-info {
    display: flex;
    flex-direction: column;
}

.impact-counter {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--color-navy);
    line-height: 1.2;
}

.impact-desc {
    font-size: 14px;
    color: var(--color-text-light);
    margin-top: 4px;
    line-height: 1.4;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Organic shape mask for the kid image */
.hero-img-mask {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--color-bg-white);
    background-color: var(--color-bg-white);
    transition: var(--transition-smooth);
    animation: organic-morph 15s ease-in-out infinite alternate;
}

.hero-img-mask:hover {
    transform: scale(1.02);
}

.hero-img-mask .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    transform: none;
    box-shadow: none;
}

.hero-img-mask .hero-img:hover {
    transform: none;
}

@keyframes organic-morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 50% 60% 50% 50% / 40% 60% 50% 60%; }
    100% { border-radius: 40% 50% 60% 40% / 60% 40% 60% 50%; }
}

/* Logo badge overlay */
.hero-logo-badge {
    position: absolute;
    bottom: -10px;
    left: 10px;
    background-color: var(--color-bg-white);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid rgba(8, 145, 178, 0.1);
    height: 52px;
}

.hero-badge-logo-img {
    height: 32px;
    object-fit: contain;
}

/* Decorative circles */
.decor-circle-hollow-1 {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 80px;
    height: 80px;
    border: 3px dashed var(--color-turquoise);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
    animation: rotate-slow 20s linear infinite;
}

.decor-circle-hollow-2 {
    position: absolute;
    bottom: -40px;
    right: 30px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: -1;
}

.decor-circle-solid-1 {
    position: absolute;
    top: 40px;
    left: -30px;
    width: 40px;
    height: 40px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* SECCIÓN QUIÉNES SOMOS (Intro) */
.about-brief-section {
    background-color: var(--color-bg-white);
}

.brief-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brief-img-capsule {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 0.85 / 1;
    border-radius: 200px 200px 50px 50px; /* Capsule shape */
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-bg-white);
    position: relative;
    z-index: 2;
}

.brief-img-capsule img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.decor-dots-grid {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(8, 145, 178, 0.3) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
}

.decor-circle-solid-2 {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-color: rgba(12, 35, 64, 0.08);
    border-radius: 50%;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    color: var(--color-turquoise);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.block-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    font-size: 36px;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-paragraph-large {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* NUESTRO PROPÓSITO SECTION */
.purpose-section {
    background-color: var(--color-ocean-light); /* Light blue/teal background */
    color: var(--color-navy);
    position: relative;
    overflow: hidden;
}

.purpose-section .section-title {
    color: var(--color-navy);
}

.purpose-section .section-paragraph {
    color: var(--color-text-light);
}

.purpose-section .font-teal {
    color: var(--color-turquoise);
}

.purpose-section .font-italic {
    font-style: italic;
    font-weight: 500;
    color: var(--color-navy);
    border-left: 4px solid var(--color-turquoise);
    padding-left: 16px;
}

.purpose-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wavy masked image for purpose section */
.purpose-img-wave {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%; /* Wavy organic shape */
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--color-bg-white);
    background-color: var(--color-bg-white);
    z-index: 2;
    position: relative;
}

.purpose-img-wave img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.decor-circle-solid-3 {
    position: absolute;
    top: -20px;
    right: -10px;
    width: 50px;
    height: 50px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
}

.decor-wave-lines {
    position: absolute;
    width: 130%;
    height: 130%;
    background-image: radial-gradient(circle, rgba(8, 145, 178, 0.08) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 1;
    transform: rotate(15deg);
}

/* SEGMENTATION SECTION (Familias vs Empresas) */
.segmentation-section {
    background-color: var(--color-bg-cool-white);
}

.gap-card {
    gap: 32px;
}

.segment-horizontal-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    transition: var(--transition-smooth);
    border: 1px solid rgba(12, 35, 64, 0.04);
}

.segment-horizontal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-left-img-wrapper {
    width: 40%;
    min-height: 100%;
    overflow: hidden;
    position: relative;
    padding: 24px 0 24px 24px;
    display: flex;
    align-items: center;
}

.card-oval-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 120px; /* Oval shape */
    box-shadow: var(--shadow-sm);
    aspect-ratio: 0.8 / 1;
}

.card-right-content {
    width: 60%;
    padding: 36px 36px 36px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-cyan-light { background-color: var(--color-ocean-light); }
.bg-blue-light { background-color: rgba(12, 35, 64, 0.05); }

.card-svg-icon {
    width: 22px;
    height: 22px;
}
.text-cyan { color: var(--color-turquoise); }
.text-blue { color: var(--color-navy); }

.segment-card-title {
    font-size: 20px;
    color: var(--color-navy);
    font-weight: 700;
    font-family: var(--font-heading);
}

.segment-card-text {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.btn-card-cyan {
    align-self: flex-start;
    padding: 8px 18px;
    background-color: transparent;
    border: 2px solid var(--color-turquoise);
    color: var(--color-turquoise);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-card-cyan:hover {
    background-color: var(--color-turquoise);
    color: var(--color-text-white);
}

.btn-card-blue {
    align-self: flex-start;
    padding: 8px 18px;
    background-color: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-card-blue:hover {
    background-color: var(--color-navy);
    color: var(--color-text-white);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--color-bg-cool-white);
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    background-color: var(--color-bg-white);
    border: 1px solid rgba(12, 35, 64, 0.04);
}

.testimonials-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 500%; /* 5 slides */
}

.testimonial-slide {
    width: calc(100% / 5);
    flex-shrink: 0;
    padding: 60px 80px;
}

.testimonial-content-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-mark-icon {
    font-size: 72px;
    font-family: var(--font-heading);
    color: var(--color-turquoise);
    line-height: 1;
    height: 36px;
    margin-bottom: 8px;
    opacity: 0.3;
}

.testimonial-quote-text {
    font-size: 18px;
    color: var(--color-navy);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 650px;
    font-style: italic;
}

.testimonial-user-author {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.user-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    border: 3px solid var(--color-ocean-light);
}

.avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
}

.user-author-meta {
    display: flex;
    flex-direction: column;
}

.user-name-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
}

.user-role-subtitle {
    font-size: 13px;
    color: var(--color-text-light);
    font-weight: 500;
}

.carousel-btn {
    background-color: var(--color-bg-white);
    border: 1.5px solid rgba(12, 35, 64, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--color-navy);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--color-navy);
    color: var(--color-text-white);
    border-color: var(--color-navy);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(12, 35, 64, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--color-turquoise);
    width: 24px;
    border-radius: 10px;
}

/* INSTAGRAM FEED SECTION */
.instagram-feed-section {
    background-color: var(--color-bg-white);
    padding-bottom: 60px;
}

.instagram-title-row {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.instagram-username-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-turquoise);
    padding: 8px 20px;
    background-color: var(--color-ocean-light);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.instagram-username-link:hover {
    background-color: var(--color-turquoise);
    color: var(--color-text-white);
}

.instagram-icon-wrapper {
    display: flex;
    align-items: center;
}

.instagram-svg-logo {
    width: 20px;
    height: 20px;
}

.instagram-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.instagram-item {
    width: calc(20% - 13px);
    min-width: 140px;
    max-width: 250px;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.instagram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 35, 64, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.instagram-item:hover .instagram-img {
    transform: scale(1.05);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.play-btn-circle {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-white);
    color: var(--color-turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.instagram-item:hover .play-btn-circle {
    transform: scale(1);
}

/* SUBPAGES COMMON ELEMENTS */
.page-header-banner {
    background-color: var(--color-navy);
    color: var(--color-text-white);
    padding: 60px 0;
    text-align: center;
}

.page-header-banner.font-cyan {
    background: radial-gradient(circle at 10% 20%, rgba(8, 145, 178, 0.2) 0%, transparent 40%), var(--color-navy);
}

.page-title {
    font-size: 40px;
    color: var(--color-text-white);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 16px;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* ABOUT PAGE DETAILS */
.sub-section-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.image-box-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background-color: var(--color-bg-light-gray);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--color-ocean);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* INTERACTIVE FORMS */
.form-container-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(12, 35, 64, 0.04);
}

.form-container-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.interactive-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    gap: 16px;
}
.form-row.grid-2 {
    gap: 16px;
    align-items: flex-start;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid rgba(12, 35, 64, 0.1);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-dark);
    outline: none;
    transition: var(--transition-smooth);
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-turquoise);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.benefit-box {
    background-color: var(--color-ocean-light);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-top: 30px;
    border-left: 4px solid var(--color-ocean);
}

.benefit-box h4 {
    font-size: 16px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.benefit-box p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.form-success-alert {
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* DONATION WIDGET */
.donation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-bg-light-gray);
    padding: 4px;
    border-radius: 50px;
}

.donation-option-btn {
    border: none;
    background: none;
    padding: 10px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-light);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.donation-option-btn.active {
    background-color: var(--color-bg-white);
    color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.amount-btn {
    border: 1.5px solid rgba(12, 35, 64, 0.1);
    background-color: var(--color-bg-white);
    padding: 12px 0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-navy);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.amount-btn:hover {
    border-color: var(--color-turquoise);
    color: var(--color-turquoise);
}

.amount-btn.active {
    background-color: var(--color-turquoise);
    color: var(--color-text-white);
    border-color: var(--color-turquoise);
}

.bank-details-card {
    background-color: var(--color-bg-light-gray);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(12, 35, 64, 0.04);
}

.bank-details-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1.5px solid rgba(12, 35, 64, 0.05);
    font-size: 14px;
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-detail-row strong {
    color: var(--color-navy);
}

/* CONTACT INFO */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

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

.contact-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
}

.contact-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.contact-text strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-navy);
}

.contact-text span {
    color: var(--color-text-light);
    margin-top: 2px;
}

.map-container-mock {
    height: 240px;
    background-color: var(--color-bg-light-gray);
    border-radius: var(--border-radius-lg);
    margin-top: 40px;
    position: relative;
    background-image: radial-gradient(#0891b2 0.5px, transparent 0.5px), radial-gradient(#0891b2 0.5px, #f4f7f6 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(12, 35, 64, 0.05);
}

.map-overlay {
    background-color: var(--color-bg-white);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.map-overlay strong {
    font-size: 15px;
    color: var(--color-navy);
}

.map-overlay span {
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 2px;
}

/* FOOTER REDESIGN */
.app-footer {
    background-color: var(--color-bg-white);
    color: var(--color-text-light);
    font-size: 14px;
    border-top: 1px solid rgba(12, 35, 64, 0.05);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 52px;
    object-fit: contain;
    align-self: flex-start;
}

.footer-brand-text {
    line-height: 1.6;
    font-size: 14px;
}

.footer-col-title {
    color: var(--color-navy);
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    font-size: 14px;
}

.footer-links a {
    color: var(--color-text-light);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-navy);
    padding-left: 2px;
}

/* NeuroHUB Badge in footer */
.badge-neurohub {
    display: inline-block;
    background-color: var(--color-turquoise);
    color: var(--color-text-white) !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.badge-neurohub:hover {
    background-color: var(--color-turquoise-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Social Buttons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.linkedin-btn {
    background-color: #0077b5;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.social-icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom Bar (Turquoise / Blue banner) */
.footer-bottom-bar {
    background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-turquoise) 100%);
    color: var(--color-text-white);
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.footer-bottom-left {
    font-weight: 500;
    opacity: 0.9;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-lang-switcher {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-lang-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.footer-lang-btn:hover {
    color: var(--color-text-white);
}

.footer-lang-btn.active {
    color: var(--color-navy);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
    font-size: 11px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .instagram-grid {
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .segment-horizontal-card {
        flex-direction: column;
    }
    .card-left-img-wrapper {
        width: 100%;
        padding: 24px 24px 0 24px;
        justify-content: center;
    }
    .card-oval-img {
        aspect-ratio: 1.5 / 1;
        max-height: 200px;
    }
    .card-right-content {
        width: 100%;
        padding: 24px;
    }
}

/* Hide mobile-only actions on desktop */
.mobile-nav-actions {
    display: none;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .swap-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero-section .hero-headline {
        font-size: 32px;
    }
    
    .impact-box {
        text-align: left;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-wrapper {
        margin-top: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mobile Header Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px; /* Aligned with the new header height */
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--color-navy);
        overflow: hidden;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.open {
        height: calc(100vh - 80px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 20px 0;
        margin-right: 0;
        border-radius: 0;
        box-shadow: none;
        gap: 10px;
    }
    
    .nav-list li {
        width: 100%;
        height: auto;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 0;
        justify-content: center;
        text-align: center;
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link:hover, .nav-link.active {
        color: var(--color-text-white);
    }
    
    .nav-link::after {
        bottom: 0px;
    }
    
    /* Animation state for Mobile Menu Toggle */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .header-actions {
        gap: 12px;
    }
    
    /* Hide Desktop actions on mobile */
    .header-actions .header-lang-switcher,
    .header-actions .btn-cta-heart {
        display: none !important;
    }

    /* Show and style Mobile actions in the nav menu */
    .mobile-nav-actions {
        display: flex !important;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        width: 100%;
        padding: 20px 40px;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-nav-actions .header-lang-switcher {
        display: flex;
        gap: 12px;
    }
    
    .mobile-nav-actions .btn-cta-heart {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .btn-cta-heart {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .testimonial-slide {
        padding: 30px 15px;
    }
    
    .testimonial-quote-text {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .testimonial-user-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .form-container-card {
        padding: 24px;
    }

    .interactive-form {
        gap: 20px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .form-group input, 
    .form-group select, 
    .form-group textarea {
        padding: 14px 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        gap: 10px;
    }
    .form-container-card {
        padding: 20px;
    }
    .amount-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================
   NUEVOS ESTILOS: QUIÉNES SOMOS (PREMIUM)
   ========================================== */

/* Subsecciones y Espaciado */
.nosotros-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.nosotros-block-title {
    font-size: 28px;
    color: var(--color-navy);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    position: relative;
}

.nosotros-block-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-turquoise);
    border-radius: 2px;
}

/* Bloque A: Misión y Visión Grid */
.essence-intro-text {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.essence-cards-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.essence-card {
    background-color: var(--color-bg-cool-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(12, 35, 64, 0.04);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.essence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.essence-card.mision::before {
    background-color: var(--color-turquoise);
}

.essence-card.vision::before {
    background-color: var(--color-emerald);
}

.essence-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-bg-white);
}

.essence-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.essence-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Bloque B: Línea de Tiempo Interactiva */
.timeline-container {
    position: relative;
    margin-top: 40px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-ocean-light);
    z-index: 1;
}

.timeline-nodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-badge-dot {
    width: 24px;
    height: 24px;
    background-color: var(--color-bg-white);
    border: 4px solid var(--color-turquoise);
    border-radius: 50%;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.timeline-node:hover .timeline-badge-dot {
    transform: scale(1.3);
    background-color: var(--color-turquoise);
    border-color: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.2);
}

.timeline-node.node-assurance:hover .timeline-badge-dot {
    border-color: var(--color-bg-white);
    background-color: var(--color-emerald);
}

.timeline-node.node-assurance .timeline-badge-dot {
    border-color: var(--color-emerald);
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.5;
    padding: 0 10px;
}

/* Bloque C: Tarjetas de Impacto */
.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.stat-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(12, 35, 64, 0.04);
    transition: var(--transition-smooth);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 44px;
    background: linear-gradient(135deg, var(--color-turquoise) 0%, var(--color-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    line-height: 1.1;
}

.stat-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.stat-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Bloque D: Compromiso ODS */
.ods-intro-text {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.ods-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ods-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--border-radius-md);
    background-color: var(--color-bg-cool-white);
    border: 1px solid rgba(12, 35, 64, 0.02);
    transition: var(--transition-smooth);
}

.ods-item:hover {
    transform: translateX(4px);
    background-color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.ods-target-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: var(--color-text-white);
    padding: 6px 12px;
    border-radius: 8px;
    height: fit-content;
    white-space: nowrap;
}

.ods-target-badge.ods3 { background-color: #4C9F38; }
.ods-target-badge.ods4 { background-color: #C5192D; }
.ods-target-badge.ods10 { background-color: #DD1367; }
.ods-target-badge.ods17 { background-color: #19486A; }

.ods-item-content {
    display: flex;
    flex-direction: column;
}

.ods-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.ods-item-desc {
    font-size: 13.5px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Cuadrícula de Badges Oficiales ONU */
.ods-badges-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.ods-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.ods-badge-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ods-badge-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.ods-badge-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsividad para la sección Quiénes Somos */
@media (max-width: 992px) {
    .timeline-nodes {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .timeline-line {
        display: none;
    }
    .timeline-badge-dot {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .nosotros-section-wrapper {
        gap: 60px;
    }
    .essence-cards-column {
        margin-top: 30px;
    }
    .timeline-nodes {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    .timeline-node {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }
    .timeline-badge-dot {
        margin-bottom: 0;
        flex-shrink: 0;
        margin-top: 4px;
    }
    .impact-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ods-badges-column {
        margin-top: 40px;
    }
}
/* ==========================================
   NUEVO REDISEÑO: NAVEGADOR DE LÍNEA DE TIEMPO (NODOS LÍQUIDOS)
   ========================================== */

/* Contenedor con Scroll Horizontal Infinito para Móviles */
.timeline-slider-nav-wrapper {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    margin-bottom: 20px;
}

.timeline-slider-nav-wrapper::-webkit-scrollbar {
    display: none; /* WebKit */
}

.timeline-nav-track {
    position: relative;
    display: flex;
    align-items: center;
    min-width: max-content;
    padding: 0 40px; /* Padding for start/end boundaries */
}

/* El Conector Dinámico (Línea Pasiva) */
.timeline-nav-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E2E8F0; /* Gris sutil */
    transform: translateY(-50%);
    z-index: 1;
}

/* El Conector Dinámico (Línea Iluminada) */
.timeline-nav-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: var(--color-emerald);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.4s ease;
    width: 0; /* Updated via JS */
}

/* Nodos */
.timeline-nav-nodes {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 3;
}

/* Estado Inactivo (Botón Base) */
.timeline-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #E2E8F0;
    color: #64748B;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    flex-shrink: 0;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
}

.timeline-nav-btn .btn-dot {
    display: none; /* Ocultamos el dot viejo si existe */
}

.timeline-nav-btn .btn-year {
    font-size: 14px;
}

/* Estado Hover */
.timeline-nav-btn:hover {
    transform: scale(1.1);
    color: var(--color-navy);
}

/* Estado Activo (Píldora Gradiente) */
.timeline-nav-btn.active {
    width: auto;
    padding: 0 24px;
    height: 44px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--color-emerald) 0%, var(--color-turquoise) 100%);
    color: #FFFFFF;
    font-weight: 700;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

/* Optional: Add emoji via CSS for active state if it matches "2017" or similar */
/* This is a simple generic approach, adding an icon to the active state */
.timeline-nav-btn.active::before {
    content: '🚀';
    margin-right: 6px;
    font-size: 16px;
}

/* Animación de entrada para las tarjetas (Fade-in / Micro-rebote) */
@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in-bounce {
    animation: fadeInBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.timeline-detail-card {
    display: none;
}

.timeline-detail-card.active {
    display: block;
}

/* ==========================================
   ALIANZAS & NEUROHUB STYLES
   ========================================== */

/* Enhanced Alianzas Blocks */
.alianzas-block-premium {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    border: 1px solid rgba(8, 145, 178, 0.05);
}

.alianzas-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .alianzas-hero-grid {
        grid-template-columns: 1fr;
    }
}

.alianzas-img-wrapper img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 100%;
    max-height: 400px;
}

/* NeuroHUB Section Styles */
.neurohub-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .neurohub-cards-grid {
        grid-template-columns: 1fr;
    }
}

.neurohub-module-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-turquoise);
}

.neurohub-module-card:nth-child(2) {
    border-top-color: var(--color-emerald);
}

.neurohub-module-card:nth-child(3) {
    border-top-color: var(--color-navy);
}

.neurohub-module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.module-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(8, 145, 178, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 36px;
}

.module-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.module-desc {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 15px;
}

.accessibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
}

@media (max-width: 900px) {
    .accessibility-grid {
        grid-template-columns: 1fr;
    }
}

.accessibility-img-container img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.pillar-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pillar-content h4 {
    margin-bottom: 5px;
    color: var(--color-navy);
    font-size: 18px;
}

.pillar-content p {
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

.neurohub-cta-container {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background-color: var(--color-navy);
    border-radius: 24px;
    color: white;
}

.neurohub-cta-container .section-paragraph {
    color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid white;
    color: white;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-navy);
}

.neurohub-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .neurohub-cta-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ========================================== */
/* DONATIONS SECTION REDESIGN */
/* ========================================== */

.donation-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    background: rgba(8, 145, 178, 0.05);
    padding: 8px;
    border-radius: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.tab-btn.active {
    background: var(--color-bg-white);
    color: var(--color-navy);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.pricing-card {
    background: var(--color-bg-white);
    border-radius: 16px;
    border: 1px solid rgba(12, 35, 64, 0.1);
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.popular {
    border: 2px solid var(--color-turquoise);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-turquoise);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-light);
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.transparency-block {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.05) 0%, rgba(12, 35, 64, 0.05) 100%);
    border-left: 4px solid var(--color-cyan);
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
}

.transparency-block h3 {
    color: var(--color-navy);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donations-actions-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 35, 64, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

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

.modal-container {
    background: var(--color-bg-white);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    margin: auto; /* Centers when small, starts at top when large thanks to flex-start */
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-navy);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    .donations-actions-footer {
        flex-direction: column;
    }
}


/* =========================================
   TRANSPARENCY REPORTS SECTION
   ========================================= */

.transparency-hero {
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-green, .stat-grey {
    padding: 40px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
}

.stat-green {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 5px solid #4caf50;
}

.stat-grey {
    background: #f1f3f5;
    color: var(--color-navy);
    border-left: 5px solid var(--color-text-light);
}

.stat-number {
    font-size: 64px;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
}

.transparency-year-block {
    background: var(--color-bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
}

.transparency-narrative p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--color-text-dark);
}

.financial-stat {
    background: rgba(12, 35, 64, 0.03);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--color-navy);
}

.financial-stat strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-navy);
}

/* Pie Chart Styles */
.pie-chart-container {
    background: var(--color-bg-white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.pie-chart {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    position: relative;
}

.pie-chart svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pie-chart circle {
    fill: transparent;
    stroke-width: 2;
    transition: stroke-width 0.3s ease, transform 0.3s ease;
    transform-origin: center;
    cursor: pointer;
}

.pie-chart circle:hover {
    stroke-width: 2.2;
}

.pie-legend {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pie-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--color-text-dark);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}

/* Callout Card */
.callout-card {
    background: linear-gradient(135deg, rgba(8,145,178,0.1) 0%, rgba(12,35,64,0.05) 100%);
    border: 1px solid rgba(8,145,178,0.2);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
}

.callout-card h4 {
    color: var(--color-navy);
    font-size: 18px;
    margin-bottom: 10px;
}

.callout-card p {
    margin-bottom: 20px;
}

/* Volunteers List */
.volunteers-dist {
    background: var(--color-bg-white);
    padding: 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.volunteers-dist ul {
    list-style: none;
    padding: 0;
}

.volunteers-dist li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--color-text-dark);
}

.volunteers-dist li:last-child {
    border-bottom: none;
}

/* Logo Wall */
.logo-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    background: rgba(12,35,64,0.02);
    border-radius: var(--border-radius-md);
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.4s ease, transform 0.4s ease;
    cursor: pointer;
    min-width: 120px;
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-5px);
}

.logo-item .generic-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    stroke: var(--color-navy);
}

.logo-item span {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-navy);
}

@media (max-width: 768px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 48px;
    }
}


/* =========================================
   RE-DESIGNED TRANSPARENCY SECTION (TABS & BARS)
   ========================================= */

.transparency-commitment-banner {
    border: 2px solid rgba(12,35,64,0.1);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    background: var(--color-bg-white);
    box-shadow: var(--box-shadow-md);
}

.commitment-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--color-navy);
}

.commitment-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.c-stat-green, .c-stat-red {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
}

.c-stat-green { color: #2e7d32; }
.c-stat-red { color: var(--color-navy); }

.commitment-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
}

/* Tabs */
.transparency-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.transparency-tab-btn {
    padding: 12px 30px;
    border: none;
    background: rgba(12,35,64,0.05);
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.transparency-tab-btn:hover {
    background: rgba(12,35,64,0.1);
}

.transparency-tab-btn.active {
    background: var(--color-turquoise);
    color: var(--color-bg-white);
    box-shadow: 0 4px 10px rgba(8,145,178,0.3);
}

/* Tab Panes */
.transparency-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.transparency-pane.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

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

/* Progress Bars */
.progress-container {
    background: rgba(12,35,64,0.02);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(12,35,64,0.05);
}

.progress-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.progress-row:last-child {
    margin-bottom: 0;
}

.progress-label {
    flex: 0 0 40%;
    font-size: 14px;
    color: var(--color-text-dark);
    font-weight: 600;
    padding-right: 15px;
}

.progress-track {
    flex: 1;
    height: 12px;
    background: rgba(12,35,64,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0; /* Animated by JS */
    background: var(--color-turquoise);
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

.progress-percent {
    flex: 0 0 10%;
    text-align: right;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-navy);
}

/* Extras */
.destination-block p {
    background: #e8f5e9;
    padding: 15px;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid #4caf50;
    font-size: 14px;
    color: #2e7d32;
}

.force-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.force-item {
    background: var(--color-bg-white);
    padding: 10px 15px;
    border: 1px solid rgba(12,35,64,0.1);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
}

@media (max-width: 768px) {
    .progress-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    .progress-label {
        flex: none;
        width: 100%;
        margin-bottom: 5px;
    }
    .progress-track {
        flex: none;
        width: 100%;
        margin-bottom: 5px;
    }
    .progress-percent {
        flex: none;
        width: 100%;
        text-align: left;
    }
    .c-stat-green, .c-stat-red {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   TRANSPARENCY SPACING IMPROVEMENTS
   ========================================= */

.transparency-year-block {
    padding: 50px;
}

.transparency-content.grid-2 {
    gap: 60px;
    align-items: flex-start;
}

.transparency-narrative h3,
.transparency-financials h3 {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(12,35,64,0.08);
}

.transparency-financials h4 {
    margin-bottom: 20px;
}

.transparency-narrative p {
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 15px;
}

.progress-container {
    padding: 25px;
    margin-bottom: 10px;
}

.progress-row {
    margin-bottom: 20px;
    padding: 8px 0;
}

.progress-row:last-child {
    margin-bottom: 0;
}

.destination-block {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.destination-block strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--color-navy);
}

.destination-block p {
    padding: 20px;
    line-height: 1.7;
    font-size: 14px;
}

.force-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(12,35,64,0.08);
}

.force-block strong {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--color-navy);
}

.force-stats {
    gap: 15px;
    margin-top: 12px;
}

.force-item {
    padding: 12px 18px;
    font-size: 14px;
}

.callout-card {
    margin-top: 35px !important;
    padding: 30px;
}

.callout-card h4 {
    margin-bottom: 12px;
}

.callout-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.transparency-commitment-banner {
    margin-bottom: 50px;
}


/* =========================================
   FORM SUCCESS & ERROR STATES (PHP FETCH)
   ========================================= */

/* Control de visibilidad dinámico */
.dynamic-hide {
  display: none !important;
}

/* Contenedor del Mensaje de Éxito */
.mensaje-exito-block {
  text-align: center;
  padding: 40px 20px;
  background-color: #F4F7F6;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(12,35,64,0.08);
  animation: fadeInSuave 0.5s ease forward;
  color: var(--color-navy);
}

.mensaje-exito-block h3 {
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--color-turquoise);
}

.mensaje-exito-block p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-dark);
}

.exito-icono {
  font-size: 3rem;
  margin-bottom: 15px;
}

.form-error-text {
  color: #e53e3e;
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
  padding: 10px;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: var(--border-radius-sm);
}

.btn-loader {
    display: inline-block;
    animation: pulseLoader 1.5s infinite;
}

@keyframes pulseLoader {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Animación de entrada */
@keyframes fadeInSuave {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has-error-input { border-color: #e53e3e !important; background-color: #fff5f5 !important; }
