/* =========================================================
   Liga Deportiva Marcelino Champagnat — Design tokens
   Azul Institucional #152C59 · Rojo Institucional #E3362F
   Blanco Platino #EAEDF2 · Tipografía Urbanist
   ========================================================= */

:root{
  --navy:        #152C59;
  --navy-800:    #0f2147;
  --navy-900:    #0a1730;
  --red:         #E3362F;
  --red-700:     #c02a24;
  --platinum:    #EAEDF2;
  --white:       #FFFFFF;
  --ink:         #12182b;
  --muted:       #57607a;
  --muted-light: rgba(234,237,242,0.72);
  --border-soft: rgba(21,44,89,0.12);

  --font: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1160px;
  --radius: 14px;
  --shadow-lg: 0 24px 60px -20px rgba(10,23,48,0.35);
  --shadow-sm: 0 6px 18px -8px rgba(10,23,48,0.18);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1,h2,h3{
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p{ margin: 0 0 1em; color: var(--muted); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul,ol{ margin:0; padding:0; list-style:none; }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--navy); color:var(--white); padding:12px 18px;
  z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left:0; top:0; }

:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.8em;
}
.eyebrow--light{ color: #ff9490; }

.section{ padding: 96px 0; }
.section--tight{ padding: 48px 0; }
.section--platinum{ background: var(--platinum); }
.section--navy{ background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); }
.section-title{ font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-title--light{ color: var(--white); }
.section-lead{ max-width: 620px; font-size: 1.05rem; }

/* =========================== BUTTONS =========================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(227,54,47,0.6);
}
.btn-primary:hover{ background: var(--red-700); }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.12); border-color: var(--white); }

/* =========================== HEADER =========================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(21,44,89,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
  gap: 16px;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-logo{ height: 48px; width: auto; flex-shrink: 0; }

.main-nav{ display: flex; gap: 28px; }
.main-nav a{
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.main-nav a:hover{ color: var(--white); border-color: var(--red); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--white); display:block; }

/* =========================== HERO =========================== */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding-top: 108px;
  padding-bottom: 150px;
}
.hero-bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 82% 8%, rgba(227,54,47,0.35) 0%, rgba(227,54,47,0) 60%),
    radial-gradient(60% 50% at 10% 100%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  z-index: 0;
}
.hero-inner{ position: relative; z-index: 1; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy{ max-width: 620px; }
.hero-title{
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 0.4em;
}
.hero-sub{
  color: var(--muted-light);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 2em;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }
.hero-showcase{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.hero-logo{
  width: 100%;
  max-width: 620px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.wave-divider{
  position: absolute; left: 0; right: 0; bottom: -2px;
  width: 100%; height: 90px;
  z-index: 1;
}

/* =========================== QUIENES SOMOS =========================== */
.quienes{ padding-top: 88px; }
.quienes-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.quienes-text h2{ font-size: clamp(1.8rem, 3vw, 2.3rem); }

.quienes-values{
  background: var(--platinum);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--red);
}
.values-label{
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
}
.value-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.value-chip{
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
}
.values-note{
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* =========================== HISTORIA / TIMELINE =========================== */
.timeline{
  margin-top: 56px;
  position: relative;
  padding-left: 32px;
  border-left: 3px solid var(--red);
}
.timeline-item{
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content: '';
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--red);
}
.timeline-year{
  display: inline-block;
  font-weight: 800;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--red);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.timeline-body h3{ font-size: 1.2rem; margin-bottom: 0.4em; }
.timeline-body p{ max-width: 640px; margin-bottom: 0; }

/* =========================== MESA DIRECTIVA =========================== */
.board-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 48px;
}
.board-col-title{
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.board-list li{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.board-list--exec li{ flex-direction: column; align-items: flex-start; gap: 4px; }
.board-role{
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.board-name{
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
}
.board-list--coord{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.board-list--coord li{ flex-direction: column; align-items: flex-start; gap: 4px; }

/* =========================== NOTICIAS =========================== */
.news-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.news-card{
  background: var(--platinum);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 4px solid var(--red);
}
.news-card--feature{ border-top-color: var(--navy); }
.news-date{
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.6em;
}
.news-card h3{ font-size: 1.3rem; }
.news-quote{
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--red);
  padding-left: 14px;
  margin: 1em 0;
}
.news-presidium{ margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.news-presidium li{
  font-size: 0.92rem;
  color: var(--muted);
  padding-left: 14px;
  border-left: 2px solid var(--border-soft);
}
.news-presidium strong{ color: var(--navy); }

.news-expand{ margin-top: 18px; }
.news-expand summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}
.news-expand blockquote{
  margin: 16px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--border-soft);
}
.news-expand blockquote p{ font-size: 0.95rem; }
.news-signature{ font-weight: 700; color: var(--navy); font-style: normal; }

/* =========================== BACKERS =========================== */
.backers{ text-align: center; }
.backers-list{
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
}
.backers-dot{ color: var(--red); }

/* =========================== CONTACTO =========================== */
.contacto-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contacto-meta{ margin-top: 24px; }
.contacto-meta li{ padding: 8px 0; }
.contacto-meta a{ color: var(--red); font-weight: 700; }

.contacto-form{
  background: var(--platinum);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field{ display: flex; flex-direction: column; gap: 6px; }
.field span{ font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea{
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus{ border-color: var(--red); outline: none; }
.contacto-form .btn{ align-self: flex-start; }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================== FOOTER =========================== */
.site-footer{
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-inner{ text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.brand--footer{ justify-content: center; }
.brand-logo--footer{ height: 56px; }
.footer-nav{ display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a{ color: rgba(255,255,255,0.75); font-weight: 600; font-size: 0.9rem; }
.footer-nav a:hover{ color: var(--white); }
.footer-note{ font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-copy{ font-size: 0.78rem; color: rgba(255,255,255,0.4); margin: 0; }

/* =========================== SCROLL REVEAL =========================== */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 900px){
  .quienes-grid, .board-grid, .news-grid, .contacto-grid{ grid-template-columns: 1fr; }
  .board-list--coord{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; gap: 8px; }
  .hero-showcase{ order: -1; padding-bottom: 0; }
  .hero-logo{ max-width: 380px; margin: 0 auto; }
  .hero-copy{ max-width: none; text-align: left; }
}

@media (max-width: 760px){
  .main-nav{
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.is-open{ transform: translateY(0); }
  .main-nav a{ padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle{ display: flex; }
  .section{ padding: 64px 0; }
  .hero{ padding-bottom: 110px; }
}

@media (max-width: 480px){
  .brand-logo{ height: 36px; }
  .hero-logo{ max-width: 280px; }
}
