﻿*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#E51838;
    --primary-dark:#b5122c;
    --primary-soft:#f05c70;
    --brand-black:#000001;
    --text:#000001;
    --muted:#555555;
    --white:#ffffff;
    --bg:#f3f3f3;
    --soft:#f7f7f7;
    --line:#e4e4e4;
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --shadow-soft:0 8px 18px rgba(0,0,0,.08);
    --font-primary:'Roboto', Arial, Helvetica, sans-serif;
    --font-brand-script:'Sweet Getaway DEMO', 'Sweet Getaway', 'Allura', cursive;
}

@font-face{
    font-family:'Roboto';
    src:url('../fonts/brand/Roboto-Regular.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:'Roboto';
    src:url('../fonts/brand/Roboto-Medium.ttf') format('truetype');
    font-weight:500;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:'Roboto';
    src:url('../fonts/brand/Roboto-Bold.ttf') format('truetype');
    font-weight:700;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:'Roboto';
    src:url('../fonts/brand/Roboto-Black.ttf') format('truetype');
    font-weight:900;
    font-style:normal;
    font-display:swap;
}

@font-face{
    font-family:'Sweet Getaway DEMO';
    src:url('../fonts/brand/SweetGetawayDemoRegular-2XyK.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:var(--font-primary);
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

body.is-gallery-open{
    overflow:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:min(1280px, 92%);
    margin:0 auto;
}

/* =========================
   NAVBAR
========================= */
.navbar{
    position:sticky;
    top:0;
    z-index:999;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(8px);
    box-shadow:0 2px 14px rgba(0,0,0,.05);
}

.nav-content{
    min-height:88px;
    display:grid;
    grid-template-columns:270px 1fr 200px;
    align-items:center;
    gap:12px;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:58px;
    width:auto;
}

.nav-menu{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:34px;
}

.nav-menu a{
    color:#1f1f1f;
    font-size:.98rem;
    font-weight:700;
    transition:.25s ease;
    position:relative;
}

.nav-menu a:hover,
.nav-menu a.active{
    color:var(--primary);
}

.nav-cta{
    display:flex;
    justify-content:flex-end;
}

.btn-contact{
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    min-width:138px;
    height:46px;
    padding:0 24px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.95rem;
    font-weight:800;
    box-shadow:0 10px 24px rgba(229,24,56,.20);
    transition:.25s ease;
}

.btn-contact:hover{
    transform:translateY(-2px);
}

/* =========================
   HERO
========================= */
.hero{
    position:relative;
    min-height:650px;
    background-image:url('../img/hero/hero-bg.jpg');
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(217, 34, 56, 0.43);
    z-index:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(90deg, rgba(156,13,31,.10) 0%, rgba(229,24,56,.06) 50%, rgba(229,24,56,.03) 100%),
        linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 30%, rgba(130,0,15,.08) 100%);
}

.hero-stage{
    position:relative;
    z-index:3;
    min-height:650px;
}

.hero-composite{
    position:absolute;
    left:70px;
    top:72px;
    width:640px;
    animation:heroCompositeFade 1s ease-out both;
}

.hero-composite img{
    display:block;
    width:100%;
    height:auto;
    filter:drop-shadow(0 14px 24px rgba(0,0,0,.16));
}

.hero-person{
    position:absolute;
    right:110px;
    bottom:0;
    width:390px;
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
    animation:heroPersonFade 1s ease-out both;
    animation-delay:.2s;
}

.hero-person img{
    display:block;
    width:100%;
    max-width:390px;
    height:auto;
    filter:drop-shadow(0 14px 28px rgba(0,0,0,.14));
}

/* Animaciones */
@keyframes heroCompositeFade{
    0%{
        opacity:0;
        transform:translateY(18px);
    }
    100%{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes heroPersonFade{
    0%{
        opacity:0;
        transform:translateX(24px);
    }
    100%{
        opacity:1;
        transform:translateX(0);
    }
}

/* =========================
   CARDS HOME
========================= */
.home-cards{
    position:relative;
    padding:0 0 44px;
    background:
        linear-gradient(180deg, #ededed 0%, #f7f7f7 100%);
}

.cards-grid{
    position:relative;
    z-index:5;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:18px;
    margin-top:-36px;
}

.info-card{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    min-height:320px;
    padding:32px 28px 28px;
    border-radius:8px;
    border:1px solid rgba(0,0,0,.05);
    background:#fff;
    box-shadow:0 18px 38px rgba(0,0,0,.08);
    transition:.25s ease;
}

.info-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(145deg, rgba(229,24,56,.08), transparent 42%),
        radial-gradient(circle at 84% 16%, rgba(229,24,56,.12), transparent 30%);
    opacity:0;
    transition:.25s ease;
}

.info-card::after{
    content:"";
    position:absolute;
    right:-40px;
    top:-40px;
    width:122px;
    height:122px;
    border-radius:50%;
    border:22px solid rgba(229,24,56,.07);
}

.info-card:hover{
    transform:translateY(-7px);
    box-shadow:0 24px 48px rgba(0,0,0,.12);
}

.info-card:hover::before{
    opacity:1;
}

.icon-circle{
    position:relative;
    z-index:1;
    width:74px;
    height:74px;
    min-width:74px;
    border-radius:22px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.7rem;
    box-shadow:0 16px 28px rgba(229,24,56,.24);
}

.card-body{
    position:relative;
    z-index:1;
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.card-body h3,
.info-card h3{
    font-size:1.55rem;
    line-height:1.12;
    font-weight:900;
    margin-bottom:14px;
    color:#191919;
}

.card-body p,
.info-card p{
    font-size:.98rem;
    line-height:1.78;
    color:#555;
    margin-bottom:24px;
    max-width:100%;
}

.btn-small{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:118px;
    height:44px;
    padding:0 18px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    border-radius:999px;
    font-size:.92rem;
    font-weight:900;
    box-shadow:0 12px 22px rgba(229,24,56,.18);
    transition:.25s ease;
}

.btn-small:hover{
    transform:translateY(-2px) translateX(2px);
}

/* =========================
   SOCIAL FLOATING
========================= */
.social-floating{
    position:fixed;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    gap:8px;
    z-index:1200;
}

.social-floating a{
    width:46px;
    height:46px;
    border-radius:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.55rem;
    box-shadow:0 8px 16px rgba(0,0,0,.14);
    transition:.2s ease;
}

.social-floating a:hover{
    transform:translateX(2px);
}

.social-floating .whatsapp{ background:#25D366; }
.social-floating .facebook{ background:#1877F2; }
.social-floating .instagram{ background:#E1306C; }
.social-floating .twitter{ background:#111111; }
.social-floating .linkedin{ background:#0A66C2; }
.social-floating .tiktok{ background:#000000; }
.social-floating .email{ background:#A4A7AE; }
.social-floating .share{ background:#1A73E8; }

/* =========================
   FOOTER
========================= */
.footer{
    background:#131313;
    color:#fff;
    margin-top:0;
}

.footer-content{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:34px;
    padding:48px 0 28px;
}

.footer-brand img{
    height:76px;
    width:auto;
    display:block;
}

.footer-logo-card{
    width:max-content;
    max-width:100%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    margin-bottom:18px;
    border-radius:8px;
    background:#ffffff;
    box-shadow:0 16px 34px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.7);
}

.footer-brand p,
.footer-contact p,
.footer-contact a,
.footer-links a{
    color:rgba(255,255,255,.82);
    line-height:1.7;
    font-size:.95rem;
}

.footer-links h4,
.footer-contact h4{
    margin-bottom:14px;
    font-size:1rem;
    font-weight:800;
}

.footer-links ul{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.footer-links a:hover{
    color:#fff;
}

.footer-contact a:hover{
    color:#fff;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:16px 0;
    color:rgba(255,255,255,.7);
    font-size:.92rem;
}

/* =========================
   INTERNAS / QUIEN SOY
========================= */
.section-space{
    padding:80px 0;
}

.page-hero{
    position:relative;
    min-height:320px;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.page-hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(180,20,35,.88), rgba(229,24,56,.68));
}

.page-hero-content{
    position:relative;
    z-index:2;
    color:#fff;
    max-width:760px;
    padding:50px 0;
}

.page-badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    color:#fff;
    font-size:.92rem;
    font-weight:700;
    margin-bottom:18px;
    backdrop-filter:blur(6px);
}

.page-hero-content h1{
    font-size:3.4rem;
    line-height:1.05;
    font-weight:900;
    margin-bottom:14px;
}

.page-hero-content p{
    font-size:1.06rem;
    line-height:1.7;
    max-width:640px;
}

.about-main{
    background:#fff;
}

.about-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:48px;
    align-items:center;
}

.about-image img{
    width:100%;
    max-width:460px;
    border-radius:26px;
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

.section-kicker{
    display:inline-block;
    font-size:.92rem;
    font-weight:800;
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:.8px;
    margin-bottom:12px;
}

.section-kicker.light{
    color:#fff;
    opacity:.92;
}

.about-content h2{
    font-size:2.5rem;
    font-weight:900;
    margin-bottom:18px;
    line-height:1.08;
}

.lead{
    font-size:1.08rem;
    line-height:1.85;
    color:#4c4c4c;
    margin-bottom:26px;
}

.about-quote{
    position:relative;
    padding:24px 24px 20px 56px;
    border-radius:22px;
    background:linear-gradient(180deg, #fff6f7, #fff0f2);
    border:1px solid rgba(229,24,56,.10);
    box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.about-quote i{
    position:absolute;
    left:20px;
    top:20px;
    color:var(--primary);
    font-size:1.4rem;
}

.about-quote p{
    color:#5a4146;
    font-size:1rem;
    line-height:1.8;
    font-weight:600;
}

.quote-hashtag{
    display:inline-block;
    margin-top:8px;
    color:var(--primary);
    font-weight:900;
}

.about-profile-section{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.profile-showcase{
    position:relative;
    display:grid;
    grid-template-columns:1fr .86fr 1fr;
    min-height:620px;
    border-radius:8px;
    overflow:hidden;
    background:#f1f1f1;
    box-shadow:0 18px 44px rgba(0,0,0,.10);
    border:1px solid rgba(0,0,0,.06);
}

.profile-intro-panel,
.profile-education-panel{
    position:relative;
    z-index:2;
    padding:52px 46px;
}

.profile-intro-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:
        linear-gradient(180deg, rgba(229,24,56,.96), rgba(190,18,38,.98)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
    color:#fff;
}

.profile-intro-panel::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(0,0,0,.08), rgba(255,255,255,.04));
    pointer-events:none;
}

.profile-script{
    position:relative;
    z-index:1;
    display:block;
    font-family:var(--font-brand-script);
    font-size:4.2rem;
    line-height:.8;
    color:rgba(255,255,255,.88);
    margin-bottom:14px;
}

.profile-intro-panel h2{
    position:relative;
    z-index:1;
    font-size:3.35rem;
    line-height:.98;
    font-weight:900;
    color:#fff;
    margin-bottom:22px;
}

.profile-intro-panel p{
    position:relative;
    z-index:1;
    font-size:1rem;
    line-height:1.85;
    color:rgba(255,255,255,.95);
    font-weight:600;
}

.profile-intro-panel .about-quote{
    position:relative;
    z-index:1;
    margin-top:28px;
    background:rgba(255,255,255,.13);
    border-color:rgba(255,255,255,.20);
    box-shadow:none;
    backdrop-filter:blur(6px);
}

.profile-intro-panel .about-quote i,
.profile-intro-panel .about-quote p{
    color:#fff;
}

.profile-intro-panel .quote-hashtag{
    color:#fff;
    opacity:.92;
}

.profile-portrait-card{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:46px 0 0;
    overflow:hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.58) 35%, rgba(255,255,255,.10)),
        #e7e7e7;
}

.profile-portrait-bg{
    position:absolute;
    inset:0;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.32) 0 10px, transparent 10px 22px),
        radial-gradient(circle at 50% 24%, rgba(229,24,56,.14), transparent 34%);
}

.profile-portrait-card img{
    position:relative;
    z-index:2;
    width:min(100%, 420px);
    max-height:580px;
    object-fit:contain;
    object-position:bottom center;
    filter:drop-shadow(0 18px 26px rgba(0,0,0,.16));
}

.profile-education-panel{
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#ececec;
}

.profile-education-panel h3{
    font-size:2rem;
    line-height:1.15;
    font-weight:900;
    color:#222;
    margin-bottom:18px;
}

.profile-education-panel p{
    color:#3e3e3e;
    font-size:1rem;
    line-height:1.85;
    font-weight:600;
}

.profile-stats-strip{
    padding:0;
    margin-top:-40px;
    position:relative;
    z-index:4;
    background:transparent;
    border:none;
}

.profile-stat-card{
    position:relative;
    display:grid;
    grid-template-columns:58px 1fr;
    grid-template-rows:auto auto;
    column-gap:16px;
    align-items:center;
    text-align:left;
    border-radius:8px;
    padding:22px;
    box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.stat-icon{
    grid-row:1 / 3;
    width:54px;
    height:54px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.2rem;
}

.profile-stat-card h3{
    margin:0;
    font-size:2.55rem;
    line-height:1;
    color:#111;
}

.profile-stat-card p{
    color:#545454;
    font-size:.95rem;
    font-weight:800;
}

.profile-credentials-section{
    padding-top:110px;
    background:#f7f7f7;
}

.profile-credentials-grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:24px;
}

.credential-card{
    background:#fff;
    border-radius:8px;
    padding:34px 30px;
    box-shadow:0 14px 28px rgba(0,0,0,.07);
    border:1px solid rgba(0,0,0,.05);
}

.credential-card h3{
    font-size:1.6rem;
    line-height:1.18;
    font-weight:900;
    margin-bottom:14px;
    color:#222;
}

.credential-card p{
    color:#4c4c4c;
    line-height:1.85;
    font-size:1rem;
}

.credential-card-red{
    background:linear-gradient(180deg, #e51f3a 0%, #c9172f 100%);
    color:#fff;
}

.credential-card-red h3,
.credential-card-red p{
    color:#fff;
}

.credential-card-red .detail-icon{
    background:#fff;
    color:var(--primary);
}

.election-card{
    position:relative;
    overflow:hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,246,248,.96)),
        radial-gradient(circle at 88% 18%, rgba(229,24,56,.12), transparent 34%);
}

.election-card::after{
    content:"2023";
    position:absolute;
    right:22px;
    bottom:-18px;
    font-size:6.2rem;
    line-height:1;
    font-weight:900;
    color:rgba(229,24,56,.07);
}

.election-number{
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    margin:4px 0 12px;
    font-size:4.2rem;
    line-height:.95;
    font-weight:900;
    color:var(--primary);
}

.recognition-card{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:80px 1fr;
    gap:22px;
    align-items:center;
    background:
        linear-gradient(90deg, #ffffff 0%, #f7fbf1 100%);
}

.recognition-icon{
    width:76px;
    height:76px;
    border-radius:50%;
    background:linear-gradient(180deg,#8ac64b 0%, #4d9d38 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.7rem;
    box-shadow:0 12px 24px rgba(77,157,56,.18);
}

.stats-strip{
    background:linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    padding:24px 0;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.stat-card{
    background:#fff;
    border-radius:22px;
    padding:26px 20px;
    text-align:center;
    box-shadow:0 10px 24px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.04);
}

.stat-card h3{
    font-size:2.2rem;
    font-weight:900;
    color:var(--primary);
    margin-bottom:8px;
}

.stat-card p{
    color:#555;
    font-size:.98rem;
    line-height:1.5;
    font-weight:600;
}

.stats-strip.profile-stats-strip{
    padding:0;
    margin-top:-40px;
    position:relative;
    z-index:4;
    background:transparent;
    border:none;
}

.stat-card.profile-stat-card{
    position:relative;
    display:grid;
    grid-template-columns:58px 1fr;
    grid-template-rows:auto auto;
    column-gap:16px;
    align-items:center;
    text-align:left;
    border-radius:8px;
    padding:22px;
    box-shadow:0 18px 35px rgba(0,0,0,.10);
}

.stat-card.profile-stat-card h3{
    margin:0;
    font-size:2.55rem;
    line-height:1;
    color:#111;
}

.stat-card.profile-stat-card p{
    color:#545454;
    font-size:.95rem;
    line-height:1.45;
    font-weight:800;
}

.about-detail{
    background:#f8f8f8;
}

.detail-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:26px;
}

.detail-card{
    background:#fff;
    padding:34px 30px;
    border-radius:24px;
    box-shadow:0 12px 24px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.04);
}

.detail-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.45rem;
    margin-bottom:18px;
}

.detail-card h3{
    font-size:1.45rem;
    font-weight:800;
    margin-bottom:14px;
}

.detail-card p{
    color:#4c4c4c;
    line-height:1.85;
    font-size:1rem;
}

.section-heading{
    max-width:760px;
    margin-bottom:42px;
}

.section-heading.center{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

.section-heading h2{
    font-size:2.5rem;
    line-height:1.1;
    font-weight:900;
    margin-bottom:14px;
}

.section-heading p{
    color:#5a5a5a;
    line-height:1.75;
}

.timeline-section{
    background:#fff;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:0 auto;
    padding-left:28px;
}

.timeline::before{
    content:"";
    position:absolute;
    left:8px;
    top:0;
    bottom:0;
    width:3px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    border-radius:999px;
}

.timeline-item{
    position:relative;
    padding-left:34px;
    margin-bottom:28px;
}

.timeline-item:last-child{
    margin-bottom:0;
}

.timeline-dot{
    position:absolute;
    left:-1px;
    top:6px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#fff;
    border:5px solid var(--primary);
    box-shadow:0 0 0 6px rgba(229,24,56,.10);
}

.timeline-content{
    background:#fff7f8;
    border:1px solid rgba(229,24,56,.10);
    border-radius:20px;
    padding:22px 22px;
    box-shadow:0 8px 18px rgba(0,0,0,.05);
}

.timeline-content h4{
    font-size:1.12rem;
    font-weight:800;
    margin-bottom:10px;
    color:#2b2b2b;
}

.timeline-content p{
    color:#575757;
    line-height:1.75;
}

.cta-band{
    background:linear-gradient(135deg, #b5122c 0%, #b81528 100%);
    color:#fff;
    padding:55px 0;
}

.cta-band-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.cta-band-content h2{
    font-size:2.3rem;
    font-weight:900;
    margin-bottom:10px;
}

.cta-band-content p{
    line-height:1.8;
    max-width:700px;
}

.btn-light{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    height:52px;
    padding:0 24px;
    border-radius:14px;
    background:#fff;
    color:var(--primary);
    font-weight:800;
    box-shadow:0 10px 20px rgba(0,0,0,.12);
}

/* =========================
   DE LA MANO CON LA GENTE
========================= */
.gestion-hero{
    background:url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.gestion-intro{
    background:#ffffff;
    padding-bottom:30px;
}

.gestion-years{
    background:linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    padding-top:30px;
}

.gestion-year-block{
    margin-bottom:50px;
}

.gestion-year-block:last-child{
    margin-bottom:0;
}

.gestion-year-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:24px;
    flex-wrap:wrap;
}

.gestion-year-pill{
    min-width:98px;
    height:54px;
    padding:0 24px;
    border-radius:16px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:1.35rem;
    font-weight:900;
    box-shadow:0 10px 22px rgba(229,24,56,.18);
}

.gestion-year-header h3{
    font-size:1.8rem;
    font-weight:900;
    color:#222;
}

.gestion-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:22px;
}

.gestion-card{
    background:#fff;
    border-radius:24px;
    padding:0;
    overflow:hidden;
    box-shadow:0 12px 24px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.04);
    transition:.25s ease;
}

.gestion-card:hover{
    transform:translateY(-4px);
}

.gestion-card-image{
    aspect-ratio:16 / 9;
    overflow:hidden;
    background:#f0f0f0;
}

.gestion-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.gestion-card-body{
    padding:24px;
}

.gestion-card-top{
    margin-bottom:14px;
}

.gestion-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:98px;
    height:34px;
    padding:0 14px;
    border-radius:999px;
    font-size:.82rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.badge-acuerdo{
    background:#fff1f3;
    color:#c61f34;
}

.badge-obra{
    background:#fff6eb;
    color:#c96b13;
}

.badge-gestion{
    background:#eef7ff;
    color:#1461c2;
}

.badge-destacado{
    background:#f2f0ff;
    color:#5a34c2;
}

.gestion-card h4{
    font-size:1.22rem;
    font-weight:800;
    line-height:1.35;
    margin-bottom:12px;
    color:#242424;
}

.gestion-card p,
.gestion-card-detail p{
    color:#575757;
    font-size:.98rem;
    line-height:1.75;
}

.gestion-card-detail{
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #eeeeee;
}

.gestion-card.is-expanded .gestion-summary{
    display:none;
}

.gestion-read-more{
    margin-top:16px;
    border:none;
    background:#fff1f3;
    color:var(--primary);
    min-width:118px;
    height:38px;
    padding:0 14px;
    border-radius:10px;
    font-family:var(--font-primary);
    font-size:.88rem;
    font-weight:800;
    cursor:pointer;
    transition:.2s ease;
}

.gestion-read-more:hover{
    background:var(--primary);
    color:#fff;
}

.categoria-acuerdo{
    border-left:6px solid var(--primary);
}

.categoria-obra{
    border-left:6px solid #d98a22;
}

.categoria-gestion{
    border-left:6px solid #2c7be5;
}

.categoria-destacado{
    border-left:6px solid #7352d9;
}

.impact-strip{
    background:#ffffff;
    padding:30px 0 80px;
}

.impact-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.impact-card{
    background:linear-gradient(180deg, #ffffff 0%, #faf7f8 100%);
    border-radius:24px;
    padding:30px 24px;
    box-shadow:0 12px 24px rgba(0,0,0,.05);
    border:1px solid rgba(0,0,0,.04);
}

.impact-icon{
    width:64px;
    height:64px;
    border-radius:18px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.4rem;
    margin-bottom:18px;
}

.impact-card h3{
    font-size:1.35rem;
    font-weight:800;
    margin-bottom:12px;
    color:#222;
}

.impact-card p{
    color:#585858;
    line-height:1.75;
    font-size:.98rem;
}

.gestion-overview-section{
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
    padding-bottom:56px;
}

.gestion-overview{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:34px;
    align-items:stretch;
}

.gestion-overview-copy{
    background:#fff;
    border-radius:8px;
    padding:42px 38px;
    box-shadow:0 16px 34px rgba(0,0,0,.07);
    border:1px solid rgba(0,0,0,.05);
}

.gestion-overview-copy h2{
    font-size:2.55rem;
    line-height:1.08;
    font-weight:900;
    margin-bottom:16px;
    color:#202020;
}

.gestion-overview-copy p{
    color:#555;
    line-height:1.82;
    font-size:1.02rem;
}

.gestion-category-summary{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:28px;
}

.gestion-category-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:0 14px;
    border-radius:999px;
    font-size:.85rem;
    font-weight:800;
    background:#f4f4f4;
    color:#272727;
    border:1px solid rgba(0,0,0,.05);
}

.gestion-category-chip i{
    color:var(--primary);
}

.gestion-category-chip.chip-obra i{ color:#c96b13; }
.gestion-category-chip.chip-gestion i{ color:#1461c2; }
.gestion-category-chip.chip-destacado i{ color:#5a34c2; }

.gestion-overview-panel{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:310px;
    border-radius:8px;
    padding:34px 30px;
    color:#fff;
    background:
        linear-gradient(145deg, rgba(229,24,56,.96), rgba(168,13,31,.98)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
    box-shadow:0 18px 36px rgba(229,24,56,.22);
}

.gestion-overview-panel::after{
    content:"";
    position:absolute;
    right:-80px;
    bottom:-92px;
    width:230px;
    height:230px;
    border-radius:50%;
    border:34px solid rgba(255,255,255,.12);
}

.overview-panel-header,
.overview-metrics,
.gestion-overview-panel p{
    position:relative;
    z-index:1;
}

.overview-panel-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    margin-bottom:24px;
}

.overview-panel-header span{
    text-transform:uppercase;
    font-size:.82rem;
    font-weight:800;
    letter-spacing:.8px;
    color:rgba(255,255,255,.78);
}

.overview-panel-header strong{
    font-size:2.55rem;
    line-height:1;
    font-weight:900;
}

.overview-metrics{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
    margin:18px 0 26px;
}

.overview-metrics div{
    padding:18px 16px;
    border-radius:8px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(8px);
}

.overview-metrics strong{
    display:block;
    font-size:2.2rem;
    line-height:1;
    font-weight:900;
    margin-bottom:8px;
}

.overview-metrics span{
    color:rgba(255,255,255,.86);
    font-size:.88rem;
    font-weight:700;
}

.gestion-overview-panel p{
    color:rgba(255,255,255,.9);
    line-height:1.75;
    font-weight:600;
}

.gestion-story-section{
    position:relative;
    padding-top:58px;
    background:
        linear-gradient(180deg, #f6f6f6 0%, #ffffff 100%);
}

.gestion-year-story{
    position:relative;
    padding:34px 0 58px 34px;
    margin-bottom:0;
}

.gestion-year-story::before{
    content:"";
    position:absolute;
    left:0;
    top:44px;
    bottom:0;
    width:3px;
    border-radius:999px;
    background:linear-gradient(180deg, var(--primary), rgba(229,24,56,.08));
}

.gestion-year-story::after{
    content:"";
    position:absolute;
    left:-8px;
    top:42px;
    width:19px;
    height:19px;
    border-radius:50%;
    background:#fff;
    border:5px solid var(--primary);
    box-shadow:0 0 0 7px rgba(229,24,56,.10);
}

.gestion-year-story .gestion-year-header{
    justify-content:space-between;
    align-items:flex-end;
    gap:22px;
    margin-bottom:28px;
}

.gestion-year-story .gestion-year-header h3{
    font-size:2rem;
    line-height:1.15;
}

.gestion-year-story .gestion-year-pill{
    min-width:134px;
    height:auto;
    padding:16px 18px;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:3px;
    box-shadow:0 14px 26px rgba(229,24,56,.18);
}

.gestion-year-story .gestion-year-pill strong{
    font-size:2.2rem;
    line-height:.9;
    font-weight:900;
}

.gestion-year-story .gestion-year-pill span{
    font-size:.78rem;
    font-weight:800;
    opacity:.9;
}

.gestion-story-card{
    position:relative;
    display:grid;
    grid-template-columns:minmax(190px, .46fr) 1fr;
    min-height:260px;
    border-radius:8px;
    border:1px solid rgba(0,0,0,.06);
    border-left:none;
    overflow:hidden;
    box-shadow:0 14px 30px rgba(0,0,0,.07);
}

.gestion-story-card:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 38px rgba(0,0,0,.10);
}

.gestion-card-featured{
    grid-column:1 / -1;
    grid-template-columns:minmax(280px, .78fr) 1fr;
}

.gestion-story-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:6px;
    background:var(--primary);
    z-index:3;
}

.gestion-story-card.categoria-obra::before{ background:#d98a22; }
.gestion-story-card.categoria-gestion::before{ background:#2c7be5; }
.gestion-story-card.categoria-destacado::before{ background:#7352d9; }

.gestion-story-card .gestion-card-image{
    height:100%;
    aspect-ratio:auto;
    min-height:260px;
}

.gestion-card-featured .gestion-card-image{
    min-height:320px;
}

.gestion-story-card .gestion-card-image img{
    height:100%;
    transition:.35s ease;
}

.gestion-story-card:hover .gestion-card-image img{
    transform:scale(1.04);
}

.gestion-card-image-empty{
    display:flex;
    align-items:stretch;
    background:#f0f0f0;
}

.gestion-image-placeholder{
    width:100%;
    min-height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:24px;
    text-align:center;
    color:#fff;
    background:
        linear-gradient(145deg, rgba(229,24,56,.92), rgba(151,16,32,.96)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.categoria-obra .gestion-image-placeholder{
    background:linear-gradient(145deg, #d98a22, #a95b12);
}

.categoria-gestion .gestion-image-placeholder{
    background:linear-gradient(145deg, #2c7be5, #164d99);
}

.categoria-destacado .gestion-image-placeholder{
    background:linear-gradient(145deg, #7352d9, #462a9f);
}

.gestion-image-placeholder i{
    width:74px;
    height:74px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    font-size:1.8rem;
}

.gestion-image-placeholder span{
    font-size:.88rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.gestion-story-card .gestion-card-body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:30px 30px 28px;
}

.gestion-story-card .gestion-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-bottom:16px;
}

.gestion-story-card .gestion-badge{
    gap:7px;
    min-width:auto;
    height:34px;
}

.gestion-card-year{
    color:#888;
    font-size:.84rem;
    font-weight:800;
}

.gestion-story-card h4{
    font-size:1.42rem;
    line-height:1.24;
    margin-bottom:14px;
}

.gestion-card-featured h4{
    font-size:1.72rem;
}

.gestion-story-card .gestion-summary,
.gestion-story-card .gestion-card-detail p{
    color:#555;
    line-height:1.82;
}

.gestion-story-card .gestion-card-detail{
    border-top:1px solid #ececec;
}

.gestion-story-card .gestion-read-more{
    width:max-content;
    min-width:0;
    padding:0 16px;
    border-radius:999px;
}

.gestion-impact-section{
    background:#fff;
    padding:74px 0 82px;
}

.gestion-impact-section .impact-card{
    border-radius:8px;
    background:#fff;
    box-shadow:0 14px 30px rgba(0,0,0,.06);
    transition:.25s ease;
}

.gestion-impact-section .impact-card:hover{
    transform:translateY(-4px);
}

/* =========================
   NOTICIAS
========================= */
.noticias-hero,
.noticia-detalle-hero{
    background:url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.noticias-listing{
    background:#fafafa;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}

.news-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 12px 24px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.04);
    transition:.25s ease;
}

.news-card:hover{
    transform:translateY(-4px);
}

.news-image{
    display:block;
    aspect-ratio: 16 / 10;
    overflow:hidden;
}

.news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s ease;
}

.news-card:hover .news-image img{
    transform:scale(1.04);
}

.news-body{
    padding:22px 22px 24px;
}

.news-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:14px;
    color:#777;
    font-size:.85rem;
    font-weight:600;
}

.news-meta i{
    color:var(--primary);
    margin-right:6px;
}

.news-body h3{
    font-size:1.24rem;
    line-height:1.35;
    font-weight:800;
    margin-bottom:12px;
}

.news-body h3 a{
    color:#242424;
    transition:.2s ease;
}

.news-body h3 a:hover{
    color:var(--primary);
}

.news-body p{
    color:#595959;
    line-height:1.75;
    font-size:.97rem;
    margin-bottom:18px;
}

.empty-news{
    grid-column:1 / -1;
    background:#fff;
    padding:50px 28px;
    border-radius:24px;
    text-align:center;
    box-shadow:0 10px 22px rgba(0,0,0,.05);
    border:1px solid rgba(0,0,0,.04);
}

.empty-news i{
    font-size:2.2rem;
    color:var(--primary);
    margin-bottom:16px;
}

.empty-news h3{
    font-size:1.35rem;
    margin-bottom:10px;
}

.empty-news p{
    color:#666;
    line-height:1.7;
}

.news-magazine-section{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 46%, #ffffff 100%);
}

.news-editorial-header{
    display:grid;
    grid-template-columns:1fr 360px;
    gap:32px;
    align-items:stretch;
    margin-bottom:34px;
}

.news-editorial-header h2{
    font-size:2.65rem;
    line-height:1.08;
    font-weight:900;
    color:#202020;
    margin-bottom:14px;
}

.news-editorial-header p{
    max-width:760px;
    color:#555;
    line-height:1.82;
    font-size:1.02rem;
}

.news-ledger{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.news-ledger-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:132px;
    padding:22px 20px;
    border-radius:8px;
    background:#fff;
    box-shadow:0 14px 30px rgba(0,0,0,.07);
    border:1px solid rgba(0,0,0,.05);
}

.news-ledger-item strong{
    font-size:2.2rem;
    line-height:1;
    font-weight:900;
    color:var(--primary);
    margin-bottom:10px;
}

.news-ledger-item span{
    color:#555;
    line-height:1.4;
    font-size:.88rem;
    font-weight:800;
}

.news-featured-card{
    display:grid;
    grid-template-columns:minmax(380px, .95fr) 1fr;
    min-height:430px;
    margin-bottom:46px;
    overflow:hidden;
    border-radius:8px;
    background:#fff;
    box-shadow:0 20px 44px rgba(0,0,0,.10);
    border:1px solid rgba(0,0,0,.05);
}

.news-featured-media{
    position:relative;
    display:block;
    min-height:430px;
    overflow:hidden;
    background:#efefef;
}

.news-featured-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s ease;
}

.news-featured-card:hover .news-featured-media img{
    transform:scale(1.04);
}

.news-featured-body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:46px 44px;
    background:
        linear-gradient(135deg, #ffffff 0%, #fff6f7 100%);
}

.news-eyebrow{
    display:inline-flex;
    width:max-content;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#fff1f3;
    color:var(--primary);
    font-size:.8rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.6px;
    margin-bottom:18px;
}

.news-featured-body h3{
    font-size:2.15rem;
    line-height:1.13;
    font-weight:900;
    margin-bottom:16px;
}

.news-featured-body h3 a{
    color:#202020;
}

.news-featured-body h3 a:hover{
    color:var(--primary);
}

.news-featured-body p{
    color:#555;
    line-height:1.85;
    font-size:1.02rem;
    margin-bottom:24px;
}

.news-featured-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    padding-top:18px;
    border-top:1px solid #ececec;
}

.news-featured-footer span{
    color:#666;
    font-size:.9rem;
    font-weight:700;
}

.news-featured-footer i{
    color:var(--primary);
    margin-right:6px;
}

.news-date-chip{
    position:absolute;
    left:18px;
    top:18px;
    z-index:3;
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 13px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:#242424;
    font-size:.78rem;
    font-weight:900;
    box-shadow:0 10px 20px rgba(0,0,0,.12);
}

.news-archive-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin:8px 0 22px;
}

.news-archive-heading h3{
    font-size:1.75rem;
    line-height:1.15;
    font-weight:900;
    color:#202020;
}

.news-archive-heading p{
    color:#666;
    font-size:.94rem;
    font-weight:700;
}

.news-grid-modern{
    align-items:stretch;
}

.news-card-modern{
    position:relative;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    box-shadow:0 14px 30px rgba(0,0,0,.07);
}

.news-card-modern:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 38px rgba(0,0,0,.10);
}

.news-card-modern .news-image{
    position:relative;
    background:#efefef;
}

.news-card-modern .news-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:24px 22px 22px;
}

.news-card-modern .news-body h3{
    font-size:1.18rem;
    line-height:1.32;
    margin-bottom:12px;
}

.news-card-modern .news-body p{
    flex:1;
}

.news-image-placeholder{
    width:100%;
    height:100%;
    min-height:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    color:#fff;
    background:
        linear-gradient(145deg, rgba(229,24,56,.94), rgba(151,16,32,.96)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.news-image-placeholder i{
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.20);
    font-size:1.7rem;
}

.news-image-placeholder span{
    font-size:.86rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.news-featured-media .news-image-placeholder{
    min-height:430px;
}

.news-card-modern .news-image .news-image-placeholder{
    min-height:100%;
}

.news-read-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:max-content;
    color:var(--primary);
    font-size:.9rem;
    font-weight:900;
    transition:.2s ease;
}

.news-read-link:hover{
    color:var(--primary-dark);
    transform:translateX(2px);
}

.public-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-top:44px;
    flex-wrap:wrap;
}

.pagination-edge,
.pagination-number{
    min-height:42px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.9rem;
    font-weight:900;
    border:1px solid rgba(0,0,0,.08);
    background:#fff;
    color:#252525;
    box-shadow:0 10px 20px rgba(0,0,0,.06);
}

.pagination-edge{
    gap:8px;
    padding:0 18px;
}

.pagination-number{
    width:42px;
}

.pagination-pages{
    display:flex;
    gap:8px;
    align-items:center;
}

.pagination-edge:hover,
.pagination-number:hover,
.pagination-number.is-active{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.pagination-edge.is-disabled{
    color:#9a9a9a;
    background:#f1f1f1;
    box-shadow:none;
    pointer-events:none;
}

/* DETALLE NOTICIA */
.noticia-single-section{
    background:#fafafa;
}

.noticia-layout{
    display:grid;
    grid-template-columns:1.5fr .7fr;
    gap:30px;
    align-items:start;
}

.noticia-main{
    background:#fff;
    border-radius:26px;
    padding:24px;
    box-shadow:0 12px 24px rgba(0,0,0,.05);
    border:1px solid rgba(0,0,0,.04);
}

.noticia-featured-image{
    border-radius:20px;
    overflow:hidden;
    margin-bottom:22px;
}

.noticia-featured-image img{
    width:100%;
    height:auto;
    object-fit:cover;
}

.noticia-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:22px;
    font-size:.9rem;
    color:#6a6a6a;
    font-weight:600;
}

.noticia-meta i{
    color:var(--primary);
    margin-right:6px;
}

.noticia-content{
    color:#474747;
    line-height:1.95;
    font-size:1rem;
}

.noticia-back{
    margin-top:28px;
}

.noticia-sidebar{
    position:sticky;
    top:110px;
}

.sidebar-box{
    background:#fff;
    border-radius:24px;
    padding:22px;
    box-shadow:0 12px 24px rgba(0,0,0,.05);
    border:1px solid rgba(0,0,0,.04);
}

.sidebar-box h3{
    font-size:1.25rem;
    font-weight:800;
    margin-bottom:18px;
    color:#242424;
}

.related-news-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.related-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding-bottom:16px;
    border-bottom:1px solid #eee;
}

.related-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.related-thumb{
    width:96px;
    height:76px;
    min-width:96px;
    border-radius:14px;
    overflow:hidden;
}

.related-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.related-body h4{
    font-size:.98rem;
    line-height:1.4;
    font-weight:700;
    margin-bottom:8px;
}

.related-body h4 a{
    color:#242424;
}

.related-body h4 a:hover{
    color:var(--primary);
}

.related-body span{
    color:#7a7a7a;
    font-size:.84rem;
    font-weight:600;
}

/* =========================
   CONTACTO
========================= */
.contacto-hero{
    background:url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.contacto-section{
    background:linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.contacto-pro-section{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 52%, #ffffff 100%);
}

.contacto-grid{
    display:grid;
    grid-template-columns: .95fr 1.05fr;
    gap:32px;
    align-items:start;
}

.contacto-info,
.contacto-form-box{
    background:#fff;
    border-radius:28px;
    padding:34px 30px;
    box-shadow:0 12px 24px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.04);
}

.contacto-info h2,
.contacto-form-box h2{
    font-size:2rem;
    line-height:1.1;
    font-weight:900;
    margin-bottom:14px;
    color:#222;
}

.contacto-cards{
    margin-top:26px;
    display:grid;
    gap:16px;
}

.contacto-card{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:18px 18px;
    border-radius:20px;
    background:linear-gradient(180deg, #fff8f9 0%, #fff3f5 100%);
    border:1px solid rgba(229,24,56,.08);
}

.contacto-icon{
    width:52px;
    height:52px;
    min-width:52px;
    border-radius:16px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.15rem;
    box-shadow:0 8px 16px rgba(229,24,56,.14);
}

.contacto-card h3{
    font-size:1.05rem;
    font-weight:800;
    margin-bottom:6px;
    color:#242424;
}

.contacto-card p{
    color:#5c5c5c;
    line-height:1.7;
    font-size:.96rem;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.contacto-shell{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:30px;
    align-items:start;
}

.contacto-pro-info,
.contacto-form-pro{
    border-radius:8px;
    box-shadow:0 18px 38px rgba(0,0,0,.08);
}

.contacto-pro-info{
    position:relative;
    overflow:hidden;
    padding:42px 38px;
}

.contacto-pro-info::after{
    content:"";
    position:absolute;
    right:-82px;
    top:-82px;
    width:190px;
    height:190px;
    border-radius:50%;
    border:30px solid rgba(229,24,56,.07);
    pointer-events:none;
}

.contacto-pro-info h2,
.contacto-form-pro h2{
    font-size:2.35rem;
    line-height:1.08;
}

.contacto-actions-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:26px 0 28px;
}

.contacto-primary-action,
.contacto-secondary-action{
    min-height:48px;
    padding:0 18px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    font-size:.92rem;
    font-weight:900;
    transition:.22s ease;
}

.contacto-primary-action{
    background:#25D366;
    color:#fff;
    box-shadow:0 12px 22px rgba(37,211,102,.22);
}

.contacto-secondary-action{
    background:#fff1f3;
    color:var(--primary);
}

.contacto-primary-action:hover,
.contacto-secondary-action:hover{
    transform:translateY(-2px);
}

.contacto-card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
}

.contacto-card-link{
    min-height:136px;
    color:inherit;
    border-radius:8px;
    transition:.22s ease;
}

.contacto-card-link:hover{
    transform:translateY(-3px);
    background:#fff;
    box-shadow:0 14px 28px rgba(0,0,0,.08);
}

.contacto-icon.whatsapp-icon{
    background:#25D366;
}

.contacto-map-card{
    position:relative;
    margin-top:18px;
    min-height:320px;
    overflow:hidden;
    border-radius:8px;
    border:1px solid rgba(0,0,0,.06);
    box-shadow:0 14px 30px rgba(0,0,0,.08);
    background:#ececec;
}

.contacto-map-card iframe{
    width:100%;
    height:360px;
    display:block;
    border:0;
    filter:saturate(.95) contrast(1.04);
}

.contacto-map-overlay{
    position:absolute;
    left:18px;
    right:18px;
    bottom:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    border-radius:8px;
    background:rgba(255,255,255,.94);
    box-shadow:0 12px 24px rgba(0,0,0,.14);
}

.contacto-map-overlay span{
    color:#252525;
    font-size:.88rem;
    font-weight:900;
}

.contacto-map-overlay a{
    color:var(--primary);
    font-size:.86rem;
    font-weight:900;
}

.contacto-form-pro{
    position:sticky;
    top:112px;
    padding:42px 38px;
}

.contacto-form-pro > p{
    color:#5c5c5c;
    line-height:1.75;
    margin-bottom:22px;
}

.contacto-submit{
    min-height:52px;
    padding:0 24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    color:#fff;
    font-family:var(--font-primary);
    font-size:.94rem;
    font-weight:900;
    box-shadow:0 12px 24px rgba(229,24,56,.18);
    transition:.22s ease;
}

.contacto-submit:hover{
    transform:translateY(-2px);
}

.contacto-cta-band .btn-light{
    color:#128c3f;
}

.alert{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:16px 18px;
    border-radius:16px;
    margin:18px 0 20px;
    font-size:.95rem;
    line-height:1.65;
    font-weight:600;
}

.alert i{
    margin-top:2px;
    font-size:1rem;
}

.alert-success{
    background:#edf9f0;
    color:#196a2e;
    border:1px solid #cdebd3;
}

.alert-error{
    background:#fff1f2;
    color:#a11d2f;
    border:1px solid #f3c6cd;
}

.contact-form{
    margin-top:10px;
}

.form-row{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    font-size:.92rem;
    font-weight:700;
    color:#333;
    margin-bottom:8px;
}

.form-group input,
.form-group textarea{
    width:100%;
    border:1px solid #ddd;
    border-radius:16px;
    background:#fff;
    padding:14px 16px;
    font-family:var(--font-primary);
    font-size:.96rem;
    color:#222;
    outline:none;
    transition:.2s ease;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color:rgba(229,24,56,.55);
    box-shadow:0 0 0 4px rgba(229,24,56,.08);
}

.form-group textarea{
    resize:vertical;
    min-height:160px;
}

.form-submit{
    border:none;
    cursor:pointer;
}

.admin-access{
    margin-left:10px;
    font-size:.75rem;
    color:rgba(255,255,255,.35);
    text-decoration:none;
    transition:.2s ease;
}

.admin-access:hover{
    color:rgba(255,255,255,.65);
    text-decoration:underline;
}

/* =========================
   MULTIMEDIA
========================= */
.multimedia-section{
    background:#f7f7f7;
}

.multimedia-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:26px;
    align-items:stretch;
}

.multimedia-card{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 24px rgba(0,0,0,.06);
    border:1px solid rgba(0,0,0,.04);
    display:flex;
    flex-direction:column;
}

.multimedia-media{
    position:relative;
    width:100%;
    aspect-ratio:16 / 10;
    background:#191919;
    overflow:hidden;
}

.multimedia-media img,
.multimedia-media iframe{
    width:100%;
    height:100%;
    display:block;
    border:0;
}

.multimedia-media img{
    object-fit:cover;
}

.multimedia-body{
    padding:22px 22px 24px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.multimedia-meta{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    color:#777;
    font-size:.84rem;
    font-weight:700;
}

.multimedia-meta i{
    color:var(--primary);
    margin-right:5px;
}

.multimedia-body h3{
    color:#242424;
    font-size:1.18rem;
    line-height:1.25;
    font-weight:900;
}

.multimedia-body p{
    color:#5f5f5f;
    line-height:1.75;
    font-size:.96rem;
}

.multimedia-empty{
    margin-top:10px;
}

.multimedia-gallery-section{
    background:
        linear-gradient(180deg, #ffffff 0%, #f6f6f6 44%, #ffffff 100%);
}

.gallery-dashboard{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:34px;
    align-items:stretch;
    margin-bottom:28px;
}

.gallery-dashboard-copy{
    background:#fff;
    border-radius:8px;
    padding:40px 38px;
    box-shadow:0 16px 34px rgba(0,0,0,.07);
    border:1px solid rgba(0,0,0,.05);
}

.gallery-dashboard-copy h2{
    font-size:2.65rem;
    line-height:1.08;
    font-weight:900;
    color:#202020;
    margin-bottom:14px;
}

.gallery-dashboard-copy p{
    color:#555;
    line-height:1.82;
    font-size:1.02rem;
    max-width:800px;
}

.gallery-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:12px;
}

.gallery-stats div{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    min-height:178px;
    padding:24px 18px;
    border-radius:8px;
    color:#fff;
    background:
        linear-gradient(145deg, rgba(229,24,56,.95), rgba(164,14,31,.98)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
    box-shadow:0 16px 34px rgba(229,24,56,.18);
}

.gallery-stats div:nth-child(2){
    background:linear-gradient(145deg, #2a2a2a, #111);
}

.gallery-stats div:nth-child(3){
    background:linear-gradient(145deg, #E51838, #8f1022);
}

.gallery-stats div::after{
    content:"";
    position:absolute;
    right:-34px;
    top:-34px;
    width:92px;
    height:92px;
    border-radius:50%;
    border:18px solid rgba(255,255,255,.14);
}

.gallery-stats strong,
.gallery-stats span{
    position:relative;
    z-index:1;
}

.gallery-stats strong{
    font-size:2.7rem;
    line-height:1;
    font-weight:900;
    margin-bottom:9px;
}

.gallery-stats span{
    font-size:.86rem;
    line-height:1.35;
    font-weight:800;
    color:rgba(255,255,255,.86);
}

.gallery-toolbar{
    position:sticky;
    top:98px;
    z-index:20;
    display:flex;
    justify-content:center;
    gap:10px;
    margin:0 auto 30px;
    padding:10px;
    width:max-content;
    max-width:100%;
    border-radius:999px;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(0,0,0,.06);
    box-shadow:0 14px 28px rgba(0,0,0,.08);
    backdrop-filter:blur(10px);
}

.gallery-filter{
    border:none;
    min-height:42px;
    padding:0 18px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:transparent;
    color:#353535;
    font-family:var(--font-primary);
    font-size:.9rem;
    font-weight:900;
    cursor:pointer;
    transition:.22s ease;
}

.gallery-filter:hover,
.gallery-filter.is-active{
    background:var(--primary);
    color:#fff;
    box-shadow:0 10px 18px rgba(229,24,56,.18);
}

.gallery-mosaic{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    grid-auto-rows:132px;
    grid-auto-flow:dense;
    gap:12px;
}

.gallery-tile{
    position:relative;
    min-width:0;
    grid-row:span 2;
    border-radius:8px;
    overflow:hidden;
    background:#e9e9e9;
    box-shadow:0 10px 24px rgba(0,0,0,.07);
    transition:.25s ease;
}

.gallery-tile-hero{
    grid-column:span 2;
    grid-row:span 4;
}

.gallery-tile-wide{
    grid-column:span 2;
}

.gallery-tile-tall{
    grid-row:span 3;
}

.gallery-tile.is-hidden{
    display:none;
}

.gallery-open{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    border:none;
    padding:0;
    background:transparent;
    text-align:left;
    cursor:pointer;
    color:#fff;
    font-family:var(--font-primary);
}

.gallery-media,
.gallery-media img,
.gallery-placeholder{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}

.gallery-media img{
    object-fit:cover;
    transition:.42s ease;
}

.gallery-tile:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 34px rgba(0,0,0,.12);
}

.gallery-tile:hover .gallery-media img{
    transform:scale(1.05);
}

.gallery-open::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.20) 42%, rgba(0,0,0,.78) 100%);
    transition:.25s ease;
}

.gallery-tile:hover .gallery-open::after{
    background:
        linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.16) 32%, rgba(0,0,0,.84) 100%);
}

.gallery-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        linear-gradient(145deg, rgba(229,24,56,.94), rgba(151,16,32,.96)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.gallery-placeholder i{
    width:76px;
    height:76px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    font-size:1.8rem;
    color:#fff;
}

.gallery-type-badge{
    position:absolute;
    z-index:3;
    top:14px;
    left:14px;
    min-height:34px;
    padding:0 12px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:rgba(255,255,255,.92);
    color:#242424;
    font-size:.78rem;
    font-weight:900;
    box-shadow:0 8px 18px rgba(0,0,0,.14);
}

.gallery-type-badge.is-video{
    color:var(--primary);
}

.gallery-play{
    position:absolute;
    z-index:3;
    inset:50% auto auto 50%;
    transform:translate(-50%, -50%);
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.92);
    color:var(--primary);
    font-size:1.35rem;
    box-shadow:0 16px 28px rgba(0,0,0,.24);
}

.gallery-caption{
    position:absolute;
    z-index:3;
    left:0;
    right:0;
    bottom:0;
    display:flex;
    flex-direction:column;
    gap:7px;
    padding:22px;
}

.gallery-date{
    color:rgba(255,255,255,.80);
    font-size:.78rem;
    font-weight:800;
}

.gallery-caption strong{
    color:#fff;
    font-size:1.02rem;
    line-height:1.22;
    font-weight:900;
}

.gallery-tile-hero .gallery-caption strong{
    font-size:1.55rem;
}

.gallery-caption span:last-child{
    color:rgba(255,255,255,.86);
    font-size:.87rem;
    line-height:1.55;
    font-weight:600;
}

.gallery-filter-empty,
.gallery-empty-state{
    background:#fff;
    border-radius:8px;
    border:1px solid rgba(0,0,0,.05);
    box-shadow:0 16px 34px rgba(0,0,0,.07);
}

.gallery-filter-empty{
    margin-top:24px;
    padding:46px 28px;
    text-align:center;
}

.gallery-filter-empty i{
    font-size:2.1rem;
    color:var(--primary);
    margin-bottom:14px;
}

.gallery-filter-empty h3{
    font-size:1.35rem;
    font-weight:900;
    margin-bottom:8px;
}

.gallery-filter-empty p{
    color:#666;
    line-height:1.7;
}

.gallery-empty-state{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:34px;
    align-items:center;
    padding:38px;
}

.gallery-empty-state h3{
    font-size:2rem;
    line-height:1.12;
    font-weight:900;
    margin-bottom:12px;
}

.gallery-empty-state p{
    color:#555;
    line-height:1.8;
}

.gallery-empty-preview{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    grid-auto-rows:120px;
    gap:10px;
}

.gallery-empty-preview span{
    display:block;
    border-radius:8px;
    background:
        linear-gradient(145deg, rgba(229,24,56,.92), rgba(151,16,32,.96)),
        url('../img/hero/hero-bg.jpg') center/cover no-repeat;
}

.gallery-empty-preview span:nth-child(2){
    background:linear-gradient(145deg, #2a2a2a, #111);
}

.gallery-empty-preview span:nth-child(3){
    grid-column:span 2;
    background:linear-gradient(145deg, #E51838, #8f1022);
}

.gallery-lightbox{
    position:fixed;
    inset:0;
    z-index:3000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
}

.gallery-lightbox[hidden]{
    display:none;
}

.gallery-lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.86);
    backdrop-filter:blur(10px);
}

.gallery-lightbox-dialog{
    position:relative;
    z-index:2;
    width:min(1180px, 100%);
    max-height:90vh;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 340px;
    overflow:hidden;
    border-radius:8px;
    background:#111;
    box-shadow:0 28px 70px rgba(0,0,0,.46);
}

.gallery-lightbox-media{
    min-height:520px;
    background:#050505;
    display:flex;
    align-items:center;
    justify-content:center;
}

.gallery-lightbox-media img,
.gallery-lightbox-media iframe{
    width:100%;
    border:0;
    display:block;
}

.gallery-lightbox-media iframe{
    height:100%;
    min-height:520px;
    aspect-ratio:16 / 9;
}

.gallery-lightbox-media img{
    height:100%;
    max-height:90vh;
    object-fit:contain;
}

.gallery-lightbox-info{
    background:#fff;
    padding:34px 30px;
    overflow:auto;
}

.gallery-lightbox-info span{
    display:inline-flex;
    min-height:32px;
    align-items:center;
    padding:0 12px;
    border-radius:999px;
    background:#fff1f3;
    color:var(--primary);
    font-size:.78rem;
    font-weight:900;
    margin-bottom:18px;
}

.gallery-lightbox-info h2{
    font-size:1.7rem;
    line-height:1.15;
    font-weight:900;
    color:#202020;
    margin-bottom:14px;
}

.gallery-lightbox-info p{
    color:#555;
    line-height:1.82;
}

.gallery-lightbox-close{
    position:fixed;
    top:20px;
    right:20px;
    z-index:4;
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#202020;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 14px 28px rgba(0,0,0,.24);
}

.hero-person{
    z-index:3;
}

/* =========================
   GESTION BALANCE BOARD
========================= */
.gestion-balance-board{
    position:relative;
    overflow:hidden;
    border-radius:8px;
    background:
        linear-gradient(90deg, #e6e6e6 0%, #e6e6e6 50%, #E51838 50%, #E51838 100%);
    box-shadow:0 22px 48px rgba(0,0,0,.12);
    border:1px solid rgba(0,0,0,.06);
}

.gestion-balance-head{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:150px;
}

.balance-head-panel{
    display:flex;
    align-items:center;
    gap:18px;
    padding:34px 38px;
}

.balance-head-panel span{
    display:block;
    color:#1d1d1d;
    font-size:.78rem;
    line-height:1.2;
    font-weight:800;
}

.balance-head-panel h2{
    margin:2px 0;
    font-size:2rem;
    line-height:.95;
    font-weight:900;
    color:var(--primary);
}

.balance-head-panel p{
    color:#222;
    font-size:.82rem;
    font-weight:800;
}

.balance-head-icon{
    width:58px;
    height:58px;
    min-width:58px;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#1d1d1d;
    color:#fff;
    font-size:1.7rem;
    box-shadow:0 12px 22px rgba(0,0,0,.14);
}

.balance-head-obras .balance-head-icon{
    background:#fff;
    color:var(--primary);
}

.balance-head-obras span,
.balance-head-obras p,
.balance-head-obras h2{
    color:#fff;
}

.balance-head-obras h2{
    font-family:var(--font-brand-script);
    font-size:3.3rem;
    font-weight:400;
    line-height:.85;
}

.gestion-balance-row{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 112px minmax(0, 1fr);
    border-top:1px solid rgba(255,255,255,.55);
}

.gestion-balance-row::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:1px;
    background:rgba(20,20,20,.12);
}

.gestion-ledger-column{
    padding:24px;
}

.gestion-ledger-right{
    color:#fff;
}

.gestion-year-marker{
    position:relative;
    z-index:2;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding-top:18px;
}

.gestion-year-marker span{
    display:inline-flex;
    min-width:104px;
    justify-content:center;
    color:#171717;
    background:
        linear-gradient(90deg, #e6e6e6 0%, #e6e6e6 50%, #E51838 50%, #E51838 100%);
    font-size:2.75rem;
    line-height:1;
    font-weight:900;
    letter-spacing:0;
}

.gestion-ledger-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.gestion-ledger-item{
    position:relative;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:14px;
    padding:16px;
    border:1px solid rgba(0,0,0,.10);
    background:rgba(255,255,255,.74);
    box-shadow:0 12px 24px rgba(0,0,0,.05);
}

.gestion-ledger-right .gestion-ledger-item{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.72);
    box-shadow:none;
}

.gestion-ledger-item::before{
    content:"";
    position:absolute;
    left:0;
    top:16px;
    bottom:16px;
    width:4px;
    background:var(--primary);
}

.gestion-ledger-right .gestion-ledger-item::before{
    background:#fff;
}

.gestion-ledger-image{
    width:86px;
    height:86px;
    overflow:hidden;
    border-radius:6px;
    align-self:start;
    background:#fff;
}

.gestion-ledger-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.gestion-ledger-content{
    min-width:0;
}

.gestion-ledger-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:8px;
}

.gestion-ledger-meta > span:last-child{
    color:#777;
    font-size:.76rem;
    font-weight:900;
}

.gestion-ledger-right .gestion-ledger-meta > span:last-child{
    color:rgba(255,255,255,.78);
}

.gestion-ledger-item h4{
    color:#151515;
    font-size:1rem;
    line-height:1.35;
    font-weight:900;
    margin-bottom:7px;
}

.gestion-ledger-item p{
    color:#444;
    font-size:.92rem;
    line-height:1.62;
}

.gestion-ledger-right .gestion-ledger-item h4,
.gestion-ledger-right .gestion-ledger-item p{
    color:#fff;
}

.gestion-ledger-right .gestion-card-detail{
    border-top-color:rgba(255,255,255,.26);
}

.gestion-ledger-right .gestion-read-more{
    background:#fff;
    color:var(--primary);
}

.gestion-ledger-right .gestion-read-more:hover{
    background:#111;
    color:#fff;
}

.gestion-ledger-item.is-expanded .gestion-summary{
    display:none;
}

.gestion-empty-column{
    min-height:132px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:22px;
    border:1px dashed rgba(0,0,0,.22);
    color:#555;
    font-weight:800;
    text-align:center;
}

.gestion-ledger-right .gestion-empty-column{
    border-color:rgba(255,255,255,.55);
    color:#fff;
}

/* =========================
   MULTIMEDIA PREVIEW
========================= */
.gallery-more-panel{
    margin-top:26px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:28px;
    border-radius:8px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,242,245,.96)),
        radial-gradient(circle at 88% 18%, rgba(229,24,56,.12), transparent 34%);
    border:1px solid rgba(229,24,56,.14);
    box-shadow:0 16px 34px rgba(0,0,0,.07);
}

.gallery-more-panel h3{
    font-size:1.45rem;
    line-height:1.2;
    font-weight:900;
    color:#171717;
    margin:5px 0 8px;
}

.gallery-more-panel p{
    color:#555;
    line-height:1.65;
}

.gallery-more-button{
    white-space:nowrap;
}

/* =========================
   ANDESCO RECOGNITION IMAGE
========================= */
.recognition-card-award{
    grid-template-columns:80px minmax(0, 1fr) minmax(240px, .7fr);
    align-items:center;
}

.recognition-copy{
    min-width:0;
}

.recognition-award{
    justify-self:end;
    width:min(360px, 100%);
    padding:14px;
    border-radius:8px;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    box-shadow:0 16px 30px rgba(0,0,0,.08);
}

.recognition-award img{
    width:100%;
    height:auto;
    object-fit:contain;
}

/* =========================
   NAV TOGGLE
========================= */
.nav-toggle{
    display:none;
    width:46px;
    height:46px;
    border:none;
    border-radius:12px;
    background:linear-gradient(180deg,#E51838 0%, #b5122c 100%);
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    box-shadow:0 10px 22px rgba(229,24,56,.18);
}

.nav-toggle span{
    display:block;
    width:20px;
    height:2px;
    background:#fff;
    border-radius:999px;
    transition:.25s ease;
}

.nav-toggle.is-open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2){
    opacity:0;
}

.nav-toggle.is-open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

.hero-stage{
    position:relative;
    z-index:3;
}

.hero-composite{
    z-index:2;
}

.hero-person{
    z-index:3;
}

