/* Base visual y tipográfica. */
:root { --navy: #102c65; --blue: #1854a8; --sky: #86c5ea; --ink: #132b51; --paper: #f4f6f5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: 'DM Sans', sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1320px, calc(100% - 10%)); margin: 0 auto; }
.section { padding: 120px 0; scroll-margin-top: 76px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; }
h2 { margin-bottom: 0; font-size: clamp(3.5rem, 6.5vw, 6.4rem); line-height: .92; letter-spacing: -.025em; font-weight: 800; }
h2 em, h1 em { color: var(--blue); font-style: normal; }
p { line-height: 1.75; }
/* Cabecera fija y navegación adaptable. */
.header { height: 80px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; background: white; position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); font: 800 2rem/.8 'Barlow Condensed', sans-serif; letter-spacing: -.04em; }
.brand-dot, .footer-brand span { color: #52ade1; }
.brand small { max-width: 90px; padding-left: 13px; border-left: 1px solid #c5d0db; font: 700 .54rem/1.25 'DM Sans', sans-serif; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 34px; font-size: .79rem; font-weight: 700; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 15px 20px; color: white; background: var(--navy); }
.nav-cta:hover { color: white; background: var(--blue); }
.nav-cta span { margin-left: 12px; }
.menu-toggle { display: none; }
/* Portada fotográfica. */
.hero { min-height: 690px; height: min(800px, calc(100svh - 80px)); position: relative; display: flex; align-items: center; color: white; background: var(--navy); overflow: hidden; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url('assets/hero-balon-easo.webp') center / cover no-repeat; }
.hero-shade { background: linear-gradient(90deg, rgba(7,30,72,.96) 0%, rgba(9,37,83,.87) 43%, rgba(10,40,85,.28) 100%), linear-gradient(0deg, rgba(8,27,62,.5), transparent 45%); }
.hero-content { position: relative; padding-bottom: 26px; }
.eyebrow, .kicker, .section-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 24px; height: 2px; background: #72c5f2; }
.light { color: #b3dffc; }
h1 { margin: 28px 0 22px; font-size: clamp(5.3rem, 10vw, 10rem); line-height: .78; letter-spacing: -.035em; font-weight: 800; }
h1 em { color: #99d3f6; }
.hero-copy { max-width: 410px; font-size: 1.1rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 30px; align-items: center; margin-top: 35px; }
.button { display: inline-flex; align-items: center; gap: 42px; padding: 17px 20px; font-size: .8rem; font-weight: 700; }
.button-white { background: white; color: var(--navy); }
.button-white:hover { background: #b3dffc; }
.text-link { font-size: .8rem; font-weight: 700; }
.text-link span { margin-left: 12px; }
.hero-bottom { position: absolute; bottom: 28px; left: 5%; display: flex; justify-content: space-between; font-size: .62rem; font-weight: 700; letter-spacing: .13em; opacity: .8; }
/* Secciones editoriales y propuestas. */
.section-label { display: flex; align-items: center; gap: 24px; color: #547090; margin-bottom: 60px; }
.section-label .line { height: 1px; flex: 1; background: #d2dbe2; }
.future-grid { display: grid; grid-template-columns: 1.15fr .7fr; gap: 10%; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}
.intro-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}
.intro-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(3.4rem, 5vw, 5.4rem);
}
.intro-copy p, .future-copy p { color: #52647b; }
.lead { font-size: 1.3rem; font-weight: 600; line-height: 1.5; color: var(--ink) !important; }
.ticker { padding: 22px 0; overflow: hidden; white-space: nowrap; background: var(--blue); color: white; font: 700 1.5rem 'Barlow Condensed', sans-serif; letter-spacing: .06em; }
.ticker span { display: block; transform: translateX(-2%); }
.ticker b { padding: 0 35px; color: #9ad6f7; }
.club { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.section-heading > p { max-width: 310px; color: #52647b; }
.kicker { color: var(--blue); margin-bottom: 22px; }
.proposal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 65px; background: #cfdae1; border: 1px solid #cfdae1; }
.proposal-grid article { min-height: 275px; padding: 30px 26px; background: var(--paper); }
.number { font: 700 1rem 'Barlow Condensed', sans-serif; color: #6aa9d3; }
h3 { margin: 46px 0 12px; font-size: 1.8rem; line-height: 1; }
.proposal-grid p { color: #5a6d82; font-size: .88rem; line-height: 1.7; }
/* Bloque de cantera y cierre de campaña. */
.cantera { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: white; scroll-margin-top: 80px; }
.cantera-image { position: relative; min-height: 680px; }
.cantera-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.image-caption { position: absolute; bottom: 30px; left: 7%; right: 7%; display: flex; justify-content: space-between; color: white; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-shadow: 0 1px 5px #000; }
.cantera-content { padding: 100px clamp(40px, 7vw, 120px); }
.cantera-content h2 { margin: 35px 0; }
.cantera-content h2 em, .vote h2 em { color: #92d3f8; }
.cantera-content p:not(.eyebrow) { color: #cedef1; }
.cantera-content .lead { color: white !important; }
.underlink { display: inline-block; margin-top: 20px; padding-bottom: 10px; border-bottom: 1px solid #8bc7ec; font-weight: 700; font-size: .8rem; }
.underlink span { margin-left: 30px; }
.future-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.future-tags span { border: 1px solid #cad8e4; padding: 9px 11px; font-size: .6rem; font-weight: 700; letter-spacing: .06em; }
.vote { padding: 110px 0; background: var(--blue); color: white; scroll-margin-top: 80px; }
.vote-inner { display: grid; grid-template-columns: 1.2fr .65fr; gap: 10%; align-items: end; }
.vote h2 { margin-top: 30px; }
.vote-copy p { color: #dcebf9; }
.vote-copy strong { display: block; font-size: 1.2rem; }
.vote-copy .vote-note { font-size: .78rem; margin: 28px 0 0; opacity: .85; }
footer { background: #0b204b; color: white; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; gap: 30px; }
.footer-brand { font: 800 2.2rem 'Barlow Condensed', sans-serif; }
.footer-inner p { font-size: .8rem; margin: 0; }
.footer-inner small { color: #b6c8e0; margin-left: auto; }
.footer-inner > a:last-child { font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
/* Adaptación para móviles. */
@media (max-width: 800px) {
  .header { height: 68px; }
  .menu-toggle { display: block; background: none; border: 0; color: var(--navy); font-size: .8rem; font-weight: 700; cursor: pointer; }
  .menu-toggle span { margin-left: 8px; font-size: 1.1rem; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 20px 5% 26px; background: white; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 12px 20px #102c6520; }
  nav.open { display: flex; }
  nav a { padding: 13px 0; }
  nav .nav-cta { padding: 15px; margin-top: 8px; }
  .hero { min-height: 630px; height: calc(100svh - 68px); max-height: 760px; }
  .hero-photo { background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,30,72,.93), rgba(7,30,72,.6)), linear-gradient(0deg, rgba(7,30,72,.5), transparent); }
  h1 { font-size: clamp(4.8rem, 15vw, 7.5rem); }
  .hero-bottom span:last-child { display: none; }
  .section { padding: 80px 0; }
  .section-label { margin-bottom: 42px; }
  .intro-grid, .future-grid, .vote-inner { grid-template-columns: 1fr; gap: 30px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .proposal-grid { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .proposal-grid article { min-height: 250px; }
  .cantera { grid-template-columns: 1fr; }
  .cantera-image { min-height: 430px; }
  .cantera-content { padding: 70px 5%; }
  .vote { padding: 80px 0; }
  .footer-inner { flex-wrap: wrap; gap: 14px 22px; }
  .footer-inner small { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .brand small { font-size: .48rem; }
  .hero-actions { gap: 18px; }
  .button { gap: 16px; }
  .proposal-grid { grid-template-columns: 1fr; }
  .proposal-grid article { min-height: auto; }
  h3 { margin-top: 25px; }
  .cantera-image { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
