/* Fuentes Circular */
@font-face {
    font-family: 'Circular';
    src: url('../img/Circular Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Circular';
    src: url('../img/CircularStdBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-primary: #0C7B4F;
    --brand-secondary: #0A6B43;
    --brand-accent: #E8920F;
    --brand-dark: #1A3D2E;
    --brand-light: #E8F5F0;
    --brand-orange: #E8920F;
    --bg: #F8FDF9;
    --text: #1A3D2E;
    --muted: #4A6B5A;
    --radius: 24px;
    --shadow: 0 20px 60px rgba(12, 123, 79, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 24px 80px rgba(12, 123, 79, 0.25);
    --gradient: linear-gradient(135deg, #0C7B4F 0%, #0A6B43 100%);
    --gradient-accent: linear-gradient(135deg, #E8920F 0%, #D67A00 100%);
    --gradient-green: linear-gradient(135deg, #0C7B4F 0%, #0A6B43 100%);
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Circular', 'Inter', system-ui, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4 {
    font-family: 'Circular', 'Montserrat', 'Inter', sans-serif;
    margin: 0 0 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}
p {
    line-height: 1.65;
    margin: 0 0 1rem;
}
a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 32px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(11, 166, 206, 0.1);
    transition: all 0.3s ease;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(64px, 8vw, 80px);
    gap: 20px;
}
.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.brand:hover {
    transform: scale(1.05);
}
.brand-logo {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}
.brand:hover .brand-logo {
    transform: scale(1.1);
}
.menu {
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    align-items: center;
}
.menu a {
    padding: 12px 16px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--brand-dark);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.menu a:hover {
    background: var(--brand-light);
    transform: translateY(-2px);
    color: var(--brand-primary);
}
.cta-small {
    background: var(--gradient-accent);
    color: #042;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    display: flex;
    align-items: center;
}
.cta-small:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.burger {
    display: none;
    background: transparent;
    border: 0;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.3s ease;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}
.burger:hover {
    background: var(--brand-light);
}
.burger span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.hero {
    position: relative;
    background: var(--gradient);
    color: white;
    min-height: 92vh;
    display: flex;
    align-items: stretch;
    padding: max(12px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="600" cy="700" r="120" fill="url(%23a)"/></svg>');
    pointer-events: none;
    opacity: 0.3;
}


.hero-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(24px, 6vw, 72px);
    padding-right: clamp(24px, 6vw, 72px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 4vw, 40px);
}

@media (min-width: 1024px) {
    .hero-container {
        display: grid !important;
        flex-direction: initial !important;
        grid-template-columns: 1.15fr 0.85fr;
        align-items: end;
        gap: clamp(20px, 4vw, 40px);
        padding-left: clamp(24px, 6vw, 72px);
        padding-right: clamp(24px, 6vw, 72px);
    }
    
    .hero-left {
        order: initial;
        padding: clamp(20px, 5vh, 48px) 0;
        gap: clamp(28px, 5vh, 52px);
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }
    
    .hero-slogan {
        position: static;
        transform: none;
        z-index: initial;
        order: initial;
    }
    
    .hero-right {
        order: initial;
        position: relative;
        min-height: 46vh;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        padding: clamp(20px, 5vh, 48px) 0;
        flex: initial;
    }
    
    .hero-portrait {
        position: relative;
        align-self: flex-end;
        width: auto;
    }
    
    .hero-portrait img {
        width: min(42vw, 620px);
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 1) 30%);
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 1) 30%);
    }
    
    .hero-meta {
        position: absolute;
        right: clamp(24px, 6vw, 72px);
        bottom: calc(clamp(20px, 5vh, 48px) + 80px);
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
        max-width: 90%;
        background: transparent;
        padding: 0;
        box-shadow: none;
        backdrop-filter: none;
        border-radius: 0;
        text-align: right;
        order: initial;
    }
    
    .hero-subtitle {
        font-size: clamp(14px, 1.9vw, 20px);
        text-align: right;
        margin-bottom: 0;
    }
    
    .hero-cta {
        display: block;
        background: var(--brand-accent);
        color: var(--white);
        font-weight: 800;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        padding: 14px 18px;
        border-radius: 12px;
        font-size: clamp(12px, 1.6vw, 16px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }
    
    .hero-ig {
        order: initial;
        justify-content: flex-start;
        padding: 0;
    }
    
    .hero-mobile-banner {
        display: none;
    }
}

/* ==================== Columna izquierda ==================== */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(28px, 5vh, 52px);
    padding-top: clamp(20px, 5vh, 48px);
    padding-bottom: clamp(20px, 5vh, 48px);
}

.hero-brand img {
    width: min(240px, 42vw);
    height: auto;
    display: block;
}

.hero-slogan {
    line-height: 0.88;
    letter-spacing: -0.02em;
    margin: 0;
}

.slogan-line1 {
    display: block;
    font-weight: 700;
    font-size: clamp(56px, 9.5vw, 132px);
    color: var(--white);
}

.slogan-line2 {
    display: block;
    font-weight: 700;
    font-size: clamp(56px, 9.5vw, 132px);
    color: var(--brand-accent);
}

.hero-ig {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    opacity: 0.95;
    font-weight: 600;
    font-size: clamp(14px, 2.2vw, 18px);
    text-decoration: none;
    color: var(--white);
    width: max-content;
}

.hero-ig svg {
    width: 22px;
    height: 22px;
    flex: none;
}

/* ==================== Columna derecha ==================== */
.hero-right {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: clamp(20px, 5vh, 48px);
    padding-bottom: clamp(20px, 5vh, 48px);
}

.hero-portrait {
    position: relative;
    display: block;
    align-self: flex-end;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.28));
    margin: 0;
}

.hero-portrait img {
    width: min(42vw, 620px);
    height: auto;
    object-fit: contain;
    vertical-align: bottom;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 1) 30%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 1) 30%);
}

.hero-meta {
    position: absolute;
    right: clamp(24px, 6vw, 72px);
    bottom: calc(clamp(20px, 5vh, 48px) + 80px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    max-width: 90%;
}

.hero-subtitle {
    font-weight: 600;
    font-size: clamp(14px, 1.9vw, 20px);
    text-align: right;
    text-wrap: balance;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-cta {
    background: var(--brand-accent);
    color: var(--white);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: clamp(12px, 1.6vw, 16px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* ==================== Mobile ==================== */
@media (max-width: 1023.98px) {
    .hero {
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 0;
        padding: 0;
        min-height: 100vh;
        max-width: 100%;
    }
    
    /* Logo arriba centrado */
    .hero-left {
        order: 1;
        padding: 24px 20px 0;
        gap: 0;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    
    .hero-brand {
        order: 1;
        margin-bottom: 16px;
    }
    
    .hero-brand img {
        width: min(200px, 40vw);
        margin: 0 auto;
    }
    
    /* Banner naranja */
    .hero-mobile-banner {
        order: 2;
        background: var(--brand-accent);
        color: white;
        text-align: center;
        padding: 12px 20px;
        font-weight: 800;
        font-size: clamp(12px, 3vw, 16px);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin: 0;
    }
    
    /* Contenedor de foto y texto superpuesto */
    .hero-right {
        order: 3;
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        min-height: 60vh;
    }
    
    .hero-portrait {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
    }
    
    .hero-portrait img {
        width: min(85vw, 400px);
        height: auto;
        -webkit-mask-image: none;
        mask-image: none;
        filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
    }
    
    /* Texto superpuesto sobre la foto */
    .hero-slogan {
        position: absolute;
        bottom: 25%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        text-align: center;
        margin: 0;
        width: 100%;
    }
    
    .slogan-line1 {
        font-size: clamp(48px, 12vw, 80px);
        color: white;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
        line-height: 0.9;
        margin: 0;
    }
    
    .slogan-line2 {
        font-size: clamp(48px, 12vw, 80px);
        color: var(--brand-accent);
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
        line-height: 0.9;
        margin: 0;
    }
    
    /* Info candidato */
    .hero-meta {
        order: 4;
        position: static;
        background: transparent;
        padding: 20px;
        text-align: center;
        align-items: center;
        margin: 0;
        box-shadow: none;
        backdrop-filter: none;
        border-radius: 0;
    }
    
    .hero-subtitle {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 0;
        color: white;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .hero-cta {
        display: none;
    }
    
    /* Instagram abajo */
    .hero-ig {
        order: 5;
        justify-content: center;
        padding: 20px;
        font-size: clamp(14px, 3.5vw, 18px);
    }
}

.hero-candidate {
    font-size: clamp(40px, 7vw, 56px);
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    line-height: 1.05;
}

.hero-position {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--brand-accent);
    margin: 0 0 20px 0;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.overline {
    display: inline-block;
    background: var(--gradient-accent);
    color: #0b2230;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero h2 {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 24px;
}
.lead {
    margin: 0 0 32px;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 500px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}
.btn:hover::before {
    left: 100%;
}
.btn.primary {
    background: var(--gradient-accent);
    color: #0b2230;
    box-shadow: var(--shadow-card);
}
.btn.ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
@keyframes pulse-glow {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}
.hero-ribbon {
    position: absolute;
    bottom: -32px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}
.ribbon-badge {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px 24px;
    border-radius: 50px 50px 0 0;
    font-weight: 700;
    box-shadow: var(--shadow-card);
    font-size: 0.95rem;
}
.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.8);
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

.section {
    padding: clamp(50px, 8vw, 80px) 0;
    transition: all 0.3s ease;
}
.section.alt {
    background: white;
    position: relative;
}
.section.alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(11, 166, 206, 0.02) 50%,
        transparent 70%
    );
    pointer-events: none;
}
.section + .section {
    margin-top: 0;
}
.section:not(.parallax-section) + .section:not(.parallax-section) {
    border-top: 1px solid rgba(11, 166, 206, 0.08);
    position: relative;
}
.section.no-top-padding {
    padding-top: 0;
}
.section h3 {
    margin-bottom: clamp(24px, 4vw, 40px);
}
.section p {
    margin-bottom: clamp(16px, 3vw, 24px);
}
.cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 60px);
    align-items: start;
}
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: clamp(22px, 4vw, 32px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(11, 166, 206, 0.05);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.pill {
    display: inline-block;
    background: var(--gradient-accent);
    color: #062e2f;
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 16px;
    font-size: 0.9rem;
}
.ticks {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ticks li::before {
    content: '✓';
    margin-right: 12px;
    color: var(--brand-primary);
    font-weight: 900;
    font-size: 1.1rem;
}
.ticks li {
    margin: 16px 0;
    color: var(--muted);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.cards-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 32px);
}

.cards-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 4vw, 32px);
    justify-items: center;
}

/* Video styles */
.video-container {
    margin-top: 3rem;
    text-align: center;
}

.marcelo-video {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marcelo-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Full width video styles */
.video-container-full {
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.marcelo-video-full {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: block;
    object-fit: cover;
}
.card.icon {
    text-align: center;
    padding: clamp(28px, 5vw, 40px);
}
.card.icon .ic {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
    display: block;
}
.card.icon h4 {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
.card.icon p {
    color: var(--muted);
    line-height: 1.6;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 24px);
}
.list-item {
    background: white;
    border-radius: 20px;
    padding: clamp(18px, 4vw, 24px);
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(11, 166, 206, 0.05);
}
.list-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.list-item .pos {
    font-weight: 800;
    color: var(--brand-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.list-item .name {
    font-weight: 700;
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    margin-bottom: 6px;
}
.list-item .bio {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Gallery with Lightbox */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

.gallery-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(11, 166, 206, 0.05);
    cursor: pointer;
    position: relative;
}
.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: clamp(200px, 25vw, 280px);
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 166, 206, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse-zoom 2s infinite;
}
@keyframes pulse-zoom {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
}
.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -20px;
    background: none;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    padding: 20px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -80px;
}
.lightbox-next {
    right: -80px;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    display: none;
}

.lightbox-counter {
    position: absolute;
    top: -50px;
    left: 20px;
    color: white;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 61, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.contact-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100%;
}

.contact-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
}

.contact-modal.active .contact-modal-content {
    transform: scale(1);
}

.contact-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--brand-primary);
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-card);
}

.contact-modal-close:hover {
    background: var(--brand-secondary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-hover);
}

.contact-modal-form {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--brand-light);
    width: 100%;
}

.contact-modal-form h3 {
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.contact-modal-form p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Contact Info Centered Layout */
.contact-info-centered {
    display: flex;
    justify-content: center;
}

.contact-info-centered .contact-info {
    max-width: 600px;
    width: 100%;
}

.contact-cta {
    margin-top: 2rem;
    text-align: center;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}
.contact-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--muted);
    font-size: 1.05rem;
}
.contact-list li span {
    font-size: 1.2rem;
}
.contact-list .socials {
    gap: 0;
}
.contact-list .socials a {
    margin-right: 12px;
    background: var(--gradient);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.contact-list .socials a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}
.contact-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}
.contact-header h3 {
    font-size: clamp(28px, 4vw, 40px);
}
.contact-header p {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(30px, 6vw, 50px);
    align-items: start;
}

.contact-info h4,
.contact-form-wrapper h4 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--brand-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 4px;
}
.contact-item strong {
    display: block;
    color: var(--brand-dark);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-item p {
    margin: 0;
    color: var(--muted);
}

.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.social-btn {
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* Form Styles */
.contact-form,
.preafiliation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 1rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 2px solid #e7eef2;
    background: #fbfeff;
    color: var(--text);
    padding: 14px 16px;
    border-radius: 14px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    min-height: 44px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(12, 123, 79, 0.1);
    transform: translateY(-1px);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.hp {
    display: none;
}
.btn.full {
    width: 100%;
    justify-content: center;
}

.form-feedback {
    margin-top: 16px;
    min-height: 1.5em;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}
.form-feedback.success {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
}
.form-feedback.error {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Pre-affiliation Specific */
.preafiliation-header {
    text-align: center;
    margin-bottom: 40px;
}
.preafiliation-header h3 {
    font-size: clamp(28px, 4vw, 40px);
}
.preafiliation-header p {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
}

.preafiliation-form-container {
    max-width: 800px;
    margin: 0 auto;
}
.form-section {
    margin-bottom: 32px;
    padding: 24px;
    border: 1px solid rgba(11, 166, 206, 0.1);
    border-radius: 16px;
    background: rgba(11, 166, 206, 0.02);
}
.form-section h4 {
    font-size: 1.2rem;
    color: var(--brand-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-accent);
}

.form-disclaimer {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin-top: 16px;
    font-style: italic;
}

.site-footer {
    background: var(--brand-dark);
    color: white;
    padding: clamp(32px, 6vw, 48px) 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}
.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.foot a {
    color: #d9f7ff;
    transition: color 0.3s ease;
}
.foot a:hover {
    color: white;
}
.brand-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}
.foot-links {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    flex-wrap: wrap;
}
.foot-links a {
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.foot-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}
.copy {
    opacity: 0.9;
    font-size: 0.95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Parallax Section */
.parallax-section {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-bg {
    position: absolute;
    top: -200%;
    left: 0;
    width: 100%;
    height: 500%;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transform: translateZ(0);
    will-change: transform;
    z-index: 1;
    /* Forzar actualización del cache */
}
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 166, 206, 0.2) 0%,
        rgba(4, 46, 56, 0.3) 60%,
        rgba(4, 46, 56, 0.6) 100%
    );
    z-index: 2;
}
.parallax-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 80px;
}
.parallax-text h3 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.parallax-text p {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile Optimization */
@media (max-width: 920px) {
    .hero {
        min-height: 100svh;
        padding: clamp(60px, 15vw, 100px) 0 clamp(40px, 10vw, 80px);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(40px, 8vw, 60px);
        text-align: center;
    }
    .hero-photo {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-photo img {
        max-width: 600px;
        transform: scale(1.05) rotate(0.3deg);
    }
    .hero-copy {
        max-width: none;
    }
    .hero-brand-section {
        justify-content: center;
        margin-bottom: 20px;
    }
    .hero-slogan-section {
        margin-bottom: 24px;
    }
    .hero-cta {
        justify-content: center;
    }
    .cols-2 {
        grid-template-columns: 1fr;
        gap: clamp(40px, 8vw, 60px);
    }
    .cards-3 {
        grid-template-columns: 1fr;
    }
    .cards-5 {
        grid-template-columns: 1fr;
    }
    .video-container {
        margin-top: 2rem;
    }
    .marcelo-video {
        border-radius: 8px;
    }
    .video-container-full {
        margin-top: 2.5rem;
    }
    .marcelo-video-full {
        min-height: 200px;
    }
    .list-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .menu {
        display: none;
        position: fixed;
        top: clamp(64px, 8vw, 80px);
        right: clamp(16px, 5vw, 32px);
        left: clamp(16px, 5vw, 32px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 20px;
        box-shadow: var(--shadow-hover);
        border: 1px solid rgba(11, 166, 206, 0.1);
        z-index: 40;
    }
    .menu.open {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .menu a {
        width: 100%;
        padding: 16px 20px;
        border-radius: 16px;
        text-align: center;
    }
    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .foot {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .foot-links {
        justify-content: center;
    }
    .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    .hero-cta {
        justify-content: center;
    }
    .parallax-section {
        height: 50vh;
        min-height: 300px;
    }
    .parallax-bg {
        background-attachment: scroll;
        width: 100%;
        height: 500%;
        top: -200%;
        left: 0;
    }
    .parallax-content {
        padding-bottom: 60px;
    }

    /* Contact Modal Responsive */
    .contact-modal {
        padding: 10px;
        align-items: flex-start;
    }

    .contact-modal-content {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .contact-modal-close {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .contact-modal-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .contact-modal-form h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Contact Modal Mobile */
    .contact-modal {
        padding: 10px;
        align-items: flex-start;
    }

    .contact-modal-content {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .contact-modal-close {
        top: -5px;
        right: -5px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .contact-modal-form {
        padding: 1rem;
        border-radius: 12px;
    }

    .contact-modal-form h3 {
        font-size: 1.3rem;
        margin-bottom: 0.25rem;
    }

    .contact-modal-form p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .hero {
        padding: clamp(40px, 12vw, 80px) 0 clamp(30px, 8vw, 60px);
    }
    .section {
        padding: clamp(40px, 8vw, 60px) 0;
    }
    .hero h1 {
        font-size: clamp(28px, 8vw, 40px);
    }
    .hero h2 {
        font-size: clamp(16px, 5vw, 20px);
    }
    .lead {
        font-size: 1rem;
    }
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .card {
        padding: 20px;
    }
    .cards-3 {
        gap: 20px;
    }
    .list-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .parallax-section {
        height: 70vh;
        min-height: 400px;
    }
    .parallax-content {
        padding-bottom: 40px;
    }
    .lightbox-prev {
        left: -20px;
    }
    .lightbox-next {
        right: -20px;
    }
    .lightbox-close {
        top: -30px;
        right: 10px;
    }
    .lightbox-caption {
        bottom: -40px;
        font-size: 1rem;
    }
    .lightbox-counter {
        top: -30px;
        left: 10px;
        font-size: 0.9rem;
    }
}

/* Tablet Landscape */
@media (min-width: 921px) and (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
    .cards-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .cards-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-container-full {
        margin-top: 3rem;
    }
    .marcelo-video-full {
        min-height: 250px;
    }
}

/* Desktop Large - 5 cards layout */
@media (min-width: 1201px) {
    .cards-5 {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .cards-5 .card:nth-child(4) {
        grid-column: 1;
    }
    
    .cards-5 .card:nth-child(5) {
        grid-column: 3;
    }
}

/* Medium screens - better 5 cards distribution */
@media (min-width: 1000px) and (max-width: 1200px) {
    .cards-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cards-5 .card:nth-child(4),
    .cards-5 .card:nth-child(5) {
        grid-column: span 1;
    }
    
    .cards-5 .card:nth-child(4) {
        margin-left: auto;
        margin-right: 10px;
    }
    
    .cards-5 .card:nth-child(5) {
        margin-left: 10px;
        margin-right: auto;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .video-container-full {
        margin-top: 2rem;
    }
    .marcelo-video-full {
        min-height: 180px;
    }
}

/* High Resolution Displays */
@media (min-resolution: 2dppx) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-indicator {
        animation: none;
    }
}

/* Padrón Electoral Section */
.padron-header {
    text-align: center;
    margin-bottom: 3rem;
}

.padron-header h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.padron-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.padron-content {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.padron-card {
    text-align: center;
    max-width: 500px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}

.padron-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.padron-icon {
    margin-bottom: 1.5rem;
}

.padron-icon span {
    font-size: 4rem;
    display: block;
}

.padron-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.padron-card p {
    margin-bottom: 2rem;
    color: var(--muted);
    line-height: 1.6;
}

.padron-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.padron-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.padron-btn svg {
    transition: transform 0.3s ease;
}

.padron-btn:hover svg {
    transform: translate(2px, -2px);
}

@media (max-width: 768px) {
    .padron-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .padron-icon span {
        font-size: 3rem;
    }
    
    .padron-card h4 {
        font-size: 1.25rem;
    }
    
    .padron-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.2);
        --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    .card {
        border: 2px solid var(--brand-teal);
    }
}
