/* ============================================================
   Oxigim Gym — style.css
   Webify24.com | v1.7.10
   ============================================================ */

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

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

body {
  font-family: 'Inter', 'Aptos', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

.subheading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Colours ---------- */
:root {
  --red:      #d52027;
  --navy:     #23256d;
  --white:    #ffffff;
  --light:    #1e1e1e;
  --light-2:  #2a2a2a;
  --dark:     #111111;
  --grey:     #aaaaaa;
  --text:     #e0e0e0;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--red);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.bg-light { background: var(--light-2); }
.bg-navy { background: var(--navy); }
.bg-dark { background: var(--dark); }

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 48px 0; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn:focus { outline: 3px solid var(--red); outline-offset: 3px; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b81b21; }

.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: #1a1c52; }

.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: var(--light); color: var(--navy); }

/* ---------- Section Label ---------- */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}
.divider-left { margin-left: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,15,26,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.site-logo img {
  height: 52px;
  width: auto;
  border-radius: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active {
  color: #fff;
  border-bottom-color: var(--red);
}

.nav-cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 4px;
  border: 2px solid var(--red) !important;
  border-bottom: 2px solid var(--red) !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s, border-color 0.25s !important;
}
.nav-cta:hover,
.nav-cta.active {
  background: #b81b21 !important;
  border-color: #b81b21 !important;
  color: #fff !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}
.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark);
  padding: 1.5rem 5%;
  gap: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--red); }
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO / PAGE HEADER
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  background-attachment: inherit;
  filter: grayscale(100%);
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.5); margin-bottom: 1rem; }
.page-hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; opacity: 0.9; }

/* Inner page hero (shorter) */
.inner-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: inherit;
  filter: grayscale(100%);
  z-index: 0;
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 1;
}
.inner-hero .container { position: relative; z-index: 2; padding-top: 70px; }
.inner-hero h1 { color: #fff; }
.inner-hero .breadcrumb { margin-top: 0.75rem; font-size: 0.9rem; opacity: 0.75; }
.inner-hero .breadcrumb a { color: #fff; }
.inner-hero .breadcrumb a:hover { color: var(--red); }

/* ============================================================
   HOME PAGE SECTIONS
   ============================================================ */

/* Stats Strip */
.stats-strip {
  background: var(--red);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item .stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.feature-card {
  background: var(--red);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
  color: #fff;
}
.feature-card h3, .feature-card p { color: #fff; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.13); }
.feature-icon {
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}
.feature-icon svg { width: 28px; height: 28px; fill: var(--red); }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img { border-radius: 8px; overflow: hidden; }
.split-img img { width: 100%; height: 420px; object-fit: cover; }
.split-content h2 { margin-bottom: 1rem; }
.split-content p { color: var(--text); margin-bottom: 1rem; }

/* Services Preview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 320px;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,26,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}
.service-card-overlay h3 { color: #fff; margin-bottom: 0.5rem; }
.service-card-overlay p { font-size: 0.9rem; opacity: 0.85; margin: 0; }

/* Testimonial */
.testimonial-section { background: var(--navy); color: #fff; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid var(--red);
}
.testimonial-card p { font-style: italic; opacity: 0.9; margin-bottom: 1.25rem; }
.testimonial-author { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--red); font-size: 0.9rem; }

/* CTA Banner */
.cta-banner {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  background: var(--light-2);
}
.value-icon {
  width: 80px;
  height: 80px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-icon svg { width: 44px; height: 44px; fill: #fff; }
.value-icon img { width: 48px; height: 48px; object-fit: contain; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.team-card h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.team-card .role { color: var(--red); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-list { margin-top: 3rem; }
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid #eee;
}
.service-item:last-child { border-bottom: none; }
.service-item.reverse { direction: rtl; }
.service-item.reverse > * { direction: ltr; }
.service-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}
.service-item h2 { margin-bottom: 1rem; }
.service-item p { color: var(--text); }

/* ============================================================
   RATES PAGE
   ============================================================ */
.rates-container { max-width: 900px; margin: 0 auto; }
.rates-image-wrap {
  background: var(--light);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}
.rates-image-wrap img { width: 100%; height: auto; display: block; }
.rates-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Lightbox for rates images */
.rates-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.rates-lightbox-overlay.active { display: flex; }
.rates-lightbox-overlay img { max-width: 95vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.rates-lightbox-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ============================================================
   BRANCHES PAGE
   ============================================================ */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.branch-card {
  background: var(--light-2);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.branch-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.13); }
.branch-card-head {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.branch-card-head h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.branch-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
}
.branch-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.branch-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}
.branch-detail svg { width: 18px; height: 18px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }
.branch-card-body .btn { width: 100%; text-align: center; margin-top: auto; padding-top: calc(1rem + 0.5rem); }

.franchise-box {
  background: var(--light-2);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  border-top: 4px solid var(--red);
  margin-top: 4rem;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 2rem;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(213,32,39,0);
  transition: background 0.3s;
}
.gallery-item:hover::after { background: rgba(213,32,39,0.15); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9000;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lb-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 9010;
}
.lb-btn:hover { background: var(--red); }
.lb-btn:focus { outline: 3px solid var(--red); }
.lb-prev { left: 1.5rem; }
.lb-next { right: 1.5rem; }
.lb-close {
  position: fixed;
  top: 1rem; right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 9010;
  line-height: 1;
}
.lb-close:hover { color: var(--red); }
.lb-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail svg { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; margin-bottom: 0.25rem; }
.contact-detail a:hover { color: var(--red); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 0.5rem; }
.hours-table td { padding: 5px 0; }
.hours-table td:last-child { text-align: right; color: var(--grey); }

/* Contact Form */
.contact-form-wrap {
  background: var(--light-2);
  border-radius: 8px;
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--light);
  transition: border-color 0.2s;
  color: #1a1a1a;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .field-error { color: var(--red); font-size: 0.8rem; margin-top: 4px; display: none; }
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select { border-color: var(--red); }
.form-group.invalid .field-error { display: block; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1.5px solid #4caf50;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  color: #2e7d32;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 1rem;
}
.form-error-general {
  display: none;
  background: var(--light-2);
  border: 1.5px solid var(--red);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  color: #b00020;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img {
  height: 52px;
  width: auto;
  border-radius: 0;
  margin-bottom: 1rem;
}
.footer-brand .tagline {
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}
.footer-social { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--red); }
.social-icon svg { width: 18px; height: 18px; fill: #fff; }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col p a { color: rgba(255,255,255,0.7); }
.footer-col p a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--red); }

/* ============================================================
   404 / 500 / PRIVACY
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--light-2);
}
.error-code {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 20vw, 12rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.privacy-content { max-width: 800px; margin: 0 auto; padding: 80px 0; }
.privacy-content h2 { margin: 2rem 0 1rem; font-size: 1.4rem; }
.privacy-content p, .privacy-content li { color: var(--text); }
.privacy-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.privacy-content li { margin-bottom: 0.4rem; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
/* Fade-in: only apply opacity:0 when JS has confirmed it's running.
   The .js-loaded class is added to <body> by main.js on DOMContentLoaded.
   Without it, all content is fully visible (safe fallback). */
.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js-loaded .fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section.reverse { direction: ltr; }
  .service-item { grid-template-columns: 1fr; gap: 2rem; }
  .service-item.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section-pad { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { background-attachment: scroll; }

  /* Centre all text on mobile */
  h1, h2, h3, h4 { text-align: center; }
  p { text-align: center; }
  .section-label { display: block; text-align: center; }
  .divider { margin-left: auto; margin-right: auto; }
  .divider-left { margin-left: auto; }
  .footer-brand { text-align: center; }
  .footer-brand img { display: inline-block; }
  .split-img img { height: 260px; }
  .service-item img { height: 240px; }
  .btn { width: 100%; text-align: center; }
  .rates-actions { flex-direction: column; align-items: center; }
  .footer-social { justify-content: center; }
  .contact-detail { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}

@media (max-width: 360px) {
  .gallery-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
}

/* ===== Red Banner (Home page tagline strip) ===== */
.red-banner {
  background: var(--red);
  padding: 1.1rem 0;
  text-align: center;
}
.red-banner p {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* ===== Hero logo (replaces text headline on home page) ===== */
.hero-logo {
  border-radius: 0 !important;
}


/* ============================================================
   v1.7.0 — Dark palette cleanup additions
   ============================================================ */

/* Rates page contact note box (was light grey, now darker accent) */
.rates-container + .text-center,
section .text-center[style*="background:var(--light)"] {
  background: var(--light-2) !important;
}

/* Value cards on About: text color on dark bg */
.value-card h3, .value-card p { color: var(--text); }
.value-card h3 { color: #fff; }

/* Branch card detail text */
.branch-detail, .branch-detail a { color: var(--text); }
.branch-detail a:hover { color: var(--red); }

/* Service item text (services page) */
.service-item p { color: var(--text); }

/* Contact page details */
.contact-detail, .contact-detail a, .hours-table td { color: var(--text); }
.contact-detail strong { color: #fff; }
.contact-detail a:hover { color: var(--red); }

/* Generic muted paragraph helper: still readable on dark */
p[style*="color:#555"], p[style*="color: #555"],
p[style*="color:#333"], p[style*="color: #333"] {
  color: var(--text) !important;
}

/* Headings inside sections that should be white (most of them on dark bg) */
.split-content h2,
.feature-card h3,
.service-item h2,
.values-grid h3,
.branch-card-head h3,
.testimonial-section h2,
.cta-banner h2,
.rates-container h3,
.contact-form-wrap h3 { color: #fff; }

/* Inputs and form on dark mode */
.contact-form-wrap {
  background: var(--light-2);
}
input, textarea, select {
  background: var(--dark);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.4); }
input:focus, textarea:focus, select:focus {
  border-color: var(--red);
  background: var(--dark);
  color: #fff;
}
label { color: var(--text); }


/* ============================================================
   v1.7.1 — Home page nav variant + hero logo sizing
   ============================================================ */

/* On home page (desktop only): hide nav logo and centre the menu */
@media (min-width: 993px) {
  body[data-page="home"] .site-logo { display: none; }
  body[data-page="home"] .nav-inner { justify-content: center; }
  body[data-page="home"] .nav-links { margin: 0 auto; }
}

/* Bigger hero logo per PDF example */
.hero-logo {
  max-width: 900px !important;
  width: 90% !important;
}

/* Uppercase page titles in inner heroes */
.inner-hero h1 { text-transform: uppercase; letter-spacing: 0.08em; }

/* Nav logo sizing tweak — the new colour logo is wider than the old one */
.site-logo img { height: 88px; }

/* Footer logo — keep visible in colour (was filter-inverted before) */
.footer-logo-img { max-width: 460px; height: auto; }
