/* ================================================================
   KAIROS HYBRID TRAINING — Hoja de estilos principal
   Europolis, Las Rozas de Madrid
   ================================================================ */

:root {
  --bg:      #080808;
  --bg2:     #101010;
  --card:    #161616;
  --border:  #222222;
  --ink:     #F5F5F0;
  --ink2:    #cccccc;
  --accent:  #F5A800;
  --accent2: #FF3D00;
  --accent3: #F5A800;
  --on-accent: #0d0d0d;
  --grey:    #888888;
  --white:   #F5F5F0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  44px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 12px; height: 64px;
  width: calc(100% - 48px); max-width: 1200px;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.nav-logo-img {
  height: 52px; width: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--accent); color: #0d0d0d !important;
  padding: 10px 22px; border-radius: 99px;
  font-weight: 700 !important; font-size: 0.78rem !important;
  letter-spacing: 0.08em; transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #d99200 !important; transform: translateY(-1px); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: flex-end;
  padding: 0 48px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,8,0.96) 36%, rgba(8,8,8,0.18) 100%),
    url('../imagenes/gym/portada-AQExZP9nVvTv29LD.png') center/cover no-repeat;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 5px 16px; border-radius: 99px; margin-bottom: 22px;
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.92; letter-spacing: 0.03em; margin-bottom: 26px;
  color: var(--ink);
}
.hero h1 em { font-style: normal; color: var(--accent); display: block; }

.hero p {
  font-size: 1.08rem; color: var(--ink2);
  max-width: 450px; margin-bottom: 38px; font-weight: 300;
}

.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent); color: #0d0d0d;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 15px 32px;
  border-radius: 99px; text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 18px rgba(245,168,0,0.3);
}
.btn-primary:hover { transform: translateY(-2px); background: #d99200; }

.btn-secondary {
  color: var(--ink); font-size: 0.84rem; font-weight: 600;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s;
}
.btn-secondary:hover { gap: 14px; }

.hero-scroll {
  position: absolute; bottom: 40px; right: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.hero-scroll span {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: sp 2s ease-in-out infinite;
}
@keyframes sp { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.1)} }

.hero-logo-wrap {
  position: absolute;
  top: 50%; right: 8%;
  transform: translateY(-50%);
  z-index: 2;
  animation: logofade 1.2s ease both;
}

.hero-logo {
  width: clamp(200px, 22vw, 340px);
  height: auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  padding: 20px;
  box-shadow:
    0 0 0 2px rgba(245,168,0,0.4),
    0 0 60px rgba(245,168,0,0.18),
    0 24px 64px rgba(0,0,0,0.5);
  filter: drop-shadow(0 0 24px rgba(245,168,0,0.25));
}

@keyframes logofade {
  from { opacity: 0; transform: translateY(calc(-50% + 20px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}

@media (max-width: 900px) {
  .hero-logo-wrap { display: none; }
}

/* ── STATS ── */
.stats-bar {
  background: var(--accent); padding: 0 48px;
  display: flex; justify-content: space-between; align-items: center;
}
.stat-item { padding: 26px 0; text-align: center; flex: 1; border-right: 1px solid rgba(8,8,8,0.18); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 2.8rem; color: #080808; line-height: 1; }
.stat-label { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(8,8,8,0.55); }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--accent); overflow: hidden; white-space: nowrap; padding: 12px 0; }
.marquee-track { display: inline-block; animation: mq 22s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.2em; color: #0d0d0d; padding: 0 26px; }
.marquee-track .dot { color: rgba(13,13,13,0.4); }
@keyframes mq { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── SECTION BASE ── */
section { padding: 96px 48px; }
.section-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 0.95; letter-spacing: 0.03em; margin-bottom: 16px;
  color: var(--ink);
}
.section-sub { font-size: 1rem; color: var(--grey); max-width: 520px; font-weight: 300; }

/* ── PROGRAMAS ── */
.programas { background: var(--bg2); padding: 96px 48px; }
.programas-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }
.programas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.programa-card {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  border-radius: var(--r-lg); cursor: pointer; text-decoration: none; display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.programa-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); filter: brightness(0.5); }
.programa-card:hover img { transform: scale(1.06); filter: brightness(0.38); }

.programa-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%);
  transform: translateY(12px); transition: transform 0.4s;
}
.programa-card:hover .programa-info { transform: translateY(0); }

.programa-badge {
  display: inline-block; background: var(--accent); color: #0d0d0d;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 99px; margin-bottom: 10px;
}
.programa-info h3 { font-family: var(--font-display); font-size: 2.7rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 6px; }
.programa-info p { font-size: 0.86rem; color: rgba(255,255,255,0.72); font-weight: 300; max-width: 340px; }

.programa-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem; transition: background 0.3s, border-color 0.3s;
}
.programa-card:hover .programa-arrow { background: var(--accent); border-color: var(--accent); }

/* ── CLASE ESTRUCTURA ── */
.clase-estructura { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }

.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 2.9rem; color: var(--border); line-height: 1; min-width: 50px; transition: color 0.3s; }
.step:hover .step-num { color: var(--accent); }
.step-content h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 2px; color: var(--ink); }
.step-content p { font-size: 0.85rem; color: var(--grey); font-weight: 300; }

/* ── VÍDEOS ── */
.videos { padding: 96px 48px; background: var(--bg2); }
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── HORARIOS ── */
.horarios { background: var(--bg2); padding: 96px 48px; }
.horarios-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); padding: 9px 22px; cursor: pointer; border-radius: 99px;
  border: 1.5px solid var(--border); transition: all 0.2s; background: var(--card);
}
.tab.active { color: #0d0d0d; background: var(--accent); border-color: var(--accent); }
.tab:hover:not(.active) { color: var(--ink); border-color: var(--grey); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.horario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.horario-day {
  background: var(--card); padding: 24px 20px;
  border-radius: var(--r-md); border-left: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.horario-day:hover { border-left-color: var(--accent); box-shadow: 0 4px 18px rgba(0,0,0,0.09); }
.horario-day-name { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.horario-times { display: flex; flex-direction: column; gap: 4px; }
.horario-time { font-family: var(--font-display); font-size: 1.42rem; letter-spacing: 0.04em; color: var(--ink); }

/* ── TARIFAS ── */
.tarifas { padding: 96px 48px; background: var(--bg); }
.tarifas-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 20px; }

.planes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 12px; }

.plan-card {
  background: var(--card); padding: 32px; border-radius: var(--r-lg);
  border-top: 3px solid var(--border); transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.plan-card:hover { border-top-color: var(--accent); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.plan-card.featured { border-top-color: var(--accent); background: #1a1a00; }

.plan-featured-badge {
  display: inline-block; background: var(--accent); color: #0d0d0d;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 12px;
}
.plan-name { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 16px; }
.plan-items { display: flex; flex-direction: column; }
.plan-item { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--border); }
.plan-item:last-child { border-bottom: none; }
.plan-item-label { font-size: 0.87rem; color: var(--ink2); }
.plan-item-price { font-family: var(--font-display); font-size: 1.85rem; color: var(--ink); }
.plan-item-price span { font-family: var(--font-body); font-size: 0.74rem; color: var(--grey); font-weight: 300; }

.bonos-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.bono-card {
  background: var(--card); padding: 24px;
  border-radius: var(--r-md); border-left: 3px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.bono-card:hover { border-left-color: var(--accent2); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.bono-name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 3px; }
.bono-detail { font-size: 0.72rem; color: var(--grey); margin-bottom: 12px; }
.bono-price { font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); }

/* ── FAQ ── */
.faq { background: var(--bg2); padding: 96px 48px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 44px; }
.faq-item {
  background: var(--card); padding: 28px;
  border-radius: var(--r-md); border-left: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.faq-item:hover { border-left-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.faq-q { font-size: 0.94rem; font-weight: 700; margin-bottom: 9px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; color: var(--ink); }
.faq-icon { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.faq-a { font-size: 0.85rem; color: var(--grey); font-weight: 300; line-height: 1.7; }

/* ── COMUNIDAD ── */
.comunidad { padding: 96px 48px; background: var(--bg); }
.comunidad-header { margin-bottom: 44px; }
.comunidad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 10px;
}
.comunidad-item { overflow: hidden; border-radius: var(--r-md); box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.comunidad-item:nth-child(3)  { grid-row: span 2; }
.comunidad-item:nth-child(10) { grid-column: span 2; }
.comunidad-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: grayscale(0.1) brightness(0.92);
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s;
}
.comunidad-item:hover img { transform: scale(1.06); filter: grayscale(0) brightness(1); }

/* ── GALERÍA ── */
.galeria { padding: 96px 48px; background: var(--bg2); }
.galeria-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; gap: 10px; margin-top: 44px; }
.galeria-item { overflow: hidden; border-radius: var(--r-md); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.galeria-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galeria-item:nth-child(5) { grid-column: span 2; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s; }
.galeria-item:hover img { transform: scale(1.07); filter: saturate(1.2); }

/* ── CONTACTO ── */
.contacto { padding: 96px 48px; background: var(--bg); display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }

.contacto-info { display: flex; flex-direction: column; }
.contacto-info h2 { font-family: var(--font-display); font-size: clamp(2.6rem, 4.8vw, 4.3rem); line-height: 0.95; letter-spacing: 0.03em; margin-bottom: 28px; color: var(--ink); }
.contacto-info h2 em { font-style: normal; color: var(--accent); display: block; }

.contacto-details { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.contacto-detail {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; background: var(--card); border-radius: var(--r-md);
  border-left: 3px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.contacto-detail:hover { border-left-color: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.contacto-icon { font-size: 1.2rem; flex-shrink: 0; padding-top: 2px; }
.contacto-text strong { display: block; font-size: 0.61rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
.contacto-text a, .contacto-text p { font-size: 0.94rem; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.contacto-text a:hover { color: var(--accent); }

/* MAPA */
.mapa-col { display: flex; flex-direction: column; gap: 14px; }
.mapa-wrapper { border-radius: var(--r-xl); overflow: hidden; flex: 1; min-height: 340px; box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.mapa-wrapper iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* CTA BOX */
.cta-box {
  background: var(--accent);
  padding: 44px 32px; text-align: center; border-radius: var(--r-lg);
  box-shadow: 0 6px 28px rgba(245,168,0,0.25);
}
.cta-box h3 { font-family: var(--font-display); font-size: 3rem; color: #0d0d0d; letter-spacing: 0.05em; margin-bottom: 8px; line-height: 1; }
.cta-box p { font-size: 0.94rem; color: rgba(13,13,13,0.6); margin-bottom: 26px; font-weight: 300; }
.btn-cta-white {
  background: #0d0d0d; color: var(--accent);
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 13px 30px; border-radius: 99px;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.btn-cta-white:hover { background: #2a2a2a; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: #060606; padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; }
.footer-logo-img { height: 38px; width: 38px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.12em; color: var(--white); }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.68rem; color: #444444; }

/* ── ANIMACIONES ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── INFO CARDS ── */
.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}

.info-card {
  background: var(--card); padding: 32px; border-radius: var(--r-lg);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.info-card-accent { border-top: 3px solid var(--accent); }
.info-card-neutral { border-top: 3px solid var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { width: calc(100% - 24px); padding: 0 16px; top: 10px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px 8px;
    flex-direction: column;
    gap: 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-bottom: 6px; }
  .nav-links a {
    padding: 13px 16px;
    display: block;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
  }
  .nav-cta {
    margin: 6px 16px 0 !important;
    display: block !important;
    text-align: center !important;
    padding: 12px 22px !important;
  }
  section, .horarios, .tarifas, .faq, .galeria, .programas, .contacto, .comunidad, .videos { padding: 56px 18px; }
  .videos-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 18px 56px; align-items: center; }
  .programas-grid, .clase-estructura, .faq-grid, .contacto { grid-template-columns: 1fr; gap: 12px; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .planes-grid { grid-template-columns: 1fr; }
  .bonos-grid { grid-template-columns: 1fr 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .galeria-item:nth-child(5) { grid-column: span 2; }
  .comunidad-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .comunidad-item:nth-child(3)  { grid-row: span 1; }
  .comunidad-item:nth-child(10) { grid-column: span 2; }
  .stats-bar { padding: 0 18px; }
  .mapa-wrapper { min-height: 280px; }
  footer { padding: 28px 18px; flex-direction: column; align-items: flex-start; }
}
