/* ═══════════════════════════════════════════════════
   FUNDACIÓN STARLITE — Light Blue Premium Design
   Brand: #36A1BE (Pantone 631C) + #575756 (Pantone 431C)
   ═══════════════════════════════════════════════════ */

:root {
    --blue:         #36A1BE;
    --blue-light:   #4DB8D3;
    --blue-dark:    #2A8BA5;
    --blue-pale:    #E8F4F8;
    --blue-bg:      #F0F8FB;
    --gray-dark:    #575756;
    --gray-text:    #4A4A4A;
    --gray-muted:   #6B7280;
    --gray-light:   #C0C0C0;
    --white:        #FFFFFF;
    --bg-main:      #FFFFFF;
    --bg-alt:       #F5F9FB;
    --bg-section:   #EDF4F7;
    --border:       #E2E8F0;
    --border-blue:  rgba(54, 161, 190, 0.2);
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:    0 4px 16px rgba(54, 161, 190, 0.1);
    --shadow-lg:    0 8px 32px rgba(54, 161, 190, 0.12);
    --shadow-card:  0 2px 12px rgba(0,0,0,0.06);
    --red:          #E53E3E;
    --top-bar-h:    36px;
    --nav-h:        72px;
    --nav-h-scrolled: 60px;
}

/* ─── Skip to content (a11y) ─── */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s;
}
.skip-to-content:focus {
    top: 0;
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}

/* ─── Focus visible (a11y) ─── */
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* ─── Base ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1vw + 10px, 16px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Verdana', sans-serif;
    font-weight: 400;
    color: var(--gray-text);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--blue);
    color: var(--white);
}

/* ─── Typography ─── */
.font-display { font-family: 'Josefin Sans', 'Century Gothic', 'Verdana', sans-serif; }
.font-accent  { font-family: 'Cormorant Garamond', 'Georgia', serif; font-style: italic; }
.font-body    { font-family: 'Inter', 'Verdana', sans-serif; }

.text-blue    { color: var(--blue); }
.text-muted   { color: var(--gray-muted); }

h1, h2, h3 {
    font-family: 'Josefin Sans', 'Century Gothic', 'Verdana', sans-serif;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }

/* ─── Blue Button (Primary CTA) ─── */
.btn-gold,
.btn-blue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 16px rgba(54, 161, 190, 0.2);
}

.btn-gold:hover,
.btn-blue:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(54, 161, 190, 0.35);
}

.btn-gold::after,
.btn-blue::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s;
}

.btn-gold:hover::after,
.btn-blue:hover::after {
    left: 100%;
}

/* ─── Ghost Button ─── */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: transparent;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-ghost:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* ═══════════════════════════════════════════════════
   TOP BAR — Contact info strip
   ═══════════════════════════════════════════════════ */
.top-bar {
    background: #3D3D3C;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--top-bar-h);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar.hidden-bar {
    transform: translateY(-100%);
}

.lang-switch-top {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.lang-switch-top a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.125rem 0.375rem;
    transition: color 0.3s;
}

.lang-switch-top a.active {
    color: #fff;
}

.lang-switch-top .sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.6875rem;
}


/* ═══════════════════════════════════════════════════
   MAIN NAVIGATION — Premium Foundation Style
   ═══════════════════════════════════════════════════ */
.nav-main {
    position: fixed;
    top: var(--top-bar-h);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease, top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-main.scrolled {
    top: 0;
    height: var(--nav-h-scrolled);
    background: rgba(255, 255, 255, 0.99);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* Nav links */
.nav-link {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 0.875rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--blue);
}

/* ═══ Megamenu ═══ */
.mega-trigger { position: relative; }
.mega-btn { display: inline-flex; align-items: center; cursor: pointer; background: none; border: none; }
.mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 420px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
    padding: 1.25rem;
    margin-top: 0.5rem;
    z-index: 100;
}
.mega-panel--wide { min-width: 560px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.mega-grid--featured { grid-template-columns: 1fr 200px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue);
    padding: 0.25rem 0.75rem 0.5rem;
}
.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}
.mega-item:hover { background: rgba(54,161,190,0.06); transform: translateX(2px); }
.mega-item.active { background: rgba(54,161,190,0.08); }
.mega-icon { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.mega-title { display: block; font-size: 0.8rem; font-weight: 600; color: var(--gray-dark); line-height: 1.3; }
.mega-desc { display: block; font-size: 0.68rem; color: #8A8A8A; line-height: 1.3; margin-top: 1px; }
.mega-item:hover .mega-title { color: var(--blue); }

/* Megamenu featured card (Gala promo) */
.mega-featured { display: flex; align-items: stretch; }
.mega-featured-card {
    width: 100%;
    background: linear-gradient(145deg, #0f141c, #1a1025);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
}
.mega-featured-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(192,38,211,0.15), transparent 70%);
    pointer-events: none;
}
.mega-featured-badge {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #36A1BE;
    background: rgba(54,161,190,0.12);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}
.mega-featured-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
}
.mega-featured-subtitle {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}
.mega-featured-date {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}
.mega-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 6px 14px;
    background: linear-gradient(135deg, #c026d3, #7c3aed);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}
.mega-featured-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,38,211,0.3); }

/* Language switcher (nav) */
.lang-switch {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.lang-switch a {
    color: var(--gray-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s;
}

.lang-switch a.active {
    color: var(--blue);
}

.lang-switch .sep {
    color: var(--gray-light);
    font-size: 0.75rem;
}


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(var(--top-bar-h) + var(--nav-h));
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video-bg video,
.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0.78) 35%,
        rgba(255, 255, 255, 0.9) 60%,
        rgba(255, 255, 255, 0.98) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: heroLogoReveal 3s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-logo img {
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08)) drop-shadow(0 0 40px rgba(54, 161, 190, 0.15));
}

/* Animación emotiva del logo: lenta, suave, cinemática */
@keyframes heroLogoReveal {
    0% {
        opacity: 0;
        transform: scale(0.85);
        filter: blur(8px);
    }
    50% {
        opacity: 0.8;
        filter: blur(2px);
    }
    80% {
        opacity: 1;
        transform: scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Glow pulsante sutil tras aparecer */
.hero-logo.revealed img {
    animation: heroLogoGlow 5s ease-in-out infinite;
}

@keyframes heroLogoGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08)) drop-shadow(0 0 40px rgba(54, 161, 190, 0.12));
    }
    50% {
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08)) drop-shadow(0 0 60px rgba(54, 161, 190, 0.3));
    }
}

.hero-title {
    font-family: 'Josefin Sans', 'Century Gothic', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    text-shadow: 0 1px 12px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.7);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--blue);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.8s forwards;
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-muted);
    margin-bottom: 0.5rem;
}

.scroll-indicator .chevron {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    color: var(--blue);
    animation: bounce 2s infinite;
}

/* ─── Sections ─── */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.125rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 4rem;
}

.gold-line,
.blue-line {
    width: 60px;
    height: 2px;
    background: var(--blue);
    margin: 1.5rem auto 2rem;
}

/* ─── Counter Section ─── */
.counter-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.counter-item {
    text-align: center;
    padding: 2rem 1rem;
}

.counter-number {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 0.875rem;
    color: var(--gray-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ─── Project Cards ─── */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(87,87,86,0.9) 0%, rgba(87,87,86,0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.5s;
}

.project-card:hover .project-card-overlay {
    background: linear-gradient(to top, rgba(54,161,190,0.9) 0%, rgba(54,161,190,0.4) 60%, transparent 100%);
}

.project-card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.project-card-impact {
    font-size: 0.875rem;
    color: var(--blue-pale);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.project-card-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-desc {
    max-height: 100px;
}

/* ─── Gala Showcase ─── */
.gala-showcase {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.gala-showcase-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

/* ─── Timeline (Gala History) ─── */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--blue);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--blue-pale), 0 0 20px rgba(54, 161, 190, 0.2);
}

/* ─── News Cards ─── */
.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
    border-color: var(--border-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-date {
    font-size: 0.75rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.news-card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-card-excerpt {
    font-size: 0.875rem;
    color: var(--gray-muted);
    line-height: 1.6;
}

/* Category badge on news cards */
.news-category-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Person Card ─── */
.person-card {
    text-align: center;
    padding: 1rem;
}

.person-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid var(--border);
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.person-card:hover img {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-pale);
}

.person-card-name {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: var(--gray-dark);
}

.person-card-role {
    font-size: 0.8rem;
    color: var(--blue);
    font-style: italic;
}

/* Board members: larger photos */
.person-card-lg img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid var(--border);
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.person-card-lg:hover img {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-pale);
}

/* ─── Partner Logos ─── */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.45;
    transition: all 0.4s;
    max-height: 48px;
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* ═══════════════════════════════════════════════════
   FOOTER PREMIUM — Multi-Column Foundation Footer
   ═══════════════════════════════════════════════════ */
.footer-premium {
    margin-top: 0;
}

/* Newsletter band */
.footer-newsletter {
    background: linear-gradient(135deg, #122028 0%, #0f1c22 100%);
    border-top: 3px solid var(--blue);
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 161, 190, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Newsletter form — rounded pill */
.newsletter-form {
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(54, 161, 190, 0.2);
    background: rgba(255,255,255,0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(54, 161, 190, 0.1), 0 4px 16px rgba(54, 161, 190, 0.1);
}

.newsletter-input {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.875rem;
    width: 100%;
    min-width: 280px;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.35);
}

.newsletter-btn {
    padding: 0.875rem 1.75rem;
    background: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.3s, padding 0.3s;
}

.newsletter-btn:hover {
    background: var(--blue-light);
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Main footer body */
.footer-main {
    background: linear-gradient(180deg, #0f1c22 0%, #0a1218 100%);
    position: relative;
}

/* Footer heading */
.footer-heading {
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(54, 161, 190, 0.15);
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--blue);
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.3s, padding-left 0.3s, letter-spacing 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--blue-light);
    padding-left: 6px;
    letter-spacing: 0.02em;
}

/* Footer social icons */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(54, 161, 190, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(54, 161, 190, 0.04);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-social-icon:hover {
    background: rgba(54, 161, 190, 0.15);
    border-color: var(--blue);
    color: var(--blue-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(54, 161, 190, 0.25), 0 0 30px rgba(54, 161, 190, 0.08);
}

/* Footer bottom bar */
.footer-bottom-bar {
    background: #080e12;
    border-top: 1px solid rgba(54, 161, 190, 0.08);
}


/* ═══════════════════════════════════════════════════
   MOBILE MENU — Full-Screen Premium Overlay
   ═══════════════════════════════════════════════════ */

/* Backdrop oscuro — full screen with blur */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 15, 20, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

/* Full-screen overlay panel — Cinematic */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(165deg, #0a1218 0%, #0f1c22 30%, #122028 60%, #0d171d 100%);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 161, 190, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: menuGlow 8s ease-in-out infinite alternate;
}

.mobile-menu::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 161, 190, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: menuGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes menuGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, -5%) scale(1.15); }
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

/* Header del menú */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.mobile-menu-header img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-close:hover {
    background: rgba(54, 161, 190, 0.15);
    border-color: var(--blue);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 0 16px rgba(54, 161, 190, 0.25);
}

/* Navegación */
.mobile-menu-nav {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.1rem 2rem;
    min-height: 56px;
    position: relative;
    opacity: 0;
    transform: translateX(40px);
    transition: color 0.3s ease, background 0.3s ease, opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s;
    border-left: 3px solid transparent;
    padding-left: calc(2rem - 3px);
}

.mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background: linear-gradient(90deg, rgba(54, 161, 190, 0.12), transparent 80%);
    color: #fff;
    border-left-color: rgba(54, 161, 190, 0.4);
}

.mobile-menu-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(54, 161, 190, 0.18), transparent 70%);
    border-left-color: var(--blue-light);
}

.mobile-menu-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: var(--blue-light);
    box-shadow: 0 0 12px rgba(54, 161, 190, 0.6), 0 0 24px rgba(54, 161, 190, 0.3);
    border-radius: 2px;
}

/* Mobile menu section labels */
.mobile-menu-section-label {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(54, 161, 190, 0.6);
    padding: 0.75rem 1.5rem 0.25rem;
    margin-top: 0.25rem;
}

/* Mobile Gala promo card */
.mobile-gala-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: linear-gradient(145deg, #0f141c, #1a1025);
    border: 1px solid rgba(192,38,211,0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.mobile-gala-card:active { transform: scale(0.98); }
.mobile-gala-badge {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #36A1BE;
}
.mobile-gala-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}
.mobile-gala-sub {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

.mobile-menu-icon {
    color: rgba(54, 161, 190, 0.5);
    flex-shrink: 0;
    transition: color 0.3s, transform 0.3s, filter 0.3s;
}

.mobile-menu-link:hover .mobile-menu-icon {
    color: var(--blue-light);
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(54, 161, 190, 0.4));
}

.mobile-menu-link.active .mobile-menu-icon {
    color: var(--blue-light);
    filter: drop-shadow(0 0 8px rgba(54, 161, 190, 0.5));
}

.mobile-menu-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-light);
    margin-left: auto;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(54, 161, 190, 0.6), 0 0 20px rgba(54, 161, 190, 0.2);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(54, 161, 190, 0.6), 0 0 20px rgba(54, 161, 190, 0.2); }
    50% { box-shadow: 0 0 14px rgba(54, 161, 190, 0.8), 0 0 28px rgba(54, 161, 190, 0.35); }
}

/* Separador sutil entre links */
.mobile-menu-link + .mobile-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(54, 161, 190, 0.08), rgba(255,255,255,0.04), transparent);
}

/* CTA Colabora — prominent bottom CTA */
.mobile-menu-cta {
    padding: 1rem 2rem 0.75rem;
    flex-shrink: 0;
}

.mobile-menu-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 14px;
    min-height: 56px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 24px rgba(54, 161, 190, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.mobile-menu-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.mobile-menu-cta-btn:hover::before {
    left: 100%;
}

.mobile-menu-cta-btn:hover {
    box-shadow: 0 8px 32px rgba(54, 161, 190, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px) scale(1.02);
}

/* Footer del menú — social icons with glow */
.mobile-menu-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.mobile-menu-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-social:hover {
    background: rgba(54, 161, 190, 0.15);
    border-color: var(--blue);
    color: var(--blue-light);
    box-shadow: 0 0 20px rgba(54, 161, 190, 0.3), 0 0 40px rgba(54, 161, 190, 0.1);
    transform: translateY(-3px) scale(1.1);
}

.mobile-menu-footer .text-xs {
    color: rgba(255,255,255,0.3) !important;
}
.mobile-menu-footer .text-xs:hover {
    color: var(--blue-light) !important;
}

/* ─── Hamburger — Morphing 3 lines to X ─── */
.hamburger {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--gray-dark);
    border-radius: 2px;
    left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.open span { background: var(--blue); }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); width: 100%; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(10px) scaleX(0); }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); width: 100%; }

.hamburger:hover span { background: var(--blue); }
.hamburger span:nth-child(2) { width: 70%; transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6); }
.hamburger:hover span:nth-child(2) { width: 100%; }

/* ─── Glass Cards (now light glass) ─── */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.4s;
}

.glass-card:hover {
    border-color: var(--border-blue);
    box-shadow: var(--shadow-md);
}

/* ─── Animations ─── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════════
   STARDUST — Polvo de estrellas azul global
   ═══════════════════════════════════════════════════ */
.stardust-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9;
    overflow: hidden;
}

.stardust {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #7ec8e3 40%, var(--blue) 100%);
    box-shadow: 0 0 6px 2px rgba(54, 161, 190, 0.35), 0 0 12px 4px rgba(126, 200, 227, 0.12);
    animation: stardustFloat linear infinite;
}

.stardust:nth-child(3n) {
    background: radial-gradient(circle, #fff 0%, #a8dce8 50%, #5bb5d1 100%);
    box-shadow: 0 0 8px 3px rgba(91, 181, 209, 0.4), 0 0 14px 5px rgba(168, 220, 232, 0.15);
    animation: stardustFloat linear infinite, stardustTwinkle 3s ease-in-out infinite;
}

.stardust:nth-child(5n) {
    background: radial-gradient(circle, #fff 20%, #b8e4f0 60%, var(--blue) 100%);
    box-shadow: 0 0 10px 4px rgba(54, 161, 190, 0.5), 0 0 18px 7px rgba(184, 228, 240, 0.15);
}

@keyframes stardustFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    8% { opacity: 0.7; }
    50% { transform: translateY(-50vh) translateX(15px) scale(0.8); }
    85% { opacity: 0.2; }
    100% { transform: translateY(-105vh) translateX(-8px) scale(0.3); opacity: 0; }
}

@keyframes stardustTwinkle {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.8); }
}

/* ═══════════════════════════════════════════════════
   ENHANCED HERO — Glow + parallax-ready
   ═══════════════════════════════════════════════════ */
.hero-video-bg > div,
.hero-video-bg > img {
    transition: transform 0.1s linear;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.scroll-indicator .chevron {
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════
   SECTION GLOW DIVIDERS — Líneas animadas
   ═══════════════════════════════════════════════════ */
.blue-line,
.gold-line {
    position: relative;
    overflow: visible;
}

.blue-line::after,
.gold-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--blue), 0 0 16px rgba(54, 161, 190, 0.3);
}

/* ═══════════════════════════════════════════════════
   ENHANCED CARDS — Glow borders on hover
   ═══════════════════════════════════════════════════ */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.5s;
    z-index: 5;
    pointer-events: none;
}

.project-card:hover::after {
    border-color: rgba(54, 161, 190, 0.5);
    box-shadow: inset 0 0 20px rgba(54, 161, 190, 0.1);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

.news-card {
    position: relative;
    overflow: hidden;
}

.news-card:hover::before {
    transform: scaleX(1);
}

/* ═══════════════════════════════════════════════════
   COUNTER GLOW — Números brillan al contar
   ═══════════════════════════════════════════════════ */
.counter-number {
    opacity: 0;
    transition: opacity 0.6s ease-out, text-shadow 0.3s;
}
.counter-number.counting,
.counter-number[data-counted] {
    opacity: 1;
}
.counter-number.counting {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(54, 161, 190, 0.3);
}

/* ═══════════════════════════════════════════════════
   GALLERY IMAGES — Subtle parallax
   ═══════════════════════════════════════════════════ */
.gallery-hover-glow {
    position: relative;
}

.gallery-hover-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    box-shadow: inset 0 0 30px rgba(54, 161, 190, 0.2);
    transition: opacity 0.4s;
    pointer-events: none;
}

.gallery-hover-glow:hover::after {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════
   CTA BUTTONS — Shimmer premium
   ═══════════════════════════════════════════════════ */
.btn-blue::before,
.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: btnShimmerIdle 4s ease-in-out infinite;
}

@keyframes btnShimmerIdle {
    0%, 70%, 100% { left: -100%; }
    85% { left: 100%; }
}

/* ═══════════════════════════════════════════════════
   SECTION BADGES — Pill labels como gala
   ═══════════════════════════════════════════════════ */
.section-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--blue);
    border: 1px solid rgba(54, 161, 190, 0.3);
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════
   IMAGE REVEAL — Clip animation on scroll
   ═══════════════════════════════════════════════════ */
.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-reveal.revealed {
    clip-path: inset(0 0% 0 0);
}

/* ═══════════════════════════════════════════════════
   FOUNDER SECTION — Quote glow
   ═══════════════════════════════════════════════════ */
blockquote {
    position: relative;
}

blockquote::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--blue), transparent);
    animation: quoteGlow 3s ease-in-out infinite;
}

@keyframes quoteGlow {
    0%, 100% { box-shadow: 0 0 4px rgba(54, 161, 190, 0.2); }
    50% { box-shadow: 0 0 12px rgba(54, 161, 190, 0.5); }
}

/* ═══════════════════════════════════════════════════
   PARTNER LOGOS — Float on hover
   ═══════════════════════════════════════════════════ */
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════
   ABOUT PILLARS — Icon pulse
   ═══════════════════════════════════════════════════ */
.about-pillar:hover .about-pillar-icon {
    animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
    0% { box-shadow: 0 0 0 0 rgba(54, 161, 190, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(54, 161, 190, 0); }
    100% { box-shadow: 0 0 0 0 rgba(54, 161, 190, 0); }
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE — Storytelling Premium
   ═══════════════════════════════════════════════════ */

/* ─── Hero About ─── */
.about-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(var(--top-bar-h) + var(--nav-h));
}

.about-hero-bg {
    position: absolute;
    inset: 0;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero .scroll-indicator span {
    color: rgba(255,255,255,0.6);
}

.about-hero .scroll-indicator .chevron {
    color: rgba(255,255,255,0.8);
}

/* ─── Story Timeline (alternating blocks) ─── */
.about-story {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-story-block {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-story-block.reverse {
    flex-direction: row-reverse;
}

.about-story-img {
    flex: 0 0 45%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-story-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-story-block:hover .about-story-img img {
    transform: scale(1.05);
}

.about-story-year {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--blue);
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(54, 161, 190, 0.3);
}

.about-story-block.reverse .about-story-year {
    left: auto;
    right: 1.5rem;
}

.about-story-text {
    flex: 1;
    padding-left: 2.5rem;
}
.about-story-block.reverse .about-story-text {
    padding-left: 0;
    padding-right: 2.5rem;
}

/* ─── Counter Items (sobre fondo foto) ─── */
.about-counter-item {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.about-counter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.4s;
}

.about-counter-item:hover .about-counter-icon {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.1);
}

/* ─── Pillars (4 col with icon) ─── */
.about-pillar {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-pillar:hover {
    border-color: var(--border-blue);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.about-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue);
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.about-pillar:hover .about-pillar-icon {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 24px rgba(54, 161, 190, 0.3);
}

/* ─── Gala Cards (slider) ─── */
.about-gala-slider {
    padding: 0 1rem;
}

.about-gala-card {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-card);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-gala-card-img {
    position: absolute;
    inset: 0;
}

.about-gala-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gala-card:hover .about-gala-card-img img {
    transform: scale(1.08);
}

.about-gala-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    z-index: 2;
}

.about-gala-card-edition {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.about-gala-card-year {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-gala-card-theme {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}

.about-gala-card-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-pale);
    letter-spacing: 0.03em;
}

.about-galas-pagination {
    margin-top: 1.5rem;
    text-align: center;
}

.about-galas-pagination .swiper-pagination-bullet {
    background: var(--blue);
    opacity: 0.3;
    width: 8px;
    height: 8px;
    transition: all 0.3s;
}

.about-galas-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* ─── Founder Cards ─── */
.about-founder-card {
    text-align: center;
    padding: 1rem;
}

.about-founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-founder-card:hover .about-founder-photo {
    border-color: var(--blue);
    box-shadow: 0 0 0 6px var(--blue-pale), var(--shadow-lg);
    transform: scale(1.05);
}

.about-founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── Ambassador Slider ─── */
.about-ambassadors-slider {
    padding: 0 1rem;
}

/* ─── Award Cards ─── */
.about-award-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-award-year {
    display: inline-block;
    background: var(--blue);
    color: white;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.about-award-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue);
    margin-bottom: 1.25rem;
    transition: all 0.4s;
}

.about-award-card:hover .about-award-icon {
    background: var(--blue);
    color: white;
}

/* ─── Projects Slider ─── */
.about-projects-slider {
    padding: 0 1rem;
}

/* ─── Color utility classes used in about ─── */
.text-blue-light { color: var(--blue-light); }
.text-gray-dark  { color: var(--gray-dark); }
.text-gray-text  { color: var(--gray-text); }
.text-gray-muted { color: var(--gray-muted); }
.bg-blue-bg      { background-color: var(--blue-bg); }
.bg-blue-pale    { background-color: var(--blue-pale); }
.border-blue     { border-color: var(--blue); }
.bg-blue         { background-color: var(--blue); }

/* ═══════════════════════════════════════
   GALLERY — Immersive Visual Layout
   ═══════════════════════════════════════ */

/* --- Lazy loading placeholder --- */
img.lazy-img {
    background: linear-gradient(135deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    min-height: 100px;
}
img.lazy-img.loaded {
    animation: none;
    background: none;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══ GALERÍA INMERSIVA — Carruseles ═══ */

.gala-gallery-section { background: #fff; }
.gala-gallery-header { border-bottom: 1px solid rgba(54, 161, 190, 0.08); }

/* ─── Video Sections ─── */
.gala-video-section {
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
    border-top: 1px solid rgba(54, 161, 190, 0.06);
}

/* ─── Instagram Embed Grid ─── */
.ig-embed-grid {
    align-items: start;
}
.ig-embed-item {
    overflow: hidden;
    border-radius: 12px;
}
.ig-embed-item .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
}
.ig-embed-item iframe {
    border-radius: 12px !important;
}
@media (max-width: 768px) {
    .ig-embed-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* Wrapper carrusel */
.gala-carousel-wrap {
    position: relative;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
}
.gala-carousel-wrap--sm {
    padding: 0.5rem 0 1.5rem;
    background: transparent;
}

/* Slides */
.gala-slide {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.5s ease, transform 0.5s ease;
}
.gala-slide--sm {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
}

/* Slide activo resalta */
.gala-swiper-main .swiper-slide {
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.gala-swiper-main .swiper-slide-active .gala-slide {
    box-shadow: 0 16px 50px rgba(54, 161, 190, 0.18), 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.gala-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
    background-size: 200% 200%;
    animation: galaSlidePlaceholder 1.5s ease-in-out infinite;
}
.gala-slide-img[complete] {
    animation: none;
    background: none;
}
@keyframes galaSlidePlaceholder {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.gala-slide:hover .gala-slide-img {
    transform: scale(1.06);
}

/* Overlay hover */
.gala-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}
.gala-slide:hover .gala-slide-overlay {
    opacity: 1;
}

.gala-slide-caption {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}
.gala-slide-caption p {
    color: #fff;
    font-size: 0.8rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.gala-slide-caption span {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gala-slide-expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
}
.gala-slide:hover .gala-slide-expand {
    opacity: 1;
    transform: scale(1);
}

/* Flechas de navegación */
.gala-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #36A1BE;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gala-nav:hover {
    background: #36A1BE;
    color: #fff;
    box-shadow: 0 4px 20px rgba(54, 161, 190, 0.3);
}
.gala-nav-prev { left: 1rem; }
.gala-nav-next { right: 1rem; }
.gala-nav.swiper-button-disabled { opacity: 0.25; pointer-events: none; }

/* Paginación dots */
.gala-pagination {
    text-align: center;
    padding-top: 1rem;
}
.gala-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #36A1BE;
    opacity: 0.25;
    transition: opacity 0.3s, transform 0.3s;
}
.gala-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
}

/* Tira de thumbnails */
.gala-thumbstrip {
    padding: 0.5rem 0 1rem;
}
.gala-swiper-thumbs .swiper-slide {
    opacity: 0.35;
    transition: opacity 0.3s;
    cursor: pointer;
}
.gala-swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}
.gala-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}
.swiper-slide-thumb-active .gala-thumb {
    border-color: #36A1BE;
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(54, 161, 190, 0.25);
}
.gala-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery year pills — hover animation */
.gallery-year-pill {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-year-pill:hover {
    transform: translateY(-2px);
}
.gallery-year-pill.bg-\[\#36A1BE\] {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(54, 161, 190, 0.3);
}

/* Scrollbar oculto */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Responsive galería ─── */
@media (max-width: 768px) {
    .gala-slide { border-radius: 8px; aspect-ratio: 16 / 11; }
    .gala-nav { width: 36px; height: 36px; }
    .gala-nav-prev { left: 0.5rem; }
    .gala-nav-next { right: 0.5rem; }
}
@media (max-width: 480px) {
    .gala-slide { aspect-ratio: 4 / 3; }
    .gala-nav { display: none; }
}

/* GSAP reveal classes */
.reveal       { opacity: 0; transform: translateY(40px); }
.reveal-left  { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.9); }
.stagger-item { opacity: 0; transform: translateY(40px); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Global image safety + touch targets
   ═══════════════════════════════════════════════════ */
img:not([class]) {
    max-width: 100%;
    height: auto;
}
/* Safety: prevent images from breaking layout */
.news-card img,
.project-card img,
.person-card img,
.about-founder-photo img,
.partner-logo,
.gala-slide-img,
.gala-thumb img {
    max-width: 100%;
}

/* Touch-friendly tap targets (mobile only) */
@media (max-width: 1024px) {
    .btn-gold, .btn-blue, .btn-ghost, .mobile-menu-link,
    .mobile-menu-social, .footer-social-icon, .contact-social-link,
    .mobile-menu-cta-btn, .mobile-menu-close {
        min-height: 44px;
    }
    .mobile-menu-social, .footer-social-icon, .contact-social-link {
        min-width: 44px;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px - 1024px)
   ═══════════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-link {
        font-size: 0.6875rem;
        padding: 0.5rem 0.625rem;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — max-width: 1024px (tablet and below)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hamburger { display: block; }
    .nav-links { display: none; }
    section { padding: 4rem 0; }
    .top-bar { display: none; }
    .nav-main { top: 0; }
    .hero { margin-top: var(--nav-h); }
    .about-hero { margin-top: var(--nav-h); }
    .nav-main.scrolled { top: 0; }

    .about-story-block,
    .about-story-block.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .about-story-img {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-story-year {
        font-size: 1rem;
        top: 1rem;
        left: 1rem;
    }

    .about-story-block.reverse .about-story-year {
        left: 1rem;
        right: auto;
    }

    .about-story-text,
    .about-story-block.reverse .about-story-text {
        padding-left: 3rem;
        padding-right: 0;
    }

    .about-founder-photo {
        width: 150px;
        height: 150px;
    }

    /* Footer stacking on tablet */
    .footer-bottom-bar .flex {
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — max-width: 768px (mobile)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero { height: calc(100svh - var(--nav-h)); min-height: 500px; }
    .hero-content { padding: 0 1.25rem; }
    .hero-logo { margin-bottom: 1.5rem; }
    .hero-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .scroll-indicator { bottom: 1rem; }
    .section-title { font-size: 1.75rem; }
    .counter-number { font-size: 2.5rem; }
    section { padding: 3rem 0; }

    /* Counter section: 2x2 grid */
    .counter-section .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Cards stack vertically with spacing */
    .project-card {
        aspect-ratio: 3/4;
    }

    /* Gallery: full-width slides */
    .gala-swiper-main .swiper-slide {
        width: 100% !important;
    }

    /* Footer: proper mobile stacking */
    .footer-main .grid {
        gap: 2.5rem !important;
    }
    .footer-bottom-bar .flex-col.md\:flex-row {
        gap: 1rem;
    }
    .footer-bottom-bar .flex.items-center.gap-6 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .about-hero {
        height: 55vh;
        min-height: 400px;
    }

    .about-story {
        gap: 3rem;
    }

    .about-counter-icon {
        width: 48px;
        height: 48px;
    }

    .about-counter-icon i,
    .about-counter-icon svg {
        width: 20px;
        height: 20px;
    }

    .about-pillar {
        padding: 2rem 1rem;
    }

    .about-pillar-icon {
        width: 60px;
        height: 60px;
    }

    .about-gala-card-year {
        font-size: 2rem;
    }

    .about-founder-photo {
        width: 130px;
        height: 130px;
    }

    /* Newsletter form stacking */
    .footer-newsletter form {
        flex-direction: column;
    }
    .footer-newsletter form input,
    .footer-newsletter form button {
        width: 100%;
    }

    /* Container tighter padding */
    .container {
        padding: 0 1rem;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — max-width: 480px (small mobile)
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .hero { min-height: 420px; }
    .hero-content { padding: 0 1rem; }
    .hero-title { font-size: 1.25rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.25rem; }
    .hero-logo { margin-bottom: 1.25rem; }
    .btn-gold, .btn-blue, .btn-ghost { padding: 0.75rem 1.5rem; font-size: 0.8rem; }

    .about-hero {
        height: 50vh;
        min-height: 350px;
    }

    .about-gala-card-content {
        padding: 1.5rem 1rem;
    }

    .about-gala-card-year {
        font-size: 1.75rem;
    }

    .about-award-card {
        padding: 2rem 1.25rem;
    }

    /* Mobile menu link size for small screens */
    .mobile-menu-link {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }
}

/* ─── Utility ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ====================================
   GALA INDEX — Premium Visual Styles
   ==================================== */

/* Ken Burns hero — zoom cinemático lento */
@keyframes kenburns {
    0%   { transform: scale(1.0); }
    100% { transform: scale(1.12); }
}
.gala-hero-kenburns {
    animation: kenburns 25s ease-in-out infinite alternate;
    will-change: transform;
}

/* Stat numbers — gradiente de texto */
.gala-stat-number {
    background: linear-gradient(135deg, #36A1BE 0%, #4DB8D3 60%, #36A1BE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge glassmorphism */
.gala-badge-glass {
    background: rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: rgba(255,255,255,0.90) !important;
}

/* Shimmer animation para badge destacado */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.gala-shimmer {
    background: linear-gradient(90deg, #36A1BE 0%, #6DD5ED 45%, #36A1BE 100%) !important;
    background-size: 200% auto;
    animation: shimmer 4s ease-in-out infinite;
    color: #fff !important;
}

/* Gala card — hover premium */
.gala-card {
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), box-shadow 0.7s ease !important;
}
.gala-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 30px 70px -10px rgba(54,161,190,0.3), 0 10px 30px -8px rgba(0,0,0,0.15) !important;
}

/* Gala card featured (primera/más reciente) */
.gala-card-featured {
    position: relative;
}
.gala-card-featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(54,161,190,0.4), transparent 50%, rgba(77,184,211,0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.gala-card-featured:hover::before {
    opacity: 1;
}

/* Gala featured section — glow sutil */
.gala-featured-glow {
    box-shadow: 0 0 0 1px rgba(54,161,190,0.15);
    transition: box-shadow 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1) !important;
}
.gala-featured-glow:hover {
    box-shadow: 0 0 0 2px rgba(54,161,190,0.35), 0 25px 60px -15px rgba(54,161,190,0.2) !important;
}

/* Stats separator vertical */
.gala-stat-item {
    position: relative;
}
.gala-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #36A1BE30, transparent);
}

/* Overlay gradiente hover azulado */
.gala-overlay-hover {
    transition: all 0.7s ease;
}
.gala-card:hover .gala-overlay-hover {
    background: linear-gradient(to top, rgba(27,58,75,0.95) 0%, rgba(54,161,190,0.15) 50%, transparent 100%) !important;
}

/* Fade in up (para JS scroll reveal) */
@keyframes fadeInUpGala {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Línea decorativa gradiente bajo card */
.gala-card .gala-line-accent {
    background: linear-gradient(90deg, #36A1BE, #4DB8D3, #36A1BE);
    background-size: 200% 100%;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), background-position 2s ease;
}
.gala-card:hover .gala-line-accent {
    background-position: 100% 0;
}

/* ====================================
   CONTACT PAGE — Premium Visual Styles
   ==================================== */

/* Hero compacto con imagen de fondo */
.contact-hero {
    position: relative;
    height: 45vh;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(var(--top-bar-h) + var(--nav-h));
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 25s ease-in-out infinite alternate;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 75, 0.85) 0%,
        rgba(54, 161, 190, 0.6) 50%,
        rgba(27, 58, 75, 0.8) 100%
    );
}

.contact-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
}

.contact-hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.contact-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 500px;
    margin: 0 auto;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* Info cards */
.contact-info-card {
    padding: 2rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-info-card:hover {
    border-color: var(--border-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue);
    margin-bottom: 1.25rem;
    transition: all 0.4s;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 24px rgba(54, 161, 190, 0.3);
}

/* Social links in contact */
.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    color: var(--gray-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(54, 161, 190, 0.3);
}

/* Form card */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

.contact-form-input {
    width: 100%;
    background: var(--bg-alt);
    border: 1.5px solid transparent;
    border-radius: 50px;
    padding: 0.95rem 1.5rem;
    color: var(--gray-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

textarea.contact-form-input {
    border-radius: 20px;
    padding: 1rem 1.5rem;
}

.contact-form-input::placeholder {
    color: var(--gray-muted);
}

.contact-form-input:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(54, 161, 190, 0.1), 0 2px 12px rgba(54, 161, 190, 0.08);
    transform: translateY(-1px);
}

/* Responsive contact */
@media (max-width: 1024px) {
    .contact-hero {
        margin-top: var(--nav-h);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 38vh;
        min-height: 280px;
    }

    .contact-form-card {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        height: 35vh;
        min-height: 250px;
    }

    .contact-form-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY — prefers-reduced-motion
   ═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .stardust-container { display: none !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .stagger-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════
   NEWS — Featured first article (2x)
   ═══════════════════════════════════════════════════ */
.news-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-featured:hover {
    border-color: var(--border-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.news-featured .news-featured-img {
    overflow: hidden;
    position: relative;
}
.news-featured .news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-featured:hover .news-featured-img img {
    transform: scale(1.05);
}
.news-featured .news-featured-img .news-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--blue);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    z-index: 2;
}
.news-featured .news-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-featured .news-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.news-featured .news-card-excerpt {
    font-size: 0.9375rem;
    line-height: 1.7;
    -webkit-line-clamp: 5;
}
.news-featured::before {
    display: none;
}

@media (max-width: 768px) {
    .news-featured {
        grid-template-columns: 1fr;
    }
    .news-featured .news-featured-img {
        aspect-ratio: 16/9;
    }
    .news-featured .news-card-body {
        padding: 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════
   PROJECTS — Impact counter animation
   ═══════════════════════════════════════════════════ */
.project-impact-counter {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    color: var(--blue-pale);
    letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════
   CONTACT — Loading spinner SVG
   ═══════════════════════════════════════════════════ */
.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-spinner svg {
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════
   CONTACT — Float labels
   ═══════════════════════════════════════════════════ */
.float-label-wrap {
    position: relative;
}
.float-label-wrap .contact-form-input {
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
}
.float-label-wrap .contact-form-input::placeholder {
    color: transparent;
}
.float-label-wrap label {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    font-size: 0.9375rem;
    color: var(--gray-muted);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}
.float-label-wrap textarea ~ label {
    top: 1rem;
    transform: none;
}
.float-label-wrap .contact-form-input:focus ~ label,
.float-label-wrap .contact-form-input:not(:placeholder-shown) ~ label {
    top: 0.45rem;
    font-size: 0.65rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: none;
}
.float-label-wrap textarea:focus ~ label,
.float-label-wrap textarea:not(:placeholder-shown) ~ label {
    top: 0.3rem;
    font-size: 0.65rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   COLLABORATE — Animated tax percentage badges
   ═══════════════════════════════════════════════════ */
.tax-badge {
    position: relative;
    overflow: hidden;
}
.tax-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    background-size: 300% 100%;
    animation: taxBadgeShine 3s ease-in-out infinite;
}
@keyframes taxBadgeShine {
    0%, 100% { background-position: 100% 0; }
    50% { background-position: -100% 0; }
}

/* ═══════════════════════════════════════════════════
   PERSONALITIES — Gradient initials placeholder
   ═══════════════════════════════════════════════════ */
.initials-gradient {
    background: linear-gradient(135deg, var(--blue-pale) 0%, #d4eef5 50%, var(--blue-pale) 100%);
    position: relative;
}
.initials-gradient span {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.initials-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(54,161,190,0.08) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════
   ABOUT — SVG Timeline vertical line
   ═══════════════════════════════════════════════════ */
.about-timeline {
    position: relative;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--blue) 10%, var(--blue) 90%, transparent);
    transform: translateX(-50%);
    z-index: 1;
}
.about-timeline .about-story-block {
    position: relative;
}
.about-timeline .about-story-block::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--blue);
    border: 3px solid var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--blue-pale), 0 0 16px rgba(54,161,190,0.25);
    transition: all 0.4s;
}
.about-timeline .about-story-block:hover::before {
    box-shadow: 0 0 0 6px var(--blue-pale), 0 0 24px rgba(54,161,190,0.4);
    transform: translate(-50%, -50%) scale(1.2);
}

@media (max-width: 1024px) {
    .about-timeline::before {
        left: 2rem;
    }
    .about-timeline .about-story-block::before {
        left: 2rem;
        top: 0;
        transform: translate(-50%, 0);
    }
    .about-timeline .about-story-block:hover::before {
        transform: translate(-50%, 0) scale(1.2);
    }
}

/* ─── Instagram Feed ─── */
.ig-post {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}
.ig-post:hover {
    box-shadow: 0 8px 24px rgba(54, 161, 190, 0.15);
    transform: translateY(-2px);
}
.ig-skeleton {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
    background-size: 200% 200%;
    animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: 0% 0%; }
}
