/* =============================================
   Ruta: public/css/app.css
   PHOENIX v5.4 — Albert Arenas Yabar · PRIN
   Paleta: sin negros (#000). Fondos oscuros = guinda.
   ============================================= */

/* --- VARIABLES PALETA PRIN --- */
:root {
    --color-rojo:       #CC0000;
    --color-rojo-dark:  #A30000;
    --color-guinda:     #6B0F1A;
    --color-guinda-dark:#4A0A12;
    --color-blanco:     #FFFFFF;
    --color-gris-claro: #F5F5F5;
    --color-texto:      #2D0A0F;

    /* Alias legacy (vistas/CSS existentes) */
    --rojo:        var(--color-rojo);
    --rojo-dark:   var(--color-rojo-dark);
    --rojo-oscuro: var(--color-rojo-dark);
    --rojo-claro:  #E82222;
    --guinda:      var(--color-guinda);
    --guinda-dark: var(--color-guinda-dark);
    --blanco:      var(--color-blanco);
    --gris-claro:  var(--color-gris-claro);
    --texto:       var(--color-texto);
    --gris:        #5C4A4E;
    --gris-borde:  #E8D8DB;
    --gris-oscuro: var(--color-guinda);

    --fuente-principal: 'Montserrat', sans-serif;
    --fuente-texto:     'Open Sans', sans-serif;
    --sombra:      0 8px 35px rgba(74, 10, 18, 0.12);
    --sombra-card: 0 4px 20px rgba(45, 10, 15, 0.08);
    --sombra-roja: 0 8px 30px rgba(204, 0, 0, 0.35);
    --sombra-nav:  0 2px 20px rgba(74, 10, 18, 0.35);
    --transicion:  all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radio:       8px;
    --hero-gradient: linear-gradient(135deg, #4A0A12 0%, #6B0F1A 45%, #CC0000 100%);

    --mask-fade-bottom: linear-gradient(
        to bottom,
        #4A0A12 0%,
        #4A0A12 42%,
        rgba(74, 10, 18, 0.92) 55%,
        rgba(74, 10, 18, 0.7) 68%,
        rgba(107, 15, 26, 0.4) 80%,
        rgba(107, 15, 26, 0.12) 92%,
        transparent 100%
    );
}

/* --- RESET --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--fuente-texto);color:var(--texto);background:var(--blanco);overflow-x:hidden;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(12px, 4vw, 24px);
}

/* =============================================
   HERO PROMO (Inicio) — velo lateral claro
   Solo afecta a .hero-promo (no otras páginas)
   ============================================= */
.hero.hero-promo {
    position: relative;
    background: var(--blanco);
    color: var(--texto);
    overflow: hidden;
    min-height: clamp(520px, 85vh, 720px);
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
@media (min-width: 640px) { .hero.hero-promo { min-height: clamp(580px, 88vh, 760px); } }
@media (min-width: 768px) { .hero.hero-promo { min-height: clamp(620px, 90vh, 800px); } }

.hero-promo__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-promo__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.hero-promo__wave,
.hero-promo__wave-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(72px, 12vw, 110px);
    z-index: 2;
    display: block;
    pointer-events: none;
}

.hero-promo__wave-line {
    z-index: 3;
}

.hero-promo__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.96) 36%,
        rgba(255,255,255,0.78) 56%,
        rgba(255,255,255,0.35) 72%,
        transparent 88%
    );
}

.hero-promo__inner {
    position: relative;
    z-index: 4;
    width: 100%;
    padding-top: clamp(40px, 8vw, 88px);
    padding-bottom: clamp(40px, 10vw, 120px);
}

.hero-promo__content {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 3vw, 18px);
    padding-left: clamp(16px, 5vw, 24px);
    padding-right: clamp(16px, 5vw, 24px);
}
@media (min-width: 640px) {
    .hero-promo__content {
        padding-left: 0;
        padding-right: 0;
    }
}

.hero-promo__badge {
    display: inline-flex;
    width: fit-content;
    background: var(--rojo);
    color: var(--blanco);
    padding: 7px 12px;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(45, 10, 15, 0.12);
}

.hero-promo__title {
    margin: 0;
    font-family: var(--fuente-principal);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--guinda);
    letter-spacing: 0.02em;
    line-height: 1.05;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    word-break: break-word;
}
.hero-promo__title-accent {
    color: var(--rojo);
}

.hero-promo__quote {
    margin: 0;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-style: italic;
    color: rgba(45, 10, 15, 0.65);
    font-size: clamp(0.95rem, 2.5vw, 1.5rem);
}

.hero-promo__desc {
    margin: 0;
    font-family: var(--fuente-texto);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.6;
    color: rgba(45, 10, 15, 0.72);
    max-width: 520px;
}

.hero-promo__cta {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2vw, 12px);
    margin-top: clamp(4px, 2vw, 8px);
}
@media (min-width: 640px) {
    .hero-promo__cta { flex-direction: row; }
}

.hero-promo__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 26px;
    border-radius: 14px;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    user-select: none;
}
.hero-promo__btn--primary {
    background: var(--guinda);
    color: var(--blanco);
    border-bottom: 4px solid var(--guinda-dark);
    box-shadow: 0 12px 26px rgba(74, 10, 18, 0.2);
}
.hero-promo__btn--secondary {
    background: rgba(255,255,255,0.92);
    color: var(--guinda);
    border: 1px solid rgba(45, 10, 15, 0.12);
    box-shadow: 0 12px 26px rgba(45, 10, 15, 0.12);
}
.hero-promo__btn:hover {
    transform: translateY(-1px);
}
.hero-promo__btn--primary:hover { background: var(--guinda-dark); }
.hero-promo__btn--secondary:hover { background: #ffffff; }

.hero-promo__btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .hero-promo__content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-promo__badge {
        align-self: center;
    }

    .hero-promo__desc {
        max-width: 100%;
    }

    .hero-promo__cta {
        width: 100%;
        align-items: center;
    }

    .hero-promo__btn {
        width: 100%;
        max-width: 280px;
        align-self: center;
    }
}

@media (max-width: 768px) {
    .hero.hero-promo {
        min-height: auto;
        align-items: flex-start;
    }

    .hero-promo__inner {
        padding-top: 20px;
        padding-bottom: 56px;
    }

    .hero-promo__bg-img {
        object-position: 70% 22%;
    }

    .hero-promo__veil {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.96) 48%,
            rgba(255, 255, 255, 0.72) 68%,
            rgba(255, 255, 255, 0.25) 88%,
            transparent 100%
        );
    }

    .hero-promo__title {
        font-size: clamp(1.45rem, 6.5vw, 2rem);
    }

    .hero-promo__quote {
        font-size: clamp(0.85rem, 3.5vw, 1.05rem);
    }

    .hero-promo__desc {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .hero-promo__btn {
        padding: 12px 18px;
        font-size: 0.78rem;
    }

    .hero-promo__wave,
    .hero-promo__wave-line {
        height: clamp(48px, 8vw, 72px);
    }

    .hero-promo__content {
        width: fit-content;
        max-width: min(92vw, 440px);
    }

    .hero-promo__cta {
        align-items: flex-start;
    }

    .hero-promo__btn {
        width: auto;
        align-self: flex-start;
    }
}

/* =============================================
   HOME RIBBON — cuenta regresiva + estadísticas
   ============================================= */
.home-ribbon {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--blanco);
}

.home-ribbon__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 2.5rem);
    padding: clamp(0.8rem, 2vh, 1.35rem) clamp(0.5rem, 3vw, 1rem);
    background: var(--blanco);
    border-bottom: 1px solid rgba(45, 10, 15, 0.06);
    flex-wrap: wrap;
}

@media (max-width: 360px) {
    .home-ribbon__countdown {
        gap: 0.3rem;
    }
}

.home-ribbon__flags {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.home-ribbon__flags--right {
    transform: scaleX(-1);
}

.home-ribbon__flags-img {
    height: clamp(48px, 10vw, 72px);
    width: auto;
    object-fit: contain;
    display: block;
}

.home-ribbon__timer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem 0.35rem;
}

.home-ribbon__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(2.5rem, 15vw, 3.5rem);
}

.home-ribbon__num {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    line-height: 1;
    color: var(--guinda);
    font-variant-numeric: tabular-nums;
}

.home-ribbon__lbl {
    margin-top: 0.2rem;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: clamp(0.7rem, 1.8vw, 0.95rem);
    color: var(--guinda);
    text-transform: none;
}

.home-ribbon__sep {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    line-height: 1;
    color: var(--rojo);
    padding-bottom: 1.1rem;
}

.home-ribbon__stats {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border-top: none;
    background: var(--rojo);
}

.home-ribbon__stats .stat-item {
    flex: 1 1 50%;
    min-width: 140px;
    padding: 1.35rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
}

.home-ribbon__stats .stat-item:last-child {
    border-right: none;
}

@media (min-width: 768px) {
    .home-ribbon__stats .stat-item {
        flex: 1;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    .home-ribbon__stats .stat-item:last-child {
        border-right: none;
    }
}

.home-ribbon__stat-num,
.home-ribbon__stats .stat-number {
    display: block;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 2.85rem);
    color: var(--blanco);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.home-ribbon__stats .stat-item i {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    opacity: 1;
    color: rgba(255, 255, 255, 0.92);
}

.home-ribbon__stat-label,
.home-ribbon__stats .stat-label {
    display: block;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(0.8rem, 1.6vw, 1rem);
    color: var(--blanco);
    margin-top: 0;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .home-ribbon__flags {
        display: none;
    }

    .home-ribbon__countdown {
        padding: 1.1rem 0.75rem;
    }

    .home-ribbon__unit {
        min-width: 3rem;
    }
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 32px; right: 32px;
    z-index: 500;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--rojo);
    border: none;
    color: var(--blanco);
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--sombra-roja);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: var(--transicion);
    pointer-events: none;
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.scroll-top-btn:hover {
    background: var(--rojo-oscuro);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 40px rgba(204,0,0,0.5);
}

/* =============================================
   NAVBAR — guinda-dark, sticky, sombra PRIN
   ============================================= */
.navbar {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: var(--guinda-dark);
    box-shadow: var(--sombra-nav);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: var(--guinda-dark);
    box-shadow: var(--sombra-nav);
    backdrop-filter: blur(12px);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 74px;
    transition: height 0.3s ease;
}
.navbar.scrolled .nav-container { height: 62px; }

/* Logo */
.nav-logo { display: flex; align-items: center; }
.logo-block { display: flex; flex-direction: column; line-height: 1; }
.logo-block .logo-name {
    font-family: var(--fuente-principal);
    font-weight: 900; font-size: 1.3rem;
    color: var(--blanco); letter-spacing: 2px;
}
.logo-block .logo-surname {
    font-family: var(--fuente-principal);
    font-weight: 700; font-size: 0.6rem;
    color: var(--rojo); letter-spacing: 1.5px;
}
.logo-block .logo-tagline {
    font-family: var(--fuente-principal);
    font-size: 0.4rem; color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px; margin-top: 2px;
}

/* Nav links */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu li:not(.nav-socials) a {
    font-family: var(--fuente-principal);
    font-weight: 600; font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    padding: 6px 9px;
    letter-spacing: 0.5px;
    transition: var(--transicion);
    position: relative;
}
.nav-menu li:not(.nav-socials) a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: var(--rojo);
    transform: translateX(-50%);
    transition: width 0.35s ease;
    border-radius: 1px;
}
.nav-menu li:not(.nav-socials) a:hover { color: var(--rojo-claro); }
.nav-menu li:not(.nav-socials) a:hover::after { width: 80%; }
.nav-menu li:not(.nav-socials) a.active { color: var(--blanco); }
.nav-menu li:not(.nav-socials) a.active::after { width: 80%; background: var(--rojo); }

.nav-cta {
    margin-left: 12px;
    padding: 10px 18px !important;
    background: var(--rojo) !important;
    color: var(--blanco) !important;
    border-radius: var(--radio);
    font-size: 0.68rem !important;
    letter-spacing: 0.8px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--rojo-dark) !important;
    color: var(--blanco) !important;
}

.nav-socials { display: flex; gap: 7px; margin-left: 8px; align-items: center; flex-shrink: 0; }
.nav-socials a {
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-width: 28px;
    border-radius: 50%;
    background: var(--rojo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 0.68rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: var(--transicion);
}
.nav-socials a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-size: inherit;
}
.nav-socials a:hover {
    background: var(--rojo-oscuro);
    color: var(--blanco);
    transform: scale(1.2) rotate(8deg);
}

.nav-menu .nav-socials a::after { display: none; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block; width: 25px; height: 2px;
    background: var(--blanco);
    transition: var(--transicion); transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    background: var(--rojo);
    padding: 110px 0 60px;
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(74, 10, 18, 0.4) 0%, transparent 60%);
}
/* Animated diagonal stripes */
.page-header::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.03) 40px,
        rgba(255,255,255,0.03) 80px
    );
    animation: stripe-scroll 20s linear infinite;
}
@keyframes stripe-scroll {
    from { background-position: 0 0; }
    to   { background-position: 200px 200px; }
}
/* SVG wave bottom */
.page-header .wave-bottom {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    overflow: hidden; line-height: 0;
}
.page-header .wave-bottom svg { display: block; width: 100%; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 {
    font-family: var(--fuente-principal);
    font-weight: 900; font-size: 2.6rem;
    text-transform: uppercase;
    animation: slideDown 0.6s ease forwards;
}
@keyframes slideDown {
    from { opacity:0; transform:translateY(-24px); }
    to   { opacity:1; transform:translateY(0); }
}
.breadcrumb {
    font-size: 0.85rem; margin-top: 8px; opacity: 0.85;
    animation: slideDown 0.6s ease 0.1s both;
}
.breadcrumb a { color: var(--blanco); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* =============================================
   BUTTONS (magnético + ripple)
   ============================================= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--fuente-principal);
    font-weight: 700; font-size: 0.8rem;
    letter-spacing: 1px; text-transform: uppercase;
    padding: clamp(11px, 2.5vw, 14px) clamp(20px, 4vw, 30px);
    border-radius: var(--radio);
    cursor: pointer;
    transition: var(--transicion);
    border: 2px solid transparent;
    position: relative; overflow: hidden;
    min-height: 44px;
    justify-content: center;
}
@media (max-width: 480px) {
    .btn {
        width: 100%;
        padding: 12px 16px;
    }
}
/* Ripple */
.btn .ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}
.btn-rojo { background: var(--rojo); color: var(--blanco); border-color: var(--rojo); }
.btn-rojo:hover {
    background: var(--rojo-oscuro); border-color: var(--rojo-oscuro);
    transform: translateY(-4px); box-shadow: var(--sombra-roja);
}
.btn-outline-rojo { background: transparent; color: var(--rojo); border-color: var(--rojo); }
.btn-outline-rojo:hover {
    background: var(--rojo); color: var(--blanco);
    transform: translateY(-4px); box-shadow: var(--sombra-roja);
}

/* Botones estandarizados Phoenix v5.4 */
.btn-primary {
    background: var(--rojo);
    color: var(--blanco);
    border-color: var(--rojo);
}
.btn-primary:hover {
    background: var(--guinda);
    border-color: var(--guinda);
    color: var(--blanco);
    transform: translateY(-4px);
    box-shadow: var(--sombra-roja);
}
.btn-secondary {
    background: var(--guinda);
    color: var(--blanco);
    border-color: var(--guinda);
}
.btn-secondary:hover {
    background: var(--rojo);
    border-color: var(--rojo);
    color: var(--blanco);
    transform: translateY(-4px);
    box-shadow: var(--sombra-roja);
}
.btn-outline {
    background: transparent;
    color: var(--rojo);
    border-color: var(--rojo);
}
.btn-outline:hover {
    background: var(--rojo);
    color: var(--blanco);
    transform: translateY(-4px);
    box-shadow: var(--sombra-roja);
}
.btn-outline-light {
    background: transparent;
    color: var(--blanco);
    border-color: var(--blanco);
}
.btn-outline-light:hover {
    background: var(--blanco);
    color: var(--guinda-dark);
    transform: translateY(-4px);
}
.btn-hero-primary {
    background: var(--blanco);
    color: var(--guinda-dark);
    border-color: var(--blanco);
}
.btn-hero-primary:hover {
    background: var(--gris-claro);
    color: var(--guinda-dark);
    transform: translateY(-4px);
}

.btn-center { display: flex; justify-content: center; margin-top: 48px; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: clamp(40px, 10vh, 90px) 0; }
.section-rojo   { background: var(--rojo); color: var(--blanco); }
.section-oscuro { background: var(--guinda-dark); color: var(--blanco); }
.section-guinda { background: var(--guinda); color: var(--blanco); }
.section-gris   { background: var(--gris-claro); }

.section-header { text-align: center; margin-bottom: clamp(30px, 8vw, 60px); }
.section-header h2 {
    font-family: var(--fuente-principal);
    font-weight: 900; font-size: clamp(1.5rem, 5vw, 2.1rem);
    text-transform: uppercase; line-height: 1.2;
    color: var(--guinda);
}
.section-header h2 .highlight { color: var(--rojo); }
.section-header p {
    margin-top: clamp(8px, 2vw, 14px); color: var(--gris);
    font-size: clamp(0.85rem, 2vw, 1rem); max-width: 580px;
    margin-left: auto; margin-right: auto; line-height: 1.75;
}

/* Animated underline */
.underline-rojo {
    display: block; width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--rojo), var(--rojo-claro), var(--rojo));
    background-size: 200%;
    margin: 14px auto 0; border-radius: 2px;
    animation: gradient-shift 3s ease infinite;
}
@keyframes gradient-shift {
    0%   { background-position: 0%; }
    50%  { background-position: 100%; }
    100% { background-position: 0%; }
}
.underline-blanco {
    display: block; width: 60px; height: 4px;
    background: var(--blanco);
    margin: 14px auto 0; border-radius: 2px;
}

/* =============================================
   WAVE DIVIDER (SVG)
   ============================================= */
.wave-divider {
    position: relative; overflow: hidden;
    line-height: 0; display: block;
    margin-bottom: -1px;
}
.wave-divider svg { display: block; width: 100%; }

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; background: var(--guinda-dark);
}
#particles-js {
    position: absolute; inset: 0; z-index: 1;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Cusco_-_Machu_Picchu_-_Sacsaywam%C3%A1n_%2810%29.jpg/1280px-Cusco_-_Machu_Picchu_-_Sacsaywam%C3%A1n_%2810%29.jpg');
    background-size: cover; background-position: center;
    filter: brightness(0.28);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.0) translateX(0); }
    to   { transform: scale(1.12) translateX(-10px); }
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(120deg,
        rgba(74, 10, 18, 0.92) 0%,
        rgba(204, 0, 0, 0.15) 55%,
        rgba(74, 10, 18, 0.75) 100%);
}

/* Animated red glow orb */
.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,0,0,0.15) 0%, transparent 70%);
    right: 10%; top: 50%;
    transform: translateY(-50%);
    animation: orb-pulse 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
@keyframes orb-pulse {
    0%,100% { transform: translateY(-50%) scale(1); opacity: 0.8; }
    50%      { transform: translateY(-50%) scale(1.2); opacity: 1; }
}

.hero-content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 50px;
    width: 100%; padding-top: 74px;
}

/* Hero text */
.hero-text .candidato-label {
    font-family: var(--fuente-principal);
    font-weight: 600; font-size: 0.78rem;
    letter-spacing: 4px; color: var(--rojo);
    text-transform: uppercase; margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease 0.2s forwards;
}
.hero-text .candidato-label::before {
    content: '';
    display: inline-block; width: 30px; height: 2px;
    background: var(--rojo); flex-shrink: 0;
    animation: expand-line 0.6s ease 0.8s both;
}
@keyframes expand-line {
    from { width: 0; }
    to   { width: 30px; }
}
.hero-text h1 {
    font-family: var(--fuente-principal);
    font-weight: 900; font-size: 4rem;
    color: var(--blanco); line-height: 0.95;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInLeft 0.8s ease 0.4s forwards;
}
.hero-text h1 .name-line {
    display: block; overflow: hidden;
}
.hero-text h1 span {
    color: var(--rojo); display: block;
    position: relative;
}
.hero-text h1 span::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--rojo), var(--rojo-claro));
    transform: scaleX(0); transform-origin: left;
    animation: expandLine 0.6s ease 1.2s forwards;
}
@keyframes expandLine { to { transform: scaleX(1); } }

.hero-text .slogan {
    font-family: var(--fuente-principal);
    font-weight: 700; font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin: 24px 0 32px;
    letter-spacing: 1.5px; text-transform: uppercase;
    line-height: 1.5; min-height: 2.5em;
    opacity: 0;
    animation: fadeInLeft 0.8s ease 0.6s forwards;
}
.hero-buttons {
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0;
    animation: fadeInLeft 0.8s ease 0.8s forwards;
}

/* Hero stats */
.hero-stats {
    display: flex; gap: 30px; margin-top: 40px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease 1s forwards;
}
.hero-stat { text-align: left; }
.hero-stat .num {
    font-family: var(--fuente-principal);
    font-weight: 900; font-size: 1.8rem; color: var(--rojo);
    display: block;
}
.hero-stat .lbl {
    font-size: 0.72rem; color: rgba(255,255,255,0.55);
    text-transform: uppercase; letter-spacing: 1px;
}
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.15); }

/* Hero image */
.hero-image {
    display: flex; justify-content: center; align-items: flex-end;
    opacity: 0;
    animation: fadeInRight 1s ease 0.5s forwards;
}
.hero-candidate-placeholder {
    width: 380px; height: 500px;
    background: linear-gradient(180deg,
        rgba(204,0,0,0.04) 0%,
        rgba(204,0,0,0.18) 100%);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(204,0,0,0.2);
    position: relative; overflow: hidden;
}
/* Rotating border */
.hero-candidate-placeholder::before {
    content: '';
    position: absolute; inset: -2px;
    border-radius: 26px;
    background: conic-gradient(var(--rojo), transparent, transparent, var(--rojo));
    animation: spin-border 4s linear infinite;
    opacity: 0.4;
}
@keyframes spin-border { to { transform: rotate(360deg); } }
.hero-candidate-placeholder::after {
    content: '';
    position: absolute; inset: 2px;
    border-radius: 22px;
    background: rgba(74, 10, 18, 0.85);
}
.hero-candidate-placeholder i {
    font-size: 9rem; color: rgba(204,0,0,0.5);
    position: relative; z-index: 1;
    animation: float-icon 3.5s ease-in-out infinite;
}
@keyframes float-icon {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-14px) scale(1.03); }
}

/* Scroll indicator */
.hero-scroll {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll span {
    font-family: var(--fuente-principal);
    font-size: 0.62rem; letter-spacing: 3px;
    color: rgba(255,255,255,0.4); text-transform: uppercase;
}
.scroll-mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex; justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--rojo);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* =============================================
   VALORES
   ============================================= */
.valores-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 28px;
}
.valor-card {
    text-align: center; padding: 38px 22px;
    border: 1px solid var(--gris-borde);
    border-radius: var(--radio);
    transition: var(--transicion);
    background: var(--blanco);
    position: relative; overflow: hidden;
}
/* Shine sweep on hover */
.valor-card::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(204,0,0,0.06), transparent);
    transition: left 0.5s ease;
}
.valor-card:hover::before { left: 140%; }
.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(204,0,0,0.12);
    border-color: rgba(204,0,0,0.25);
}
.valor-icon {
    width: 68px; height: 68px; border-radius: 50%;
    background: rgba(204,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transicion);
}
.valor-card:hover .valor-icon {
    background: var(--rojo);
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 8px 24px rgba(204,0,0,0.4);
}
.valor-icon i { font-size: 1.5rem; color: var(--rojo); transition: var(--transicion); }
.valor-card:hover .valor-icon i { color: var(--blanco); }
.valor-card h3 {
    font-family: var(--fuente-principal);
    font-weight: 800; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.valor-card p { font-size: 0.88rem; color: var(--gris); line-height: 1.65; }

/* =============================================
   FRASE SECTION
   ============================================= */
.frase-section {
    background: var(--guinda-dark); padding: 90px 0;
    text-align: center; position: relative; overflow: hidden;
}
.frase-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Cusco_-_Machu_Picchu_-_Sacsaywam%C3%A1n_%2810%29.jpg/1280px-Cusco_-_Machu_Picchu_-_Sacsaywam%C3%A1n_%2810%29.jpg');
    background-size: cover; background-position: center 30%;
    opacity: 0.1;
}
/* Floating shapes */
.frase-section .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--rojo);
    opacity: 0.06;
    animation: float-shape 8s ease-in-out infinite;
}
.frase-section .shape-1 { width: 300px; height: 300px; top: -100px; left: -80px; }
.frase-section .shape-2 { width: 200px; height: 200px; bottom: -60px; right: -50px; animation-delay: -4s; }
@keyframes float-shape {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-20px) scale(1.05); }
}
.frase-section .container { position: relative; z-index: 1; }
.frase-section p.frase-intro {
    font-family: var(--fuente-principal); font-weight: 600;
    font-size: 0.8rem; color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 4px; margin-bottom: 18px;
}
.frase-section h2 {
    font-family: var(--fuente-principal); font-weight: 900;
    font-size: 2.3rem; color: var(--blanco);
    text-transform: uppercase; line-height: 1.3;
    max-width: 820px; margin: 0 auto;
}
.frase-section h2 .word-highlight {
    color: var(--rojo);
    position: relative; display: inline-block;
}
.frase-section h2 .word-highlight::after {
    content: '';
    position: absolute; bottom: -3px; left: 0; right: 0;
    height: 2px; background: var(--rojo);
    animation: shimmer-line 2s ease-in-out infinite;
}
@keyframes shimmer-line {
    0%,100% { opacity:1; }
    50%      { opacity:0.3; }
}
.frase-firma {
    font-family: var(--fuente-principal); font-size: 2rem;
    color: rgba(255,255,255,0.8); font-weight: 300;
    margin-top: 36px; font-style: italic;
}

/* =============================================
   QUOTE ROJA
   ============================================= */
.quote-roja {
    background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
    padding: 80px 0; text-align: center;
    position: relative; overflow: hidden;
}
/* Animated diagonal lines */
.quote-roja::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent, transparent 30px,
        rgba(255,255,255,0.03) 30px, rgba(255,255,255,0.03) 60px
    );
    animation: stripe-scroll 15s linear infinite;
}
/* Big quote mark */
.quote-roja::after {
    content: '"';
    position: absolute; top: -30px; left: 50%;
    transform: translateX(-50%);
    font-size: 20rem; font-family: Georgia, serif;
    color: rgba(255,255,255,0.04);
    pointer-events: none; line-height: 1;
}
.quote-roja .container { position: relative; z-index: 1; }
.quote-roja p {
    font-family: var(--fuente-principal); font-weight: 600;
    font-size: 1.3rem; color: var(--blanco);
    max-width: 740px; margin: 0 auto 24px; line-height: 1.75;
}
.quote-firma {
    font-size: 1.6rem; font-weight: 300;
    color: rgba(255,255,255,0.8); font-style: italic;
    font-family: var(--fuente-principal);
}

/* =============================================
   STATS ROW
   ============================================= */
.stats-row {
    display: flex; gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 50px; padding-top: 44px;
}
.stat-item {
    flex: 1; text-align: center; padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
    transition: var(--transicion);
    position: relative;
}
.stat-item::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.03);
    opacity: 0; transition: var(--transicion);
}
.stat-item:hover::before { opacity: 1; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { transform: scale(1.06); }
.stat-item i { font-size: 1.8rem; margin-bottom: 10px; opacity: 0.6; display: block; }
.stat-item .stat-number {
    font-family: var(--fuente-principal);
    font-weight: 900; font-size: 2.8rem; color: var(--blanco); line-height: 1;
}
.stat-item .stat-label {
    font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 6px;
    font-family: var(--fuente-principal); font-weight: 500; letter-spacing: 0.5px;
}

/* =============================================
   SOBRE ALBERT
   ============================================= */
.sobre-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 70px; align-items: center;
}
.sobre-img { position: relative; }
.sobre-img-wrapper {
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 70px rgba(45, 10, 15, 0.12);
    background: var(--gris-claro);
    aspect-ratio: 3/4;
    display: flex; align-items: center; justify-content: center;
}
.sobre-img-wrapper i { font-size: 9rem; color: var(--rojo); opacity: 0.3; }
.sobre-img-badge {
    position: absolute; bottom: -22px; right: -22px;
    background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
    color: var(--blanco); padding: 22px; border-radius: 14px;
    text-align: center;
    font-family: var(--fuente-principal); font-weight: 800;
    font-size: 1.1rem; line-height: 1.2;
    box-shadow: var(--sombra-roja);
    animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
    0%,100% { box-shadow: var(--sombra-roja); }
    50%      { box-shadow: 0 10px 50px rgba(204,0,0,0.7); }
}
.sobre-text h2 {
    font-family: var(--fuente-principal); font-weight: 900;
    font-size: 2rem; text-transform: uppercase; margin-bottom: 6px;
}
.sobre-text .cargo {
    color: var(--rojo); font-weight: 600;
    font-family: var(--fuente-principal);
    font-size: 0.85rem; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 22px; display: block;
}
.sobre-text p { color: var(--gris); line-height: 1.85; margin-bottom: 16px; font-size: 0.95rem; }
.sobre-lista { margin: 26px 0; }
.sobre-lista li {
    display: flex; align-items: flex-start;
    gap: 14px; margin-bottom: 16px;
    padding: 14px 16px; border-radius: var(--radio);
    transition: var(--transicion);
    border-left: 3px solid transparent;
}
.sobre-lista li:hover {
    background: rgba(204,0,0,0.04);
    border-left-color: var(--rojo);
    transform: translateX(6px);
}
.sobre-lista li i { color: var(--rojo); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.sobre-lista li h4 {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 0.88rem; text-transform: uppercase; margin-bottom: 3px;
}
.sobre-lista li p { margin: 0; font-size: 0.85rem; color: var(--gris); }

/* =============================================
   PROPUESTAS
   ============================================= */
.propuestas-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.propuesta-card {
    padding: 38px 28px 38px 32px;
    border: 1px solid var(--gris-borde);
    border-left: 5px solid var(--rojo);
    border-radius: var(--radio);
    transition: var(--transicion);
    background: var(--blanco);
    box-shadow: var(--sombra-card);
    position: relative; overflow: hidden;
    cursor: default;
}
/* Bottom bar */
.propuesta-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rojo), var(--rojo-claro));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}
/* Shine */
.propuesta-card::before {
    content: '';
    position: absolute; top: 0; left: -120%;
    width: 80%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(204,0,0,0.05), transparent);
    transition: left 0.6s ease;
}
.propuesta-card:hover::before { left: 140%; }
.propuesta-card:hover {
    box-shadow: 0 20px 55px rgba(45, 10, 15, 0.1);
    transform: translateY(-8px);
    border-color: transparent;
}
.propuesta-card:hover::after { transform: scaleX(1); }

.propuesta-card.destacada {
    background: linear-gradient(145deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
    color: var(--blanco); border-color: transparent;
}
.propuesta-card.destacada::after, .propuesta-card.destacada::before { display: none; }
.propuesta-card.destacada:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-roja);
}

.propuesta-icon {
    width: 68px; height: 68px; border-radius: 16px;
    background: rgba(204,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px; transition: var(--transicion);
}
.propuesta-card:hover .propuesta-icon {
    background: var(--rojo);
    transform: rotate(-6deg) scale(1.12);
    box-shadow: 0 8px 24px rgba(204,0,0,0.4);
}
.propuesta-card:hover .propuesta-icon i { color: var(--blanco); }
.propuesta-card.destacada .propuesta-icon { background: rgba(255,255,255,0.2); }
.propuesta-card.destacada .propuesta-icon i { color: var(--blanco); }
.propuesta-icon i { font-size: 1.8rem; color: var(--rojo); transition: var(--transicion); }
.propuesta-card h3 {
    font-family: var(--fuente-principal); font-weight: 800;
    font-size: 0.93rem; text-transform: uppercase;
    letter-spacing: 0.8px; margin-bottom: 12px;
    color: var(--guinda-dark);
}
.propuesta-card.destacada h3 { color: var(--blanco); }
.propuesta-card p { font-size: 0.87rem; color: var(--gris); line-height: 1.75; }
.propuesta-card.destacada p { color: rgba(255,255,255,0.88); }

/* =============================================
   NOTICIAS
   ============================================= */
.noticias-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 30px;
}
.noticia-card {
    border-radius: var(--radio);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(45, 10, 15, 0.08);
    background: var(--blanco);
    transition: var(--transicion);
}
.noticia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(45, 10, 15, 0.12);
}
.noticia-img {
    height: 210px; overflow: hidden;
    background: var(--gris-claro);
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.noticia-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.noticia-card:hover .noticia-img img { transform: scale(1.1); }
.noticia-img-placeholder { font-size: 4rem; color: rgba(204,0,0,0.22); }
.noticia-body { padding: 24px; }
.noticia-fecha {
    font-size: 0.74rem; color: var(--rojo);
    font-weight: 700; font-family: var(--fuente-principal);
    letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase;
}
.noticia-body h3 {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 1rem; margin-bottom: 10px; line-height: 1.4;
}
.noticia-body p { font-size: 0.87rem; color: var(--gris); line-height: 1.65; margin-bottom: 18px; }
.leer-mas {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 0.78rem; color: var(--rojo);
    text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-flex; align-items: center; gap: 7px;
    transition: var(--transicion);
    position: relative;
}
.leer-mas::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 1px; background: var(--rojo);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
}
.leer-mas:hover { gap: 12px; color: var(--rojo-oscuro); }
.leer-mas:hover::after { transform: scaleX(1); }

/* =============================================
   GALERÍA
   ============================================= */
.galeria-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; }
.filter-btn {
    font-family: var(--fuente-principal); font-weight: 600;
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.5px; padding: 9px 22px;
    border-radius: 30px; border: 2px solid var(--gris-borde);
    background: var(--blanco); color: var(--gris);
    cursor: pointer; transition: var(--transicion);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--rojo); border-color: var(--rojo);
    color: var(--blanco); transform: translateY(-3px); box-shadow: var(--sombra-roja);
}
.galeria-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.galeria-item {
    position: relative; border-radius: var(--radio);
    overflow: hidden; aspect-ratio: 4/3;
    background: var(--gris-claro); cursor: pointer;
    transition: var(--transicion);
}
.galeria-item:hover { transform: scale(1.03); box-shadow: var(--sombra); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.galeria-item:hover img { transform: scale(1.12); }
.galeria-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(204,0,0,0.88), rgba(100,0,0,0.95));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s ease;
    flex-direction: column; gap: 8px;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay i {
    font-size: 2.2rem; color: var(--blanco);
    transform: scale(0.4) rotate(-20deg);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.galeria-item:hover .galeria-overlay i { transform: scale(1) rotate(0deg); }
.galeria-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #efefef, #e4e4e4);
}
.galeria-placeholder i { font-size: 3.5rem; color: rgba(204,0,0,0.2); }

/* =============================================
   CONTACTO
   ============================================= */
.contacto-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px;
}
.contacto-info h3 {
    font-family: var(--fuente-principal); font-weight: 800;
    font-size: 1.15rem; text-transform: uppercase; margin-bottom: 20px;
}
.contacto-item {
    display: flex; align-items: flex-start;
    gap: 16px; margin-bottom: 24px;
    transition: var(--transicion);
}
.contacto-item:hover { transform: translateX(6px); }
.contacto-item-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(204,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: var(--transicion);
}
.contacto-item:hover .contacto-item-icon { background: var(--rojo); }
.contacto-item:hover .contacto-item-icon i { color: var(--blanco); }
.contacto-item-icon i { color: var(--rojo); font-size: 1.1rem; transition: var(--transicion); }
.contacto-item h4 {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 0.85rem; margin-bottom: 2px;
}
.contacto-item p { font-size: 0.88rem; color: var(--gris); }
.form-grupo { margin-bottom: 20px; }
.form-grupo label {
    display: block; font-family: var(--fuente-principal);
    font-weight: 600; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.form-grupo input,
.form-grupo textarea,
.form-grupo select {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid var(--gris-borde);
    border-radius: var(--radio);
    font-family: var(--fuente-texto); font-size: 0.9rem;
    transition: var(--transicion); background: var(--blanco); outline: none;
}
.form-grupo input:focus,
.form-grupo textarea:focus,
.form-grupo select:focus {
    border-color: var(--rojo);
    box-shadow: 0 0 0 4px rgba(204,0,0,0.08);
    transform: translateY(-1px);
}
.form-grupo textarea { resize: vertical; min-height: 130px; }

/* =============================================
   EVENTOS
   ============================================= */
.eventos-list { display: flex; flex-direction: column; gap: 20px; }
.evento-card {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 26px 26px 26px 30px;
    border: 1px solid var(--gris-borde);
    border-left: 5px solid var(--rojo);
    border-radius: var(--radio);
    background: var(--blanco);
    box-shadow: var(--sombra-card);
    transition: var(--transicion);
    position: relative; overflow: hidden;
}
.evento-card::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(to bottom, var(--rojo), var(--rojo-claro));
    transform: scaleY(0); transition: transform 0.35s ease;
    border-radius: 0 2px 2px 0;
}
.evento-card:hover {
    box-shadow: var(--sombra);
    border-color: rgba(204,0,0,0.15);
    transform: translateX(8px);
}
.evento-card:hover::before { transform: scaleY(1); }
.evento-fecha {
    background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
    color: var(--blanco); padding: 16px 20px;
    border-radius: var(--radio); text-align: center;
    min-width: 74px; flex-shrink: 0; transition: var(--transicion);
}
.evento-card:hover .evento-fecha { transform: scale(1.06) rotate(-2deg); }
.evento-fecha .dia {
    font-family: var(--fuente-principal); font-weight: 900;
    font-size: 2rem; line-height: 1;
}
.evento-fecha .mes {
    font-family: var(--fuente-principal); font-weight: 600;
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 1px; margin-top: 4px;
}
.evento-info h3 {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 1.05rem; margin-bottom: 8px;
    color: var(--guinda-dark);
}
.evento-info p { font-size: 0.88rem; color: var(--gris); margin-bottom: 10px; }
.evento-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.evento-meta span {
    font-size: 0.82rem; color: var(--gris);
    display: flex; align-items: center; gap: 5px;
}
.evento-meta span i { color: var(--rojo); }

/* =============================================
   TIMELINE (Sobre Albert)
   ============================================= */
.timeline-item {
    display: flex; gap: 24px; align-items: flex-start;
    background: var(--blanco); padding: 26px;
    border-radius: var(--radio);
    box-shadow: 0 2px 18px rgba(45, 10, 15, 0.07);
    border-left: 4px solid var(--rojo);
    transition: var(--transicion);
}
.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 35px rgba(204,0,0,0.1);
}
.timeline-year {
    background: linear-gradient(135deg, var(--rojo), var(--rojo-oscuro));
    color: var(--blanco); padding: 10px 14px; border-radius: 6px;
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 0.78rem; white-space: nowrap; flex-shrink: 0;
}
.timeline-content h3 {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 1rem; margin-bottom: 4px;
}
.timeline-content .lugar {
    color: var(--rojo); font-size: 0.82rem; font-weight: 600;
    margin-bottom: 8px; display: block;
    font-family: var(--fuente-principal);
}
.timeline-content p { font-size: 0.88rem; color: var(--gris); line-height: 1.65; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--guinda-dark); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 44px; padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo .logo-name {
    font-family: var(--fuente-principal); font-weight: 900;
    font-size: 1.4rem; color: var(--blanco); letter-spacing: 2px; display: block;
}
.footer-logo .logo-surname {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 0.6rem; color: var(--rojo); letter-spacing: 1.5px; display: block;
}
.footer-logo .logo-tagline {
    font-family: var(--fuente-principal); font-size: 0.42rem;
    color: rgba(255,255,255,0.35); display: block;
    margin-bottom: 16px; line-height: 1.5;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.75; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 0.85rem;
    transition: var(--transicion);
}
.footer-socials a:hover {
    background: var(--rojo);
    color: var(--blanco);
}
.footer-links h4, .footer-contact h4, .footer-follow h4 {
    font-family: var(--fuente-principal); font-weight: 700;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--blanco); margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    font-size: 0.87rem; color: rgba(255,255,255,0.55);
    transition: var(--transicion); display: flex; align-items: center; gap: 0;
}
.footer-links ul li a:hover { color: var(--rojo-claro); }
.footer-contact ul li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.85rem; margin-bottom: 14px;
}
.footer-contact ul li i { color: var(--rojo); margin-top: 2px; flex-shrink: 0; }
.social-list li { margin-bottom: 13px; }
.social-list li a {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.87rem; color: rgba(255,255,255,0.55);
    transition: var(--transicion);
}
.social-list li a:hover { color: var(--rojo-claro); }
.social-list li a i { width: 18px; }
.footer-bottom {
    text-align: center; padding: 22px 0;
    font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a {
    color: rgba(255,255,255,0.7);
    transition: var(--transicion);
}
.footer-bottom a:hover { color: var(--rojo-claro); }

/* =============================================
   TYPING CURSOR
   ============================================= */
.typing-cursor {
    display: inline-block; width: 3px; height: 1em;
    background: var(--rojo); margin-left: 3px;
    vertical-align: middle;
    animation: blink 0.75s step-end infinite;
}
@keyframes blink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* =============================================
   SHARED KEYFRAMES
   ============================================= */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes stripe-scroll {
    from { background-position: 0 0; }
    to   { background-position: 200px 200px; }
}

/* =============================================
   RESPONSIVE — SISTEMA COMPLETO
   =============================================

   Breakpoints:
   XL: > 1280px  (Desktop grande)
   LG: 1024px    (Laptop / Tablet horizontal)
   MD: 768px     (Tablet vertical)
   SM: 480px     (Móvil grande)
   XS: 360px     (Móvil pequeño)
   ============================================= */

/* ---- LARGE TABLET / LAPTOP (≤ 1024px) ---- */
@media (max-width: 1024px) {
    /* Hero */
    .hero-content { gap: 30px; }
    .hero-text h1 { font-size: 3rem; }
    .hero-candidate-placeholder { width: 280px; height: 400px; }
    .hero-candidate-placeholder i { font-size: 7rem; }
    .hero-glow { width: 400px; height: 400px; }

    /* Grids → 2 columnas */
    .valores-grid      { grid-template-columns: repeat(2, 1fr); }
    .propuestas-grid   { grid-template-columns: repeat(2, 1fr); }
    .noticias-grid     { grid-template-columns: repeat(2, 1fr); }
    .galeria-grid      { grid-template-columns: repeat(2, 1fr); }

    /* Sobre Albert → 1 col */
    .sobre-grid        { grid-template-columns: 1fr; gap: 50px; }
    .sobre-img-wrapper { max-width: 400px; margin: 0 auto; }
    .sobre-img-badge   { bottom: -14px; right: 20px; }

    /* Contacto → 1 col */
    .contacto-grid     { grid-template-columns: 1fr; gap: 40px; }

    /* Footer → 2 cols */
    .footer-grid       { grid-template-columns: repeat(2, 1fr); gap: 30px; }

    /* Frase section */
    .frase-section h2  { font-size: 2rem; }
}

/* =============================================
   TABLET VERTICAL (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

    /* NAV */
    .navbar { z-index: 1000; }

    .nav-container {
        height: 56px;
    }

    .navbar.scrolled .nav-container {
        height: 52px;
    }

    .nav-logo {
        flex: 0 1 auto;
        width: fit-content;
        max-width: calc(100% - 44px);
        padding-right: 8px;
    }

    .logo-block {
        width: fit-content;
    }

    .logo-block .logo-name {
        font-size: 0.95rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .logo-block .logo-surname {
        font-size: 0.52rem;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .logo-block .logo-tagline {
        display: none;
    }

    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 56px;
        left: auto;
        right: 12px;
        bottom: auto;
        width: max-content;
        min-width: 9.5rem;
        max-width: calc(100vw - 24px);
        max-height: calc(100dvh - 68px);
        background: rgba(74, 10, 18, 0.98);
        backdrop-filter: blur(16px);
        padding: 8px 0 12px;
        gap: 0;
        overflow-y: auto;
        z-index: 1001;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 16px 40px rgba(45, 10, 15, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 2px solid var(--rojo);
    }

    .navbar.scrolled .nav-menu {
        top: 52px;
        max-height: calc(100dvh - 64px);
    }

    .nav-menu.open { display: flex; }

    .nav-menu li:not(.nav-socials) a {
        padding: 10px 16px;
        display: block;
        width: max-content;
        min-width: 100%;
        box-sizing: border-box;
        font-size: 0.88rem;
        white-space: nowrap;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        color: rgba(255,255,255,0.85);
    }

    .nav-menu li:not(.nav-socials) a::after { display: none; }

    .nav-menu li:not(.nav-socials) a.active {
        color: var(--blanco);
        border-left: 3px solid var(--rojo);
        padding-left: 15px;
    }

    .nav-socials {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        align-self: flex-start;
        margin-left: 0;
        margin-top: 8px;
        padding: 10px 12px 6px;
        justify-content: flex-start;
        gap: 10px;
        width: auto;
        box-sizing: border-box;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu .nav-socials a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        max-width: 36px;
        padding: 0;
        margin: 0;
        border: none;
        border-bottom: none;
        border-left: none;
        border-radius: 50%;
        background: var(--rojo);
        color: var(--blanco);
        font-size: 0.85rem;
        line-height: 1;
        flex-shrink: 0;
    }

    .nav-menu .nav-socials a i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1em;
        height: 1em;
        line-height: 1;
        font-size: inherit;
    }

    /* HERO */
    .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 90px; padding-bottom: 50px; }
    .hero-image   { display: none; }
    .hero-glow    { display: none; }
    .hero-text h1 { font-size: 2.5rem; line-height: 1; }
    .hero-text .slogan { font-size: 0.9rem; min-height: auto; margin: 16px 0 24px; }
    .hero-text .candidato-label { justify-content: center; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .hero-stats   { justify-content: center; gap: 24px; }
    .hero-stat .num { font-size: 1.6rem; }
    .hero-stat-divider { display: none; }

    /* SECTIONS */
    .section { padding: 55px 0; }
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p  { font-size: 0.9rem; }

    /* VALORES */
    .valores-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .valor-card   { padding: 26px 16px; }

    /* FRASE */
    .frase-section { padding: 60px 0; }
    .frase-section h2 { font-size: 1.55rem; }
    .frase-firma  { font-size: 1.4rem; margin-top: 22px; }

    /* PROPUESTAS */
    .propuestas-grid { grid-template-columns: 1fr; gap: 16px; }
    .propuesta-card  { padding: 26px 20px; }

    /* NOTICIAS */
    .noticias-grid { grid-template-columns: 1fr; gap: 20px; }

    /* STATS */
    .stats-row { flex-wrap: wrap; padding-top: 28px; margin-top: 28px; }
    .stat-item { width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px; }
    .stat-item:last-child { border-bottom: none; }
    .stat-item .stat-number { font-size: 2.2rem; }

    /* SOBRE ALBERT */
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .sobre-img { text-align: center; }
    .sobre-img-wrapper { max-width: 300px; margin: 0 auto; aspect-ratio: 1/1; }
    .sobre-img-badge { position: static; display: inline-block; margin: 16px auto 0; }
    .sobre-text h2 { font-size: 1.65rem; }

    /* GALERÍA */
    .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .galeria-filters { gap: 8px; }
    .filter-btn { padding: 7px 14px; font-size: 0.72rem; }

    /* EVENTOS */
    .evento-card { flex-direction: column; gap: 16px; padding: 20px; }
    .evento-fecha { width: 72px; }

    /* CONTACTO */
    .contacto-grid { grid-template-columns: 1fr; gap: 36px; }

    /* TIMELINE */
    .timeline-item { flex-direction: column; gap: 12px; }
    .timeline-year { align-self: flex-start; }

    /* FOOTER */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .footer { padding-top: 50px; }

    /* MISC */
    .quote-roja p  { font-size: 1.05rem; }
    .quote-firma   { font-size: 1.2rem; }
    .page-header   { padding: 72px 0 36px; }
    .page-header h1 { font-size: 1.9rem; }
}

/* =============================================
   MÓVIL GRANDE (≤ 480px)
   ============================================= */
@media (max-width: 480px) {

    /* HERO */
    .hero-text h1 { font-size: 2rem; }
    .hero-text .slogan { font-size: 0.82rem; letter-spacing: 0.5px; }
    .hero-text .candidato-label { font-size: 0.65rem; letter-spacing: 2px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; }
    .hero-stats { gap: 14px; flex-wrap: wrap; justify-content: center; }

    /* NAV */
    .logo-block .logo-name { font-size: 0.88rem; }
    .logo-block .logo-surname { font-size: 0.48rem; }

    /* SECTIONS */
    .section { padding: 44px 0; }
    .container { padding: 0 16px; }
    .section-header h2 { font-size: 1.35rem; }

    /* VALORES */
    .valores-grid { grid-template-columns: 1fr; gap: 12px; }
    .valor-card { padding: 22px 16px; }
    .valor-icon { width: 54px; height: 54px; }

    /* PROPUESTAS */
    .propuesta-card { padding: 22px 18px; }
    .propuesta-icon { width: 56px; height: 56px; }

    /* GALERÍA */
    .galeria-grid { grid-template-columns: 1fr; gap: 12px; }
    .galeria-filters { flex-wrap: wrap; justify-content: center; }

    /* STATS */
    .stat-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-item .stat-number { font-size: 2rem; }

    /* SOBRE */
    .sobre-img-wrapper { aspect-ratio: 1/1; }
    .sobre-text h2 { font-size: 1.4rem; }
    .sobre-lista li { padding: 10px; }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }
    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    .footer-brand p {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-links ul {
        padding: 0;
        margin: 0;
    }
    .footer-links ul li a {
        justify-content: center;
    }
    .footer-contact ul li {
        justify-content: center;
        text-align: center;
    }

    /* MISC */
    .btn { padding: 11px 18px; font-size: 0.74rem; }
    .btn-center { margin-top: 28px; }
    .page-header h1 { font-size: 1.6rem; }
    .page-header { padding: 64px 0 32px; }
    .frase-section h2 { font-size: 1.3rem; }
    .frase-firma { font-size: 1.2rem; }
    .quote-roja { padding: 50px 0; }
    .quote-roja p { font-size: 0.92rem; }
    .noticia-img { height: 170px; }
    .evento-meta { flex-direction: column; gap: 6px; }
    .scroll-top-btn { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* =============================================
   MÓVIL PEQUEÑO (≤ 360px)
   ============================================= */
@media (max-width: 360px) {

    .hero-text h1 { font-size: 1.75rem; }
    .section-header h2 { font-size: 1.2rem; }
    .container { padding: 0 12px; }

    .valores-grid  { grid-template-columns: 1fr; }
    .galeria-grid  { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; }
    .footer-brand p {
        font-size: 0.8rem;
    }
    .footer-contact ul li {
        font-size: 0.78rem;
    }
    .stats-row     { flex-direction: column; }
    .stat-item     { width: 100%; }

    .nav-menu li:not(.nav-socials) a { font-size: 0.9rem; }
    .page-header h1 { font-size: 1.4rem; }
    .propuesta-card { padding: 18px 14px; }
    .btn { padding: 10px 14px; font-size: 0.72rem; }
    .footer-grid > div:not(:last-child) {
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
}

/* =============================================
   LANDSCAPE MÓVIL (altura baja)
   ============================================= */
@media (max-height: 500px) and (max-width: 900px) {
    .hero { min-height: auto; padding: 90px 0 40px; }
    .hero.hero-promo { min-height: auto; }
    .hero-promo__inner { padding-top: 12px; padding-bottom: 40px; }
    .hero-content { padding-top: 74px; padding-bottom: 20px; }
    .hero-text h1 { font-size: 1.9rem; }
    .hero-stats   { margin-top: 16px; }
    .hero-scroll  { display: none; }
    .nav-menu     { max-height: calc(100dvh - 60px); }
}

/* =============================================
   DESKTOP GRANDE (≥ 1400px)
   ============================================= */
@media (min-width: 1400px) {
    .container  { max-width: 1340px; }
    .hero-text h1 { font-size: 4.6rem; }
    .hero-candidate-placeholder { width: 430px; height: 570px; }
    .section-header h2 { font-size: 2.4rem; }
}

/* =============================================
   HERO CAMPAIGN - NEW DESIGN
   ============================================= */

.hero-campaign {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--guinda-dark);
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-campaign .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    /* Sin filter: conserva color y nitidez de la foto original */
}

.hero-campaign .hero-overlay--text {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(45, 10, 15, 0.88) 0%,
        rgba(45, 10, 15, 0.72) 28%,
        rgba(74, 10, 18, 0.42) 42%,
        rgba(74, 10, 18, 0.12) 52%,
        transparent 62%
    );
}

.hero-content-campaign {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 72px;
}

/* Foto del candidato */
.hero-image-campaign {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    animation: fadeInLeft 1s ease 0.3s forwards;
}

.candidate-photo {
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(74, 10, 18, 0.55));
    -webkit-mask-image: var(--mask-fade-bottom);
    mask-image: var(--mask-fade-bottom);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* Contenido de texto — panel legible, foto intacta a la derecha */
.hero-text-campaign {
    max-width: 520px;
    padding: 28px 32px 32px;
    border-radius: 12px;
    background: rgba(45, 10, 15, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(45, 10, 15, 0.25);
}

.hero-text-campaign .candidato-label {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #ff6b6b;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.hero-title--campaign {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.35rem);
    color: var(--blanco);
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 2px 24px rgba(45, 10, 15, 0.65);
}

.hero-title--campaign .hero-title__line {
    display: block;
    color: var(--blanco);
}

.hero-title--campaign .highlight-red {
    display: block;
    color: #ff4444;
    text-shadow: 0 2px 16px rgba(204, 0, 0, 0.45);
}

.hero-title--campaign .highlight-red:first-of-type::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    background: var(--rojo);
    margin-top: 6px;
    border-radius: 2px;
}

.hero-cargo {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 1rem;
    color: var(--blanco);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-shadow: 0 1px 12px rgba(45, 10, 15, 0.5);
}

.hero-subtitle {
    font-family: var(--fuente-texto);
    font-size: 1.02rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 22px;
    text-shadow: 0 1px 8px rgba(45, 10, 15, 0.4);
}

.hero-lema {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 1.12rem;
    color: #ffe8e8;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    text-shadow: 0 1px 10px rgba(45, 10, 15, 0.45);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.hero-prin-logo {
    position: absolute;
    top: 100px;
    right: 24px;
    z-index: 3;
    max-width: 88px;
    height: auto;
    opacity: 0.95;
}

.hero-subtitle-voting {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    margin-bottom: 14px;
}

/* Opciones de votación */
.voting-options-campaign {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.voting-option {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--fuente-principal);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-checkbox {
    width: 80px;
    height: 80px;
    background: var(--rojo);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(204,0,0,0.4);
    transition: all 0.3s ease;
}

.voting-option:hover .option-checkbox {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(204,0,0,0.6);
}

.checkbox-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: 1.4rem;
    color: white;
    letter-spacing: 1px;
}

/* X superpuesta sobre PRIN (marca de voto) */
.checkbox-inner::before,
.checkbox-inner::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88%;
    height: 5px;
    background: var(--blanco);
    border-radius: 3px;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(74, 10, 18, 0.35);
    pointer-events: none;
}

.checkbox-inner::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.checkbox-inner::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Sección countdown */
.countdown-section {
    margin-top: 4px;
}

.countdown-label {
    font-family: var(--fuente-principal);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}

.time-value {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--blanco);
    line-height: 1;
}

.time-label {
    font-family: var(--fuente-principal);
    font-weight: 600;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-family: var(--fuente-principal);
    font-weight: 900;
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
}

.voting-option span {
    text-shadow: 0 1px 8px rgba(45, 10, 15, 0.35);
}

/* Animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 1024px) {
    .hero-content-campaign {
        padding: 88px 20px 56px;
    }

    .hero-campaign .hero-bg-image {
        object-position: 65% center;
    }

    .hero-campaign .hero-overlay--text {
        background: linear-gradient(
            180deg,
            rgba(45, 10, 15, 0.9) 0%,
            rgba(45, 10, 15, 0.75) 45%,
            rgba(74, 10, 18, 0.35) 70%,
            transparent 85%
        );
    }

    .hero-text-campaign {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content-campaign {
        padding: 82px 16px 48px;
    }

    .hero-text-campaign {
        max-width: 100%;
        padding: 22px 20px 24px;
    }

    .hero-campaign .hero-bg-image {
        object-position: center 30%;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .option-checkbox {
        width: 60px;
        height: 60px;
    }

    .checkbox-inner {
        font-size: 1rem;
    }

    .voting-option {
        font-size: 0.85rem;
    }

    .candidate-photo {
        max-height: 350px;
    }

    .countdown-timer {
        padding: 16px 12px;
        gap: 6px;
    }

    .countdown-item {
        min-width: 40px;
    }

    .time-value {
        font-size: 1.4rem;
    }

    .countdown-separator {
        font-size: 1.4rem;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .hero-content-campaign {
        padding: 76px 12px 40px;
    }

    .hero-title--campaign {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-campaign .hero-bg-image {
        object-position: center 30%;
    }

    .option-checkbox {
        width: 50px;
        height: 50px;
    }

    .checkbox-inner {
        font-size: 0.9rem;
    }

    .voting-option {
        font-size: 0.75rem;
        gap: 12px;
    }

    .candidate-photo {
        max-height: 300px;
    }

    .countdown-timer {
        padding: 12px 8px;
        gap: 4px;
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 35px;
    }

    .time-value {
        font-size: 1.2rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
        margin: 0 1px;
    }

    .time-label {
        font-size: 0.6rem;
    }
}
