/* =====================================================
   Martin Tóth Racing — style.css
   ===================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ---------- Reset & Root ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #e63946;
  --red-dark:  #c1121f;
  --bg:        #0a0a0a;
  --bg2:       #111111;
  --bg3:       #1a1a1a;
  --card:      #161616;
  --border:    #2a2a2a;
  --text:      #f0f0f0;
  --text-muted:#9a9a9a;
  --white:     #ffffff;
  --font-main: 'Montserrat', sans-serif;
  --font-alt:  'Rajdhani', sans-serif;
  --radius:    8px;
  --transition:0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}
.red { color: var(--red); }
.divider {
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 18px 0 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-alt);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo-text span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}
.nav-lang a {
  padding: 4px 8px;
  border-radius: 4px;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.nav-lang a.active,
.nav-lang a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-lang span { color: var(--border); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =====================================================
   HERO
   ===================================================== */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 55%,
    rgba(0,0,0,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title span { color: var(--red); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
}
.hero-stat-item {
  text-align: left;
}
.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); }
}

/* =====================================================
   ABOUT
   ===================================================== */
#about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.about-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--red); }
.stat-card .num {
  font-family: var(--font-alt);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =====================================================
   ACHIEVEMENTS
   ===================================================== */
#achievements { background: var(--bg); }
.achievements-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.achievements-header .divider { margin: 18px auto 32px; }
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-year {
  position: relative;
  margin-bottom: 48px;
}
.year-badge {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.year-badge span {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-alt);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: 50px;
  letter-spacing: 0.1em;
}
.timeline-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.timeline-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}
.timeline-item:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
  border-radius: var(--radius) 0 0 var(--radius);
  opacity: 0;
  transition: opacity var(--transition);
}
.timeline-item:hover::before { opacity: 1; }
.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.timeline-item .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

/* =====================================================
   CALENDAR
   ===================================================== */
#calendar { background: var(--bg2); }
.calendar-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.calendar-header .divider { margin: 18px auto 32px; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.cal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.cal-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.cal-card-header {
  background: var(--red);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-round {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cal-series {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.cal-track-layout {
  width: 100%;
  height: 100px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 16px;
  opacity: 0.85;
  filter: invert(1) brightness(0.8);
}
.cal-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cal-track {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cal-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cal-date svg { flex-shrink: 0; }
.cal-country {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =====================================================
   PHOTO STRIPE
   ===================================================== */
.photo-stripe {
  display: flex;
  width: 100%;
  height: 220px;
  overflow: hidden;
  gap: 4px;
}
.photo-stripe img {
  flex: 1;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

/* =====================================================
   COACHING
   ===================================================== */
#coaching { background: var(--bg); }
.coaching-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.coaching-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.coaching-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.coaching-pricing {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}
.pricing-card {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}
.pricing-card--featured {
  background: rgba(230,57,70,0.08);
  border-left: 1px solid rgba(230,57,70,0.2);
}
.pricing-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.pricing-duration {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.pricing-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card--featured .pricing-price {
  color: var(--red);
}
.pricing-price span {
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.7;
}
.pricing-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.coaching-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.coaching-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.coaching-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =====================================================
   NEWS
   ===================================================== */
#news { background: var(--bg2); }
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.news-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.news-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-img-wrap { overflow: hidden; }
.news-card-body { padding: 20px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.news-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.news-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(230,57,70,0.1);
  padding: 2px 10px;
  border-radius: 50px;
}
.news-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  background: linear-gradient(90deg, #ffffff 40%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition);
}
.news-card:hover h3 { opacity: 0.85; }
.news-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* =====================================================
   PARTNERS
   ===================================================== */
#partners { background: var(--bg); }
.partners-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.partners-header .divider { margin: 18px auto 32px; }
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}
.partner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  transition: border-color var(--transition), transform var(--transition);
}
.partner-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.partner-card img {
  max-height: 44px;
  width: auto;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}
.partner-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}
.partner-card--lg img { max-height: 64px; }
.partners-cta {
  text-align: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
}
.partners-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.partners-cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   CONTACT
   ===================================================== */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-info p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text a { transition: color var(--transition); }
.contact-item-text a:hover { color: var(--red); }
.contact-item-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Contact Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a9a9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(154,154,154,0.5); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
#coaching-fields {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
#coaching-fields.visible {
  max-height: 500px;
  opacity: 1;
}
#coaching-fields .form-row {
  grid-template-columns: 1fr 1fr 1fr;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo img { height: 48px; width: auto; }
.footer-logo-text {
  font-family: var(--font-alt);
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-logo-text span { color: var(--red); }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-copy span { color: var(--red); }
.footer-partners {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-partners img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity var(--transition);
}
.footer-partners img:hover { opacity: 0.8; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* --- Tablet landscape --- */
@media (max-width: 1024px) {
  .about-grid,
  .coaching-grid       { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap      { max-width: 520px; margin: 0 auto; }
  .coaching-img-wrap   { display: none; }
  .news-grid           { grid-template-columns: repeat(2, 1fr); }
  .contact-grid        { grid-template-columns: 1fr; gap: 48px; }
  .footer-top          { grid-template-columns: 1fr 1fr; }
  .timeline-items      { grid-template-columns: 1fr; }
  .timeline::before    { display: none; }
}

/* --- Tablet portrait / large phone --- */
@media (max-width: 768px) {
  .section             { padding: 64px 0; }

  /* Navbar */
  .nav-links           { display: none; }
  .hamburger           { display: flex; }

  /* Hero */
  .hero-content        { padding-top: 100px; }
  .hero-stats          { gap: 24px; flex-wrap: wrap; }
  .hero-scroll         { display: none; }

  /* About */
  .about-img-wrap      { max-width: 100%; }
  .about-img-wrap img  { aspect-ratio: 4/3; }
  .about-stats         { grid-template-columns: 1fr 1fr; }

  /* Photo stripe */
  .photo-stripe        { height: 160px; }

  /* Calendar */
  .calendar-grid       { grid-template-columns: 1fr; }

  /* News */
  .news-grid           { grid-template-columns: 1fr; }
  .news-header         { flex-direction: column; align-items: flex-start; }

  /* Partners */
  .partner-card        { min-width: 140px; padding: 18px 24px; }

  /* Contact */
  .form-row            { grid-template-columns: 1fr; }
  #coaching-fields .form-row { grid-template-columns: 1fr; }
  .contact-form        { padding: 28px; }

  /* Footer */
  .footer-top          { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .footer-partners     { justify-content: center; flex-wrap: wrap; }
}

/* --- Standard phones --- */
@media (max-width: 480px) {
  .section             { padding: 52px 0; }
  .container           { padding: 0 16px; }

  /* Navbar */
  .nav-logo-text       { display: none; }

  /* Hero */
  .hero-title          { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-sub            { font-size: 0.92rem; margin-bottom: 28px; }
  .hero-buttons        { flex-direction: column; }
  .hero-buttons .btn   { width: 100%; justify-content: center; }
  .hero-stats          { gap: 16px; }
  .hero-stat-num       { font-size: 1.6rem; }
  .hero-stat-label     { font-size: 0.62rem; }

  /* About */
  .about-title         { font-size: 2.4rem; }
  .about-stats         { grid-template-columns: 1fr 1fr; }

  /* Photo stripe — hide 2 less important photos, make it taller */
  .photo-stripe        { height: 150px; gap: 2px; }
  .photo-stripe img:nth-child(4),
  .photo-stripe img:nth-child(5) { display: none; }

  /* Timeline */
  .timeline-item       { padding: 16px 18px; }

  /* Calendar */
  .calendar-grid       { gap: 14px; }
  .cal-card-body       { padding: 16px; }

  /* Coaching */
  .coaching-features   { gap: 14px; }

  /* Partners */
  .partners-cta        { padding: 28px 20px; }
  .partners-grid       { gap: 12px; }
  .partner-card        { padding: 16px 20px; min-width: 120px; }

  /* Contact */
  .contact-form        { padding: 20px; }

  /* Footer */
  .footer-top          { gap: 28px; }
  .footer-logo img     { height: 40px; }
}

/* --- Small phones (iPhone SE, Galaxy A, etc.) --- */
@media (max-width: 375px) {
  .hero-title          { font-size: 2.6rem; }
  .hero-stats          { gap: 12px; }
  .about-title         { font-size: 2rem; }
  .about-stats         { grid-template-columns: 1fr; }
  .stat-card           { padding: 16px; }
  .photo-stripe        { height: 130px; }
  .contact-form        { padding: 16px; }
  .partners-cta h3     { font-size: 1.2rem; }
}

/* --- Mobile nav open state --- */
#navbar.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(12px);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}
#navbar.nav-open .nav-links a {
  font-size: 1rem;
  padding: 8px 0;
}
