/* ═══════════════════════════════════════
   styles.css — Club Neuquino de Bádminton
   ═══════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #1DB954;
  --green-dark: #17a348;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 12px rgba(0,0,0,.1), 0 16px 40px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gray-900); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Syne', sans-serif; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200); padding: 0 24px;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.navbar-logo { height: 40px; }
.navbar-links { display: flex; gap: 32px; align-items: center; }
.navbar-links a { font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color .2s; letter-spacing: -.01em; }
.navbar-links a:hover { color: var(--green); }
.mobile-menu-btn {
  display: none; background: none; border: none; width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: .3s; }
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 99; flex-direction: column; padding: 32px 24px; gap: 24px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 18px; font-weight: 600; color: var(--gray-800); }
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(0,0,0,.55), rgba(0,0,0,.75)),
              url('../img/imagen5.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-content { text-align: center; color: white; padding: 40px 24px; position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-block; background: rgba(29,185,84,.2); border: 1px solid rgba(29,185,84,.4);
  color: #6ee7a0; padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 24px; animation: fadeInUp .8s ease both;
}
.hero h1 { margin-bottom: 20px; animation: fadeInUp .8s ease .15s both; }
.hero-logo-wrap {
  display: inline-block; padding: 32px 52px;
  background: rgba(255,255,255,.25); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
}
.hero-logo { height: clamp(80px, 16vw, 140px); margin: 0 auto; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 580px; margin: 0 auto 32px; animation: fadeInUp .8s ease .3s both; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: white;
  padding: 14px 32px; border-radius: 100px; font-weight: 700; font-size: 16px; border: none;
  transition: transform .2s, box-shadow .2s; animation: fadeInUp .8s ease .45s both;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,185,84,.4); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── Sections ── */
.section { padding: 96px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; color: var(--gray-900); }
.section-desc { font-size: 1.05rem; color: var(--gray-600); max-width: 640px; line-height: 1.7; }
.section-desc.center { margin: 0 auto; text-align: center; }
.text-center { text-align: center; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 48px; }
.about-stats { display: flex; gap: 32px; margin-top: 32px; }
.about-stat-num { font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--green); }
.about-stat-label { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
.about-img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg); }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Schedule ── */
.schedule-section { background: var(--gray-50); }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 48px; }
.schedule-card { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.schedule-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.schedule-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.schedule-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.badge-libre        { background: #fff3e0; color: #e65100; }
.badge-menores      { background: #e8f5e9; color: #2e7d32; }
.badge-principiantes{ background: #e3f2fd; color: #1565c0; }
.badge-parabadminton{ background: #f3e5f5; color: #6a1b9a; }
.badge-competitivo  { background: #ffebee; color: #c62828; }
.badge-intermedia   { background: #fce4ec; color: #ad1457; }
.schedule-day { font-weight: 700; font-size: 15px; color: var(--gray-900); }
.schedule-time { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-600); margin-top: 8px; }
.schedule-time svg { width: 16px; height: 16px; color: var(--gray-400); flex-shrink: 0; }

/* View toggle buttons */
.view-toggle {
  display: inline-flex; gap: 4px; margin-top: 24px;
  background: white; border: 1px solid var(--gray-200);
  border-radius: 100px; padding: 4px;
}
.view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 100px;
  border: none; background: none;
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  cursor: pointer; font-family: inherit; transition: .2s;
}
.view-btn:hover { color: var(--gray-700); }
.view-btn-active { background: var(--green); color: white; }
.view-btn-active:hover { color: white; }
.view-btn svg { width: 15px; height: 15px; }

/* Weekly view */
.week-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; margin-top: 32px; text-align: left;
}
.week-day {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
}
.week-day-name {
  padding: 12px 16px; font-weight: 700; font-size: 14px;
  background: var(--gray-900); color: white;
  font-family: 'Syne', sans-serif; letter-spacing: -.01em;
}
.week-day-items { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.week-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--gray-50); border: 1px solid var(--gray-100);
}
.week-item-time { font-size: 13px; color: var(--gray-600); font-weight: 500; }
@media (max-width: 900px) {
  .week-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .week-grid { grid-template-columns: 1fr; }
}

/* ── Gallery ── */
.gallery-section { background: var(--black); color: white; overflow: hidden; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 48px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 60%); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 20px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { font-size: 13px; color: rgba(255,255,255,.9); line-height: 1.5; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ── Sponsors (index compact) ── */
.sponsors-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; margin-top: 48px; }
.sponsor-card { display: inline-flex; align-items: center; justify-content: center; padding: 32px 48px; border: 1px solid var(--gray-200); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.sponsor-card:hover { border-color: var(--green); transform: translateY(-2px); }
.sponsor-card img { height: 56px; max-width: 180px; object-fit: contain; filter: grayscale(1); transition: filter .3s; }
.sponsor-card:hover img { filter: none; }
.sponsor-see-all { display: block; width: 100%; text-align: center; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--green); transition: opacity .2s; }
.sponsor-see-all:hover { opacity: .7; }

/* ── Sponsors page (tiered) ── */
.sponsors-page-hero { background: var(--black); color: white; padding: 80px 24px 64px; text-align: center; }
.sponsors-page-hero .section-label { color: #6ee7a0; }
.sponsors-page-hero .section-title { color: white; }
.sponsors-page-hero .section-desc { color: rgba(255,255,255,.6); }
.sponsors-page-body { padding: 64px 24px 96px; }
.sponsors-page-inner { max-width: 1100px; margin: 0 auto; }

.tier-section { margin-bottom: 56px; }
.tier-header { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-200); }
.tier-icon { font-size: 24px; }
.tier-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.tier-grid { display: grid; gap: 20px; }

.tier-xl .tier-grid { grid-template-columns: 1fr; }
.tier-xl .tier-card { padding: 48px 56px; flex-direction: row; gap: 32px; }
.tier-xl .tier-card img { height: 100px; max-width: 280px; }
.tier-xl .tier-card-name { font-size: 18px; font-weight: 700; }
.tier-xl .tier-header { border-bottom-color: #67e8f9; }
.tier-xl .tier-title { color: #0891b2; font-size: 26px; }

.tier-lg .tier-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tier-lg .tier-card { padding: 36px; }
.tier-lg .tier-card img { height: 80px; max-width: 220px; }
.tier-lg .tier-card-name { font-size: 15px; }
.tier-lg .tier-header { border-bottom-color: #94a3b8; }
.tier-lg .tier-title { color: var(--gray-700); }

.tier-md .tier-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tier-md .tier-card { padding: 28px; }
.tier-md .tier-card img { height: 56px; max-width: 180px; }
.tier-md .tier-card-name { font-size: 14px; }
.tier-md .tier-header { border-bottom-color: #fbbf24; }
.tier-md .tier-title { color: #92400e; }

.tier-sm .tier-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tier-sm .tier-card { padding: 20px; }
.tier-sm .tier-card img { height: 40px; max-width: 140px; }
.tier-sm .tier-card-name { font-size: 12px; }
.tier-sm .tier-header { border-bottom-color: var(--gray-300); }
.tier-sm .tier-title { color: var(--gray-600); }

.tier-xs .tier-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tier-xs .tier-card { padding: 14px; }
.tier-xs .tier-card img { height: 30px; max-width: 100px; }
.tier-xs .tier-card-name { font-size: 11px; }
.tier-xs .tier-header { border-bottom-color: #d6a47a; }
.tier-xs .tier-title { color: #9a3412; }

@media (max-width: 600px) {
  .tier-xl .tier-card { flex-direction: column; padding: 32px 24px; }
}

.tier-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s; text-align: center;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tier-card img { max-width: 100%; object-fit: contain; }
.tier-card-name { font-size: 13px; font-weight: 600; color: var(--gray-700); }

/* ── Plan ── */
.plan-section { background: var(--gray-50); }
.plan-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.plan-pillar { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.plan-pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-pillar-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--green); margin-bottom: 12px; }
.plan-pillar h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.plan-pillar p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
@media (max-width: 768px)  { .plan-pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .plan-pillars { grid-template-columns: 1fr; } }

/* ── Location / Map ── */
.location-section { background: var(--gray-50); }
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-top: 48px;
}
.location-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
}
.location-detail {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px; font-size: 15px; color: var(--gray-700);
  line-height: 1.5;
}
.location-detail svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.location-map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
}
.location-map iframe { width: 100%; height: 350px; border: 0; display: block; }
@media (max-width: 768px) {
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .location-map iframe { height: 280px; }
}

/* ── Footer ── */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 48px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand h3 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.footer-brand p { font-size: 13px; }
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: var(--green); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--gray-700); color: var(--gray-400); transition: .2s; }
.footer-socials a:hover { color: white; border-color: var(--green); background: rgba(29,185,84,.1); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-affiliates {
  max-width: 1100px; margin: 24px auto 0; padding-top: 24px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}
.footer-affiliates-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-affiliates-logos { display: flex; align-items: center; justify-content: center; gap: 32px; }
.footer-affiliate-logo { height: 40px; filter: grayscale(1) brightness(1.5); opacity: .6; transition: .3s; }
.footer-affiliate-logo:hover { filter: none; opacity: 1; }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--gray-800); margin-top: 24px; padding-top: 24px; text-align: center; font-size: 13px; }