/* =============================================================================
   Schembri's Taekwondo — Global Stylesheet
   Fonts  : Bebas Neue (display) + Lato (body) via Google Fonts
   Palette: #0a0a0a charcoal · #C41E3A crimson · #f5f0eb off-white · #888 muted
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap');

/* ── Custom Properties ──────────────────────────────────────────────────────── */
:root {
  --red:        #C41E3A;
  --red-dark:   #9e1730;
  --red-light:  #e8253f;
  --black:      #0a0a0a;
  --dark:       #111111;
  --dark2:      #1a1a1a;
  --dark3:      #242424;
  --mid:        #3a3a3a;
  --muted:      #888888;
  --light:      #cccccc;
  --off-white:  #f5f0eb;
  --white:      #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Lato', sans-serif;

  --nav-h:      72px;
  --radius:     4px;
  --radius-lg:  8px;
  --transition: 0.25s ease;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.25);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.35);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.45);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--red-light); }

img { max-width: 100%; display: block; }

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--dark);
}

.display-1 { font-size: clamp(3rem, 8vw, 6rem); }
.display-2 { font-size: clamp(2.2rem, 5vw, 4rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--dark);
}

.section-title.on-dark { color: var(--white); }

/* ── Layout Utilities ───────────────────────────────────────────────────────── */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad {
  padding: 5rem 0;
}

.section-pad-sm {
  padding: 3rem 0;
}

/* ── Red Accent Rule ────────────────────────────────────────────────────────── */
.accent-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 1rem 0 1.5rem;
}
.accent-rule.centered { margin: 1rem auto 1.5rem; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn-tkd {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding: 0.75rem 2rem;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-tkd:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-tkd-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding: 0.75rem 2rem;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-tkd-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: var(--black); /* instead of transparent */
}

#site-nav.scrolled {
  background: var(--black);
  box-shadow: var(--shadow-md);
}

#site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#site-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;            /* never squeeze the logo / name */
}

#site-nav .nav-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

#site-nav .nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;       /* name and tagline each stay on one line */
}

#site-nav .nav-brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}

#site-nav .nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

#site-nav .nav-links a {
  display: block;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color var(--transition);
}

#site-nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--red);
  transition: left var(--transition), right var(--transition);
}

#site-nav .nav-links a:hover,
#site-nav .nav-links a.active {
  color: var(--white);
}

#site-nav .nav-links a:hover::after,
#site-nav .nav-links a.active::after {
  left: 0.9rem;
  right: 0.9rem;
}

#site-nav .nav-links .nav-cta a {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.5rem 1.2rem;
  margin-left: 0.5rem;
}
#site-nav .nav-links .nav-cta a::after { display: none; }
#site-nav .nav-links .nav-cta a:hover { background: var(--red-dark); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--black);
  z-index: 999;
  padding: 1.5rem;
  border-top: 1px solid var(--dark3);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-mobile ul li a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dark3);
  transition: color var(--transition), padding-left var(--transition);
}
.nav-mobile ul li a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}
.nav-mobile .mobile-cta {
  margin-top: 1.2rem;
}
.nav-mobile .mobile-cta a {
  display: block;
  text-align: center;
}

/* Mid-size screens: tighten the menu so every link fits on one line */
@media (max-width: 1320px) {
  #site-nav .nav-links a { padding: 0.5rem 0.62rem; letter-spacing: 0.08em; }
}

/* Switch to the ☰ menu before the links run out of room */
@media (max-width: 1200px) {
  .nav-hamburger { display: flex; }
  #site-nav .nav-links { display: none; }
  .nav-mobile { display: block; }
  #site-nav { background: var(--black); }
}

/* ── Hero Carousel ──────────────────────────────────────────────────────────── */
.hero-carousel {
  position: relative;
  height: 100vh;
  height: 100svh;   /* phones: ignore the browser address bar */
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

/* Background photo — slow zoom-out while the slide is showing */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: var(--focus, 50%) center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
  will-change: transform;
}
.hero-slide.active .hero-bg { transform: scale(1); }

/* Same overlay on every slide: dark on the text side, soft fade at the bottom,
   and a faint red glow behind the heading */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0) 38%),
    radial-gradient(ellipse 60% 70% at 18% 50%, rgba(196,30,58,0.14) 0%, rgba(196,30,58,0) 70%),
    linear-gradient(90deg,
      rgba(10,10,10,0.88) 0%,
      rgba(10,10,10,0.62) 42%,
      rgba(10,10,10,0.28) 78%,
      rgba(10,10,10,0.18) 100%);
}


@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none; transition: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 1.5rem;
  margin-left: calc((100vw - 1200px) / 2);
  padding-left: 1.5rem;
}

@media (max-width: 1200px) {
  .hero-content { margin-left: 0; }
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.hero-slide.active .hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}
.hero-slide.active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--light);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.hero-slide.active .hero-sub {
  opacity: 1;
  transform: translateY(0);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.65s, transform 0.6s ease 0.65s;
}
.hero-slide.active .hero-btns {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), width var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--red);
  width: 48px;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
}
.hero-scroll-cue span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-lr;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: var(--red);
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ── Hero: responsive ───────────────────────────────────────────────────── */
/* Tablets and small laptops: lighter file */
@media (max-width: 1024px) {
  .hero-bg { background-image: var(--bg-md, var(--bg)); }
}

/* Portrait screens (phones, upright tablets): tall crop centred on the subject */
@media (max-aspect-ratio: 4/5) {
  .hero-bg {
    background-image: var(--bg-sm, var(--bg-md, var(--bg)));
    background-position: center;
  }
}

/* Tablets / small laptops: keep the heading clear of the side arrows */
@media (max-width: 1200px) and (min-width: 769px) {
  .hero-content { padding-left: 5.5rem; padding-right: 5.5rem; }
}

/* Phones: photo on top, text at the bottom, controls tucked beside the dots */
@media (max-width: 768px) {
  .hero-carousel { min-height: 560px; }
  .hero-slide { align-items: flex-end; }
  .hero-content { padding-bottom: 5.5rem; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-overlay {
    background: linear-gradient(to top,
      rgba(10,10,10,0.95) 0%,
      rgba(10,10,10,0.82) 38%,
      rgba(10,10,10,0.25) 68%,
      rgba(10,10,10,0.45) 100%);
  }
  .hero-arrow {
    top: auto;
    bottom: 1.1rem;
    transform: none;
    width: 40px; height: 40px;
    font-size: 0.9rem;
  }
  .hero-prev { left: 1rem; }
  .hero-next { right: 1rem; }
  .hero-dots { bottom: 2.3rem; }
}

/* ── Page Header (inner pages) ──────────────────────────────────────────────── */
.page-header {
  position: relative;
  height: clamp(300px, 46vh, 480px);
  background: var(--black);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center 34%;   /* keeps the kickers in frame */
  animation: page-header-zoom 7s ease-out both;
}
@keyframes page-header-zoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
/* Same look as the home page banner: dark behind the title, soft fade at the
   bottom, faint red glow */
.page-header-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.35) 45%, rgba(10,10,10,0.15) 100%),
    radial-gradient(ellipse 55% 80% at 12% 90%, rgba(196,30,58,0.18) 0%, rgba(196,30,58,0) 70%),
    linear-gradient(90deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.25) 55%, rgba(10,10,10,0.1) 100%);
}
/* Thin red line along the bottom edge */
.page-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, rgba(196,30,58,0.4) 50%, rgba(196,30,58,0) 100%);
  z-index: 3;
}
@media (max-width: 1024px) {
  .page-header-bg { background-image: var(--bg-md, var(--bg)); }
}
@media (max-width: 768px) {
  .page-header { height: clamp(220px, 34vh, 300px); }
  .page-header-bg { background-position: 60% 34%; }
  .page-header-overlay {
    background:
      linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.45) 55%, rgba(10,10,10,0.3) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-header-bg { animation: none; }
}
.page-header-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3rem) 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.page-header-content .page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.page-header-content .breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.page-header-content .breadcrumb a { color: var(--red); }
.page-header-content .breadcrumb a:hover { color: var(--red-light); }

/* ── Content area (below page header) ──────────────────────────────────────── */
.page-body {
  background: var(--off-white);
}

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.tkd-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tkd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── Dark Section ───────────────────────────────────────────────────────────── */
.section-dark {
  background: var(--dark);
  color: var(--light);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--light); }

/* ── Red Section ────────────────────────────────────────────────────────────── */
.section-red {
  background: var(--red);
  color: var(--white);
}
.section-red h2, .section-red h3 { color: var(--white); }

/* ── Belt Badge ─────────────────────────────────────────────────────────────── */
.belt-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid currentColor;
}

/* ── Stat Block ─────────────────────────────────────────────────────────────── */
.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.tkd-form .form-control,
.tkd-form .form-select {
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tkd-form .form-control:focus,
.tkd-form .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.12);
  outline: none;
}
.tkd-form label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
  display: block;
}

/* ── Alert / Flash messages ─────────────────────────────────────────────────── */
.alert-tkd {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  border-left: 4px solid;
  margin-bottom: 1rem;
}
.alert-tkd.success { background: #edf7ed; border-color: #4caf50; color: #2e7d32; }
.alert-tkd.error   { background: #fdecea; border-color: var(--red); color: var(--red-dark); }
.alert-tkd.info    { background: #e8f4fd; border-color: #2196f3; color: #1565c0; }
.alert-tkd.warning { background: #fff8e1; border-color: #ffc107; color: #856404; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-top {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--dark3);
}
.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 260px;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}
.footer-contact-item i { color: var(--red); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--dark3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* Footer on phones: shorter and tidier */
@media (max-width: 767.98px) {
  .footer-top { padding: 2.75rem 0 2rem; }
  .footer-top .row { --bs-gutter-y: 0; }
  .footer-top .row > div { padding-top: 1.6rem; margin-top: 1.6rem; border-top: 1px solid var(--dark3); }
  .footer-top .row > div:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
  .footer-brand-text { font-size: 1.45rem; margin-bottom: 0.5rem; }
  .footer-tagline { max-width: none; margin-bottom: 0; }
  .footer-social { margin-top: 1rem; }
  .footer-heading { margin-bottom: 0.9rem; }
  /* Links in two columns */
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1rem; margin: 0; }
  .footer-links a { font-size: 0.86rem; }
  /* Centres side by side when there is room, otherwise stacked closely */
  .footer-centres { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 1.25rem; }
  .footer-centres > .mb-3 { margin-bottom: 0 !important; }
  .footer-centre-name { font-size: 0.8rem !important; }
  .footer-contact-item { font-size: 0.82rem; margin-bottom: 0.4rem; gap: 0.5rem; }
  .footer-contact-item i { font-size: 0.8rem; width: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.1rem 0 1.4rem; font-size: 0.78rem; }
  .footer-legal { flex-wrap: wrap; gap: 0.4rem 1.2rem; }
}

/* ── Timetable ──────────────────────────────────────────────────────────────── */
/* Centre switcher (Classes page) */
.centre-tabs-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.centre-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e6e0d9;
}
.centre-tab {
  border: 0;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.centre-tab i { font-size: 0.8em; margin-right: 0.35rem; color: var(--red); transition: color var(--transition); }
.centre-tab:hover { background: #f6f1ec; }
.centre-tab.active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196,30,58,0.35);
}
.centre-tab.active i { color: var(--white); }
.centre-tab:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 480px) {
  .centre-tabs { display: flex; }
  .centre-tab { flex: 1; padding: 0.6rem 0.8rem; }
}
.centre-panel-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  margin-bottom: 2rem;
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.centre-panel-pin {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: #fdecee;
  color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
}
.centre-panel-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--dark);
  line-height: 1.1;
}
.centre-panel-addr { font-size: 0.8rem; color: var(--muted); }

.timetable-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.timetable-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  background: var(--white);
}
.timetable-table thead th {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
  border: none;
}
.timetable-table tbody td {
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.84rem;
  border: 1px solid #eee;
  vertical-align: middle;
  line-height: 1.4;
}
.timetable-table tbody tr:nth-child(even) td { background: #fafafa; }
.timetable-table tbody tr:hover td { background: #fff5f6; }
.timetable-time {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--red);
  display: block;
}

/* ── Instructor cards ───────────────────────────────────────────────────────── */
.instructor-card {
  height: 100%;                /* all cards in a row match the tallest */
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.instructor-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--dark3);
}
.instructor-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.instructor-card:hover .instructor-photo-wrap img {
  transform: scale(1.04);
}
.instructor-info {
  flex: 1;
  padding: 1.2rem 1.4rem 1.4rem;
}
.instructor-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--dark);
  margin-bottom: 0.15rem;
}
.instructor-rank {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.instructor-bio {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.6;
}
.instructor-expand-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  cursor: pointer;
  padding: 0;
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.instructor-expand-btn:hover { gap: 8px; }
.instructor-long-bio {
  display: none;
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

/* ── Products grid ──────────────────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;      /* show the whole product, never crop */
  padding: 0.75rem;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-info { padding: 1rem 1.2rem 1.4rem; }
/* Equal-height cards: price and Enquire button line up across a row */
.product-card { display: flex; flex-direction: column; }
.product-card > a { flex: 1; display: flex !important; flex-direction: column; }
.product-card .product-info { flex: 1; display: flex; flex-direction: column; }

/* Product details: main photo + thumbnail strip */
.product-main-photo {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
}
.product-main-photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: opacity 0.12s ease;
}
.product-main-photo img.swapping { opacity: 0; }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.product-thumb {
  aspect-ratio: 1;
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0.6;
  transition: opacity var(--transition), border-color var(--transition), transform var(--transition);
}
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; display: block; }
.product-thumb:hover { opacity: 1; transform: translateY(-2px); }
.product-thumb.active { border-color: var(--red); opacity: 1; }
.product-thumb:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
}
.product-price.contact { color: var(--muted); font-size: 0.8rem; font-weight: 400; font-style: italic; }

/* ── Gallery videos ─────────────────────────────────────────────────────────── */
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}
.video-card-title {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

/* ── Contact ────────────────────────────────────────────────────────────────── */
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.location-card-header {
  background: var(--dark);
  color: var(--white);
  padding: 1.2rem 1.5rem;
}
.location-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.1rem;
}
.location-card-header p {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 0;
}
.location-card-body { padding: 1.5rem; }
.location-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: #444;
}
.location-detail i { color: var(--red); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ── Pricing cards ──────────────────────────────────────────────────────────── */
.pricing-card {
  display: flex;
  flex-direction: column;      /* equal-height cards, buttons line up at the bottom */
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-period {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.8rem;
}
.pricing-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-list li i { color: var(--red); font-size: 0.8rem; }

/* ── Fade-in on scroll ──────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utility ────────────────────────────────────────────────────────────────── */
.text-red    { color: var(--red) !important; }
.text-muted  { color: var(--muted) !important; }
.text-white  { color: var(--white) !important; }
.bg-dark-tkd { background: var(--dark); }
.bg-black-tkd{ background: var(--black); }
.mt-nav      { margin-top: var(--nav-h); }

@media (max-width: 768px) {
  .section-pad { padding: 3.5rem 0; }
  .section-pad-sm { padding: 2rem 0; }
  .hero-scroll-cue { display: none; }
}


/* ── News & Events ──────────────────────────────────────────────────────────── */
.events-list { display: grid; gap: 1rem; max-width: 900px; margin: 0 auto; }
.event-card {
  display: flex; gap: 1.4rem; align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-left: 4px solid var(--red);
}
.event-date {
  flex: 0 0 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--dark); color: var(--white);
  padding: 1rem 0.5rem; text-align: center; line-height: 1;
}
.event-date-day   { font-family: var(--font-display); font-size: 2.6rem; }
.event-date-month { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.12em; color: var(--red-light); margin-top: 0.2rem; text-transform: uppercase; }
.event-date-dow   { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }
.event-body { padding: 1.1rem 1.4rem 1.2rem 0; flex: 1; min-width: 0; }
.event-title { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.04em; color: var(--dark); margin: 0 0 0.4rem; line-height: 1.1; }
.event-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.82rem; color: #555; margin-bottom: 0.5rem; }
.event-meta i { color: var(--red); margin-right: 0.25rem; }
.event-summary { font-size: 0.9rem; color: #555; line-height: 1.7; margin: 0 0 0.5rem; }
.events-empty {
  max-width: 600px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm); color: #666;
}
#news .events-empty { background: var(--off-white); box-shadow: none; }
.events-empty i { font-size: 1.8rem; color: var(--red); margin-bottom: 0.6rem; display: block; }
.events-empty p { margin: 0; font-size: 0.92rem; }

.news-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); transition: gap var(--transition);
}
.news-more:hover { gap: 0.65rem; color: var(--red-dark); }

.news-card {
  display: flex; flex-direction: column;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.news-card-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card-img > img { transform: scale(1.05); }
.news-card-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.news-card-noimg img { width: 34%; max-width: 110px; opacity: 0.9; }
.news-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.4rem; }
.news-card-date { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.4rem; }
.news-card-title { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0.03em; line-height: 1.15; margin: 0 0 0.5rem; }
.news-card-title a { color: var(--dark); }
.news-card-title a:hover { color: var(--red); }
.news-card-summary { font-size: 0.88rem; color: #555; line-height: 1.65; margin-bottom: 1rem; }

.news-pager { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.news-pager a {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1px solid #ddd; color: var(--dark); font-weight: 700; font-size: 0.85rem;
}
.news-pager a.active, .news-pager a:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* Single post */
.post-page-title { font-size: clamp(2rem, 4.5vw, 3.4rem) !important; }
.post-date { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 1.2rem; }
.post-event-box {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  background: var(--white); border-left: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1rem 1.3rem; margin-bottom: 1.5rem; font-size: 0.92rem; color: #444;
}
.post-event-box i { color: var(--red); margin-right: 0.3rem; }
.post-event-past { width: 100%; font-size: 0.8rem; color: var(--muted); font-style: italic; }
.post-image { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.post-lead { font-size: 1.1rem; font-weight: 300; color: #333; line-height: 1.75; margin-bottom: 1.2rem; }
.post-body p { font-size: 0.97rem; color: #444; line-height: 1.85; margin-bottom: 1.1rem; }
.post-body { font-size: 0.97rem; color: #444; line-height: 1.85; overflow-wrap: anywhere; }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--font-display); color: var(--dark); letter-spacing: 0.03em; line-height: 1.15; margin: 1.8rem 0 0.7rem; }
.post-body h2 { font-size: 1.9rem; }
.post-body h3 { font-size: 1.5rem; }
.post-body h4 { font-size: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
.post-body li { margin-bottom: 0.35rem; padding-left: 0.2rem; }
.post-body ul li::marker { color: var(--red); }
.post-body ol li::marker { color: var(--red); font-weight: 700; }
.post-body blockquote { border-left: 4px solid var(--red); background: #faf7f4; margin: 1.4rem 0; padding: 0.9rem 1.2rem; font-style: italic; color: #333; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.post-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin: 1.4rem auto; }
.post-body p:has(> img:only-child) { margin: 0; }
.post-body span[style*="background-color"] { padding: 0.05em 0.2em; border-radius: 3px; }
.post-body .ql-align-center { text-align: center; }
.post-body .ql-align-right { text-align: right; }
.post-body .ql-align-justify { text-align: justify; }
.post-body .ql-indent-1 { padding-left: 2em; } .post-body li.ql-indent-1 { margin-left: 1.5em; padding-left: 0.2rem; }
.post-body .ql-indent-2 { padding-left: 4em; } .post-body li.ql-indent-2 { margin-left: 3em; padding-left: 0.2rem; }
.post-body .ql-indent-3 { padding-left: 6em; } .post-body li.ql-indent-3 { margin-left: 4.5em; padding-left: 0.2rem; }
.post-directions { margin-left: 0.4rem; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.post-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e6e0d9; }

@media (max-width: 576px) {
  .event-card { flex-direction: column; gap: 0; border-left: 0; border-top: 4px solid var(--red); }
  .event-date { flex: none; flex-direction: row; justify-content: flex-start; gap: 0.6rem; padding: 0.7rem 1.1rem; }
  .event-date-day { font-size: 1.6rem; }
  .event-date-month { margin-top: 0; }
  .event-date-dow { margin-top: 0; }
  .event-body { padding: 1rem 1.1rem 1.2rem; }
}


/* ── Trial class banner (Classes page) ─────────────────────────────────────── */
.trial-banner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--dark);
  color: var(--light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.trial-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 90% at 0% 50%, rgba(196,30,58,0.28) 0%, rgba(196,30,58,0) 70%);
  pointer-events: none;
}
.trial-banner::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: var(--red);
}
.trial-banner > * { position: relative; }
.trial-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 0 0 0.5rem;
  line-height: 1;
}
.trial-banner-text p { font-size: 0.95rem; color: var(--light); line-height: 1.7; margin: 0 0 0.9rem; max-width: 560px; }
.trial-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.trial-points li { font-size: 0.85rem; color: var(--white); }
.trial-points i { color: var(--red-light); margin-right: 0.35rem; font-size: 0.8rem; }
.trial-banner-cta { flex-shrink: 0; text-align: center; }
.trial-banner-cta .btn-tkd { white-space: nowrap; }
.trial-banner-call { font-size: 0.82rem; color: var(--muted); margin: 0.7rem 0 0; }
.trial-banner-call a { color: var(--white); font-weight: 700; }
.trial-banner-call a:hover { color: var(--red-light); }
@media (max-width: 860px) {
  .trial-banner { flex-direction: column; align-items: flex-start; padding: 1.8rem 1.5rem 1.8rem 1.8rem; gap: 1.4rem; }
  .trial-banner-cta { text-align: left; }
}


/* ── Legal pages (Privacy Policy, Terms of Use) ────────────────────────────── */
.legal-updated {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2rem;
}
.legal-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.2rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.legal-heading {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 0.04em; color: var(--dark);
  margin: 0 0 0.8rem;
}
.legal-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0;
}
.legal-section p { font-size: 0.93rem; color: #444; line-height: 1.8; margin: 0 0 0.8rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-list { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.legal-list li {
  position: relative; padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.92rem; color: #444; line-height: 1.7;
}
.legal-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.95rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.legal-contact { display: grid; gap: 0.5rem; font-size: 0.92rem; color: #444; }
.legal-contact i { color: var(--red); width: 18px; margin-right: 0.35rem; }
@media (max-width: 576px) {
  .legal-section { padding: 1.3rem 1.2rem; }
  .legal-heading { font-size: 1.3rem; }
}
