/* ============================================
   URBANDWELL ENERGY — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ---- CSS Variables ---- */
:root {
  --black:    #111111;
  --charcoal: #1E1E1E;
  --amber:    #F5A623;
  --amber-dark: #D4891A;
  --amber-light: #FFD07A;
  --white:    #FFFFFF;
  --off-white:#F7F7F5;
  --grey-100: #F2F2F0;
  --grey-200: #E0DFD8;
  --grey-400: #9B9B8E;
  --grey-600: #5A5A50;
  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Custom amber cursor ring (overlays native cursor) ── */
#ud-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #F5A623;
  background: #F5A623;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  /* offset so the ring centres on the cursor tip */
  margin-left: -5px;
  margin-top: -5px;
  transition: opacity 0.3s ease;
  will-change: transform;
}
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; font-weight: 700; }
p  { font-size: 1.05rem; color: var(--grey-600); line-height: 1.75; }

/* ---- Layout Utilities ---- */
.container {
  max-width: clamp(1200px, 88vw, 1800px);
  margin: 0 auto;
  padding: 0 clamp(24px, 3vw, 48px);
}
.section    { padding: clamp(100px, 9vw, 160px) 0; }
.section-sm { padding: clamp(48px, 5vw, 80px) 0; }
.text-center { text-align: center; }
.text-amber  { color: var(--amber); }
.bg-black    { background: var(--black); }
.bg-off-white{ background: var(--off-white); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}
.btn-outline {
  border: 2px solid var(--black);
  color: var(--black);
  background: transparent;
}
.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.12);
  color: var(--amber-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

/* ============================================
   NAVIGATION — Floating Island Pill
   ============================================ */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - clamp(48px, 6vw, 96px));
  max-width: clamp(1140px, 86vw, 1780px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 10px 0 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled .nav-inner {
  background: rgba(252, 251, 248, 0.90);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-color: rgba(200, 195, 180, 0.42);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.nav-logo img {
  height: 44px;
  width: auto;
  mix-blend-mode: multiply; /* removes white PNG background in all navbar states */
}
.nav-logo .logo-dark  { display: none; }
.nav-logo .logo-light { display: block; }
.navbar.scrolled .nav-logo .logo-dark  { display: block; }
.navbar.scrolled .nav-logo .logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.92);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--amber); }
.navbar.scrolled .nav-links a { color: var(--charcoal); }
.navbar.scrolled .nav-links a:hover { color: var(--amber); }

.nav-links .dropdown { position: relative; display: flex; align-items: center; }
.nav-links .dropdown-menu {
  position: absolute;
  /* start flush with the bottom of the trigger — no gap to lose hover over */
  top: 100%;
  left: 50%;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
  /* top padding replaces the visual gap without breaking the hover bridge */
  padding: 16px 8px 8px;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: var(--transition);
}
.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  color: var(--charcoal) !important;
  padding: 10px 16px !important;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.dropdown-menu a:hover { background: var(--grey-100); }

/* Slim CTA inside the pill */
.nav-cta {
  margin-left: 10px;
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,0.10); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--charcoal); }
.navbar.scrolled .hamburger:hover { background: var(--grey-100); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ── Photo slideshow ── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

/* Directional overlay — heavier on left for text legibility, bright on right */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg,
      rgba(0,0,0,0.62) 0%,
      rgba(0,0,0,0.32) 50%,
      rgba(0,0,0,0.08) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,0.22) 0%,
      transparent 30%,
      transparent 62%,
      rgba(0,0,0,0.50) 100%);
}

/* Slide indicator dots — tucked above the expertise strip, right-aligned */
.hero-slide-indicator {
  position: absolute;
  bottom: 96px;
  right: clamp(24px, 3vw, 48px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.hero-slide-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  transition: opacity 0.5s ease;
}
.hero-slide-dots {
  display: flex;
  gap: 7px;
  pointer-events: auto;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  border: none;
  background: rgba(255,255,255,0.30);
  cursor: pointer;
  transition: width 0.4s ease, background 0.4s ease;
  padding: 0;
}
.hero-dot.active {
  width: 30px;
  background: var(--amber);
}
/* Hero content — left-aligned */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: clamp(1200px, 88vw, 1800px);
  margin: 0 auto;
  padding: 132px clamp(24px, 3vw, 48px) 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-text {
  max-width: 620px;
}
.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero-text h1 span { color: var(--amber); }
.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.90);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Expertise strip — bottom of hero ── */
.hero-expertise {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-expertise-inner {
  max-width: clamp(1200px, 88vw, 1800px);
  margin: 0 auto;
  padding: 0 clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}
.hero-exp-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 clamp(24px, 3vw, 48px);
}
.hero-exp-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--amber);
  flex-shrink: 0;
}
.hero-exp-item span:last-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.90rem;
  color: rgba(255,255,255,0.90);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hero-exp-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-main {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 380px;
  box-shadow: 0 0 60px rgba(245,166,35,0.08), 0 24px 48px rgba(0,0,0,0.3);
  position: relative;
}
.hero-card-main::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(245,166,35,0.3), transparent 50%, rgba(255,255,255,0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-card-main .card-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.savings-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.savings-display span { color: var(--amber); }
.savings-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.solar-bar-wrap { margin-bottom: 24px; }
.solar-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.solar-bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.solar-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light));
  animation: fillBar 2s ease forwards;
  width: 0%;
}
@keyframes fillBar {
  to { width: var(--fill); }
}
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.mini-stat .val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--amber);
  display: block;
  line-height: 1;
}
.mini-stat .key {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  display: block;
}
.hero-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--black);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
  animation: float 3s ease-in-out infinite;
}
.hero-badge .big { font-size: 1.6rem; display: block; line-height: 1; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  padding: 28px 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.trust-inner {
  max-width: clamp(1200px, 88vw, 1800px);
  margin: 0 auto;
  padding: 0 clamp(24px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal);
  white-space: nowrap;
}
.trust-icon {
  width: 40px; height: 40px;
  background: var(--amber);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-divider {
  width: 1px; height: 40px;
  background: var(--grey-200);
}

/* ============================================
   HOW IT WORKS — JOURNEY (CARD DECK)
   ============================================ */
.journey-section { background: var(--white); }
.journey-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.journey-section .section-header p {
  max-width: 560px;
  margin: 16px auto 0;
}

/* ── Two-column layout: deck left, info right ── */
.journey-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

/* ── Card deck container ──
   Extra padding on right/bottom gives breathing room
   for the cards stacked behind the top card            */
.card-deck-area {
  position: relative;
  padding: 0 56px 56px 0;
}

/* ── Dynamic glow ring — lives on .card-deck::before so it is
   completely decoupled from the cards' own box-shadow transition.
   Mirrors the top card's exact inset (top/left 0, right/bottom 52px). ── */
.card-deck::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 52px;
  bottom: 52px;
  border-radius: 22px;
  pointer-events: none;
  z-index: 8;
  /* Box-shadow is computed once and stays static — only opacity animates.
     Opacity is compositor-driven and costs nothing on mobile GPUs.        */
  box-shadow:
    0 0 0 4px  rgba(245,166,35,1),
    0 0 20px 8px  rgba(245,166,35,0.90),
    0 0 50px 20px rgba(245,166,35,0.65),
    0 0 90px 36px rgba(245,166,35,0.35);
  animation: cardGlowPulse 2.8s ease-in-out infinite;
}

@keyframes cardGlowPulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1;    }
}

.card-deck {
  position: relative;
  width: 100%;
  /* Height is established by .deck-sizer in normal flow — no JS needed */
}

/* ── Sizer: in-flow block whose padding-top creates the deck height ────────
   padding-top as a % is always relative to the element's OWN WIDTH, which
   is definite.  This establishes a real height on .card-deck regardless of
   opacity, visibility, transforms, or IntersectionObserver state.
   We use CSS min() to embed the cap directly in the padding-top value —
   max-height alone is unreliable at constraining padding-based heights.
   min(133.33%, 560px): 4:3 ratio, capped at 560px on wide columns.        */
.deck-sizer {
  display: block;
  width: 100%;
  padding-top: min(133.33%, 560px);
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}

/* ── Individual illustration cards ── */
.step-card {
  position: absolute;
  /* All four inset values — width and height derived from containing-block
     dimensions that are now guaranteed to be non-zero by .deck-sizer      */
  top: 0;
  left: 0;
  right: 52px;
  bottom: 52px;
  border-radius: 22px;
  overflow: hidden;
  will-change: transform;
  transition:
    transform  0.55s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.55s ease,
    opacity    0.45s ease;
  background: var(--grey-100);
}

.step-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* ── Deck stack positions (set via data-pos by JS) ──
   pos 0 = active top card — amber glow ring
   pos 1 = second card — slightly behind + rotated
   pos 2 = third card  — further behind
   pos back = all other cards — invisible, tucked away  */

.step-card[data-pos="0"] {
  transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.20);
  z-index: 7;
  opacity: 1;
}

.step-card[data-pos="1"] {
  transform: translateX(16px) translateY(16px) rotate(3.5deg) scale(0.97);
  box-shadow: 0 14px 36px rgba(0,0,0,0.13);
  z-index: 6;
  opacity: 1;
}

.step-card[data-pos="2"] {
  transform: translateX(30px) translateY(30px) rotate(6.5deg) scale(0.94);
  box-shadow: 0 8px 20px rgba(0,0,0,0.09);
  z-index: 5;
  opacity: 0.80;
}

.step-card[data-pos="back"] {
  transform: translateX(44px) translateY(44px) rotate(9deg) scale(0.91);
  box-shadow: none;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Pre-enter: off-screen before backward slide-in ── */
.step-card[data-pos="pre-enter"] {
  transform: translateX(-150%) translateY(-40px) rotate(-28deg) scale(0.70) !important;
  opacity: 0 !important;
  transition: none !important;
}

/* ── Forward exit: top card swipes right and away ── */
.step-card.card-exit-fwd {
  transform: translateX(150%) translateY(-40px) rotate(28deg) scale(0.70) !important;
  opacity: 0 !important;
  transition:
    transform 0.50s cubic-bezier(0.55, 0, 0.80, 0.45),
    opacity   0.38s ease !important;
  z-index: 20 !important;
}

/* ── Info panel ── */
.journey-info-panel {
  text-align: left;
  position: relative;        /* anchor for the absolutely-positioned nav   */
  /* min-height must comfortably fit the tallest step content PLUS the nav.
     With nav anchored at bottom:24px and nav height ~52px, the nav occupies
     bottom 76px.  Tallest content (Step 04) is ~200px.  Use 320px so there
     is a comfortable gap and shorter steps don't make the panel feel empty. */
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /* Reserve space at the bottom so text never overlaps the nav buttons      */
  padding-bottom: 80px;
}

.journey-info {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  animation: journeyFadeUp 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.journey-info.active { display: flex; }

@keyframes journeyFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.journey-step-tag {
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.journey-info h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  margin-bottom: 16px;
  color: var(--black);
  line-height: 1.15;
}

.journey-info p {
  font-size: 1rem;
  color: var(--charcoal);
  max-width: 460px;
  line-height: 1.80;
  margin: 0;
}

.journey-nav {
  /* Pulled out of flex flow so it no longer moves with text content.
     Anchored to the bottom of .journey-info-panel at a fixed distance,
     so the buttons sit at the same vertical position for every step.   */
  position: absolute;
  bottom: 24px;
  left: 0;
  display: flex;
  gap: 12px;
}

.journey-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.25s ease;
}
.journey-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.journey-nav-btn:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
  transform: scale(1.08);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .journey-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .card-deck-area {
    /* width:100% prevents margin:auto collapsing the grid item to 0px.
       Horizontal padding is removed on mobile so the deck fills the full
       available width and the centered inset on .step-card (below) keeps
       the visible card centred rather than left-biased.                   */
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 0 36px 0;
  }
  /* Centre the active card by splitting the 52px inset equally left & right.
     The card width stays identical (deck_w − 52px) but the card sits in the
     middle of the deck rather than flush-left.                             */
  .step-card {
    left: 26px;
    right: 26px;
  }
  /* Keep glow pseudo-element aligned with the centred card on mobile */
  .card-deck::before {
    left: 26px;
    right: 26px;
  }
  /* Tighten stack offsets for narrower screens */
  .step-card[data-pos="1"] {
    transform: translateX(10px) translateY(10px) rotate(3deg) scale(0.97);
  }
  .step-card[data-pos="2"] {
    transform: translateX(18px) translateY(18px) rotate(5.5deg) scale(0.94);
  }
  .step-card[data-pos="back"] {
    transform: translateX(26px) translateY(26px) rotate(8deg) scale(0.91);
  }
  .journey-info-panel {
    text-align: center;
    align-items: center;
    min-height: 300px;
    padding-bottom: 80px;
  }
  .journey-info {
    align-items: center;
    text-align: center;
  }
  .journey-info p {
    max-width: 480px;
  }
  /* Centre the nav buttons horizontally on mobile */
  .journey-nav {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 560px) {
  .card-deck-area {
    max-width: 340px;
    padding: 0 0 30px 0;
  }
}

@media (max-width: 400px) {
  .card-deck-area {
    max-width: 280px;
    padding: 0 0 24px 0;
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--off-white); }
.services .section-header { margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: var(--transition);
  border: 1px solid var(--grey-200);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,166,35,0.15);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  background: rgba(245,166,35,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 28px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--amber);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 24px; }
.service-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ============================================
   SERVICES CAROUSEL
   ============================================ */
.services-carousel-section {
  background: var(--off-white);
  padding: clamp(80px, 9vw, 140px) 0 80px;
  overflow: hidden;
}
.services-carousel-section .section-header {
  margin-bottom: 56px;
}

/* ── Carousel wrapper ── */
.svc-carousel {
  position: relative;
  padding: 28px 0 80px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.svc-carousel:active { cursor: grabbing; }

/* ── Slide track ── */
.svc-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Individual slides ──
   IMPORTANT: NO filter on .svc-slide itself.
   filter + transform:scale on the same element forces the browser to
   rasterise the whole card (text included) as a bitmap → blurry text.
   Instead, filter lives only on .svc-bg (background layer). ── */
.svc-slide {
  flex-shrink: 0;
  width: clamp(280px, 52vw, 720px);
  height: clamp(380px, 54vh, 540px);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  /* scale only — no filter here */
  transform: scale(0.86);
  opacity: 0.60;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition:
    transform  0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity    0.65s ease,
    box-shadow 0.65s ease;
}
.svc-slide.active {
  transform: scale(1.04);
  opacity: 1;
  box-shadow: 0 28px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.14);
  z-index: 2;
}
.svc-slide.svc-far {
  transform: scale(0.74);
  opacity: 0.30;
}

/* ── Background layer — image + brightness live here, NOT on the slide ── */
.svc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.70);
  transition: filter 0.65s ease;
}
.svc-slide.active .svc-bg { filter: brightness(1); }
.svc-slide.svc-far .svc-bg { filter: brightness(0.55); }

/* ── Gradient overlay + text content ── */
.svc-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.90) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.08) 100%
  );
}
.svc-slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px);
}
.svc-slide-content h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  line-height: 1.15;
}
.svc-slide-content p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.svc-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 26px;
  border-radius: 100px;
  text-decoration: none;
  align-self: flex-start;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, gap 0.25s ease, transform 0.25s ease;
  transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
}
.svc-slide.active .svc-slide-btn {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition:
    background  0.25s ease,
    gap         0.25s ease,
    transform   0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
    opacity     0.4s ease 0.15s;
}
.svc-slide-btn:hover {
  background: var(--amber-dark);
  gap: 12px;
}

/* ── Arrow buttons ── */
.svc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 5;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--black);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-arrow:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
  box-shadow: 0 8px 28px rgba(245,166,35,0.35);
  transform: translateY(-60%) scale(1.08);
}
.svc-prev { left:  clamp(12px, 3.5vw, 52px); }
.svc-next { right: clamp(12px, 3.5vw, 52px); }

/* ── Dot indicators ── */
.svc-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  border: none;
  background: rgba(0,0,0,0.20);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.35s ease;
}
.svc-dot.active {
  width: 28px;
  background: var(--amber-dark);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us { background: var(--black); }
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text h2 { color: var(--white); }
.why-text > p {
  color: rgba(255,255,255,0.55);
  margin: 20px 0 40px;
  font-size: 1.05rem;
}
.features-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.feature-item:hover {
  background: rgba(245,166,35,0.08);
  border-color: rgba(245,166,35,0.25);
}
.feature-bullet {
  width: 22px; height: 22px;
  background: url('../images/bullet-sun.png') center / contain no-repeat;
  margin-top: 4px;
  flex-shrink: 0;
}
.feature-item h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.feature-item p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 0; }

/* Why Visual */
.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
  padding: 36px;
}
.why-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.why-card .big-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
  display: block;
}
.why-card .desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  display: block;
}
.why-card .medium-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--amber);
  display: block;
  line-height: 1;
}
.why-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  display: block;
  margin-top: 8px;
}

/* ============================================
   PROJECTS / GALLERY
   ============================================ */
.projects { background: var(--white); }
.projects .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--grey-100);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-card:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  aspect-ratio: 16 / 7;
}
/* ── Shared slideshow (used on homepage projects + gallery page) ── */
.gallery-slides {
  position: absolute;
  inset: 0;
}
.gallery-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.gallery-slides img.active {
  opacity: 1;
}
.gallery-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 7px;
  z-index: 10;
}
.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}
.gallery-dot.active {
  background: var(--amber);
  transform: scale(1.35);
}
.gallery-count {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 10;
  backdrop-filter: blur(4px);
}

/* Distinct coloured backgrounds per project card */
.project-karen .project-placeholder {
  background: linear-gradient(145deg, #1a2a1a 0%, #2d4a2d 50%, #1e3d1e 100%);
}
.project-westlands .project-placeholder {
  background: linear-gradient(145deg, #1a1f2e 0%, #2d3a52 50%, #1e2a42 100%);
}
.project-lavington .project-placeholder {
  background: linear-gradient(145deg, #2a1f10 0%, #4a3520 50%, #3a2a12 100%);
}
.project-kilimani .project-placeholder {
  background: linear-gradient(145deg, #1a1a2a 0%, #2a2a4a 50%, #1e1e3a 100%);
}

.project-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--grey-100), var(--grey-200));
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition);
}
.project-placeholder .icon {
  font-size: 4.5rem;
  display: block;
  margin-bottom: 8px;
  opacity: 0.85;
}
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-meta-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.project-stat {
  background: rgba(245,166,35,0.2);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--amber-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.project-info h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 5px; }
.project-info p  { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; line-height: 1.5; }
.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.project-tag-featured {
  background: var(--amber);
  color: var(--black);
}
.project-tag-premium {
  background: var(--charcoal);
  color: var(--amber-light);
  border: 1px solid rgba(245,166,35,0.3);
}
.project-tag-storage {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--off-white); }
.testimonials .section-header { text-align: center; margin-bottom: 56px; }
/* Marquee wrapper — hides overflow and fades the edges */
.testimonials-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
/* Scrolling track — two identical sets of cards side by side */
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 90s linear infinite;
}
.testimonials-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testimonial-card {
  flex-shrink: 0;
  width: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--grey-200);
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -8px; right: 24px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(245,166,35,0.08);
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,0.2);
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--amber);
}
.testimonial-card blockquote {
  font-size: 0.98rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
  flex-shrink: 0;
}
.author-info h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.author-info span { font-size: 0.82rem; color: var(--grey-400); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--amber);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(0,0,0,0.06) 0%, transparent 60%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 {
  color: var(--black);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(0,0,0,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 16px 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.30);
  background: #222;
}

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--white); }
.faq .section-header { text-align: center; margin-bottom: 56px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(245,166,35,0.4); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
  gap: 16px;
  cursor: pointer;
  background: transparent;
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--amber);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}
.faq-answer p { font-size: 0.92rem; margin: 0; }

/* ============================================
   BLOG
   ============================================ */
.blog { background: var(--off-white); }
.blog .section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
/* ── Differentiators section ─────────────────────────────────── */
.differentiators-section { background: var(--off-white); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.diff-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.diff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.35);
  box-shadow: var(--shadow-md);
}
.diff-card:hover::before { opacity: 1; }
.diff-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}
.diff-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.diff-card h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 12px;
}
.diff-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 24px;
}
.diff-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--amber);
  letter-spacing: 0.01em;
}

/* ── Blog grid ────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--grey-100), var(--grey-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.blog-card:hover .blog-thumb {
  background: linear-gradient(135deg, #e8e8e4, #d4d3ca);
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.05));
}
.blog-cat {
  position: absolute;
  bottom: 12px; left: 16px;
  background: var(--amber);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 100px;
}
.blog-body { padding: 32px 28px; }
.blog-meta {
  font-size: 0.8rem;
  color: var(--grey-400);
  margin-bottom: 12px;
  font-weight: 500;
}
.blog-body h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-body p { font-size: 0.9rem; margin-bottom: 20px; }
.blog-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-link:hover { gap: 10px; }

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p {
  color: var(--grey-600);
  margin-bottom: 40px;
  font-size: 1rem;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(245,166,35,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.detail-text { padding-top: 4px; }
.detail-text strong { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 2px; }
.detail-text a, .detail-text span { font-size: 0.9rem; color: var(--grey-600); }
.detail-text a:hover { color: var(--amber-dark); }

.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 0.92rem; margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo { height: 40px; width: auto; margin-bottom: 20px; mix-blend-mode: screen; }
.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  max-width: 300px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--amber); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--black);
  padding: 176px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 60%, rgba(245,166,35,0.10) 0%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.55); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--amber); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--amber); padding-left: 8px; }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-close:hover { background: var(--amber); border-color: var(--amber); color: var(--black); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-grid::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-visual { grid-template-columns: repeat(2, 1fr); }
  .why-card:first-child { grid-column: auto; display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero-content { padding-top: 140px; padding-bottom: 100px; }
  .hero-exp-item span:last-child { font-size: 0.82rem; }
  .hero-exp-item { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  /* Pill navbar on mobile */
  .navbar { top: 14px; width: calc(100% - 28px); }
  .nav-inner { height: 58px; padding: 0 6px 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: auto; aspect-ratio: 4/3; }
  .testimonials-track { animation-duration: 65s; }
  .diff-grid { grid-template-columns: 1fr; }
  .faq-grid  { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { justify-content: center; }
  .trust-divider { display: none; }
  .projects .section-header { flex-direction: column; align-items: flex-start; }
  .blog .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-expertise-inner { flex-direction: column; height: auto; padding: 20px 24px; gap: 14px; }
  .hero-exp-divider { width: 40px; height: 1px; }
  .hero-exp-item { padding: 0; }
  .hero-content { padding-bottom: 180px; }
  .contact-form-wrap { padding: 32px 24px; }
}

/* ============================================
   WIDE-SCREEN ENHANCEMENTS (1440px+)
   ============================================ */
@media (min-width: 1440px) {
  /* Slightly larger base type */
  body { font-size: 1.05rem; }

  /* Bigger hero card */
  .hero-card-main { max-width: 420px; }
  .hero-content { gap: 100px; }

  /* More breathing room in cards */
  .service-card { padding: 56px 48px; }
  .testimonial-card { padding: 52px 48px; }

  /* Service section: keep 3 cols but wider gaps */
  .services-grid { gap: 32px; }
  .projects-grid { gap: 28px; }
  .blog-grid     { gap: 32px; }

  /* Wider step connector line stays proportional */
  .steps-grid::before {
    left: calc(12.5% + 32px);
    right: calc(12.5% + 32px);
  }
}

/* ============================================
   ULTRA-WIDE ENHANCEMENTS (1920px+)
   ============================================ */
@media (min-width: 1920px) {
  body { font-size: 1.1rem; }

  /* H1/H2 scale up */
  h1 { font-size: clamp(3rem, 3.8vw, 5.5rem); }
  h2 { font-size: clamp(2.2rem, 2.8vw, 4rem); }

  /* Grids get an extra column at ultrawide */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .blog-grid     { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .projects-grid { gap: 32px; }

  /* Footer spreads its 4 cols further */
  .footer-grid { gap: 80px; }

  /* Trust bar items have more space */
  .trust-inner { justify-content: space-between; gap: 48px; }

  /* Section headers have more top margin */
  .section-header { margin-bottom: 80px; }

  /* Larger hero stats */
  .hero-stat .num { font-size: 2.6rem; }
  .savings-display { font-size: 4rem; }
}

/* ============================================
   BALCONY KITS SECTION
   ============================================ */
.kits-section {
  background: var(--off-white);
}

.kits-section .section-header {
  margin-bottom: 48px;
}

.kits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ---- Card ---- */
.kit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.kit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---- Image area ---- */
.kit-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-100);
}

.kit-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.kit-card:hover .kit-image-wrap img {
  transform: scale(1.04);
}

/* ---- Body ---- */
.kit-body {
  padding: 36px 36px 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ---- Badge ---- */
.kit-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grey-100);
  color: var(--grey-600);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}

.kit-badge--amber {
  background: var(--amber);
  color: var(--charcoal);
}

/* ---- Name & tagline ---- */
.kit-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}

.kit-tagline {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.55;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-200);
}

/* ---- Spec list ---- */
.kit-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.kit-specs li {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.45;
  padding-left: 22px;
  position: relative;
}

.kit-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---- Footer row: price + CTA ---- */
.kit-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
  margin-top: auto;
}

.kit-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kit-price-from {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kit-price-amount {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
}

/* ---- CTA button ---- */
.kit-btn {
  flex-shrink: 0;
  padding: 13px 24px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .kits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .kit-image-wrap {
    aspect-ratio: 16 / 9;
  }

  .kit-body {
    padding: 28px 28px 32px;
  }
}

@media (max-width: 480px) {
  .kit-body {
    padding: 22px 20px 28px;
  }

  .kit-name {
    font-size: 1.35rem;
  }
}
