/* ============================================
   i-FITNESS NG — STYLESHEET
   No gradients. Dark. Bold. Intentional.
   ============================================ */

/* ---- FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #0a0a0a;
  color: #e8e8e8;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- CSS VARIABLES ---- */
:root {
  --red: #e31e24;
  --red-dark: #b81519;
  --black: #0a0a0a;
  --surface: #141414;
  --surface-raised: #1c1c1c;
  --border: #2a2a2a;
  --white: #ffffff;
  --off-white: #c8c8c8;
  --muted: #888888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 24px;
}

/* ---- SHARED UTILITIES ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--white);
}

.section-sub {
  margin-top: 16px;
  color: var(--off-white);
  font-size: 1rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background-color: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-outline:hover {
  background-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   NAVIGATION
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--black);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
  flex-shrink: 0;
}

.logo span {
  color: var(--red);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav ul li a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--off-white);
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: var(--white);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  background-color: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  padding-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  align-items: center;
  gap: 48px;
}

.hero-content {
  padding: 80px 0;
  animation: fadeInUp 0.8s ease both;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--off-white);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-slideshow {
  position: relative;
  height: 560px;
  overflow: hidden;
  animation: fadeIn 1s ease 0.3s both;
  flex-shrink: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Ken Burns zoom effect on the active slide */
.hero-slide.active img {
  animation: kenBurns 15s ease forwards;
}

@keyframes kenBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}

/* Dot indicators */
.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.slide-dot.active {
  background-color: var(--red);
  transform: scaleX(2.5);
  transform-origin: left;
}

/* ============================================
   PROOF BAR
   ============================================ */
#proof-bar {
  background-color: var(--red);
  padding: 48px 24px;
}

.proof-items {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.proof-item:last-child {
  border-right: none;
}

.proof-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   WHY I-FITNESS
   ============================================ */
#why {
  padding: var(--section-padding);
  background-color: var(--black);
}

#why .section-header {
  max-width: var(--max-width);
  margin: 0 auto 64px;
}

.why-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
}

.why-card {
  background-color: var(--surface);
  padding: 40px 32px;
  border-top: 3px solid var(--red);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  background-color: var(--surface-raised);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--off-white);
  line-height: 1.7;
}

/* ============================================
   BRANCHES
   ============================================ */
#branches {
  padding: var(--section-padding);
  background-color: var(--surface);
}

#branches .section-header {
  max-width: var(--max-width);
  margin: 0 auto 64px;
}

.branches-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.branch-card {
  background-color: var(--black);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.branch-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.branch-image {
  height: 220px;
  overflow: hidden;
}

.branch-image img {
  transition: transform 0.4s ease;
}

.branch-card:hover .branch-image img {
  transform: scale(1.04);
}

.branch-info {
  padding: 28px;
}

.branch-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 8px;
}

.branch-info p {
  font-size: 0.9rem;
  color: var(--off-white);
  margin-bottom: 6px;
}

.branch-hours {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
  margin-bottom: 20px !important;
}

/* ============================================
   MAP
   ============================================ */
#map {
  padding: var(--section-padding);
  background-color: var(--black);
}

#map .section-header {
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.map-container {
  max-width: var(--max-width);
  margin: 0 auto;
  border: 1px solid var(--border);
  overflow: hidden;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ============================================
   MEMBERSHIP PLANS
   ============================================ */
#plans {
  padding: var(--section-padding);
  background-color: var(--black);
}

#plans .section-header {
  max-width: var(--max-width);
  margin: 0 auto 64px;
}

.plans-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0;
  align-items: start;
  border: 1px solid var(--border);
}

.plan-card {
  background-color: var(--surface);
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
}

.plan-card:last-child {
  border-right: none;
}

.plan-card h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 32px;
}

.plan-price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-features {
  margin-bottom: 36px;
}

.plan-features li {
  font-size: 0.9rem;
  color: var(--off-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '—';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* Featured plan */
.plan-featured {
  background-color: var(--red);
  border-color: var(--red);
  padding-top: 56px;
  padding-bottom: 56px;
}

.plan-featured h3,
.plan-featured .plan-price,
.plan-featured .plan-price span {
  color: var(--white);
}

.plan-featured .plan-price span {
  color: rgba(255,255,255,0.7);
}

.plan-featured .plan-features li {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.2);
}

.plan-featured .plan-features li::before {
  color: var(--white);
}

.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: var(--white);
  color: var(--red);
  padding: 4px 12px;
  margin-bottom: 16px;
}

.plan-featured .btn-primary {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
  width: 100%;
  text-align: center;
}

.plan-featured .btn-primary:hover {
  background-color: var(--surface-raised);
  border-color: var(--surface-raised);
}

.plan-card:not(.plan-featured) .btn-outline {
  width: 100%;
  text-align: center;
}

/* ============================================
   COMMUNITY GALLERY
   ============================================ */
#community {
  padding: var(--section-padding);
  background-color: var(--surface);
}

#community .section-header {
  max-width: var(--max-width);
  margin: 0 auto 64px;
}

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  background-color: var(--surface-raised);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
  padding: var(--section-padding);
  background-color: var(--black);
}

#testimonials .section-header {
  max-width: var(--max-width);
  margin: 0 auto 64px;
}

.testimonials-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--red);
  opacity: 0.15;
  position: absolute;
  top: -16px;
  left: 24px;
  line-height: 1;
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--off-white);
  line-height: 1.75;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.author-detail {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================
   FINAL CTA
   ============================================ */
#cta-final {
  padding: var(--section-padding);
  background-color: var(--red);
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

#cta-final .section-eyebrow {
  color: rgba(255,255,255,0.7);
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 16px 20px;
  background-color: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  transition: border-color 0.2s ease;
}

.cta-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.cta-form select option {
  background-color: var(--black);
  color: var(--white);
}

.cta-form input:focus,
.cta-form select:focus {
  border-color: rgba(255,255,255,0.7);
}

.cta-form .btn-primary {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--white);
  width: 100%;
  text-align: center;
  padding: 18px 32px;
  font-size: 0.95rem;
}

.cta-form .btn-primary:hover {
  background-color: var(--surface-raised);
  border-color: var(--surface-raised);
}

.cta-alt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.cta-alt a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer-tagline {
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red) !important;
  margin-top: 12px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-social a {
  font-size: 0.9rem;
  color: var(--muted);
  display: block;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   PAGE LOADER
   ============================================ */
#page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 24px;
  animation: loaderPulse 1s ease infinite alternate;
}

@keyframes loaderPulse {
  from { opacity: 0.6; }
  to   { opacity: 1;   }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background-color: var(--surface-raised);
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background-color: var(--red);
  animation: loaderFill 1.4s ease forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 900;
  background-color: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
}

.whatsapp-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ============================================
   STICKY CTA BAR
   ============================================ */
#sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background-color: var(--surface);
  border-top: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 14px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#sticky-cta.sticky-visible {
  transform: translateY(0);
}

#sticky-cta p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--off-white);
  margin: 0;
}

#sticky-cta .btn-primary {
  padding: 10px 24px;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.sticky-cta-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.sticky-cta-close:hover {
  color: var(--white);
}

/* ============================================
   BRANCH OPEN / CLOSED STATUS
   ============================================ */
.branch-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.branch-status::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.branch-status.is-open {
  color: #4ade80;
}

.branch-status.is-open::before {
  background-color: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

.branch-status.is-closed {
  color: var(--muted);
}

.branch-status.is-closed::before {
  background-color: var(--muted);
}

/* ============================================
   JS-POWERED STYLES
   ============================================ */

/* Nav scrolled state */
header.nav-scrolled {
  background-color: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Active nav link */
nav ul li a.nav-active {
  color: var(--white);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.hamburger-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.hamburger-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.hamburger-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form error states */
.input-error {
  border-color: var(--red) !important;
  outline: none;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #ff6b6b;
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
  background-color: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}

.success-icon {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 12px;
}

.success-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.success-body a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.lightbox-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.25s ease both;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  color: var(--red);
  transform: rotate(90deg);
}

/* ============================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================ */
@media (max-width: 960px) {

  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--black);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 999;
  }

  nav ul.nav-open {
    display: flex;
  }

  nav ul li a {
    display: block;
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  nav ul li a:hover {
    background-color: var(--surface);
  }

  #hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
    min-height: auto;
  }

  .hero-content {
    padding: 60px 0 32px;
  }

  .hero-slideshow {
    height: 380px;
  }

  .proof-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: rgba(255,255,255,0.2);
  }

  .proof-item {
    background-color: var(--red);
    border-right: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    border: none;
    gap: 16px;
  }

  .plan-card {
    border: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .plan-featured {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 220px 220px 220px;
  }

  .gallery-tall {
    grid-row: span 1;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================ */
@media (max-width: 600px) {

  :root {
    --section-padding: 72px 20px;
  }

  nav {
    padding: 0 20px;
  }

  #hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    text-align: center;
  }

  .hero-slideshow {
    height: 280px;
  }

  .proof-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 220px;
  }

  .gallery-tall,
  .gallery-wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}