:root{
  --navy:#10243e;
  --blue:#1d4f7a;
  --gold:#e0ad36;
  --light:#f4f6f8;
  --white:#fff;
  --text:#17212b;
}

*{box-sizing:border-box}

body{
  margin:0;
  background:var(--light);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
}
.site-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 6vw;
  min-height:74px;
  background:var(--navy);
}

.brand{
  color:#fff;
  text-decoration:none;
  font-size:1.3rem;
  font-weight:bold;
}

nav{
  display:flex;
  gap:1.4rem;
}

nav a{
  color:white;
  text-decoration:none;
}
.hero{
  min-height:520px;
  display:grid;
  place-items:center;
  padding:5rem 6vw;
  color:white;
  background:linear-gradient(120deg,#10243e,#1d4f7a);
}

.hero-content{
  max-width:1100px;
}

.hero h1{
  font-size:4rem;
  margin:.5rem 0 1rem;
}

.hero-text{
  max-width:650px;
  line-height:1.6;
}
.actions{
  display:flex;
  gap:1rem;
  margin-top:2rem;
}

.button{
  padding:.9rem 1.4rem;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
}

.button-primary{
  background:var(--gold);
  color:var(--navy);
}

.button-secondary{
  border:1px solid white;
  color:white;
}

.section{
  width:min(1180px,88%);
  margin:auto;
  padding:5rem 0;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}

.card{
  background:white;
  padding:2rem;
  border-radius:10px;
}
footer{
  background:var(--navy);
  color:white;
  padding:2rem 6vw;
}

.footer-institucional{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
}

.footer-institucional img{
  display:block;
  width:100%;
  max-width:1028px;
  height:auto;
  margin:0;
}

@media(max-width:760px){

.site-header{
  flex-direction:column;
  padding:1rem;
}

nav{
  flex-wrap:wrap;
}

.cards{
  grid-template-columns:1fr;
}

.hero h1{
  font-size:2.6rem;
}

}

.page-hero{
  padding:4rem 6vw;
  color:white;
  background:linear-gradient(120deg,var(--navy),var(--blue));
}

.page-hero h1{
  max-width:1000px;
  margin:.5rem 0 0;
  font-size:clamp(2.5rem,6vw,5rem);
}

.prose{
  max-width:850px;
}

.prose p{
  font-size:1.1rem;
  line-height:1.8;
}

.text-link{
  color:var(--blue);
  font-weight:bold;
}

.team-grid{
  grid-template-columns:repeat(3,1fr);
}

@media(max-width:760px){
  .team-grid{
    grid-template-columns:1fr;
  }
}

.sponsor-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
}

.sponsor-card{
  display:grid;
  place-items:center;
  min-height:180px;
  padding:1.5rem;
  text-align:center;
  background:white;
  border-radius:10px;
}

.sponsor-card img{
  max-width:180px;
  max-height:90px;
  object-fit:contain;
}

@media(max-width:900px){
  .sponsor-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  .sponsor-grid{
    grid-template-columns:1fr;
  }
}

.news-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}

.news-card{
  padding:2rem;
  background:white;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(16,36,62,.08);
}

.news-card h2{
  margin:.4rem 0 1rem;
}

.news-card p{
  line-height:1.7;
}

.news-category{
  color:var(--blue);
  font-size:.85rem;
  font-weight:bold;
  text-transform:uppercase;
}

@media(max-width:760px){
  .news-grid{
    grid-template-columns:1fr;
  }
}

.news-meta{
    margin-top:1rem;
    color:#c9d3de;
    font-size:.95rem;
}

.noticia-completa{
    max-width:900px;
}

.noticia-contenido{
    line-height:1.8;
    white-space:pre-line;
}

.club-nav{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  padding:1rem 6vw;
  background:white;
  border-bottom:1px solid #dde3ea;
}

.club-nav a{
  color:var(--blue);
  font-weight:bold;
  text-decoration:none;
}

.club-section{
  scroll-margin-top:90px;
}

.club-section h2{
  margin-bottom:1.5rem;
  font-size:clamp(2rem,4vw,3rem);
}

.markdown-content{
  white-space:pre-line;
  line-height:1.8;
}

.directiva-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}

.organigrama-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}

.organigrama-node{
  padding:1rem;
  text-align:center;
  font-weight:bold;
  background:white;
  border:1px solid #d8e0e8;
  border-radius:8px;
}

@media(max-width:760px){
  .directiva-grid,
  .organigrama-grid{
    grid-template-columns:1fr;
  }
}

.school-intro{
  text-align:center;
}

.school-intro > p{
  max-width:720px;
  margin:0 auto;
  line-height:1.8;
}

.school-intro .actions{
  justify-content:center;
}

.school-section{
  scroll-margin-top:90px;
}

.school-section:nth-of-type(even){
  background:#eef2f6;
}

.school-section h2{
  margin-top:.4rem;
  font-size:clamp(2rem,4vw,3rem);
}

.sponsor-hero{
  background:linear-gradient(135deg,#003b6f,#005ea8);
  color:#fff;
  text-align:center;
}

.sponsor-featured{
  border:3px solid #f0b429;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.sponsor-featured h3{
  font-size:2rem;
  color:var(--blue);
}


.sponsor-level{
  transition:.25s;
}

.sponsor-level:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.sponsor-level strong{
  display:block;
  margin:.8rem 0;
  font-size:1.8rem;
  color:#d89b00;
}


.sponsor-level ul{
  margin-top:1rem;
  padding-left:1.2rem;
}

.sponsor-level li{
  margin:.5rem 0;
}


.team-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}

.team-card h2{
  margin:.4rem 0 1rem;
}

.team-card h3{
  margin-top:1.5rem;
}

.team-card ul{
  padding-left:1.2rem;
}

.team-card li{
  margin:.4rem 0;
}

.team-contact{
  text-align:center;
  background:#eef2f6;
}

.team-contact h2{
  max-width:760px;
  margin:.5rem auto 1.5rem;
}

@media(max-width:760px){
  .team-grid{
    grid-template-columns:1fr;
  }
}

.socios-intro{
  max-width:900px;
}

.socios-intro p{
  line-height:1.8;
}

.socios-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}

.socio-card{
  display:flex;
  flex-direction:column;
}

.socio-card h2{
  margin-top:0;
}

.socio-card ul{
  padding-left:1.2rem;
}

.socio-card li{
  margin:.5rem 0;
}

.socio-cuota{
  font-size:1.4rem;
  font-weight:bold;
  color:#d89b00;
}

.socios-alta{
  background:#eef2f6;
}

.socios-alta ol{
  max-width:800px;
  padding-left:1.4rem;
}

.socios-alta li{
  margin:.8rem 0;
}

@media(max-width:760px){
  .socios-grid{
    grid-template-columns:1fr;
  }
}

.contact-grid{
  display:grid;
  grid-template-columns:minmax(280px,420px) 1fr;
  gap:1.5rem;
  align-items:stretch;
}

.contact-card h2{
  margin-top:0;
}

.contact-card a{
  color:var(--blue);
}

.contact-map{
  min-height:420px;
  overflow:hidden;
  border-radius:.8rem;
  background:#dfe5eb;
  box-shadow:0 10px 30px rgba(16,36,62,.08);
}

.contact-map iframe{
  width:100%;
  height:100%;
  min-height:420px;
  border:0;
}

@media(max-width:760px){
  .contact-grid{
    grid-template-columns:1fr;
  }

  .contact-map,
  .contact-map iframe{
    min-height:320px;
  }
}

.album-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}

.album-card img{
  display:block;
  width:100%;
  margin-top:1rem;
  border-radius:.6rem;
}

.album-empty{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}

@media(max-width:900px){
  .album-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:760px){
  .album-grid{
    grid-template-columns:1fr;
  }
}

.sitemap-list{
  margin:0;
  padding-left:1.2rem;
}

.sitemap-list li{
  margin:.8rem 0;
}

.sitemap-list a{
  color:var(--blue);
  font-weight:700;
  text-decoration:none;
}

.sitemap-list a:hover{
  text-decoration:underline;
}

.empresa-card h2{
  margin-top:0;
}

.empresa-card{
  transition:.2s;
}

.empresa-card:hover{
  transform:translateY(-4px);
}


/*
 * Main navigation state
 */

.site-header nav a {
  position:relative;
  padding:.35rem 0;
}

.site-header nav a.active::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-.45rem;
  height:3px;
  border-radius:999px;
  background:var(--gold);
}

/* Patrocinadores temporada 2026/2027 */
.sponsors-current-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.5rem;
  align-items:stretch;
}

.sponsors-current-card{
  min-height:220px;
  padding:1.5rem;
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
}

.sponsors-current-card img{
  display:block;
  width:100%;
  height:150px;
  object-fit:contain;
}

@media(max-width:900px){
  .sponsors-current-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:600px){
  .sponsors-current-grid{
    grid-template-columns:1fr;
  }

  .sponsors-current-card{
    min-height:190px;
  }

  .sponsors-current-card img{
    height:130px;
  }
}

/* Ajustes visuales individuales de patrocinadores */
.sponsors-current-card:nth-child(4) img{
  height:165px;
}

.sponsors-current-card:nth-child(5) img{
  width:88%;
  height:120px;
}


/* Enlaces web bajo los logos de patrocinadores */
.sponsors-current-card{
  flex-direction:column;
  gap:1rem;
}

.sponsor-web{
  display:block;
  max-width:100%;
  text-align:center;
  font-size:.95rem;
  line-height:1.3;
  color:var(--blue);
  text-decoration:underline;
  overflow-wrap:anywhere;
}

.sponsor-web:hover{
  text-decoration:none;
}

.sponsors-current-card img{
  flex:0 0 auto;
}

/* ============================================================
   Patrocinios — rediseño compacto 2026/2027
   ============================================================ */

.sponsor-page-hero{
  padding:2.8rem 6vw;
}

.sponsor-page-hero-inner{
  width:min(1180px,88%);
  margin:0 auto;
}

.sponsor-page-lead{
  margin:.8rem 0 0;
  max-width:700px;
  font-size:1.05rem;
  line-height:1.5;
}

.sponsor-page{
  width:min(1180px,88%);
  margin:0 auto;
  padding:2.5rem 0 3rem;
}

.sponsor-page-section{
  padding:2.2rem 0;
}

.sponsor-page-section + .sponsor-page-section{
  border-top:1px solid #dfe5eb;
}

.sponsor-current-section{
  padding-top:.6rem;
}

.sponsor-section-heading{
  margin-bottom:1.2rem;
}

.sponsor-section-heading .eyebrow{
  margin:0 0 .25rem;
}

.sponsor-section-heading h2{
  margin:0;
  font-size:clamp(1.7rem,3vw,2.4rem);
}


/* Identidad */

.sponsor-identity-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);
  gap:1.2rem;
}

.sponsor-info-card{
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:12px;
  padding:1.4rem;
}

.sponsor-info-card h3{
  margin:0 0 .7rem;
  color:var(--navy);
}

.sponsor-info-card p{
  margin:0;
  line-height:1.6;
}

.sponsor-identity-main{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.sponsor-identity-side{
  display:grid;
  gap:1rem;
}

.sponsor-pillars{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem;
  margin-top:1.2rem;
}

.sponsor-pillar{
  padding:.9rem;
  border-radius:10px;
  background:#f5f7fa;
}

.sponsor-pillar strong{
  display:block;
  margin-bottom:.3rem;
  color:var(--blue);
}

.sponsor-pillar span{
  font-size:.94rem;
  line-height:1.4;
}

.sponsor-values{
  margin-top:1rem;
}


/* Propuesta de valor */

.sponsor-value-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}

.sponsor-value-card{
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  padding:1.15rem;
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:12px;
}

.sponsor-value-card h3{
  margin:0 0 .35rem;
  font-size:1.05rem;
}

.sponsor-value-card p{
  margin:0;
  line-height:1.45;
}

.sponsor-check{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:1.55rem;
  height:1.55rem;
  border-radius:50%;
  background:#f0b429;
  color:#fff;
  font-weight:700;
}


/* Tabla niveles */

.sponsor-table-wrap{
  overflow-x:auto;
  border:1px solid #dfe5eb;
  border-radius:12px;
  background:#fff;
}

.sponsor-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}

.sponsor-table th,
.sponsor-table td{
  padding:.9rem 1rem;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid #e7ebef;
}

.sponsor-table th{
  background:var(--navy);
  color:#fff;
  font-weight:700;
}

.sponsor-table tbody tr:last-child td{
  border-bottom:0;
}

.sponsor-table tbody tr:nth-child(even){
  background:#f7f9fb;
}

.sponsor-price{
  white-space:nowrap;
  font-weight:700;
  color:#d89b00;
}


/* Modalidades especiales */

.sponsor-special-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.sponsor-special-card{
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:12px;
  padding:1.3rem;
}

.sponsor-special-card h3{
  margin:0 0 .5rem;
  color:var(--navy);
}

.sponsor-special-number{
  display:block;
  margin-bottom:.7rem;
  color:#d89b00;
  font-size:1.05rem;
}

.sponsor-special-card p{
  margin:.4rem 0 .8rem;
  line-height:1.5;
}

.sponsor-special-card ul{
  margin:0;
  padding-left:1.2rem;
}

.sponsor-special-card li{
  margin:.3rem 0;
}


/* Contacto */

.sponsor-contact-section{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);
  gap:1.4rem;
  align-items:center;
}

.sponsor-contact-copy h2{
  margin:.2rem 0 .6rem;
  font-size:clamp(1.7rem,3vw,2.5rem);
}

.sponsor-contact-copy p:last-child{
  margin-bottom:0;
}

.sponsor-contact-data{
  display:grid;
  gap:.65rem;
}

.sponsor-contact-data > div{
  display:grid;
  gap:.15rem;
  padding:.85rem 1rem;
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:10px;
}

.sponsor-contact-data strong{
  color:var(--navy);
}

.sponsor-contact-data a{
  color:var(--blue);
  text-decoration:none;
}

.sponsor-contact-data a:hover{
  text-decoration:underline;
}


/* Responsive */

@media(max-width:900px){

  .sponsor-page{
    width:min(94%,1180px);
  }

  .sponsor-identity-grid,
  .sponsor-contact-section{
    grid-template-columns:1fr;
  }

  .sponsor-value-grid{
    grid-template-columns:1fr;
  }

  .sponsor-special-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){

  .sponsor-page-hero{
    padding:2rem 5vw;
  }

  .sponsor-page{
    padding-top:1.5rem;
  }

  .sponsor-page-section{
    padding:1.6rem 0;
  }

  .sponsor-pillars{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   El Club — rediseño compacto
   ============================================================ */

.club-page-hero{
  padding:2.8rem 6vw;
}

.club-page-hero-inner{
  width:min(1180px,88%);
  margin:0 auto;
}

.club-page-hero h1{
  margin:.35rem 0 .5rem;
}

.club-page-hero p:last-child{
  margin:0;
  max-width:650px;
  font-size:1.05rem;
  line-height:1.5;
}

.club-page{
  width:min(1180px,88%);
  margin:0 auto;
  padding:2.5rem 0 3rem;
}

.club-page-section{
  padding:2rem 0;
}

.club-page-section + .club-page-section{
  border-top:1px solid #dfe5eb;
}

.club-panel{
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:12px;
  padding:1.35rem;
}

.club-panel h2,
.club-panel h3{
  margin-top:0;
}

.club-section-heading{
  margin-bottom:1.1rem;
}

.club-section-heading .eyebrow{
  margin:0 0 .25rem;
}

.club-section-heading h2{
  margin:0;
  font-size:clamp(1.7rem,3vw,2.35rem);
}


/* Presentación + historia */

.club-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:1.2rem;
}

.club-copy{
  font-size:.96rem;
  line-height:1.55;
}

.club-copy p{
  margin:.7rem 0;
}

.club-copy p:first-child{
  margin-top:0;
}

.club-copy p:last-child{
  margin-bottom:0;
}


/* Directiva + organigrama */

.club-organisation-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:1.2rem;
}

.club-directiva-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
}

.club-directiva-item{
  padding:.85rem;
  border-radius:9px;
  background:#f5f7fa;
}

.club-directiva-item strong{
  display:block;
  margin-bottom:.35rem;
  color:var(--navy);
}

.club-directiva-item span{
  display:block;
  font-size:.94rem;
  line-height:1.4;
}

.club-org-chart{
  display:grid;
  gap:1rem;
}

.club-org-root{
  justify-self:center;
  padding:.7rem 1.2rem;
  border-radius:9px;
  background:var(--navy);
  color:#fff;
  font-weight:700;
}

.club-org-columns{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.8rem;
}

.club-org-area{
  padding:.85rem;
  border:1px solid #dfe5eb;
  border-radius:9px;
  background:#f8fafc;
}

.club-org-area strong{
  display:block;
  margin-bottom:.45rem;
  color:var(--blue);
}

.club-org-area span{
  display:block;
  margin:.25rem 0;
  font-size:.92rem;
}


/* Instalaciones + palmarés */

.club-facilities-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:1.2rem;
}

.club-compact-markdown,
.club-palmares{
  font-size:.95rem;
  line-height:1.45;
}

.club-compact-markdown p,
.club-palmares p{
  margin:.45rem 0;
}

.club-compact-markdown ul,
.club-palmares ul{
  margin:.55rem 0 0;
  padding-left:1.2rem;
}

.club-compact-markdown li,
.club-palmares li{
  margin:.25rem 0;
}

.club-palmares p strong{
  color:var(--navy);
}

.club-palmares ul + p{
  margin-top:1rem;
}


/* Equipación */

.club-equipment-section{
  display:grid;
  grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr);
  gap:1.5rem;
  align-items:start;
}

.club-equipment-section h2{
  margin:.2rem 0 0;
  font-size:clamp(1.7rem,3vw,2.3rem);
}

.club-equipment-copy{
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:12px;
  padding:1.2rem 1.3rem;
  line-height:1.55;
}

.club-equipment-copy p{
  margin:.6rem 0;
}

.club-equipment-copy p:first-child{
  margin-top:0;
}

.club-equipment-copy p:last-child{
  margin-bottom:0;
}


/* Responsive */

@media(max-width:900px){

  .club-page{
    width:min(94%,1180px);
  }

  .club-intro-grid,
  .club-organisation-grid,
  .club-facilities-grid,
  .club-equipment-section{
    grid-template-columns:1fr;
  }

  .club-org-columns{
    grid-template-columns:1fr;
  }
}

@media(max-width:650px){

  .club-page-hero{
    padding:2rem 5vw;
  }

  .club-page{
    padding-top:1.4rem;
  }

  .club-page-section{
    padding:1.5rem 0;
  }

  .club-directiva-grid{
    grid-template-columns:1fr;
  }
}

/* Escuela — diseño compacto */
.school-content{
  padding-top:1.5rem;
  padding-bottom:2rem;
}

.school-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
  max-width:1100px;
  margin:0 auto;
}

.school-section{
  background:#fff;
  border:1px solid #dfe5eb;
  border-radius:14px;
  padding:1.5rem;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.school-section:nth-of-type(even){
  background:#eef2f6;
}

.school-section h2{
  margin:.35rem 0 1rem;
  font-size:clamp(1.4rem,2.5vw,2rem);
}

.school-section .markdown-content{
  line-height:1.6;
}

.school-contact{
  margin-top:1rem;
}

.school-contact p{
  margin:.25rem 0;
}

@media(max-width:800px){
  .school-grid{
    grid-template-columns:1fr;
  }
}

/* Accesos compactos: Webmail + Kauri Sport */
.site-header nav .nav-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  padding:0;
  height:34px;
}

.site-header nav .nav-webmail{
  width:34px;
  font-size:1.45rem;
  line-height:1;
}

.site-header nav .nav-kauri{
  width:auto;
}

.site-header nav .nav-kauri img{
  display:block;
  width:auto;
  height:32px;
  max-width:76px;
  object-fit:contain;
}

.site-header nav .nav-icon:hover{
  opacity:.8;
}

.site-header nav .nav-icon.active::after{
  bottom:-.3rem;
}

@media(max-width:760px){
  .site-header nav .nav-icon{
    height:32px;
  }

  .site-header nav .nav-kauri img{
    height:30px;
    max-width:72px;
  }
}

/* =========================================================
   NAVEGACION PUBLICA COMPACTA
   ========================================================= */

.site-header{
    min-height:58px;
    padding:0 4vw;
    gap:1.5rem;
}

.site-header .brand{
    font-size:1.05rem;
    white-space:nowrap;
}

.site-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:.9rem;
}

.site-nav > a,
.site-nav > .nav-dropdown > summary{
    font-size:.9rem;
}

.nav-toggle{
    display:none;
    border:1px solid rgba(255,255,255,.35);
    border-radius:7px;
    background:transparent;
    color:#fff;
    width:40px;
    height:36px;
    font-size:1.25rem;
    cursor:pointer;
}

.nav-dropdown{
    position:relative;
}

.nav-dropdown > summary{
    position:relative;
    color:#fff;
    cursor:pointer;
    list-style:none;
    padding:.35rem 0;
}

.nav-dropdown > summary::-webkit-details-marker{
    display:none;
}

.nav-dropdown > summary::after{
    content:" ▾";
    opacity:.7;
}

.nav-dropdown > summary.active{
    color:#fff;
}

.nav-dropdown > summary.active::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-.45rem;
    height:3px;
    border-radius:999px;
    background:var(--gold);
}

.nav-dropdown-menu{
    display:flex;
    flex-direction:column;
    gap:0;
    position:absolute;
    z-index:1000;
    top:calc(100% + .7rem);
    right:0;
    min-width:190px;
    padding:.4rem;
    background:var(--navy);
    border:1px solid rgba(255,255,255,.15);
    border-radius:8px;
    box-shadow:0 10px 28px rgba(0,0,0,.22);
}

.nav-dropdown-menu a,
.nav-dropdown-menu button{
    display:block;
    width:100%;
    padding:.65rem .75rem !important;
    border:0;
    border-radius:5px;
    background:transparent;
    color:#fff;
    text-align:left;
    text-decoration:none;
    font:inherit;
    cursor:pointer;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu button:hover{
    background:rgba(255,255,255,.1);
}

.nav-dropdown-menu form{
    margin:0;
}

@media(max-width:760px){
    .site-header{
        min-height:56px;
        padding:.65rem 1rem;
        flex-direction:row;
        flex-wrap:wrap;
    }

    .site-header .brand{
        font-size:1rem;
    }

    .nav-toggle{
        display:block;
        margin-left:auto;
    }

    .site-nav{
        display:none;
        flex-basis:100%;
        width:100%;
        flex-direction:column;
        align-items:stretch;
        gap:.15rem;
        padding-top:.55rem;
    }

    .site-nav.is-open{
        display:flex;
    }

    .site-nav > a,
    .site-nav > .nav-dropdown > summary{
        display:block;
        padding:.65rem .35rem;
    }

    .site-header nav a.active::after,
    .nav-dropdown > summary.active::before{
        display:none;
    }

    .nav-dropdown-menu{
        position:static;
        min-width:0;
        margin:.15rem 0 .35rem .65rem;
        padding:.15rem;
        border:0;
        border-left:2px solid rgba(255,255,255,.18);
        border-radius:0;
        box-shadow:none;
    }
}

/* =========================================================
   PATROCINADORES EN PIE PUBLICO
   ========================================================= */
.footer-sponsors{
    padding:1.25rem 1rem 1rem;
    text-align:center;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.footer-sponsors-title{
    display:inline-block;
    margin-bottom:.9rem;
    color:inherit;
    font-size:.82rem;
    font-weight:700;
    letter-spacing:.08em;
    text-decoration:none;
    text-transform:uppercase;
}

.footer-sponsors-title:hover{
    text-decoration:underline;
}

.footer-sponsors-logos{
    width:min(1000px,94%);
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:1rem 1.5rem;
}

.footer-sponsors-logos a{
    display:flex;
    align-items:center;
    justify-content:center;
    height:54px;
    padding:.35rem .55rem;
    border-radius:7px;
    background:#fff;
    transition:transform .15s ease;
}

.footer-sponsors-logos a:hover{
    transform:translateY(-2px);
}

.footer-sponsors-logos img{
    display:block;
    width:auto;
    height:auto;
    max-width:125px;
    max-height:42px;
    object-fit:contain;
}

@media(max-width:600px){
    .footer-sponsors{
        padding:1rem .5rem .8rem;
    }

    .footer-sponsors-logos{
        gap:.65rem;
    }

    .footer-sponsors-logos a{
        width:calc(33.333% - .5rem);
        height:48px;
        padding:.3rem;
    }

    .footer-sponsors-logos img{
        max-width:100%;
        max-height:36px;
    }
}


/* =========================================================
   KAURI SPORT
   ========================================================= */

.site-header nav .nav-kauri-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.42rem .75rem;
    border:1px solid rgba(255,255,255,.35);
    border-radius:7px;
    font-weight:700;
    white-space:nowrap;
    transition:background .15s ease,border-color .15s ease;
}

.site-header nav .nav-kauri-cta:hover{
    background:rgba(255,255,255,.1);
    border-color:rgba(255,255,255,.6);
}

.kauri-page{
    max-width:1100px;
    margin:0 auto;
    padding:4.5rem 1.5rem 6rem;
}

.kauri-hero{
    max-width:760px;
    padding:3rem;
    border:1px solid #dbe2ea;
    border-radius:18px;
    background:#fff;
    box-shadow:0 12px 35px rgba(15,23,42,.07);
}

.kauri-kicker{
    margin-bottom:.65rem;
    color:#64748b;
    font-size:.75rem;
    font-weight:800;
    letter-spacing:.13em;
}

.kauri-hero h1{
    margin:0 0 1rem;
    font-size:clamp(2.5rem,6vw,4.5rem);
    line-height:1;
}

.kauri-lead{
    max-width:620px;
    margin:0;
    color:#475569;
    font-size:1.15rem;
    line-height:1.65;
}

.kauri-actions{
    display:flex;
    flex-wrap:wrap;
    gap:.8rem;
    margin-top:2rem;
}

.kauri-external,
.kauri-back{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.45rem;
    padding:.8rem 1.1rem;
    border-radius:9px;
    text-decoration:none;
    font-weight:750;
}

.kauri-external{
    background:var(--navy);
    color:#fff;
}

.kauri-back{
    border:1px solid #cbd5e1;
    background:#fff;
    color:#334155;
}

@media(max-width:760px){
    .site-header nav .nav-kauri-cta{
        justify-content:flex-start;
        border:0;
        border-radius:0;
        padding:.65rem .35rem;
    }

    .kauri-page{
        padding:2rem 1rem 4rem;
    }

    .kauri-hero{
        padding:1.5rem;
    }
}

/* =========================================================
   Patrocinadores — ajuste visual 2026-10-06
   ========================================================= */

/* Página: 4 elementos arriba y los restantes centrados */
.sponsors-current-grid{
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:1rem;
}

.sponsors-current-card{
    grid-column:span 2;
    min-height:170px;
    padding:1.1rem 1.25rem;
    gap:.7rem;
}

.sponsors-current-card img{
    width:100%;
    height:105px;
    max-width:220px;
    object-fit:contain;
}

/* Con 7 patrocinadores: centrar los tres de la segunda fila */
.sponsors-current-card:nth-child(5){
    grid-column:2 / span 2;
}

.sponsors-current-card:nth-child(6),
.sponsors-current-card:nth-child(7){
    grid-column:span 2;
}

/* Anular antiguos ajustes individuales por posición */
.sponsors-current-card:nth-child(4) img,
.sponsors-current-card:nth-child(5) img{
    width:100%;
    height:105px;
}

/* Footer: cajas más equilibradas y logos con mayor presencia */
.footer-sponsors-logos{
    width:min(900px,94%);
    gap:.75rem;
}

.footer-sponsors-logos a{
    width:145px;
    height:64px;
    padding:.45rem .7rem;
}

.footer-sponsors-logos img{
    width:100%;
    height:100%;
    max-width:125px;
    max-height:48px;
    object-fit:contain;
}

@media(max-width:900px){
    .sponsors-current-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .sponsors-current-card,
    .sponsors-current-card:nth-child(5),
    .sponsors-current-card:nth-child(6),
    .sponsors-current-card:nth-child(7){
        grid-column:auto;
    }
}

@media(max-width:600px){
    .sponsors-current-grid{
        grid-template-columns:1fr;
    }

    .sponsors-current-card{
        min-height:155px;
    }

    .footer-sponsors-logos a{
        width:calc(33.333% - .5rem);
        height:58px;
    }
}

/* =========================================================
   Footer patrocinadores — normalización visual 2026-10-06
   ========================================================= */

.footer-sponsors-logos a{
    width:150px;
    height:70px;
    padding:.5rem .65rem;
}

/* Base común */
.footer-sponsors-logos img{
    width:auto;
    height:auto;
    object-fit:contain;
}

/* Error! Ferrol */
.footer-sponsors-logos a:nth-child(1) img{
    max-width:58px;
    max-height:58px;
}

/* London Institute */
.footer-sponsors-logos a:nth-child(2) img{
    max-width:62px;
    max-height:58px;
}

/* La Botica */
.footer-sponsors-logos a:nth-child(3) img{
    max-width:58px;
    max-height:58px;
}

/* Artesonía */
.footer-sponsors-logos a:nth-child(4) img{
    max-width:68px;
    max-height:58px;
}

/* Adextra */
.footer-sponsors-logos a:nth-child(5) img{
    max-width:125px;
    max-height:42px;
}

/* AV Canido */
.footer-sponsors-logos a:nth-child(6) img{
    max-width:125px;
    max-height:48px;
}

/* INAIS */
.footer-sponsors-logos a:nth-child(7) img{
    max-width:120px;
    max-height:48px;
}

@media(max-width:600px){
    .footer-sponsors-logos a{
        width:calc(33.333% - .5rem);
        height:62px;
    }

    .footer-sponsors-logos img{
        max-width:100% !important;
        max-height:48px !important;
    }
}

/* =========================================================
   Footer patrocinadores — normalización visual 2026-10-06
   ========================================================= */

.footer-sponsors-logos a{
    width:150px;
    height:70px;
    padding:.5rem .65rem;
}

/* Base común */
.footer-sponsors-logos img{
    width:auto;
    height:auto;
    object-fit:contain;
}

/* Error! Ferrol */
.footer-sponsors-logos a:nth-child(1) img{
    max-width:58px;
    max-height:58px;
}

/* London Institute */
.footer-sponsors-logos a:nth-child(2) img{
    max-width:62px;
    max-height:58px;
}

/* La Botica */
.footer-sponsors-logos a:nth-child(3) img{
    max-width:58px;
    max-height:58px;
}

/* Artesonía */
.footer-sponsors-logos a:nth-child(4) img{
    max-width:68px;
    max-height:58px;
}

/* Adextra */
.footer-sponsors-logos a:nth-child(5) img{
    max-width:125px;
    max-height:42px;
}

/* AV Canido */
.footer-sponsors-logos a:nth-child(6) img{
    max-width:125px;
    max-height:48px;
}

/* INAIS */
.footer-sponsors-logos a:nth-child(7) img{
    max-width:120px;
    max-height:48px;
}

@media(max-width:600px){
    .footer-sponsors-logos a{
        width:calc(33.333% - .5rem);
        height:62px;
    }

    .footer-sponsors-logos img{
        max-width:100% !important;
        max-height:48px !important;
    }
}

/* =========================================================
   Footer patrocinadores — distribución 4 compactos + 3 largos
   ========================================================= */

.footer-sponsors-logos{
    width:min(760px,94%);
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:.75rem;
    justify-items:center;
}

/* Fila 1: cuatro logos compactos */
.footer-sponsors-logos a:nth-child(1){
    grid-column:1 / span 3;
}
.footer-sponsors-logos a:nth-child(2){
    grid-column:4 / span 3;
}
.footer-sponsors-logos a:nth-child(3){
    grid-column:7 / span 3;
}
.footer-sponsors-logos a:nth-child(4){
    grid-column:10 / span 3;
}

/* Fila 2: tres logos horizontales */
.footer-sponsors-logos a:nth-child(5){
    grid-column:2 / span 3;
}
.footer-sponsors-logos a:nth-child(6){
    grid-column:5 / span 3;
}
.footer-sponsors-logos a:nth-child(7){
    grid-column:8 / span 3;
}

/* Conservamos exactamente el tamaño actual de las cajas */
.footer-sponsors-logos a{
    width:150px;
    height:70px;
}

/* Móvil: volvemos a distribución automática */
@media(max-width:600px){
    .footer-sponsors-logos{
        display:flex;
        width:94%;
        justify-content:center;
    }

    .footer-sponsors-logos a:nth-child(n){
        width:calc(33.333% - .5rem);
        height:62px;
    }
}


/* PATROCINADORES-8-CENTRADOS-2026-10-08 */

/*
 * Temporada 2026/2027
 * 8 patrocinadores:
 * distribución 4 + 4 centrada.
 */

.sponsors-current-grid {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr))
        !important;
    justify-content: center !important;
    align-items: stretch !important;
}

.sponsors-current-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    grid-column: auto !important;
}

.sponsors-current-card:nth-child(n) {
    grid-column: auto !important;
}

.sponsors-current-card img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    object-fit: contain !important;
}


/*
 * Footer: 4 + 4.
 */

.footer-sponsors-logos {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr))
        !important;
    justify-content: center !important;
    align-items: center !important;
}

.footer-sponsors-logos a,
.footer-sponsors-logos a:nth-child(n) {
    grid-column: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.footer-sponsors-logos img {
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}


@media (max-width: 900px) {

    .sponsors-current-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            !important;
    }

    .footer-sponsors-logos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            !important;
    }
}


@media (max-width: 520px) {

    .sponsors-current-grid {
        grid-template-columns:
            1fr
            !important;
    }

    .footer-sponsors-logos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr))
            !important;
    }
}


