:root{--b900:#06142a;--b800:#08233d;--b700:#0b3552;--b600:#0b4d78;--g:#d4af37;--gs:#f3d97a;--t:#172033;--m:#64748b;--soft:#f5f7fb;--shadow:0 24px 70px rgba(8,35,61,.16)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--t);background:#fff}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}.wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(8,35,61,.1);backdrop-filter:blur(16px)}.header__inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{height:54px;width:auto}.nav{display:flex;align-items:center;gap:22px;font-size:13px;font-weight:800;color:#243247}.nav a:hover{color:var(--b600)}.login{background:var(--b800);color:#fff!important;padding:11px 16px;border-radius:999px;box-shadow:0 12px 28px rgba(8,35,61,.18)}.menuBtn{display:none;border:0;background:var(--b800);width:42px;height:42px;border-radius:14px;align-items:center;justify-content:center;flex-direction:column;gap:5px}.menuBtn span{width:18px;height:2px;background:#fff;border-radius:99px}.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 20%,rgba(212,175,55,.22),transparent 28%),linear-gradient(135deg,#f7f9fd,#eef3f9 46%,#dfeaf5);min-height:720px;display:flex;align-items:center}.hero__bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.78),rgba(255,255,255,.2)),url("../img/clip-diseno-referencia.jpeg") center right/cover no-repeat;opacity:.52}.hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:1.08fr .62fr;gap:52px;align-items:center;padding:84px 0}.kicker{color:var(--g);text-transform:uppercase;letter-spacing:.22em;font-weight:900;font-size:11px}.hero h1{margin:14px 0 18px;font-size:clamp(42px,6vw,82px);line-height:.92;letter-spacing:-.055em;color:var(--b900)}.lead{font-size:clamp(18px,2vw,23px);line-height:1.5;max-width:790px;font-weight:700;color:#21354f}.hero p,.section p,.heading p{color:var(--m);line-height:1.75}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;font-size:13px;font-weight:900;border:1px solid transparent}.primary{background:var(--b800);color:#fff;box-shadow:var(--shadow)}.outline{background:#fff;border-color:rgba(8,35,61,.18);color:var(--b800)}.gold{background:var(--g);color:var(--b900)}.heroCard{background:rgba(255,255,255,.86);border:1px solid rgba(8,35,61,.12);border-radius:28px;box-shadow:var(--shadow);padding:24px;backdrop-filter:blur(16px)}.heroCard img{border-radius:22px;width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff}.heroCard span{display:block;margin-top:18px;color:var(--g);font-weight:900;font-size:12px;letter-spacing:.18em}.heroCard strong{display:block;color:var(--b900);font-size:22px;line-height:1.05}.metrics{margin-top:-58px;position:relative;z-index:3}.metrics__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.metrics article{background:var(--b800);color:#fff;border-radius:24px;padding:22px 18px;box-shadow:0 18px 50px rgba(8,35,61,.22);min-height:132px}.metrics b{display:block;color:var(--gs);font-size:clamp(24px,2vw,34px);line-height:1;margin-bottom:10px}.metrics span{font-size:13px;color:#d7e8f6;line-height:1.4}.section{padding:92px 0}.soft{background:var(--soft)}.split__grid{display:grid;grid-template-columns:1fr .75fr;gap:42px;align-items:start}.section h2,.heading h2{color:var(--b900);font-size:clamp(32px,4vw,52px);line-height:1;letter-spacing:-.04em;margin:12px 0 18px}.panel,.cards article,.three article,.stages article,.mission article{border:1px solid rgba(8,35,61,.1);border-radius:28px;background:#fff;box-shadow:0 18px 60px rgba(8,35,61,.08)}.panel{padding:28px}.panel h3,.cards h3,.three h3,.stages h3{color:var(--b900)}.panel ul{margin:0;padding-left:18px;color:var(--m);line-height:1.9}.heading{max-width:760px;margin-bottom:36px}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.cards article,.three article,.stages article,.mission article{padding:26px}.cards span,.stages span{display:inline-flex;width:38px;height:38px;border-radius:999px;align-items:center;justify-content:center;background:var(--b800);color:var(--gs);font-size:12px;font-weight:900}.cards p,.three p,.stages p{font-size:14px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.dark{background:var(--b900);color:#fff}.dark h2,.dark p{color:#fff}.dark .heading p{color:#bdd7ea}.historyIntro{display:grid;grid-template-columns:.8fr 1fr;gap:34px;align-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:28px;padding:24px}.historyIntro img{border-radius:22px;width:100%;aspect-ratio:16/10;object-fit:cover}.historyIntro h3{font-size:30px;margin:0 0 10px}.historyIntro p{color:#d7e8f6}.historyIntro a{color:var(--gs);font-weight:900}.timeline{position:relative;display:grid;gap:24px}.timeline:before{content:"";position:absolute;left:22px;top:8px;bottom:8px;width:2px;background:linear-gradient(var(--g),rgba(212,175,55,.08))}.tl{display:grid;grid-template-columns:70px 240px 1fr;gap:22px;align-items:center}.dot{width:46px;height:46px;border-radius:50%;background:var(--g);border:8px solid #fff;box-shadow:0 0 0 1px rgba(8,35,61,.1);z-index:2}.tlImg{border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.tlImg img{width:100%;aspect-ratio:16/11;object-fit:cover}.tlText{background:#fff;border:1px solid rgba(8,35,61,.1);border-radius:22px;padding:22px;box-shadow:0 18px 50px rgba(8,35,61,.08)}.tlText h3{margin:0 0 8px;color:var(--b900);font-size:28px}.stages{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.mission{background:linear-gradient(135deg,#fff,#f3f7fb)}.mission__grid{display:grid;grid-template-columns:.85fr 1.3fr .85fr;gap:18px}.president{display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:center}.president img{width:180px;height:220px;object-fit:cover;border-radius:24px}.president b{display:block;color:var(--b900);margin-top:16px}.president small{color:var(--m)}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gItem{border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(8,35,61,.1);background:#e8eef5}.gItem img{width:100%;aspect-ratio:1/.86;object-fit:cover;transition:.3s}.gItem:hover img{transform:scale(1.04)}.quote{background:radial-gradient(circle at 20% 30%,rgba(212,175,55,.14),transparent 28%),linear-gradient(135deg,var(--b900),#020a16);color:#fff;padding:96px 0;text-align:center}.quote blockquote{font-size:clamp(30px,4vw,58px);line-height:1.05;letter-spacing:-.045em;max-width:980px;margin:0 auto 18px;font-weight:900}.quote p{color:#bdd7ea}.footer{background:#020a16;color:#fff;padding:54px 0 0}.footer__grid{display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:34px}.footer img{height:64px;width:auto;background:#fff;padding:8px;border-radius:16px;margin-bottom:16px}.footer h3{color:var(--gs);margin-top:0}.footer a,.footer span{display:block;color:#d7e8f6;margin:9px 0}.footerLogin{display:inline-flex!important;background:var(--g);color:var(--b900)!important;font-weight:900;padding:12px 18px;border-radius:999px}.copyright{margin-top:44px;border-top:1px solid rgba(255,255,255,.1);padding:18px;text-align:center;color:#8fb9da;font-size:12px}.wa{position:fixed;right:18px;bottom:18px;z-index:99;background:#25d366;color:#fff;font-weight:900;font-size:13px;padding:13px 18px;border-radius:999px;box-shadow:0 18px 42px rgba(0,0,0,.2)}.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}.reveal.ok{opacity:1;transform:translateY(0)}@media(max-width:1100px){.metrics__grid,.cards{grid-template-columns:repeat(2,1fr)}.hero__grid,.split__grid,.historyIntro,.mission__grid,.footer__grid{grid-template-columns:1fr}.hero{min-height:auto}.three,.stages{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.menuBtn{display:flex}.nav{position:fixed;top:78px;left:16px;right:16px;display:none;flex-direction:column;align-items:stretch;background:#fff;border:1px solid rgba(8,35,61,.12);border-radius:24px;padding:18px;box-shadow:var(--shadow)}.nav.open{display:flex}.nav a{padding:10px 12px}.hero__grid{padding:54px 0 80px}.hero h1{font-size:44px}.metrics{margin-top:-40px}.metrics__grid,.cards,.gallery{grid-template-columns:1fr}.timeline:before{left:16px}.tl{grid-template-columns:40px 1fr;gap:16px}.tlImg,.tlText{grid-column:2}.dot{width:34px;height:34px;border-width:6px}.president{grid-template-columns:1fr!important}.president img{width:100%;height:auto;max-height:360px}.section{padding:66px 0}}

/* ---- CLIP Landing v2 visual polish ---- */
.header{background:rgba(238,242,246,.94);border-bottom:1px solid rgba(8,35,61,.12)}
.header__inner{min-height:82px}
.brand{background:rgba(255,255,255,.55);border:1px solid rgba(8,35,61,.08);border-radius:18px;padding:7px 10px;box-shadow:0 10px 24px rgba(8,35,61,.06)}
.brand img{height:48px}
.hero{background:#edf3f8;min-height:760px}
.hero__bg{background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.84) 40%,rgba(255,255,255,.42) 64%,rgba(255,255,255,.08) 100%),linear-gradient(180deg,rgba(6,20,42,.08),rgba(6,20,42,.12)),url("../img/hero-comarca-lagunera.jpeg") center center/cover no-repeat;opacity:1}
.hero__copy{background:rgba(255,255,255,.52);border:1px solid rgba(255,255,255,.65);box-shadow:0 24px 70px rgba(8,35,61,.08);border-radius:32px;padding:clamp(22px,4vw,42px);backdrop-filter:blur(6px)}
.hero h1{color:#06142a;text-shadow:0 2px 0 rgba(255,255,255,.38)}
.hero p{color:#314a66}
.heroCard{background:rgba(255,255,255,.88)}
.history{background:radial-gradient(circle at 15% 10%,rgba(212,175,55,.10),transparent 28%),linear-gradient(135deg,#06142a,#020a16)}
.contact-section{background:linear-gradient(135deg,#f7f9fd 0%,#edf3f8 100%);border-top:1px solid rgba(8,35,61,.08)}
.contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:stretch}
.contact-copy{background:#fff;border:1px solid rgba(8,35,61,.10);border-radius:32px;padding:clamp(24px,4vw,44px);box-shadow:0 20px 60px rgba(8,35,61,.08)}
.contact-copy h2{color:#06142a;font-size:clamp(32px,4vw,54px);line-height:1;letter-spacing:-.045em;margin:12px 0 18px}
.contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.contact-panel{display:grid;gap:14px}
.contact-panel article{background:#06142a;color:#fff;border-radius:24px;padding:22px;border:1px solid rgba(212,175,55,.16);box-shadow:0 20px 55px rgba(8,35,61,.12)}
.contact-panel span{display:block;color:#f3d97a;font-size:11px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:8px}
.contact-panel a{color:#d7e8f6;font-weight:800;overflow-wrap:anywhere}
.footer .footer__grid{border-top:1px solid rgba(255,255,255,.06);padding-top:10px}
.footer a:hover,.contact-panel a:hover{color:#f3d97a}
@media(max-width:1100px){.contact-grid{grid-template-columns:1fr}}
@media(max-width:820px){.hero__copy{padding:22px}.hero__bg{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.72)),url("../img/hero-comarca-lagunera.jpeg") center center/cover no-repeat}.brand img{height:42px}}


/* ---- CLIP Landing v3: collage histórico con mapa regional ---- */
.historyIntro{
    grid-template-columns:.95fr 1.05fr;
}
.historyVisual{
    position:relative;
    min-height:360px;
    border-radius:26px;
    overflow:hidden;
    background:
        radial-gradient(circle at center, rgba(212,175,55,.12), transparent 52%),
        linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    border:1px solid rgba(255,255,255,.08);
}
.historyMapWrap{
    position:absolute;
    inset:58px 84px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:26px;
    background:rgba(255,255,255,.96);
    box-shadow:0 24px 60px rgba(0,0,0,.22);
    z-index:2;
}
.historyMap{
    width:min(100%, 250px);
    max-height:100%;
    object-fit:contain;
    filter:drop-shadow(0 10px 26px rgba(8,35,61,.10));
}
.historyThumb{
    position:absolute;
    width:112px;
    height:112px;
    object-fit:cover;
    border-radius:22px;
    border:3px solid rgba(255,255,255,.22);
    box-shadow:0 18px 42px rgba(0,0,0,.24);
    z-index:1;
    opacity:.96;
}
.historyThumb.top-left{top:18px;left:18px;}
.historyThumb.top-right{top:18px;right:18px;}
.historyThumb.bottom-left{bottom:18px;left:18px;}
.historyThumb.bottom-right{bottom:18px;right:18px;}

@media (max-width:1100px){
    .historyIntro{
        grid-template-columns:1fr;
    }
    .historyVisual{
        min-height:330px;
    }
}
@media (max-width:820px){
    .historyVisual{
        min-height:300px;
    }
    .historyMapWrap{
        inset:58px 46px;
    }
    .historyThumb{
        width:86px;
        height:86px;
        border-radius:18px;
    }
}


/* ---- CLIP Landing v4: distribución, imágenes por sección y contacto limpio ---- */
.metrics__grid{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.metrics article{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:154px;padding:24px 18px}
.metrics b{width:100%}.metrics span{max-width:180px}
.cards article{display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:24px 24px 0}
.objective-img{width:calc(100% + 48px);margin:18px -24px 0;aspect-ratio:1/1.05;object-fit:cover;border-top:1px solid rgba(8,35,61,.08)}
.cards article:nth-child(5) .objective-img{object-fit:contain;background:#f8fafc;padding:12px}
.three{align-items:stretch}.three article{overflow:hidden;padding:0}
.structure-img{width:100%;aspect-ratio:1.38/1;object-fit:cover;background:#f8fafc;border-bottom:1px solid rgba(8,35,61,.08)}
.three article h3,.three article p{padding-left:24px;padding-right:24px}.three article h3{margin-top:22px}.three article p{padding-bottom:24px}
.stages{align-items:stretch}.stages article{position:relative;overflow:hidden;padding:0 0 26px}
.stage-img{width:100%;aspect-ratio:.72/1;object-fit:cover;object-position:top center;border-bottom:1px solid rgba(8,35,61,.08)}
.stages article span{margin:22px 24px 0}.stages article h3,.stages article p{padding-left:24px;padding-right:24px}
.contact-panel{grid-template-columns:1fr}.contact-panel article{min-height:96px}
.site-footer .footer__grid{grid-template-columns:1.2fr 1fr}.site-footer .footer__grid>div:last-child{display:none}
@media(max-width:1100px){.metrics__grid{grid-template-columns:repeat(5,minmax(190px,1fr));overflow-x:auto;padding-bottom:10px}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.metrics__grid{grid-template-columns:1fr;overflow:visible}.cards{grid-template-columns:1fr}.site-footer .footer__grid{grid-template-columns:1fr}}

/* v4 final footer institucional sin acceso privado */
.site-footer .footer__grid{grid-template-columns:1.2fr 1fr!important;}


/* ---- CLIP Landing v5 final polish ---- */
body{font-size:16px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
.header{box-shadow:0 8px 28px rgba(8,35,61,.06)}
.nav a[aria-current="true"]{color:var(--b600);font-weight:900}
.login{white-space:nowrap}
.hero__copy{max-width:820px}
.heroCard,.metrics article,.cards article,.three article,.stages article{transition:transform .25s ease,box-shadow .25s ease}
.heroCard:hover,.metrics article:hover,.cards article:hover,.three article:hover,.stages article:hover{transform:translateY(-3px)}
.heroCard:hover{box-shadow:0 30px 78px rgba(8,35,61,.20)}
.metrics article:hover{box-shadow:0 24px 58px rgba(8,35,61,.30)}
.cards article:hover,.three article:hover,.stages article:hover{box-shadow:0 26px 70px rgba(8,35,61,.12)}
.objective-img,.structure-img,.stage-img{transition:transform .35s ease}
.cards article:hover .objective-img,.three article:hover .structure-img,.stages article:hover .stage-img{transform:scale(1.025)}
.cards article,.three article,.stages article{height:100%}
.cards p,.three p,.stages p{line-height:1.65}
.historyVisual{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.historyThumb{transition:transform .3s ease,opacity .3s ease}
.historyVisual:hover .historyThumb{opacity:1}
.historyThumb:hover{transform:scale(1.04)}
.gallery{grid-auto-flow:dense}
.gItem:nth-child(1),.gItem:nth-child(7){grid-column:span 2;grid-row:span 2}
.gItem:nth-child(1) img,.gItem:nth-child(7) img{aspect-ratio:1.6/1}
.contact-section{position:relative;overflow:hidden}
.contact-section:before{content:"";position:absolute;inset:auto -10% -35% auto;width:420px;height:420px;border-radius:50%;background:rgba(212,175,55,.10);pointer-events:none}
.contact-grid{position:relative;z-index:1}
.footer img{object-fit:contain}
.wa{transition:transform .2s ease,box-shadow .2s ease}.wa:hover{transform:translateY(-2px);box-shadow:0 22px 50px rgba(0,0,0,.24)}
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;z-index:9999;background:#06142a;color:#fff;border-radius:10px;padding:10px 14px}
@media(max-width:1100px){.gItem:nth-child(1),.gItem:nth-child(7){grid-column:span 1;grid-row:span 1}.gItem:nth-child(1) img,.gItem:nth-child(7) img{aspect-ratio:1/.86}}
@media(max-width:820px){.header__inner{min-height:74px}.nav{top:74px}.hero__grid{padding-top:40px}.heroCard{padding:18px}.historyMapWrap{inset:66px 42px}.contact-actions .btn{width:100%}}


/* ---- CLIP Landing v5.1: WhatsApp actualizado y objetivos centrados ---- */
.cards article{
    align-items:center!important;
    text-align:center;
}
.cards article span{
    margin-left:auto;
    margin-right:auto;
}
.cards article h3,
.cards article p{
    text-align:center;
}
.objective-img{
    align-self:center;
    object-position:center center;
}
.cards article:nth-child(5) .objective-img{
    object-position:center center;
}
