:root{
  --navy:#0D2B66;--navy-dark:#0A2152;--blue:#1D4FA8;--blue-light:#3B78D8;
  --yellow:#FFCC00;--yellow-soft:#FFF2B3;--ink:#16203A;--muted:#4A5570;
  --soft:#F2F5FA;--line:#DCE2EC;--ph:#6A7590;
  --display:"Montserrat","Segoe UI",sans-serif;
  --body:"Source Sans 3","Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);background:#fff;font-size:17px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue)}a:hover{color:var(--navy)}
h1,h2,h3{font-family:var(--display);color:var(--navy);margin:0;line-height:1.2}
p{margin:0}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.wrap{max-width:1200px;margin:0 auto;padding:0 40px}
.muted{color:var(--muted)}
.ico{width:32px;height:32px;fill:none;stroke:var(--blue);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

/* Barra superior y cabecera */
.topbar{background:var(--navy);color:#fff;font-size:14px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
.lang-switch{display:flex;align-items:center;gap:6px}
.lang-switch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75}
.lang-switch a{color:#fff;text-decoration:none;opacity:.75}
.lang-switch a[aria-current]{opacity:1;font-weight:600}
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:14px;padding-bottom:14px}
.brand img{height:72px;width:auto}
.nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-family:var(--display);font-size:14px;font-weight:600}
.nav a{color:#3A4666;text-decoration:none;padding:10px 0 7px;border-bottom:3px solid transparent}
.nav a:hover{color:var(--blue)}
.nav a[aria-current="page"]{color:var(--navy);border-bottom-color:var(--yellow)}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:4px;width:44px;height:44px;align-items:center;justify-content:center;color:var(--navy)}
.menu-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

/* Botones */
.btn{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:4px;padding:14px 26px;font-family:var(--display);font-weight:700;font-size:15px;text-decoration:none;transition:background .15s}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-yellow{background:var(--yellow);color:var(--navy)}.btn-yellow:hover{background:#FFD83D;color:var(--navy)}
.btn-outline{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6);padding:13px 25px;font-weight:600}.btn-outline:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-white{background:#fff;color:var(--navy)}.btn-white:hover{background:#E8EEF8;color:var(--navy)}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{background:var(--navy-dark);color:#fff}
.link{font-weight:600;text-underline-offset:4px}

/* Páginas */
section.block{padding:88px 0}
.section-title{font-size:34px;font-weight:700;margin-bottom:12px}
.section-lead{font-size:18px;color:var(--muted);max-width:40em;margin-bottom:48px}
.grid{display:grid;gap:32px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.grid-2{display:grid;gap:56px;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));align-items:start}

.page-head{background:var(--soft);border-bottom:4px solid var(--yellow);padding:64px 0 56px}
.page-head.dark{background:var(--navy);color:#fff}
.page-head.dark h1{color:#fff}
.page-head h1{font-size:44px;font-weight:800;margin-bottom:16px}
.page-head p{font-size:20px;color:var(--muted);max-width:38em}
.page-head.dark p{color:#DCE6F7}

/* Portada */
.hero{background:var(--navy);color:#fff;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:48px;align-items:end;padding-top:88px}
.hero-text{padding-bottom:96px;display:flex;flex-direction:column;gap:28px}
.hero h1{color:#fff;font-size:56px;font-weight:800;line-height:1.05;letter-spacing:-.02em}
.hero p{font-size:20px;color:#DCE6F7;max-width:34em}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-art{width:100%;height:auto}

.pillar{display:flex;flex-direction:column;gap:14px;border-top:3px solid var(--yellow);padding-top:24px}
.pillar h3{font-size:20px}
.pillar p{color:var(--muted)}

.band{background:var(--soft)}
.quote-card{margin:0;background:var(--navy);color:#fff;padding:40px;border-radius:6px;display:flex;flex-direction:column;gap:18px}
.quote-card blockquote{margin:0;font-family:var(--display);font-weight:600;font-size:22px;line-height:1.45}
.quote-card figcaption{font-size:15px;color:#C9D6EE}
.quote-card .ico{stroke:var(--yellow);width:36px;height:36px}

.row-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:36px}
.news-card{display:flex;flex-direction:column;gap:10px}
.news-card h3{font-size:18px;color:var(--ink);line-height:1.35}
.news-meta{display:flex;gap:10px;font-size:14px;color:var(--muted)}
.news-meta strong{color:var(--blue);font-weight:600}
.ph-img{aspect-ratio:16/10;background:#E4EAF4;border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--ph);font-size:14px}
.partners-strip{border-top:1px solid var(--line);padding:56px 0}
.partners-strip h2{font-size:20px;margin-bottom:28px}
.logo-ph{height:88px;border:1px dashed #B8C3D6;border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--ph);font-size:14px}

/* About */
.list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:14px;font-size:18px}
.glance{background:var(--navy);color:#fff;border-radius:6px;padding:36px;display:flex;flex-direction:column;gap:22px}
.glance h2{color:#fff;font-size:20px}
.glance dl{margin:0;display:grid;grid-template-columns:140px 1fr;gap:14px 20px;font-size:16px;line-height:1.5}
.glance dt{color:#C9D6EE}.glance dd{margin:0}

/* Tarjetas */
.card{border:1px solid var(--line);border-radius:6px;padding:32px;display:flex;flex-direction:column;gap:14px}
.card h2,.card h3{font-size:22px}
.card p{color:var(--muted)}
.card.soft{background:var(--soft);border:0;padding:28px}
.card.soft h3{font-size:18px}
.voice{margin:0;background:#fff;border-radius:6px;padding:32px;display:flex;flex-direction:column;gap:16px;border-top:4px solid var(--blue)}
.voice.alt{border-top-color:var(--yellow)}
.voice blockquote{margin:0;font-size:19px}
.voice figcaption{font-size:15px;color:var(--muted)}
.tag{align-self:flex-start;font-size:13px;font-weight:600;color:var(--navy);background:var(--yellow-soft);padding:4px 10px;border-radius:3px}
.partner-logo{height:72px;background:var(--soft);border-radius:4px;display:flex;align-items:center;justify-content:center;color:var(--ph);font-size:14px}

/* Actividades */
.activity{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:40px;padding:40px 0;border-bottom:1px solid var(--line)}
.activity:last-child{border-bottom:0}
.activity-title{display:flex;gap:16px;align-items:flex-start}
.activity-title .ico{width:36px;height:36px}
.activity h2{font-size:26px}
.activity-body{display:flex;flex-direction:column;gap:12px}
.activity-body p{font-size:18px;color:var(--muted)}
.activity-body .detail{font-size:16px;color:var(--ink)}

.cta-band{background:var(--navy);color:#fff;border-radius:6px;padding:36px 40px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.cta-band h2{color:#fff;font-size:22px;margin-bottom:6px}
.cta-band p{color:#DCE6F7;max-width:40em}

/* Guía digital */
.guide-panel{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:28px;display:flex;flex-direction:column;gap:16px}
.guide-panel .label{font-family:var(--display);font-weight:600}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5);padding:9px 17px;border-radius:4px;font-weight:600;font-size:15px}
.chip:hover{background:rgba(255,255,255,.12)}
.chip[aria-pressed="true"]{background:var(--yellow);color:var(--navy);border-color:var(--yellow)}
.chapters{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:0 48px}
.chapters li{display:flex;gap:20px;align-items:baseline;padding:20px 0;border-bottom:1px solid var(--line)}
.chapters .n{font-family:var(--display);font-weight:800;font-size:20px;color:var(--blue);min-width:28px}
.chapters strong{display:block;font-family:var(--display);font-size:18px}
.chapters span{color:var(--muted);font-size:16px}

/* Contacto */
.form{display:flex;flex-direction:column;gap:18px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:15px}
.field input,.field textarea{font:inherit;padding:12px 14px;border:1px solid #B8C3D6;border-radius:4px;font-size:16px}
.field textarea{resize:vertical}
.check{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--muted)}
.check input{width:18px;height:18px;margin-top:3px}
.form-msg{font-size:15px;color:var(--navy);font-weight:600;min-height:1.5em}
.contact-item{display:flex;gap:16px;align-items:flex-start}
.contact-item .ico{width:26px;height:26px}
.contact-item strong{display:block;font-family:var(--display);color:var(--navy)}

/* Pie */
.footer-eu{border-top:1px solid var(--line);padding:40px 0}
.footer-eu .wrap{display:flex;gap:40px;align-items:center;flex-wrap:wrap}
.footer-eu img{height:64px;width:auto}
.footer-eu p{flex:1 1 420px;font-size:13px;color:var(--muted)}
.footer-bar{background:var(--navy);color:#C9D6EE;font-size:14px;padding:20px 0}
.footer-bar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-bar nav{display:flex;gap:24px}
.footer-bar a{color:#fff}

@media (max-width:1080px){
  .menu-btn{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;gap:0;padding:8px 24px 16px}
  .nav.is-open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line);border-left:0}
  .nav a[aria-current="page"]{border-bottom-color:var(--line);box-shadow:inset 4px 0 0 var(--yellow);padding-left:12px}
  .header{position:sticky}
  .header .wrap{position:relative}
}
@media (max-width:720px){
  .wrap{padding:0 20px}
  .brand img{height:56px}
  .hero .wrap{padding-top:56px;grid-template-columns:1fr}
  .hero-text{padding-bottom:24px}
  .hero h1{font-size:38px}
  .hero p,.page-head p{font-size:18px}
  .page-head h1{font-size:34px}
  .section-title{font-size:28px}
  section.block{padding:64px 0}
  .grid-2,.activity{grid-template-columns:1fr}
  .glance dl{grid-template-columns:1fr;gap:4px}
  .glance dd{margin-bottom:10px}
  .topbar .wrap>span{display:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
