/* ==========================================================================
   UNO PARA TODOS Y TODOS PARA UNO - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Brand Palette */
    --primary: #0f172a;           /* Deep Ocean Blue */
    --primary-light: #1e293b;     /* Slate Navy */
    --accent-teal: #0d9488;       /* Emerald Teal */
    --accent-emerald: #10b981;    /* Vibrant Emerald */
    --accent-gold: #f59e0b;       /* Warm Amber / Gold */
    --accent-gold-hover: #d97706;

    /* Neutrals */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --border-glow: rgba(13, 148, 136, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-teal: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows & Glass */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 10px 25px rgba(13, 148, 136, 0.3);
    --shadow-gold: 0 10px 25px rgba(245, 158, 11, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Layout & Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --container-max: 1240px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Container & Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--gradient-teal);
    border-radius: var(--radius-full);
    margin: 1rem auto 0;
}

.section-header:not(.center) .title-underline {
    margin: 1rem 0 0 0;
}

.section-description {
    max-width: 700px;
    margin: 1.2rem auto 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.text-gradient {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent-teal);
}

.badge-primary {
    background: rgba(15, 23, 42, 0.08);
    color: var(--primary);
}

.badge-accent {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-bounce);
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-teal);
    color: #ffffff !important;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(13, 148, 136, 0.4);
    color: #ffffff !important;
}

.btn-gold {
    background: var(--gradient-gold);
    color: #ffffff !important;
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.45);
    color: #ffffff !important;
}

.btn-outline {
    background: transparent;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary);
    color: #ffffff !important;
}

.btn-secondary:hover {
    background: var(--primary-light);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-normal);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-md);
    height: 70px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.08);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
}

/* Nav Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-teal);
    transition: width var(--transition-fast);
    border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-donate-btn svg {
    width: 18px;
    height: 18px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--primary);
    z-index: 1002;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.mobile-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    font-weight: 600;
}

.mobile-link:hover {
    color: var(--accent-teal);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 6rem;
    background: var(--gradient-hero);
    color: var(--text-white);
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    pointer-events: none;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--accent-teal);
}

.shape-2 {
    bottom: -15%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #1e3a8a;
}

.shape-3 {
    top: 40%;
    right: 25%;
    width: 350px;
    height: 350px;
    background: var(--accent-gold);
    opacity: 0.15 !important;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 620px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-emerald);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-card.highlight .stat-number {
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

/* Hero Glass Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card-glass {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
}

.live-indicator {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.live-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.card-glass-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.3;
}

.card-glass-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.card-glass-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.beneficiary-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

/* --- Quienes Somos Section --- */
.quienes-somos-section {
    background-color: var(--bg-main);
}

.quienes-somos-main-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}

.quienes-somos-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-teal);
}

.quienes-somos-icon-quote {
    color: rgba(13, 148, 136, 0.15);
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.quienes-somos-intro {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.8;
    text-align: justify;
}

/* Mision y Vision Cards */
.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.mv-card {
    background: var(--bg-card);
    padding: 2.8rem 2.2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}

.mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.card-vision .mv-icon {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-gold);
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.mv-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

/* Principios Guia */
.principios-container {
    background: var(--bg-alt);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.small-header {
    margin-bottom: 3rem;
}

.principios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.principio-item {
    background: var(--bg-card);
    padding: 1.6rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.principio-item:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-sm);

}

.principio-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-teal);
    opacity: 0.8;
    min-width: 32px;
}

.principio-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.principio-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: justify;
}

.highlight-principio {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(13, 148, 136, 0.05) 100%);
    border: 2px solid var(--accent-teal);
}

/* --- Que Hacemos Section --- */
.que-hacemos-section {
    background-color: #ffffff;
}

.que-hacemos-section .section-description {
    text-align: justify;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.area-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-glow);
}

.area-card:not(.area-card-featured):hover {
    background: #ffffff;
}

.area-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--gradient-teal);
    color: var(--text-white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.area-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.area-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-teal);
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.area-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.area-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    text-align: justify;
}

.area-card-featured {
    grid-column: span 2;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
}

.area-card-featured:hover {
    background: var(--gradient-primary);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.4);
}

.area-card-featured .area-tag {
    color: var(--accent-gold);
}

.area-card-featured h3 {
    color: #ffffff;
    font-size: 1.5rem;
}

.area-card-featured p {
    color: rgba(255, 255, 255, 0.85);
}

.featured-goals {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.goal-item {
    display: flex;
    flex-direction: column;
}

.goal-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.goal-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.intervenciones-banner {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px dashed var(--accent-teal);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.8rem;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.banner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-teal);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 30px;
    height: 30px;
}

.banner-text h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.banner-text p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

/* --- Como Participar Section --- */
.como-participar-section {
    background: var(--bg-main);
}

.participar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.participar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.6rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

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

.participar-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.participar-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.participar-icon svg {
    width: 30px;
    height: 30px;
}

.participar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.participar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    line-height: 1.6;
    flex-grow: 1;
}

.highlight-card {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(180deg, #ffffff 0%, rgba(245, 158, 11, 0.05) 100%);
}

.highlight-card .participar-icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
}

/* --- Noticias Section --- */
.noticias-section {
    background: #ffffff;
}

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

.noticia-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.noticia-image {
    height: 200px;
    width: 100%;
}

.noticia-content {
    padding: 1.8rem;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.noticia-tag {
    font-weight: 700;
    color: var(--accent-teal);
}

.noticia-date {
    color: var(--text-muted);
}

.noticia-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.noticia-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Donantes Section --- */
.donantes-section {
    background: var(--bg-main);
}

.donantes-trust-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-item {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

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

.trust-item h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Dona Callout Banner --- */
.dona-callout-section {
    padding: 2rem 0 5rem;
}

.dona-card-banner {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    color: #ffffff;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.dona-card-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--accent-teal);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.dona-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.dona-banner-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1.2rem 0;
    line-height: 1.2;
}

.dona-banner-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.dona-btn-group {
    display: flex;
    justify-content: center;
}

/* --- Contacto Section --- */
.contacto-section {
    background: #ffffff;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--accent-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
}

.detail-content span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.email-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-teal);
}

.email-link:hover {
    text-decoration: underline;
}

.contacto-form-wrapper {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.contacto-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.8rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* --- Footer --- */
.footer {
    background: var(--primary);
    color: #ffffff;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    margin-top: 1.2rem;
    line-height: 1.6;
    max-width: 320px;
    text-align: justify;
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.4rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links-col a:hover {
    color: var(--accent-teal);
}

.footer-contact-col p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-contact-col a {
    color: var(--accent-gold);
}

.footer-donate-btn {
    margin-top: 1rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Modal de Donacion --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 540px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-bounce);
}

.modal-backdrop.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background: var(--primary);
    color: #ffffff;
    padding: 1.5rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-gold);
}

.modal-title-group h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 1.8rem;
}

.modal-intro {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.amount-selector {
    margin-bottom: 1.5rem;
}

.amount-selector label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
}

.amount-btn {
    padding: 0.7rem 0.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);

}

.amount-btn.active {
    background: var(--accent-teal);
    color: #ffffff;
    border-color: var(--accent-teal);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.custom-amount-input-wrap {
    margin-top: 0.8rem;
}

.custom-amount-input-wrap.hidden {
    display: none;
}

.custom-amount-input-wrap input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-teal);
    font-weight: 700;
}

.payment-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.2rem;
}

.payment-tab {
    padding: 0.7rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.payment-tab.active {
    color: var(--accent-teal);
    border-bottom-color: var(--accent-teal);
}

.payment-content {
    display: none;
}

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

.qr-payment-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-main);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed var(--accent-teal);
    color: var(--accent-teal);
    flex-shrink: 0;
}

.qr-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.qr-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.account-card {
    background: var(--bg-main);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.account-card strong {
    color: var(--primary);
}

.account-card code {
    background: rgba(15, 23, 42, 0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.modal-footer {
    padding: 1.2rem 1.8rem 1.8rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-main);
}

.modal-footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transform: translateY(150%);
    transition: transform var(--transition-bounce);
    border-left: 4px solid var(--accent-emerald);
}

.toast.show {
    transform: translateY(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-emerald);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-stats {
        max-width: 600px;
        margin: 0 auto;
    }

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

    .area-card-featured {
        grid-column: span 2;
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop, .nav-donate-btn {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .mision-vision-grid {
        grid-template-columns: 1fr;
    }

    .principios-grid {
        grid-template-columns: 1fr;
    }

    .highlight-principio {
        grid-column: span 1;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .area-card-featured {
        grid-column: span 1;
    }

    .participar-grid {
        grid-template-columns: 1fr;
    }

    .noticias-grid {
        grid-template-columns: 1fr;
    }

    .donantes-trust-box {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .intervenciones-banner {
        flex-direction: column;
        text-align: center;
    }
}
