/* ============================================================
   SBB GROUP — Premium Corporate Site  |  style.css v2.0
   Palette: Black #0A0A0A · Orange #FF6B35 · Off-white #F7F5F0
============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #374151;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---- CSS Variables ---- */
:root {
  --navy:        #0A0A0A;
  --navy-mid:    #1A1A1A;
  --navy-light:  #2A2A2A;
  --gold:        #007BFF;
  --gold-light:  #0099FF;
  --gold-dark:   #0056CC;
  --gold-bg:     rgba(0,123,255,0.12);
  --gold-border: rgba(0,123,255,0.30);
  --blue-light:  #5B9FCC;
  --off-white:   #F7F5F0;
  --white:       #ffffff;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-400:    #9CA3AF;
  --gray-600:    #6B7280;
  --text-dark:   #0A0A0A;
  --text-body:   #4B5563;
  --text-muted:  #9CA3AF;
  --border:      #E5E7EB;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.18);
  --shadow-gold: 0 8px 32px rgba(0,123,255,0.28);
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { color: var(--text-dark); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.0625rem; }
p  { color: var(--text-body); line-height: 1.75; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; position: relative; z-index: 20; }
.section-sm { padding: 56px 0; position: relative; z-index: 20; }

.section-dark  { background: var(--navy); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.68); }

.section-mid  { background: var(--navy-mid); }
.section-warm { background: var(--off-white); }

/* ---- Section Label ---- */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--gold); flex-shrink: 0;
}

.section-title    { margin-bottom: 14px; }
.section-subtitle { font-size: 1.0625rem; color: var(--text-body); max-width: 580px; margin-bottom: 52px; }
.section-header   { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label  { justify-content: center; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em;
  transition: var(--transition); cursor: pointer;
  border: 2px solid transparent; text-decoration: none; white-space: nowrap;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.25),
    0 0 40px rgba(255, 255, 255, 0.15),
    0 0 80px rgba(255, 107, 53, 0.2);
}
.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: 10px; }

/* Blue buttons with strong blue glow */
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); box-shadow: 0 0 25px rgba(0,123,255,0.5), 0 0 50px rgba(0,123,255,0.3), inset 0 0 20px rgba(0,123,255,0.2); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,123,255,0.7), 0 0 60px rgba(0,123,255,0.5), inset 0 0 20px rgba(0,123,255,0.3), var(--shadow-gold); }

/* Navy buttons with subtle glow */
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 0 25px rgba(255,255,255,0.3), 0 0 50px rgba(255,255,255,0.1), inset 0 0 20px rgba(255,255,255,0.1); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 0 35px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.2), inset 0 0 20px rgba(255,255,255,0.2), var(--shadow-lg); }

/* Outline gold buttons with blue glow */
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); box-shadow: 0 0 20px rgba(0,123,255,0.4), 0 0 40px rgba(0,123,255,0.2), inset 0 0 15px rgba(0,123,255,0.1); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); box-shadow: 0 0 30px rgba(0,123,255,0.6), 0 0 50px rgba(0,123,255,0.4), inset 0 0 20px rgba(0,123,255,0.2); }

/* Outline white buttons with white glow */
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); box-shadow: 0 0 20px rgba(255,255,255,0.4), 0 0 40px rgba(255,255,255,0.2), inset 0 0 15px rgba(255,255,255,0.1); }
.btn-outline-white:hover { background: rgba(255,255,255,0.10); border-color: #fff; box-shadow: 0 0 30px rgba(255,255,255,0.6), 0 0 50px rgba(255,255,255,0.4), inset 0 0 20px rgba(255,255,255,0.2); }

/* Buttons on light backgrounds get darker glow */
.section-warm .btn-gold { box-shadow: 0 0 25px rgba(0,123,255,0.6), 0 0 50px rgba(0,123,255,0.4); }
.section-warm .btn-gold:hover { box-shadow: 0 0 35px rgba(0,123,255,0.8), 0 0 60px rgba(0,123,255,0.6), var(--shadow-gold); }

.section-warm .btn-navy { box-shadow: 0 0 25px rgba(0,0,0,0.4), 0 0 50px rgba(0,0,0,0.2); }
.section-warm .btn-navy:hover { box-shadow: 0 0 35px rgba(0,0,0,0.6), 0 0 60px rgba(0,0,0,0.3), var(--shadow-lg); }

/* Buttons on dark backgrounds get lighter glow */
.section-dark .btn-navy { box-shadow: 0 0 30px rgba(255,255,255,0.4), 0 0 60px rgba(255,255,255,0.2); }
.section-dark .btn-navy:hover { box-shadow: 0 0 40px rgba(255,255,255,0.6), 0 0 70px rgba(255,255,255,0.3), var(--shadow-lg); }

.section-dark .btn-outline-white { box-shadow: 0 0 30px rgba(255,255,255,0.5), 0 0 60px rgba(255,255,255,0.3); }
.section-dark .btn-outline-white:hover { box-shadow: 0 0 40px rgba(255,255,255,0.7), 0 0 70px rgba(255,255,255,0.5); }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0; transition: var(--transition);
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
  width: 100%;
}
.site-header .container {
  max-width: none; width: 100%;
}
.site-header.scrolled {
  background: transparent !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none !important;
}
.site-header * {
  pointer-events: auto;
}

/* Dynamic navbar colors based on background */
.site-header.light-bg .logo-sbb,
.site-header.light-bg .logo-group,
.site-header.light-bg .nav-links a,
.site-header.light-bg .nav-phone {
  color: #000 !important;
  text-shadow:
    0 0 6px rgba(0, 0, 0, 0.15),
    0 0 12px rgba(0, 123, 255, 0.08) !important;
}

/* Less glow on logo in light backgrounds */
.site-header.light-bg .logo-sbb,
.site-header.light-bg .logo-group {
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.1),
    0 0 6px rgba(0, 123, 255, 0.05) !important;
}

.site-header.light-bg .nav-phone span {
  color: #1a1a1a !important;
}

.site-header.light-bg .hamburger span {
  background: #000 !important;
}

/* Default white text for dark backgrounds */
.site-header .logo-sbb,
.site-header .logo-group,
.site-header .nav-links a,
.site-header .nav-phone {
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.2),
    0 0 12px rgba(255, 107, 53, 0.12);
}

/* Less glow on logo */
.site-header .logo-sbb,
.site-header .logo-group {
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.12),
    0 0 6px rgba(255, 107, 53, 0.06) !important;
}

.site-header .hamburger span {
  background: #fff;
}
.nav-inner {
  display: flex; align-items: center;
  height: 108px; padding: 0 36px;
  background: transparent;
  border: none;
}
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; flex-shrink: 0; width: fit-content; }
.logo-sbb   { font-size: 2.625rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.logo-group { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.52em; text-transform: uppercase; color: #fff; }


.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; margin-left: auto; }
.nav-links a {
  padding: 11px 20px; color: #fff;
  font-size: 1.3125rem; font-weight: 500; border-radius: 6px;
  transition: var(--transition); letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,0.09);
}

.nav-cta    { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.nav-phone  { color: #fff; font-size: 1.21875rem; font-weight: 500; white-space: nowrap; }
.nav-phone span { color: var(--gold); font-weight: 700; }

.hamburger { display: none; flex-direction: column; gap: 8px; cursor: pointer; padding: 12px; border: none; background: none; }
.hamburger span { display: block; width: 33px; height: 3px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* Close button — only visible when mobile menu is open */
.nav-close { display: none; }
.nav-links.open .nav-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 18px 11px 14px;
  border-radius: 100px;
  cursor: pointer;
  align-self: flex-start;
  margin: 0 0 24px;
  transition: color 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease,
              gap 0.25s ease,
              transform 0.25s ease;
}
.nav-links.open .nav-close:hover,
.nav-links.open .nav-close:focus-visible {
  color: var(--gold);
  background: rgba(207, 147, 55, 0.10);
  border-color: rgba(207, 147, 55, 0.45);
  gap: 14px;
  outline: none;
}
.nav-links.open .nav-close:active {
  transform: scale(0.97);
}
.nav-links.open .nav-close svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.25s ease;
}
.nav-links.open .nav-close:hover svg {
  transform: translateX(-3px);
}

/* Mobile nav open — full-screen overlay panel */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* dynamic viewport height — accounts for mobile browser chrome */
  gap: 0;
  background: linear-gradient(160deg, #0b1829 0%, #122236 60%, #1a2d44 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 124px 28px 48px;
  border-bottom: none;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: navOpenSlide 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes navOpenSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-links.open li {
  list-style: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-links.open li:last-of-type { border-bottom: none; }
.nav-links.open a {
  display: block;
  padding: 22px 8px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff !important;
  background: transparent !important;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  border-radius: 0;
  position: relative;
  transition: padding-left 0.25s ease, color 0.25s ease;
}
.nav-links.open a:hover,
.nav-links.open a:focus,
.nav-links.open a.active {
  padding-left: 16px;
  color: var(--gold) !important;
  background: transparent !important;
}
.nav-links.open a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--gold);
  border-radius: 2px;
}

/* Hamburger → X transform when menu is open */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}
.hamburger span { transition: transform 0.3s ease, opacity 0.2s ease; }

/* Lock body scroll when menu is open */
body.nav-open {
  overflow: hidden;
}

/* When the mobile menu is open the header sits over the dark navy panel.
   Force header text/icons to white regardless of what section was beneath
   the navbar before the menu opened. */
body.nav-open .site-header .logo-sbb,
body.nav-open .site-header .logo-group {
  color: #fff !important;
  text-shadow: 0 0 3px rgba(255,255,255,0.12), 0 0 6px rgba(255,107,53,0.06) !important;
}
body.nav-open .site-header .hamburger span {
  background: #fff !important;
}

/* ---- Dropdown Menu ---- */
.nav-item-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--gold); border-radius: 8px; overflow: hidden;
  list-style: none; padding: 8px 0; margin: 8px 0 0 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,123,255,0.25);
  z-index: 100;
}
.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.nav-dropdown-menu li {
  list-style: none; margin: 0; padding: 0;
}
.nav-dropdown-menu li a {
  display: block; padding: 12px 20px; color: var(--navy);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  transition: var(--transition); white-space: nowrap;
  background: var(--gold);
}
.nav-dropdown-menu li a:hover {
  background: var(--gold-light); color: var(--navy);
  padding-left: 24px;
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background: transparent; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1800&q=80');
  background-size: cover; background-position: center;
  opacity: 0.20;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.0); } to { transform: scale(1.08); } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(130deg, rgba(11,24,41,0.96) 0%, rgba(11,24,41,0.82) 55%, rgba(30,51,71,0.92) 100%);
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* decorative blobs */
.hero::after {
  content: ''; position: absolute; top: 20%; right: 5%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,123,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 148px 0 56px; max-width: 760px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 28px;
}
.hero h1 { color: #fff; line-height: 1.08; margin-bottom: 22px; }
.hero h1 span { color: var(--gold); display: block; }
.hero p   { font-size: 1.125rem; color: rgba(255,255,255,0.72); max-width: 560px; margin-bottom: 40px; line-height: 1.75; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   HERO MACHETA — Scroll Animation Section
   ════════════════════════════════════════════════════════════ */

.hero-macheta {
  position: relative;
  background: var(--navy);
  min-height: 500vh;
  overflow: hidden;
  padding-top: 108px;
}

.hero-macheta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 500vh;
  background-image: linear-gradient(135deg, rgba(11,24,41,0.75) 0%, rgba(11,24,41,0.70) 50%, rgba(11,24,41,0.75) 100%), url('/images/after.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

.hero-macheta-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 5;
  overflow: hidden;
  pointer-events: auto;
  transition: opacity 0.4s ease-out;
}

.container-full {
  height: 100%;
  padding: 0 24px;
}

.hero-macheta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  min-height: 100%;
  align-items: center;
  justify-items: center;
  padding: 40px 0;
}

.hero-macheta-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 32px;
  z-index: 2;
  position: relative;
  height: auto;
}

.macheta-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  pointer-events: none;
  will-change: opacity, transform;
}

.macheta-stage.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.macheta-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.25),
    0 0 40px rgba(255, 255, 255, 0.15),
    0 0 80px rgba(255, 107, 53, 0.2);
}

.macheta-description {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0;
  text-shadow:
    0 0 15px rgba(255, 255, 255, 0.15),
    0 0 30px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(255, 107, 53, 0.12);
}

/* Stage-6 CTA buttons — fade in slightly after the stage activates */
.macheta-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.macheta-stage.active .macheta-cta {
  opacity: 1;
  transform: translateY(0);
}

.hero-macheta-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 450px;
  background: transparent;
}

.macheta-image-container {
  position: relative;
  width: 95%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.macheta-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  will-change: opacity;
  filter: drop-shadow(0 40px 60px rgba(255, 107, 53, 0.15));
}

.macheta-image.active {
  opacity: 1;
}

.video-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  isolation: isolate;
  background: transparent;
}

.video-mockup-wrapper::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: transparent;
  filter: none;
  z-index: -1;
  pointer-events: none;
}

.hero-mockup-video {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  outline: none;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

.image-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  isolation: isolate;
  background: transparent;
}

.hero-mockup-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  outline: none;
  mix-blend-mode: normal;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

.hero-macheta-spacer {
  height: 500vh;
  background: transparent;
  pointer-events: none;
}

/* Responsive: Hero Macheta Mobile */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-macheta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 20px;
  }

  .hero-macheta-left {
    padding-right: 0;
    padding-bottom: 20px;
    order: 1;
  }

  .hero-macheta-right {
    transform: translateY(0);
    width: 100%;
    height: auto;
    order: 2;
    min-height: 600px;
  }

  .macheta-image-container {
    width: 100%;
    height: 600px;
    aspect-ratio: auto;
  }

  .macheta-image {
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .video-mockup-wrapper {
    width: 100% !important;
    height: 350px !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .video-mockup-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(207, 147, 55, 0.22), rgba(0, 0, 0, 0) 65%);
    filter: blur(35px);
    z-index: 0;
    pointer-events: none;
  }

  .hero-mockup-video {
    width: 100% !important;
    height: 350px !important;
    max-width: 90vw !important;
    -webkit-mask-image: radial-gradient(circle, black 48%, rgba(0,0,0,0.85) 62%, transparent 82%) !important;
    mask-image: radial-gradient(circle, black 48%, rgba(0,0,0,0.85) 62%, transparent 82%) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain !important;
    position: relative;
    z-index: 1;
  }

  .hero-macheta-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 26px;
    padding: 0 16px;
  }

  .hero-macheta-left {
    padding: 0;
    padding-right: 0;
    max-width: 320px;
    text-align: center;
    order: 1;
    flex-shrink: 0;
  }

  .macheta-stage {
    opacity: 0;
    transition: opacity 0.7s ease-in-out 0.3s;
  }

  .macheta-stage.active {
    opacity: 1;
  }

  .macheta-title {
    font-size: 26px;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 40px rgba(255, 255, 255, 0.15),
      0 0 80px rgba(255, 107, 53, 0.2);
    letter-spacing: -0.01em;
  }

  .macheta-description {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    max-width: 320px;
    margin: 0;
    margin-top: 8px;
    text-shadow:
      0 0 15px rgba(255, 255, 255, 0.15),
      0 0 30px rgba(255, 255, 255, 0.08),
      0 0 60px rgba(255, 107, 53, 0.12);
  }

  .hero-macheta-right {
    width: 100% !important;
    transform: translateY(0);
    height: auto !important;
    min-height: 400px !important;
    order: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .image-mockup-wrapper {
    width: 100% !important;
    height: 350px !important;
    max-height: 350px !important;
    max-width: 90vw;
    margin: 0 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-mockup-image {
    width: 100% !important;
    height: 100% !important;
    max-height: 350px !important;
    object-fit: contain !important;
    object-position: center !important;
    -webkit-user-select: none;
    user-select: none;
  }

  .macheta-image-container {
    position: relative;
    width: 100% !important;
    height: 350px !important;
    max-width: 90vw;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 20px auto;
  }

  .macheta-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.35s ease-out;
    will-change: opacity;
  }

  .macheta-image.active {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero-macheta-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 24px;
    padding: 0 14px;
  }

  .hero-macheta-left {
    padding: 0;
    padding-right: 0;
    max-width: 300px;
    text-align: center;
    order: 1;
    flex-shrink: 0;
  }

  .macheta-stage {
    opacity: 0;
    transition: opacity 0.7s ease-in-out 0.3s;
  }

  .macheta-stage.active {
    opacity: 1;
  }

  .macheta-title {
    font-size: 23px;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 40px rgba(255, 255, 255, 0.15),
      0 0 80px rgba(255, 107, 53, 0.2);
    letter-spacing: -0.01em;
  }

  .macheta-description {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    max-width: 300px;
    margin: 0;
    margin-top: 8px;
    text-shadow:
      0 0 15px rgba(255, 255, 255, 0.15),
      0 0 30px rgba(255, 255, 255, 0.08),
      0 0 60px rgba(255, 107, 53, 0.12);
  }

  .hero-macheta-right {
    width: 100%;
    transform: translateY(0);
    height: auto;
    min-height: 380px;
    order: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .macheta-image-container {
    position: relative;
    width: min(90vw, 340px);
    height: 340px;
    max-width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .macheta-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.35s ease-out;
    will-change: opacity;
  }

  .macheta-image.active {
    opacity: 1;
  }
}

/* Stats bar */
.stats-bar {
  position: relative; z-index: 2;
  padding: 36px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 60px;
}
.stat-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; padding: 0 20px;
  flex: 0 1 auto;
  min-width: 200px;
}
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat-text { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1.2; margin-bottom: 6px; letter-spacing: -0.02em; white-space: normal; word-spacing: 0; }
.stat-label  { font-size: 0.8rem; color: #fff; font-weight: 500; letter-spacing: 0.02em; }

/* ---- Service Cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 52px 44px;
  transition: var(--transition); position: relative; overflow: hidden;
  min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0); transition: var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 54px; height: 54px;
  background: var(--gold-bg); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 22px; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; margin-bottom: 18px; }

.service-includes { list-style: none; }
.service-includes li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--text-body); padding: 3px 0;
}
.service-includes li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-dark); font-size: 0.875rem; font-weight: 600;
  margin-top: 18px; transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--gold); }

/* ---- Why Us ---- */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-us-image {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5; background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
}
.why-us-badge {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  background: rgba(11,24,41,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border); border-radius: var(--radius);
  padding: 18px 22px; display: flex; gap: 18px; align-items: center;
}
.why-badge-number { font-size: 2.25rem; font-weight: 800; color: var(--gold); line-height: 1; white-space: nowrap; }
.why-badge-text   { font-size: 0.875rem; color: rgba(255,255,255,0.82); line-height: 1.45; }

.why-us-features  { display: flex; flex-direction: column; gap: 26px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon {
  width: 46px; height: 46px; background: var(--gold-bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0; transition: var(--transition);
  color: var(--gold);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-item:hover .feature-icon { background: var(--gold); color: #fff; }
.feature-text h4 { font-size: 1.0rem; margin-bottom: 5px; }
.feature-text p  { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; }

/* ---- Process Timeline ---- */
.process-timeline {
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative; gap: 0;
}
.process-timeline::before {
  content: ''; position: absolute; top: 35px; left: 11%; right: 11%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); opacity: 0.35;
}
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px; position: relative; }
.step-bubble {
  width: 70px; height: 70px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; font-weight: 800; color: var(--navy);
  margin-bottom: 22px; z-index: 1;
  box-shadow: 0 0 0 8px rgba(0,123,255,0.12);
  transition: var(--transition);
}
.process-step:hover .step-bubble { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(0,123,255,0.12), var(--shadow-gold); }
.process-step h4 { font-size: 1.0rem; margin-bottom: 10px; color: #fff; }
.process-step p  { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* ---- Projects ---- */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-mid); transition: var(--transition);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.project-image {
  aspect-ratio: 4/3; background: linear-gradient(135deg,#1E3347,#152438);
  position: relative; display: flex; align-items: center; justify-content: center;
}
.project-image-placeholder { font-size: 3.5rem; opacity: 0.28; }
.project-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; padding: 4px 12px;
  border-radius: 100px; letter-spacing: 0.05em; text-transform: uppercase;
}
.project-info { padding: 22px; }
.project-info h4 { font-size: 1.0rem; color: #fff; margin-bottom: 7px; }
.project-info p  { font-size: 0.875rem; color: rgba(255,255,255,0.58); line-height: 1.55; margin-bottom: 14px; }
.project-meta { display: flex; gap: 14px; font-size: 0.8rem; color: rgba(255,255,255,0.42); }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); }
.quote-mark { font-size: 4rem; line-height: 0.8; color: var(--gold); font-family: Georgia,serif; display: block; height: 36px; margin-bottom: 8px; }
.rating-display { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.rating-number { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.stars { color: var(--gold); font-size: 0.875rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9375rem; color: var(--text-body); line-height: 1.75; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.9375rem; color: var(--text-dark); font-weight: 600; }
.author-info span   { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Dark Testimonials ---- */
.testimonials-stack { display: flex; flex-direction: column; gap: 20px; }
.testimonial-card-dark {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px;
  transition: var(--transition);
}
.testimonial-card-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.testimonial-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.author-avatar-dark {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.author-info-dark strong { display: block; font-size: 1.0625rem; color: #fff; font-weight: 600; }
.author-info-dark span { font-size: 0.875rem; color: rgba(255,255,255,0.60); display: block; margin-top: 4px; }
.rating-display-dark { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.rating-number-dark { font-weight: 700; font-size: 1rem; color: #fff; }
.stars-dark { color: #FFD700; font-size: 1rem; letter-spacing: 3px; text-shadow: 0 0 10px rgba(255, 215, 0, 0.6); }
.testimonial-text-dark { font-size: 0.9375rem; color: #fff !important; line-height: 1.75; margin: 0; font-weight: 400; }

/* ---- Areas ---- */
.areas-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.area-item {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px; color: rgba(255,255,255,0.80); font-size: 0.875rem;
  font-weight: 500; transition: var(--transition);
}
.area-item:hover { background: var(--gold-bg); border-color: var(--gold-border); color: #fff; }
.area-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1A3050 100%);
  padding: 96px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -40%; right: -8%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(0,123,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-content h2 { color: #fff; margin-bottom: 18px; }
.cta-content p  { font-size: 1.0625rem; color: rgba(255,255,255,0.68); max-width: 540px; margin: 0 auto 38px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-tel { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 0.9375rem; }
.cta-tel strong { color: #fff; font-size: 1.0625rem; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--navy); padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 56px;
  background: #fff; clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.warm-next::after { background: var(--off-white); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p  { font-size: 1.125rem; color: rgba(255,255,255,0.68); max-width: 620px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.breadcrumb a    { color: var(--gold); font-size: 0.875rem; font-weight: 500; }
.breadcrumb span { color: rgba(255,255,255,0.38); font-size: 0.875rem; }

/* ---- About Page ---- */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; padding-bottom: 56px; padding-right: 48px; }
.about-image-main {
  width: 100%; aspect-ratio: 3/4;
  background: var(--navy-mid); border-radius: var(--radius-xl); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 6rem;
}
.about-exp-badge {
  position: absolute; top: 28px; left: -20px;
  background: var(--gold); color: var(--navy);
  border-radius: var(--radius); padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow-gold);
}
.about-exp-badge strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.about-exp-badge span   { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.value-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-dark);
}

/* ---- Services Detail Page ---- */
.service-detail-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-card:last-child { border-bottom: none; }
.service-detail-card.reverse { direction: rtl; }
.service-detail-card.reverse > * { direction: ltr; }
.service-detail-image {
  aspect-ratio: 4/3; background: linear-gradient(135deg,#1E3347,#152438);
  border-radius: var(--radius-xl); overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.service-num-bg { position: absolute; top: 16px; left: 20px; font-size: 6rem; font-weight: 900; color: rgba(255,255,255,0.07); line-height: 1; }
.service-emoji-large { font-size: 4rem; opacity: 0.4; }
.service-detail-content h3 { font-size: 2rem; margin-bottom: 14px; }
.service-detail-content > p { margin-bottom: 22px; font-size: 1rem; line-height: 1.75; }
.included-list { list-style: none; margin-bottom: 26px; }
.included-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 0.9375rem; color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.included-list li:last-child { border-bottom: none; }
.check-icon { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---- Projects Page ---- */
.projects-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--border); background: #fff;
  color: var(--text-body); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.projects-large-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.project-card-large {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.project-card-large:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg,#1E3347,#152438);
  position: relative; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.before-after-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: grid; grid-template-columns: 1fr 1fr;
}
.before-after-label span {
  text-align: center; padding: 6px; font-size: 0.72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.before-after-label .before { background: rgba(0,0,0,0.58); color: rgba(255,255,255,0.72); }
.before-after-label .after  { background: var(--gold); color: var(--navy); }
.project-card-body { padding: 22px; }
.project-card-body h4 { font-size: 1.0rem; margin-bottom: 7px; }
.project-card-body p  { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; margin-bottom: 14px; }
.project-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { display: inline-flex; padding: 3px 10px; background: var(--gray-100); border-radius: 100px; font-size: 0.74rem; font-weight: 600; color: var(--text-body); }

/* ---- Process Page ---- */
.process-steps-list { display: flex; flex-direction: column; }
.process-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  padding: 48px 0; border-bottom: 1px solid var(--border);
}
.process-item:last-child { border-bottom: none; }
.process-num-wrap { display: flex; flex-direction: column; align-items: center; }
.process-num {
  width: 62px; height: 62px; background: var(--navy); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; flex-shrink: 0;
}
.process-line { width: 2px; flex: 1; background: var(--border); margin-top: 8px; min-height: 24px; }
.process-item:last-child .process-line { display: none; }
.process-body h3 { font-size: 1.375rem; margin-bottom: 10px; }
.process-body > p { margin-bottom: 18px; line-height: 1.75; }
.process-body ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.process-body ul li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-body); }
.process-body ul li::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ---- Contact Page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info { position: sticky; top: 100px; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-info .contact-intro { font-size: 0.9375rem; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-detail:last-of-type { border-bottom: none; }
.contact-icon { width: 42px; height: 42px; background: var(--gold-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.125rem; flex-shrink: 0; color: var(--gold); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-detail-text strong { display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 3px; }
.contact-detail-text span   { font-size: 0.9375rem; color: var(--text-dark); font-weight: 500; }

.contact-form-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { margin-bottom: 6px; }
.form-intro { font-size: 0.9375rem; color: var(--text-body); margin-bottom: 30px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 15px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.9375rem; color: var(--text-dark);
  background: var(--gray-100); transition: var(--transition); font-family: inherit; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(0,123,255,0.11); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }

/* ---- Trust Badges ---- */
.trust-badges { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.trust-badge  { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }
.trust-badge::before { content: '✓'; color: var(--gold); font-weight: 800; font-size: 1rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  padding: 80px 0 0;
  position: relative;
  z-index: 40;
  isolation: isolate;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,123,255,0.35), transparent);
  pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.50); line-height: 1.75; margin: 18px 0 100px; max-width: 290px; }
.footer-social { display: flex; gap: 9px; margin-top: 80px; }
.social-btn {
  width: 48px; height: 48px; background: transparent;
  border: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 0.8rem; font-weight: 700;
  transition: var(--transition); text-decoration: none; overflow: hidden; padding: 0;
  position: relative;
  z-index: 2;
}
.social-btn img {
  max-width: 100%; max-height: 100%; object-fit: contain; object-position: center;
  pointer-events: none;
}
.social-btn:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.50);
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; }
.footer-contact-item .icon { color: var(--gold); font-size: 0.875rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,0.50); font-size: 0.875rem; line-height: 1.5; }
.footer-bottom {
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8375rem; color: rgba(255,255,255,0.30); }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a {
  font-size: 0.8375rem;
  color: rgba(255,255,255,0.30);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
.site-footer .btn {
  position: relative;
  z-index: 2;
}

/* ---- Reveal Animation ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ---- Divider gold line ---- */
.gold-line { display: block; width: 44px; height: 3px; background: linear-gradient(90deg,var(--gold-dark),var(--gold-light)); border-radius: 2px; margin-bottom: 22px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .process-timeline { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
  .process-timeline::before { display: none; }
  .areas-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .projects-large-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .why-us-grid, .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-us-image { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .service-detail-card { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-card.reverse { direction: ltr; }
  .about-image-wrap { padding: 0 0 40px 0; }
  .about-exp-badge { left: 16px; }
}
@media (max-width: 768px) {
  .logo-sbb { font-size: 2.4rem; letter-spacing: -0.02em; }
  /* Tighter letter-spacing on mobile + negative right margin so the trailing
     space after "P" doesn't push the group word past the SBB right edge. */
  .logo-group { font-size: 0.85rem; letter-spacing: 0.32em; margin-right: -0.32em; }
  .btn {
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 40px rgba(255, 255, 255, 0.15),
      0 0 80px rgba(255, 107, 53, 0.2);
  }
  /* Mobile: keep the after.png photo as a fixed-viewport background, but render it as a real
     position:fixed element on its own GPU layer. This avoids `background-attachment: fixed`,
     which forces Android Chrome to repaint the full viewport every scroll frame. With the bg
     promoted to its own layer the browser just composites scrolling content over it. */
  .hero-macheta-bg {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-attachment: scroll !important;
    background-image: linear-gradient(135deg, rgba(11,24,41,0.62) 0%, rgba(11,24,41,0.55) 50%, rgba(11,24,41,0.62) 100%), url('/images/after.png') !important;
    background-size: cover !important;
    background-position: center !important;
    animation: none !important;
    z-index: 0;
    pointer-events: none;
    /* Force its own compositor layer so scrolling doesn't trigger repaints */
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; gap: 40px; }
  .stat-item { border-right: none; border-bottom: none; padding-bottom: 0; text-align: center; }
  .stat-item:nth-child(odd) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .projects-large-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-body ul { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
  .nav-phone { display: none; }

  /* Mobile: kill the desktop hover dropdown so tapping "Services" never flashes the gold bar.
     The JS in script.js navigates straight to services.html below 768px. */
  .nav-dropdown-menu {
    display: none !important;
  }
  .nav-item-dropdown:hover .nav-dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .hero-content { padding: 120px 0 40px; }
  .contact-form-card { padding: 26px 18px; }
  .trust-badges { gap: 16px; }
  .process-timeline { gap: 20px; }
  .process-step { position: relative; padding-left: 0; }
  .step-bubble { display: none; }
  .process-step h4 { font-size: 16px; margin-bottom: 12px; }
  .process-step p { font-size: 14px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: 1fr; }
  .project-card h4 { margin-top: 12px; margin-bottom: 8px; }
  .testimonial-card { width: 100%; }
  .section-header { margin-bottom: 32px; }
  .section-subtitle { font-size: 1rem; margin-bottom: 32px; }
  .faq-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}
@media (max-width: 480px) {
  .logo-sbb { font-size: 2.2rem; letter-spacing: -0.02em; }
  .logo-group { font-size: 0.78rem; letter-spacing: 0.28em; margin-right: -0.28em; }
  .btn {
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.25),
      0 0 40px rgba(255, 255, 255, 0.15),
      0 0 80px rgba(255, 107, 53, 0.2);
  }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .areas-grid { grid-template-columns: 1fr; }
  .projects-filter { gap: 7px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .stat-number { font-size: 32px; }
  .stat-label { font-size: 12px; }
  .process-step { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .process-step:last-child { border-bottom: none; }
  .section-title { font-size: 22px; }
}

/* ════════════════════════════════════════════════════════════
   HERO MACHETA — Loader & Debug Overlay
   ════════════════════════════════════════════════════════════ */

.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.video-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(201, 168, 76, 0.2);
  border-top-color: rgba(201, 168, 76, 0.8);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.debug-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(11, 24, 41, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.05em;
  z-index: 9999;
  pointer-events: none;
  display: none;
}

.debug-overlay.visible {
  display: block;
}

.debug-overlay-line {
  color: rgba(255, 255, 255, 0.6);
}

.debug-overlay-value {
  color: #FF6B35;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGES
   ════════════════════════════════════════════════════════════ */

.service-detail-large { max-width: 880px; margin: 0 auto; }
.detail-block {
  margin-bottom: 64px;
}
.detail-block h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.detail-block p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}
.detail-block p:last-child { margin-bottom: 0; }

.detail-image-frame {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 56px 0;
  overflow: hidden;
}
.frame-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.process-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.process-detail-item h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.process-detail-item p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.detail-list {
  list-style: none;
  margin-top: 24px;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: -2px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 28px;
}
.why-item h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.why-item p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.detail-cta {
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  margin-top: 80px;
}
.detail-cta h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.detail-cta p {
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* See More Button Style */
.service-see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0,123,255,0.4);
}
.service-see-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0,123,255,0.6);
  background: var(--gold-light);
}

/* Responsive */
@media (max-width: 900px) {
  .process-detail-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .detail-block h2 { font-size: 1.75rem; }
  .detail-cta { padding: 36px 24px; }
}
@media (max-width: 768px) {
  .detail-block { margin-bottom: 48px; }
  .detail-block h2 { font-size: 1.5rem; margin-bottom: 18px; }
  .detail-image-frame { margin: 40px 0; }
}

/* ============================================================
   STACKED TESTIMONIAL CARDS (used on home + service & info pages)
   ============================================================ */
.testi-stack {
  display: grid;
  grid-template-areas: 'stack';
  place-items: center;
  min-height: 480px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
}
.testi-card {
  grid-area: stack;
  width: 380px;
  min-height: 220px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 22px 60px -24px rgba(0,0,0,0.55);
  cursor: pointer;
  transform: skewY(-8deg);
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.55s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.testi-card-0::before,
.testi-card-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  border-radius: 18px;
  transition: opacity 0.55s ease;
  pointer-events: none;
  z-index: 1;
}
.testi-card-0 > *,
.testi-card-1 > *,
.testi-card-2 > * { position: relative; z-index: 2; }
.testi-card-0 { filter: grayscale(1); z-index: 1; }
.testi-card-1 { transform: skewY(-8deg) translate(64px, 40px); filter: grayscale(1); z-index: 2; }
.testi-card-2 { transform: skewY(-8deg) translate(128px, 80px); z-index: 3; }
.testi-card:hover { z-index: 10; }
.testi-stack:has(.testi-card-0:hover) .testi-card-0 {
  transform: skewY(-8deg) translateY(-40px);
  filter: none;
  border-color: rgba(0,123,255,0.5);
  box-shadow: 0 30px 70px -24px rgba(0,123,255,0.4);
}
.testi-stack:has(.testi-card-0:hover) .testi-card-0::before { opacity: 0; }
.testi-stack:has(.testi-card-0:hover) .testi-card-1 { transform: skewY(-8deg) translate(96px, 128px); }
.testi-stack:has(.testi-card-0:hover) .testi-card-2 { transform: skewY(-8deg) translate(160px, 176px); }
.testi-stack:has(.testi-card-1:hover) .testi-card-1 {
  transform: skewY(-8deg) translate(64px, 0px);
  filter: none;
  border-color: rgba(0,123,255,0.5);
  box-shadow: 0 30px 70px -24px rgba(0,123,255,0.4);
}
.testi-stack:has(.testi-card-1:hover) .testi-card-1::before { opacity: 0; }
.testi-stack:has(.testi-card-1:hover) .testi-card-2 { transform: skewY(-8deg) translate(160px, 160px); }
.testi-stack:has(.testi-card-2:hover) .testi-card-2 {
  transform: skewY(-8deg) translate(128px, 40px);
  border-color: rgba(0,123,255,0.5);
  box-shadow: 0 30px 70px -24px rgba(0,123,255,0.4);
}
.testi-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px -10px rgba(0,123,255,0.65),
              inset 0 1px 0 rgba(255,255,255,0.3);
}
.testi-meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.testi-meta strong { color: #fff; font-weight: 700; font-size: 0.95rem; }
.testi-meta span {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}
.testi-stars { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.testi-star-row {
  color: #FFC107;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px rgba(255,193,7,0.55);
}
.testi-star-faded { color: rgba(255,255,255,0.22); text-shadow: none; }
.testi-rating-num {
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 9px;
  background: rgba(255,193,7,0.18);
  border: 1px solid rgba(255,193,7,0.45);
  border-radius: 999px;
}
.testi-quote { font-size: 0.92rem; line-height: 1.55; color: rgba(255,255,255,0.88); margin: 0; }
@media (max-width: 720px) {
  .testi-stack { min-height: 420px; padding: 24px 12px; max-width: 100%; }
  .testi-card { width: 260px; padding: 16px 18px; }
  .testi-card-1 { transform: skewY(-8deg) translate(32px, 24px); }
  .testi-card-2 { transform: skewY(-8deg) translate(64px, 48px); }
  .testi-stack:has(.testi-card-0:hover) .testi-card-1 { transform: skewY(-8deg) translate(56px, 80px); }
  .testi-stack:has(.testi-card-0:hover) .testi-card-2 { transform: skewY(-8deg) translate(96px, 112px); }
  .testi-stack:has(.testi-card-1:hover) .testi-card-2 { transform: skewY(-8deg) translate(96px, 100px); }
  .testi-stack:has(.testi-card-2:hover) .testi-card-2 { transform: skewY(-8deg) translate(64px, 20px); }
  .testi-quote { font-size: 0.85rem; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE HERO OVERRIDE — disable scroll animation, show only stage 1
   Keeps background + m1 macheta + "Your home looks empty" text only.
   Adds a single CTA button "Renovate today" pushed lower on the page.
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* collapse the 500vh scroll spacer — no more scrolljacking on mobile.
     Ensure the hero fills at least one full viewport so the next section
     doesn't peek in. Content pushed lower with bigger padding-top, but
     the button stays above the fixed cookie banner (~172px at viewport bottom). */
  .hero-macheta {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding-top: 180px;
    padding-bottom: 12px;
    margin-bottom: 0 !important;
  }
  .hero-macheta-spacer { display: none !important; }

  /* unfix the wrapper so it scrolls normally with the page */
  .hero-macheta-wrapper {
    position: relative !important;
    height: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Background must be completely static on mobile — no animation, no
     transition, no GPU layer transform. Kills the perceived "movement" the
     user reported on mobile devices. */
  .hero-macheta-bg {
    position: absolute !important;
    height: 100% !important;
    background-attachment: scroll !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    will-change: auto !important;
    -webkit-backface-visibility: visible !important;
            backface-visibility: visible !important;
  }

  /* show ONLY stage 1, hide every other stage and its CTA */
  .macheta-stage { display: none !important; }
  .macheta-stage[data-stage="1"] {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .macheta-cta { display: none !important; } /* old stage-6 cta hidden on mobile */

  /* keep tight gap between macheta and text */
  .hero-macheta-grid {
    padding-top: 0 !important;
    gap: 16px !important;
  }

  /* SWAP order on mobile: macheta on top, text + CTA below */
  .hero-macheta-right {
    order: 1 !important;
    min-height: 290px !important;
    height: 290px !important;
  }
  .hero-macheta-left  { order: 2 !important; }

  .macheta-image-container {
    height: 290px !important;
    max-height: 290px !important;
    margin: 0 auto !important;
  }
  .image-mockup-wrapper {
    height: 290px !important;
    max-height: 290px !important;
  }
  .hero-mockup-image {
    max-height: 290px !important;
  }

  /* much stronger glow on hero text — mobile only */
  .macheta-stage[data-stage="1"] .macheta-title {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.55),
      0 0 28px rgba(255, 255, 255, 0.45),
      0 0 56px rgba(255, 200, 140, 0.50),
      0 0 96px rgba(255, 140, 60, 0.45),
      0 0 140px rgba(255, 107, 53, 0.40) !important;
  }
  .macheta-stage[data-stage="1"] .macheta-description {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.45),
      0 0 22px rgba(255, 255, 255, 0.35),
      0 0 44px rgba(255, 200, 140, 0.40),
      0 0 80px rgba(255, 107, 53, 0.35) !important;
  }

  /* Desktop letter-spacing (0.52em) on a smaller font so P visually reaches
     the right edge of B. Desktop SBB is 2.625rem; mobile SBB is 2.4rem (or
     2.2rem under 480px), so GROUP needs a smaller font on mobile to keep the
     SAME proportions as desktop — otherwise P overshoots B by ~20px. */
  .logo-group {
    font-size: 0.7rem !important;
    letter-spacing: 0.52em !important;
    margin-right: 0 !important;
  }

  /* Mobile open-menu items: ALWAYS white, regardless of which section the
     header sits over and regardless of hover/active state. Needs higher
     specificity than ".site-header.light-bg .nav-links a" and the existing
     ".nav-links.open a.active" rule. The blue/gold left-edge bar on the
     active item still indicates which page is current. */
  body.nav-open .site-header .nav-links.open a,
  body.nav-open .site-header .nav-links.open a:hover,
  body.nav-open .site-header .nav-links.open a:focus,
  body.nav-open .site-header .nav-links.open a.active,
  body.nav-open .site-header.light-bg .nav-links.open a,
  body.nav-open .site-header.light-bg .nav-links.open a:hover,
  body.nav-open .site-header.light-bg .nav-links.open a:focus,
  body.nav-open .site-header.light-bg .nav-links.open a.active {
    color: #fff !important;
    text-shadow: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   CERTIFICATIONS BANNER — white banner between testimonials and areas
   ════════════════════════════════════════════════════════════ */
.certs-banner {
  background: #ffffff;
  padding: 56px 0;
}
.certs-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.certs-banner-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7785;
  margin: 0 0 28px 0;
}
.certs-banner-image {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .certs-banner {
    padding: 40px 0;
  }
  .certs-banner-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
  }
  .certs-banner-image {
    max-width: 92%;
  }
}

/* "Renovate today" — blue glow CTA, mobile only */
.mobile-hero-cta {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  .mobile-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #1e6fff 0%, #0a4dd6 100%);
    border: 1px solid rgba(120, 180, 255, 0.6);
    border-radius: 999px;
    box-shadow:
      0 0 24px rgba(30, 111, 255, 0.55),
      0 0 56px rgba(30, 111, 255, 0.35),
      0 0 96px rgba(30, 111, 255, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-hero-cta:active {
    transform: scale(0.97);
    box-shadow:
      0 0 18px rgba(30, 111, 255, 0.65),
      0 0 42px rgba(30, 111, 255, 0.4);
  }
}

/* ============================================================
   ZOOM PARALLAX — Scroll-driven image zoom effect
============================================================ */
.zp-container {
  position: relative;
  height: 300vh;
  width: 100%;
  background: #0A0A0A;
}

.zp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.zp-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: scale(1);
}

.zp-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.zp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: high-quality;
}

/* Position 0 — center hero (large start = sharper at full zoom) */
.zp-pos-0 { width: 50vw; height: 45vh; }

/* Surrounding images — scattered, slightly rotated, organic feel */
.zp-pos-1 {
  position: absolute;
  top: 3vh;
  right: 6vw;
  left: auto;
  width: 20vw;
  height: 18vh;
  transform: rotate(3deg);
}

.zp-pos-2 {
  position: absolute;
  top: 18vh;
  left: 2vw;
  width: 17vw;
  height: 30vh;
  transform: rotate(-2.5deg);
}

.zp-pos-3 {
  position: absolute;
  bottom: 18vh;
  top: auto;
  right: 2vw;
  left: auto;
  width: 19vw;
  height: 24vh;
  transform: rotate(1.8deg);
}

.zp-pos-4 {
  position: absolute;
  top: 2vh;
  left: 12vw;
  width: 16vw;
  height: 15vh;
  transform: rotate(-4deg);
}

.zp-pos-5 {
  position: absolute;
  bottom: 3vh;
  top: auto;
  left: 3vw;
  width: 21vw;
  height: 19vh;
  transform: rotate(2.2deg);
}

.zp-pos-6 {
  position: absolute;
  bottom: 4vh;
  top: auto;
  right: 7vw;
  left: auto;
  width: 16vw;
  height: 17vh;
  transform: rotate(-3.5deg);
}

/* Full-res image swap — fades in over zoomed version for crisp quality */
.zp-fullres {
  position: absolute;
  inset: 0;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
}
.zp-fullres img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: high-quality;
}

/* Text overlay */
.zp-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  will-change: opacity;
}

.zp-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0;
  text-shadow: 0 4px 40px rgba(0,0,0,0.7);
}

.zp-tagline {
  font-size: clamp(0.85rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.zp-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0;
  box-shadow: 0 0 20px rgba(0,123,255,0.4);
}

/* ---- Project gallery grid ---- */
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.proj-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
}
.proj-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}
@media (max-width: 768px) {
  .proj-gallery { grid-template-columns: 1fr; gap: 12px; }
}

/* ---- Painting positions (unique layout, 5 surrounding) ---- */
.zp-p1 {
  position: absolute;
  top: 4vh;
  left: 3vw;
  width: 19vw;
  height: 22vh;
  transform: rotate(3.8deg);
}
.zp-p2 {
  position: absolute;
  top: 2vh;
  right: 4vw;
  left: auto;
  width: 18vw;
  height: 18vh;
  transform: rotate(-2.2deg);
}
.zp-p3 {
  position: absolute;
  bottom: 10vh;
  top: auto;
  left: 2vw;
  width: 17vw;
  height: 24vh;
  transform: rotate(-4.8deg);
}
.zp-p4 {
  position: absolute;
  bottom: 3vh;
  top: auto;
  right: 3vw;
  left: auto;
  width: 20vw;
  height: 20vh;
  transform: rotate(2.5deg);
}
.zp-p5 {
  position: absolute;
  bottom: 2vh;
  top: auto;
  left: 15vw;
  width: 16vw;
  height: 15vh;
  transform: rotate(-1.5deg);
}

/* ---- Bathroom positions (unique layout) ---- */
.zp-b1 {
  position: absolute;
  top: 6vh;
  right: 5vw;
  left: auto;
  width: 17vw;
  height: 24vh;
  transform: rotate(4.5deg);
}
.zp-b2 {
  position: absolute;
  top: 2vh;
  left: 8vw;
  width: 15vw;
  height: 18vh;
  transform: rotate(-3deg);
}
.zp-b3 {
  position: absolute;
  bottom: 8vh;
  top: auto;
  right: 3vw;
  left: auto;
  width: 18vw;
  height: 22vh;
  transform: rotate(-1.5deg);
}
.zp-b4 {
  position: absolute;
  top: 15vh;
  left: 2vw;
  width: 16vw;
  height: 28vh;
  transform: rotate(2.8deg);
}
.zp-b5 {
  position: absolute;
  bottom: 2vh;
  top: auto;
  left: 10vw;
  width: 19vw;
  height: 17vh;
  transform: rotate(-5deg);
}
.zp-b6 {
  position: absolute;
  bottom: 5vh;
  top: auto;
  right: 8vw;
  left: auto;
  width: 14vw;
  height: 16vh;
  transform: rotate(3.2deg);
}

/* ---- Void refurbishment positions (different layout) ---- */
.zp-v1 {
  position: absolute;
  top: 5vh;
  left: 5vw;
  width: 18vw;
  height: 20vh;
  transform: rotate(-5deg);
}
.zp-v2 {
  position: absolute;
  top: 3vh;
  right: 12vw;
  left: auto;
  width: 16vw;
  height: 26vh;
  transform: rotate(2deg);
}
.zp-v3 {
  position: absolute;
  bottom: 12vh;
  top: auto;
  left: 4vw;
  width: 19vw;
  height: 26vh;
  transform: rotate(3.5deg);
}
.zp-v4 {
  position: absolute;
  top: 14vh;
  right: 3vw;
  left: auto;
  width: 17vw;
  height: 16vh;
  transform: rotate(-2.8deg);
}
.zp-v5 {
  position: absolute;
  bottom: 4vh;
  top: auto;
  right: 10vw;
  left: auto;
  width: 20vw;
  height: 18vh;
  transform: rotate(-4.2deg);
}
.zp-v6 {
  position: absolute;
  bottom: 3vh;
  top: auto;
  left: 14vw;
  width: 14vw;
  height: 14vh;
  transform: rotate(5deg);
}

/* ---- Flooring positions (mix of finished rooms and install details) ---- */
.zp-f1 {
  position: absolute;
  top: 4vh;
  left: 4vw;
  width: 18vw;
  height: 17vh;
  transform: rotate(-3deg);
}
.zp-f2 {
  position: absolute;
  top: 5vh;
  right: 4vw;
  left: auto;
  width: 16vw;
  height: 28vh;
  transform: rotate(3.5deg);
}
.zp-f3 {
  position: absolute;
  bottom: 10vh;
  top: auto;
  left: 3vw;
  width: 17vw;
  height: 27vh;
  transform: rotate(-4deg);
}
.zp-f4 {
  position: absolute;
  bottom: 4vh;
  top: auto;
  right: 4vw;
  left: auto;
  width: 20vw;
  height: 20vh;
  transform: rotate(2.5deg);
}
.zp-f5 {
  position: absolute;
  bottom: 3vh;
  top: auto;
  left: 15vw;
  width: 16vw;
  height: 15vh;
  transform: rotate(-1.5deg);
}

/* Mobile — scale down image sizes */
@media (max-width: 768px) {
  .zp-container { height: 250vh; }
  .zp-pos-0 { width: 88vw; height: 46vh; }
  .zp-pos-1 { top: 2vh; right: 4vw; left: auto; width: 32vw; height: 15vh; transform: rotate(2deg); }
  .zp-pos-2 { top: 20vh; left: 1vw; width: 28vw; height: 24vh; transform: rotate(-2deg); }
  .zp-pos-3 { bottom: 20vh; top: auto; right: 1vw; left: auto; width: 30vw; height: 18vh; transform: rotate(1.5deg); }
  .zp-pos-4 { top: 3vh; left: 5vw; width: 30vw; height: 14vh; transform: rotate(-3deg); }
  .zp-pos-5 { bottom: 3vh; top: auto; left: 2vw; width: 34vw; height: 15vh; transform: rotate(2.5deg); }
  .zp-pos-6 { bottom: 4vh; top: auto; right: 4vw; left: auto; width: 28vw; height: 14vh; transform: rotate(-2.5deg); }

  /* Painting positions mobile */
  .zp-p1 { top: 3vh; left: 2vw; width: 30vw; height: 17vh; transform: rotate(3deg); }
  .zp-p2 { top: 2vh; right: 3vw; left: auto; width: 28vw; height: 15vh; transform: rotate(-2deg); }
  .zp-p3 { bottom: 15vh; top: auto; left: 1vw; width: 28vw; height: 20vh; transform: rotate(-4deg); }
  .zp-p4 { bottom: 3vh; top: auto; right: 3vw; left: auto; width: 32vw; height: 16vh; transform: rotate(2deg); }
  .zp-p5 { bottom: 3vh; top: auto; left: 8vw; width: 26vw; height: 13vh; transform: rotate(-1deg); }

  /* Bathroom positions mobile */
  .zp-b1 { top: 3vh; right: 3vw; left: auto; width: 28vw; height: 18vh; transform: rotate(3.5deg); }
  .zp-b2 { top: 2vh; left: 4vw; width: 26vw; height: 14vh; transform: rotate(-2.5deg); }
  .zp-b3 { bottom: 14vh; top: auto; right: 2vw; left: auto; width: 30vw; height: 18vh; transform: rotate(-1deg); }
  .zp-b4 { top: 18vh; left: 1vw; width: 26vw; height: 22vh; transform: rotate(2deg); }
  .zp-b5 { bottom: 2vh; top: auto; left: 5vw; width: 32vw; height: 14vh; transform: rotate(-4deg); }
  .zp-b6 { bottom: 4vh; top: auto; right: 5vw; left: auto; width: 24vw; height: 13vh; transform: rotate(3deg); }

  /* Void positions mobile */
  .zp-v1 { top: 2vh; left: 3vw; width: 30vw; height: 16vh; transform: rotate(-4deg); }
  .zp-v2 { top: 4vh; right: 5vw; left: auto; width: 26vw; height: 20vh; transform: rotate(2deg); }
  .zp-v3 { bottom: 16vh; top: auto; left: 2vw; width: 30vw; height: 20vh; transform: rotate(3deg); }
  .zp-v4 { top: 18vh; right: 2vw; left: auto; width: 28vw; height: 14vh; transform: rotate(-2deg); }
  .zp-v5 { bottom: 3vh; top: auto; right: 5vw; left: auto; width: 32vw; height: 15vh; transform: rotate(-3.5deg); }
  .zp-v6 { bottom: 4vh; top: auto; left: 6vw; width: 24vw; height: 13vh; transform: rotate(4deg); }

  /* Flooring positions mobile */
  .zp-f1 { top: 2vh; left: 3vw; width: 30vw; height: 15vh; transform: rotate(-2.5deg); }
  .zp-f2 { top: 3vh; right: 3vw; left: auto; width: 24vw; height: 22vh; transform: rotate(3deg); }
  .zp-f3 { bottom: 15vh; top: auto; left: 2vw; width: 24vw; height: 22vh; transform: rotate(-3.5deg); }
  .zp-f4 { bottom: 3vh; top: auto; right: 3vw; left: auto; width: 31vw; height: 16vh; transform: rotate(2deg); }
  .zp-f5 { bottom: 4vh; top: auto; left: 8vw; width: 27vw; height: 14vh; transform: rotate(-1deg); }

  .zp-title { padding: 0 16px; }
  .zp-tagline { padding: 0 16px; letter-spacing: 0.08em; }
}
