/* ============================================================
   NEW SHREE SAINATH DRIVING SCHOOL — style.css
   Clean build for GitHub Pages deployment
   ============================================================ */

/* --- FONTS loaded per HTML file --- */

/* --- CSS VARIABLES --- */
:root {
  --red:       #E31E24;
  --red-dark:  #C01019;
  --red-soft:  #fff2f2;
  --gold:      #FFD700;
  --gold-dark: #C8A800;
  --black:     #0f0f0f;
  --dark:      #1a1a1a;
  --mid:       #555555;
  --muted:     #888888;
  --border:    #e0e0e0;
  --light:     #f6f6f6;
  --white:     #ffffff;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.11);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.15);
  --shadow-red: 0 8px 28px rgba(227,30,36,0.30);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--mid);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  width: 100%;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* --- LAYOUT --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--gray { background: var(--light); }
.section--dark { background: var(--dark); }
.section--darkest { background: #080808; }

/* --- SECTION LABELS --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section--dark .section-label,
.section--darkest .section-label {
  color: var(--gold);
}
.section--dark .section-label::before,
.section--darkest .section-label::before {
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-heading em {
  color: var(--red);
  font-style: normal;
}
.section--dark .section-heading,
.section--darkest .section-heading {
  color: var(--white);
}
.section--dark .section-heading em,
.section--darkest .section-heading em {
  color: var(--gold);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 52px;
}
.section--dark .section-sub,
.section--darkest .section-sub {
  color: rgba(255,255,255,0.50);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}
.btn-lg  { padding: 17px 38px; font-size: 1rem; }
.btn-md  { padding: 13px 28px; font-size: 0.92rem; }
.btn-sm  { padding: 9px 20px;  font-size: 0.82rem; }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-svg {
  width: 64px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 500;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--mid);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: all 0.22s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: var(--red-soft);
}
.nav-cta {
  margin-left: 10px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.28s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  width: 100%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 55%, rgba(227,30,36,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 88% 15%, rgba(255,215,0,0.09) 0%, transparent 55%),
    linear-gradient(155deg, #0d0000 0%, #1e0404 45%, #0d0000 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 700px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.35);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s var(--ease) both;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--ease) 0.08s both;
}
.hero-title .accent { color: var(--red); }
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.70);
  max-width: 500px;
  margin-bottom: 38px;
  animation: fadeUp 0.7s var(--ease) 0.16s both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp 0.7s var(--ease) 0.24s both;
}
.hero-stats {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  animation: fadeUp 0.7s var(--ease) 0.32s both;
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 36px;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-num sup { font-size: 1.1rem; color: var(--red); }
.stat-lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 5px;
  text-align: center;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--dark);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}
.trust-item::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}
.trust-sep {
  color: rgba(255,255,255,0.18);
  font-size: 1.1rem;
}

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.service-card .card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.service-card p { font-size: 0.87rem; line-height: 1.65; margin-bottom: 20px; }
.card-link {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.22s ease;
}
.card-link:hover { gap: 10px; }

.card-red   { background: var(--red); color: var(--white); }
.card-red   .card-link { color: var(--gold); }
.card-gold  { background: var(--gold); color: var(--dark); }
.card-gold  .card-link { color: var(--dark); }
.card-dark  { background: var(--dark); color: var(--white); }
.card-dark  .card-link { color: var(--red); }
.card-white { background: var(--white); color: var(--dark); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.card-white .card-link { color: var(--red); }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(to right, var(--red), var(--gold));
  z-index: 0;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step-icon { font-size: 1.8rem; margin-bottom: 10px; }
.process-step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.process-step p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.why-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-point:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.why-point-icon { font-size: 1.5rem; flex-shrink: 0; }
.why-point strong {
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--black);
  display: block;
  margin-bottom: 4px;
}
.why-point p { font-size: 0.85rem; color: var(--muted); margin: 0; }

.badge-stack { display: flex; flex-direction: column; gap: 18px; }
.badge-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.badge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.badge-card.gold-card {
  background: linear-gradient(135deg, #FFD700 0%, #FFE84D 100%);
  border-color: var(--gold);
}
.badge-icon { font-size: 2rem; margin-bottom: 8px; }
.badge-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.badge-num sup { font-size: 1.3rem; color: var(--red); }
.badge-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 6px;
}
.badge-sub { font-size: 0.77rem; color: var(--muted); margin-top: 4px; }
.badge-stars { font-size: 1rem; color: var(--gold); margin-top: 5px; }

/* ============================================================
   TRAINER CARDS
   ============================================================ */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trainer-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
  position: relative;
}
.trainer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.trainer-card.featured { border-color: var(--red); }
.trainer-top {
  padding: 36px 28px 24px;
  text-align: center;
}
.trainer-top-a { background: linear-gradient(135deg, var(--red) 0%, #a01015 100%); }
.trainer-top-b { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); }
.trainer-top-c { background: linear-gradient(135deg, #7B5500 0%, #C8A800 100%); }

.trainer-ribbon {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trainer-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 3px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}
.trainer-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.trainer-role { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.trainer-body { padding: 22px 26px; }
.trainer-stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; }
.trainer-quote {
  font-size: 0.86rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 16px;
}
.trainer-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
  background: var(--light);
  color: var(--mid);
}
.tag-red { background: var(--red-soft); color: var(--red); }

/* ============================================================
   TESTIMONIAL SLIDER
   ============================================================ */
.testimonial-slider { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn 0.4s ease; }
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
}
.t-stars { font-size: 1.2rem; color: var(--gold); margin-bottom: 18px; }
.t-text {
  font-size: 1.04rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.t-name { font-family: var(--font-head); font-size: 0.93rem; font-weight: 700; color: var(--white); }
.t-loc  { font-size: 0.77rem; color: rgba(255,255,255,0.42); }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.20);
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.slider-btn:hover { background: var(--red); border-color: var(--red); }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: all 0.25s ease;
}
.dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* ============================================================
   LOCATION BENTO
   ============================================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
.map-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 440px;
  box-shadow: var(--shadow-md);
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.info-cards { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover { border-color: var(--red); box-shadow: var(--shadow-md); }
.info-card.red-card { background: var(--red); border-color: var(--red); }
.info-card.red-card h4,
.info-card.red-card p { color: var(--white); }
.info-card.red-card a.ic-link { color: var(--gold); }
.info-icon { font-size: 1.6rem; flex-shrink: 0; }
.info-card h4 {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.info-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.ic-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 7px;
}
.ic-link:hover { text-decoration: underline; }
.ic-phone {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  margin-top: 4px;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 72px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-strip p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080808;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.25s ease;
}
.footer-socials a:hover { border-color: var(--red); background: rgba(227,30,36,0.18); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color 0.22s ease;
}
.footer-col a:hover { color: var(--red); }
.footer-contact p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.50);
  margin-bottom: 10px;
  line-height: 1.65;
}
.footer-contact a { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.77rem; color: rgba(255,255,255,0.22); }

/* ============================================================
   STICKY MOBILE CALL
   ============================================================ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 15px 32px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(227,30,36,0.52), 0 2px 8px rgba(0,0,0,0.18);
  white-space: nowrap;
  letter-spacing: 0.3px;
  border: 2.5px solid rgba(255,255,255,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: calc(100vw - 40px);
}
.sticky-call:active {
  transform: translateX(-50%) scale(0.97);
  box-shadow: 0 3px 14px rgba(227,30,36,0.45);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 148px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-red   { background: linear-gradient(140deg, #110000 0%, #2a0505 100%); }
.page-hero-navy  { background: linear-gradient(140deg, #070818 0%, #121230 100%); }
.page-hero-green { background: linear-gradient(140deg, #060f08 0%, #0d1f10 100%); }
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 55px 55px;
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero h1 span { color: var(--red); }
.page-hero-desc {
  font-size: 1.04rem;
  color: rgba(255,255,255,0.62);
  max-width: 520px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.breadcrumb a,
.breadcrumb span { font-size: 0.82rem; color: rgba(255,255,255,0.42); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.18); }
.breadcrumb .crumb-active { color: var(--gold); }

/* ============================================================
   PRICING CARDS (Training page)
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.price-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured-card { border-color: var(--red); }
.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}
.price-duration {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.price-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
}
.price-features { margin-bottom: 28px; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--light);
}
.price-features li:last-child { border-bottom: none; }
.check { color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-note { font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ============================================================
   CURRICULUM MODULES (Training page)
   ============================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.module-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}
.module-week {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.module-card h3 {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 7px;
}
.module-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   RTO SERVICE CARDS
   ============================================================ */
.rto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.rto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.rto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.rto-icon { font-size: 2.2rem; margin-bottom: 14px; }
.rto-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}
.rto-card p { font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; line-height: 1.65; }
.rto-card ul li {
  font-size: 0.83rem;
  color: var(--mid);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.rto-card ul li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   DOCS TABLE
   ============================================================ */
.docs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.docs-table th {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
}
.docs-table td {
  padding: 13px 18px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.docs-table tr:hover td { background: var(--light); }
.docs-table td:first-child { font-weight: 600; color: var(--dark); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  gap: 16px;
  user-select: none;
  transition: color 0.22s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  font-size: 1.3rem;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.28s ease;
  font-style: normal;
}
.faq-answer {
  display: none;
  padding-bottom: 18px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ============================================================
   TEAM VALUES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.value-icon { font-size: 2rem; margin-bottom: 10px; }
.value-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.value-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info-stack { display: flex; flex-direction: column; gap: 14px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-info-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.contact-info-card.card-accent {
  background: var(--red);
  border-color: var(--red);
}
.contact-info-card.card-accent h4,
.contact-info-card.card-accent p { color: var(--white); }
.contact-info-card.card-accent .ci-link { color: var(--gold); }
.ci-icon { font-size: 1.65rem; flex-shrink: 0; }
.contact-info-card h4 {
  font-family: var(--font-head);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.contact-info-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
.ci-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 7px;
}
.ci-link:hover { text-decoration: underline; }
.ci-phone {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  margin-top: 4px;
}

/* FORM CARD */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-card h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}
.form-subtitle { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,30,36,0.10);
}
.form-group textarea { resize: vertical; min-height: 108px; }
.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='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  margin-top: 6px;
}
.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.form-footnote {
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.form-footnote a { color: var(--red); font-weight: 600; }

.contact-map-wrap { margin-top: 56px; }
.contact-map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  padding: 24px;
}
.ty-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 52px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.5s var(--ease) both;
}
.ty-logo-line {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.ty-icon { font-size: 4.5rem; margin-bottom: 18px; }
.ty-card h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 14px;
}
.ty-card p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 28px;
}
.ty-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}
.ty-call-label {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.ty-number {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 26px;
}
.ty-number:hover { text-decoration: underline; }
.ty-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ty-address {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — ALL BREAKPOINTS CONSOLIDATED
   ============================================================ */

/* --- Base styles for new components --- */

/* 3-col info strip (homepage, below branch maps) */
.info-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Stats bar (team page) */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.stats-bar-block {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.09);
  min-width: 0;
}
.stats-bar-block:last-child {
  border-right: none;
}

/* --- 1024px — Tablets --- */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-grid     { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .why-grid         { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .modules-grid     { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .trainers-grid    { grid-template-columns: repeat(2, 1fr); }
  .info-strip-3     { grid-template-columns: 1fr; }
  .stats-bar        { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-block  { border-bottom: 1px solid rgba(255,255,255,0.09); }
  .stats-bar-block:nth-child(even) { border-right: none; }
  .stats-bar-block:nth-last-child(-n+2) { border-bottom: none; }
}

/* --- 768px — Mobile --- */
@media (max-width: 768px) {
  /* ── GLOBAL: stop anything from overflowing ── */
  html, body                { overflow-x: hidden; max-width: 100vw; }
  .container                { overflow-x: hidden; padding: 0 16px; }
  section, header, footer,
  .trust-bar, .cta-strip    { max-width: 100vw; overflow-x: hidden; }

  .section { padding: 64px 0; }

  /* ── HEADER / NAV ── */
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 998;
  }
  .main-nav.nav-open { display: flex; }
  .hamburger { display: flex; }

  /* ── HERO ── */
  .hero                     { min-height: auto; padding-bottom: 60px; }
  .hero-content             { padding: 60px 0 40px; width: 100%; }
  .hero-ctas                { flex-direction: column; }
  .hero-ctas .btn           { width: 100%; justify-content: center; }
  .hero-stats               { flex-direction: column; width: 100%; border-radius: var(--radius-lg); }
  .stat-block {
    flex-direction: row;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    padding: 14px 24px;
    width: 100%;
  }
  .stat-block:last-child    { border-bottom: none; }
  .stat-lbl                 { margin-top: 0; }

  /* ── ALL GRIDS → 1 column ── */
  .services-grid            { grid-template-columns: 1fr; }
  .process-grid             { grid-template-columns: 1fr; }
  .trainers-grid            { grid-template-columns: 1fr; }
  .location-grid            { grid-template-columns: 1fr; }
  .rto-grid                 { grid-template-columns: 1fr; }
  .contact-layout           { grid-template-columns: 1fr; }
  .modules-grid             { grid-template-columns: 1fr; }
  .footer-grid              { grid-template-columns: 1fr; gap: 28px; }
  .branches-grid            { grid-template-columns: 1fr; }
  .contact-branches         { grid-template-columns: 1fr; }
  .info-strip-3             { grid-template-columns: 1fr; }
  .branch-list              { grid-template-columns: 1fr; }

  /* ── STATS BAR → 2×2 ── */
  .stats-bar                { grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
  .stats-bar-block          { padding: 18px 14px; border-bottom: 1px solid rgba(255,255,255,0.09); }
  .stats-bar-block:nth-child(even)      { border-right: none; }
  .stats-bar-block:nth-last-child(-n+2) { border-bottom: none; }

  /* ── MISC GRIDS ── */
  .values-grid              { grid-template-columns: 1fr 1fr; }
  .map-box                  { height: 280px; }

  /* ── FORM ── */
  .form-card                { padding: 28px 20px; }
  .form-row                 { grid-template-columns: 1fr; }

  /* ── BRANCH CARDS ── */
  .branch-btns              { flex-direction: column; }
  .bl-map-wrap              { height: 200px; }
  .bl-info                  { padding: 20px 18px 22px; }
  .bl-num                   { font-size: 2rem; }
  .bl-name                  { font-size: 1.1rem; }
  .bl-btns                  { gap: 8px; }
  .bl-btn                   { width: 100%; justify-content: center; padding: 10px 16px; font-size: 0.8rem; }

  /* ── QUICK INFO ── */
  .quick-info-row           { flex-direction: column; gap: 10px; }
  .qi-pill                  { padding: 14px 16px; width: 100%; }

  /* ── CTA STRIP ── */
  .cta-strip-inner          { flex-direction: column; text-align: center; }
  .cta-btns                 { justify-content: center; flex-direction: column; align-items: center; }
  .cta-btns .btn            { width: 100%; justify-content: center; }

  /* ── TESTIMONIALS ── */
  .testimonial-card         { padding: 28px 20px; }

  /* ── TRUST BAR ── */
  .trust-sep                { display: none; }
  .trust-bar-inner          { gap: 8px 14px; }

  /* ── STICKY CALL ── */
  .sticky-call              { display: flex; align-items: center; justify-content: center; gap: 8px; }

  /* ── THANK YOU ── */
  .ty-card                  { padding: 44px 24px; }
  .ty-btns                  { flex-direction: column; align-items: center; }
  .ty-btns .btn             { width: 100%; justify-content: center; }
}

/* --- 480px — Small phones --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .values-grid      { grid-template-columns: 1fr; }
  .stats-bar        { grid-template-columns: 1fr; }
  .stats-bar-block  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.09); }
  .stats-bar-block:last-child { border-bottom: none; }
  .docs-table th,
  .docs-table td    { padding: 10px 12px; font-size: 0.8rem; }
}

/* ============================================================
   TWO BRANCHES LAYOUT
   ============================================================ */
.branches-section {
  margin-bottom: 0;
}
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.branch-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.branch-header {
  padding: 22px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.branch-header-a { background: linear-gradient(135deg, var(--red) 0%, #a01015 100%); }
.branch-header-b { background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); }
.branch-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}
.branch-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}
.branch-badge {
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.branch-map {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}
.branch-body {
  padding: 22px 28px 26px;
}
.branch-address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.branch-address-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.branch-address p {
  font-size: 0.86rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}
.branch-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.branch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--dark);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}
.branch-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}
.branch-btn.primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.branch-btn.primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}

/* Contact page branches */
.contact-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}
.cbranch {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.cbranch-head {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cbranch-head-a { background: var(--red); }
.cbranch-head-b { background: var(--dark); }
.cbranch-head-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}
.cbranch-head-name {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}
.cbranch-map {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cbranch-body { padding: 16px 20px; }
.cbranch-body p { font-size: 0.83rem; color: var(--mid); line-height: 1.6; margin-bottom: 12px; }
.cbranch-links { display: flex; gap: 8px; flex-wrap: wrap; }
.cbranch-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  color: var(--dark);
  background: var(--white);
  transition: all 0.22s ease;
  text-decoration: none;
}
.cbranch-link:hover { border-color: var(--red); color: var(--red); }
.cbranch-link.red { background: var(--red); color: var(--white); border-color: var(--red); }
.cbranch-link.red:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* Branches and contact maps mobile — handled in main @media block below */

/* ============================================================
   BRANCH LIST — NEW LAYOUT (replaces branches-grid)
   ============================================================ */
.branch-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.bl-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow 0.3s ease;
}
.bl-card:hover { box-shadow: var(--shadow-lg); }

/* Coloured left accent tag */
.bl-tag {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  display: inline-block;
}
.bl-tag-red  { background: var(--red);  color: var(--white); }
.bl-tag-dark { background: var(--dark); color: var(--white); }

/* Vertical stack inside each card: map on top, info below */
.bl-inner {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.bl-map-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}
.bl-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.bl-info {
  padding: 28px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bl-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
  opacity: 0.18;
}
.bl-num-dark { color: var(--dark); }
.bl-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.2;
}
.bl-area {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.bl-addr {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.bl-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--dark);
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.bl-btn:hover { border-color: var(--red); color: var(--red); }
.bl-btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.bl-btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-red);
}


/* ============================================================
   QUICK INFO ROW — pill style (replaces info-strip-3)
   ============================================================ */
.quick-info-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
}
.qi-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.qi-pill:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.qi-pill-red  { background: var(--red);  border-color: var(--red); }
.qi-pill-green { background: #25D366; border-color: #25D366; }
.qi-pill-red .qi-label,
.qi-pill-red .qi-value,
.qi-pill-green .qi-label,
.qi-pill-green .qi-value { color: var(--white); }
.qi-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  line-height: 1;
}
.qi-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.qi-value {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

/* ============================================================
   BRANCH LIST + QUICK INFO — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  /* Branch cards: side-by-side → single column on tablet & mobile */
  .branch-list    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .bl-map-wrap    { height: 200px; }
  .bl-info        { padding: 20px 18px 22px; }
  .bl-num         { font-size: 2rem; }
  .bl-name        { font-size: 1.1rem; }
  .bl-btns        { gap: 8px; }
  .bl-btn         { padding: 9px 16px; font-size: 0.77rem; }

  /* Quick info row already vertical — just adjust padding */
  .qi-pill        { padding: 14px 16px; }
}
