/* ═══════════════════════════════════════
   LONDON TAEKWONDO SPARKS - Shared Styles
   ═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #ff6603;
  --orange-dark: #d95300;
  --orange-soft: rgba(255,102,3,0.08);
  --dark: #111111;
  --light: #f1f0ec;
  --white: #faf9f6;
  --grey: #777777;
  --grey-mid: #aaaaaa;
  --grey-light: #e5e5e3;
  --font-display: 'Anton', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  display: flex; align-items: center; padding: 0 40px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; height: 40px; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; flex: 1; justify-content: center; margin: 0; padding: 0; }
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
  display: inline-flex; align-items: center; padding: 10px 16px; line-height: 1;
  font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dark); opacity: 0.7; transition: opacity 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--dark); }
.nav-links a.active { border-bottom: 2px solid var(--orange); padding-bottom: 8px; }
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 9px; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--grey-light);
  border-top: 2px solid var(--dark); padding: 8px 0;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: none; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 12px; font-weight: 600; opacity: 0.7; color: var(--dark); }
.dropdown-menu a:hover { opacity: 1; color: var(--dark); background: var(--light); }
.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: var(--dark); opacity: 0.75; transition: opacity 0.2s;
}
.nav-phone svg { color: var(--orange); }
.nav-phone:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-dark); box-shadow: 0 8px 22px rgba(0,0,0,0.25); transform: translateY(-1px); }
.nav-cta::after { content: '→'; }

/* Mobile nav */
.nav-mobile-contacts { display: none; align-items: center; gap: 28px; }
.nav-mobile-contacts a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: opacity 0.2s;
}
.nav-mobile-contacts a:hover { opacity: 0.85; }
.nav-burger { display: none; flex-direction: column; gap: 7px; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 30px; height: 3px; background: var(--dark); border-radius: 2px; transition: 0.3s; }

@media (max-width: 1100px) {
  nav { padding: 0 16px; height: 60px; gap: 0; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-mobile-contacts {
    display: flex;
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-burger { display: flex; margin-right: 8px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--white); padding: 16px 20px 24px;
    border-bottom: 1px solid var(--grey-light); gap: 2px; z-index: 999;
  }
  .nav-links.open .dropdown-menu {
    position: static; opacity: 1; pointer-events: all;
    transform: none; border-top: none; background: var(--light); margin: 4px 0;
  }
  .nav-links.open .nav-cta-li a {
    display: inline-flex; margin-top: 8px;
    background: var(--orange); color: var(--white) !important; opacity: 1 !important;
    padding: 12px 24px; border-radius: 4px;
  }
}

/* ─── PAGE HERO ─── */
.page-hero {
  padding-top: 72px; background: var(--light);
  border-bottom: 1px solid var(--grey-light);
  padding-bottom: 48px;
}
.page-hero .container { padding-top: 48px; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 12px;
}
.page-hero-tag::before { content: '→'; color: var(--orange); }
.page-hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.92; color: var(--dark); letter-spacing: 0.02em;
}
.page-hero-title .grey { color: #c8c8c5; }
.page-hero-sub { font-size: 16px; color: var(--grey); margin-top: 16px; max-width: 560px; line-height: 1.7; }

@media (max-width: 900px) {
  .page-hero { padding-top: 60px; }
  .page-hero .container { padding-top: 36px; }
  .page-hero-title { font-size: clamp(42px, 11vw, 72px); }
}

/* ─── SECTION ATOMS ─── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey); margin-bottom: 16px;
}
.section-tag::before { content: '→'; color: var(--orange); }

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95; color: var(--dark); letter-spacing: 0.02em;
}
.section-heading .grey { color: #c8c8c5; }

.section-intro {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 48px; align-items: end; margin-bottom: 56px;
}
.section-desc { font-size: 15px; color: var(--grey); line-height: 1.75; }
.section-desc strong { color: var(--dark); font-weight: 600; }

@media (max-width: 768px) {
  .section-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .section-heading { font-size: clamp(34px, 9vw, 56px); }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.25); }
.btn-primary::after { content: '→'; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--orange); color: var(--orange);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-outline::after { content: '→'; }

/* ─── AFFILIATIONS BAR ─── */
#affiliations {
  background: var(--white); border-bottom: 1px solid var(--grey-light); padding: 22px 0;
}
.affil-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap;
}
.affil-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #ccc; }
.affil-divider { width: 1px; height: 22px; background: var(--grey-light); }
.affil-badge { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #aaa; transition: color 0.2s; }
.affil-badge:hover { color: var(--dark); }
.affil-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--grey-mid); flex-shrink: 0; }
@media (max-width: 600px) { .affil-inner { gap: 16px; } .affil-divider { display: none; } .affil-inner { padding: 0 20px; } }

/* ─── CTA BANNER ─── */
#cta-banner { padding: 100px 0; background: var(--light); }
.cta-inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 0 40px; }
.cta-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey-mid); margin-bottom: 20px;
}
.cta-tag::before { content: '→'; color: var(--orange); }
.cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.92; color: var(--dark); letter-spacing: 0.02em; margin-bottom: 8px;
}
.cta-title .grey { color: #c8c8c5; }
.cta-sub { font-size: 15px; color: var(--grey); margin: 18px 0 36px; }
@media (max-width: 768px) { #cta-banner { padding: 72px 0; } .cta-inner { padding: 0 20px; } }

/* ─── FOOTER ─── */
footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.06); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.7; }
.footer-col-title { font-family: var(--font-heading); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; color: var(--white); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-links .addr { font-size: 13px; color: rgba(255,255,255,0.2); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); transition: border-color 0.2s, color 0.2s; }
.social-btn:hover { border-color: var(--orange); color: var(--orange); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── WHATSAPP ─── */
.whatsapp-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: none; align-items: center; gap: 10px; flex-direction: row-reverse;
}
.whatsapp-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35); transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-label {
  background: var(--white); padding: 7px 13px; border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); white-space: nowrap;
  opacity: 0; pointer-events: none; transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.whatsapp-widget:hover .whatsapp-label { opacity: 1; pointer-events: all; transform: none; }
@media (max-width: 900px) { .whatsapp-widget { display: flex; } }


/* ═══════════════════════════════════════
   MOBILE OPTIMIZATIONS, Less scroll, more clarity
   ═══════════════════════════════════════ */

/* Tighter section padding on mobile */
@media (max-width: 768px) {
  /* Override any inline 88px padding via class */
  section[style*="padding:88px 0"] {
    padding: 48px 0 !important;
  }
  section[style*="padding:96px 0"], section[style*="padding:100px 0"] {
    padding: 56px 0 !important;
  }
  /* CTA banner tighter */
  #cta-banner { padding: 56px 0 !important; }
  .cta-title { font-size: clamp(40px, 12vw, 64px) !important; }
  .cta-sub { margin: 14px 0 24px !important; font-size: 14px; }

  /* Hero, kill 100vh demand, reduce padding */
  #home {
    min-height: auto !important;
    padding-top: 64px !important;
  }
  #home .container {
    padding-top: 28px !important;
    padding-bottom: 36px !important;
  }
  /* Hero CTA row stacks cleanly */
  #home .container > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-top: 20px !important;
  }

  /* Page hero compress */
  .page-hero { padding-bottom: 32px; }
  .page-hero .container { padding-top: 24px; }
  .page-hero-sub { font-size: 14px; margin-top: 12px; }

  /* Section intro tighter */
  .section-intro { margin-bottom: 28px !important; gap: 14px !important; }

  /* Affiliations bar tighter */
  #affiliations { padding: 14px 0; }
  .affil-inner { gap: 14px; }
  .affil-badge { font-size: 11px; }
  .affil-label { font-size: 9px; }

  /* Footer compress */
  footer { padding: 36px 0 20px !important; }
  .footer-grid { gap: 22px !important; margin-bottom: 24px !important; }
  .footer-brand p { font-size: 12px; }

  /* Mobile bottom CTA bar, REMOVED per request */
}

/* Mobile burger menu, Book CTA prominent at top */
@media (max-width: 1100px) {
  .nav-links.open {
    padding: 12px 16px 20px !important;
  }
  .nav-links.open li {
    width: 100%;
  }
  .nav-links.open li a {
    width: 100%; padding: 14px 14px; font-size: 15px;
    border-bottom: 1px solid var(--grey-light);
  }
  .nav-links.open li:last-child a {
    border-bottom: none;
    background: var(--orange); color: var(--white) !important; opacity: 1 !important;
    border-radius: 6px; margin-top: 12px; justify-content: center;
    text-align: center; box-shadow: 0 4px 14px rgba(255,102,3,0.3);
  }
  .nav-links.open li:last-child a:hover { color: var(--white); }
}

/* Mobile CTA bar, disabled */
.mobile-cta-bar { display: none !important; }

/* Why Sparks 4-up, 2x2 on mobile, tighter padding */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .why-grid > div { padding: 20px 16px !important; }
  .why-grid > div > div:nth-child(2) { font-size: 16px !important; line-height: 1.15; }
  .why-grid > div > p { font-size: 12px !important; }
}

/* Booking iframe, trim trailing empty space on mobile */
@media (max-width: 768px) {
  .book-iframe { height: 1180px !important; }
}

/* Long info boxes, tighter mobile padding */
@media (max-width: 768px) {
  .info-block { padding: 20px 18px !important; }
  .info-block-title { font-size: 18px !important; }
  .info-block li { font-size: 13px !important; padding: 8px 0 !important; }
  .info-note { font-size: 12px !important; }
  .loc-card { padding: 14px 16px !important; }
  .contact-item { padding: 14px 16px !important; }
  .review-card { padding: 22px 20px !important; }
  .review-text { font-size: 13px !important; }
  /* Class cards on classes page */
  .class-card { padding: 28px 22px !important; }
}

/* ─── SHARED JS ─── */
