/*
Theme Name: Apex Floor Solutions V2
Theme URI: https://apexfloors.ug
Author: Apex Floor Solutions
Author URI: https://apexfloors.ug
Description: Custom premium theme for Apex Floor Solutions — Uganda's premier flooring specialist. Featuring microtopping, hardwood, terrazzo, stamped concrete, tile, and waterproofing services.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
License URI: https://apexfloors.ug
Text Domain: apex-floor-solutions
Tags: custom, flooring, uganda, premium, luxury
*/

/* ══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
══════════════════════════════════════════ */
:root {
  --cream:      #FAF7F2;
  --cream2:     #F2ECE3;
  --stone:      #E2D9CC;
  --gold:       #B8843A;
  --gold2:      #9A6E2C;
  --gold-light: #E8C97A;
  --dark:       #1C140A;
  --dark2:      #2C1F0E;
  --dark3:      #4A3820;
  --text:       #3A2C1C;
  --text-light: #7A6A56;
  --white:      #FFFFFF;
  --fd: 'Playfair Display', Georgia, serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'DM Mono', monospace;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(28,20,10,.14);
  --shadow-gold: 0 8px 32px rgba(184,132,58,.35);
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body { font-family: var(--fb); background: var(--cream); color: var(--dark); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* Screen reader text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ══════════════════════════════════════════
   GRAIN OVERLAY
══════════════════════════════════════════ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  opacity: .028;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
  background-size: 180px;
  animation: grain .8s steps(2) infinite;
}
@keyframes grain {
  0%  { background-position: 0 0; }
  25% { background-position: 60px 30px; }
  50% { background-position: -30px 70px; }
  75% { background-position: 90px -10px; }
}

/* ══════════════════════════════════════════
   CUSTOM CURSOR (desktop only)
══════════════════════════════════════════ */
@media (pointer: fine) {
  body { cursor: none; }
  #cur { position: fixed; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .25s, height .25s; }
  #cur-ring { position: fixed; width: 36px; height: 36px; border: 1px solid rgba(184,132,58,.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: transform .22s ease; }
}

/* ══════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════ */
#progress-bar { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--gold2), var(--gold-light)); z-index: 9997; width: 0; }

/* ══════════════════════════════════════════
   LOADER
══════════════════════════════════════════ */
#loader { position: fixed; inset: 0; background: var(--dark); z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.ll { font-family: var(--fd); font-size: 15px; font-weight: 400; letter-spacing: 10px; color: var(--cream); text-transform: uppercase; opacity: .5; }
.ll-big { font-family: var(--fd); font-size: clamp(36px,5vw,52px); font-weight: 700; letter-spacing: 4px; color: var(--cream); line-height: 1; }
.ll-big em { font-style: italic; color: var(--gold-light); }
.lt { width: 240px; height: 1px; background: rgba(255,255,255,.08); }
.lf { height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold-light)); width: 0; transition: width .05s; }
.lp { font-family: var(--fm); font-size: 10px; letter-spacing: 4px; color: rgba(255,255,255,.25); text-transform: uppercase; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .4s, box-shadow .4s;
}
#nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,247,242,.96), rgba(250,247,242,0));
  transition: backdrop-filter .4s;
  pointer-events: none;
}
#nav.scrolled { background: rgba(250,247,242,.94); box-shadow: 0 1px 0 rgba(28,20,10,.08); }
#nav.scrolled::before { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: transparent; }

.nav-logo {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-logo-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-left: 2px; margin-bottom: 12px; flex-shrink: 0; }

.nav-items {
  display: flex;
  gap: 36px;
  list-style: none;
  position: relative;
  z-index: 1;
  align-items: center;
}
.nav-items a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-items a:hover { color: var(--dark); }
.nav-items a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s;
}
.nav-items a:hover::after { width: 100%; }

.nav-cta {
  background: var(--dark) !important;
  color: var(--cream) !important;
  padding: 11px 28px !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; transform: translateY(-2px) !important; color: #fff !important; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 10;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: var(--fd);
  font-size: clamp(28px, 6vw, 48px);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color .2s;
}
.nav-mobile a:hover { color: var(--gold-light); }
.nav-mobile-contact {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(250,247,242,.3);
  margin-top: 16px;
}

/* ══════════════════════════════════════════
   BUTTONS (global)
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: var(--fb);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(184,132,58,.55); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--fb);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  transition: var(--transition);
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--gold-light); background: rgba(232,201,122,.1); transform: translateY(-3px); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--cream);
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--fb);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-dark:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }

/* ══════════════════════════════════════════
   SECTION HELPERS
══════════════════════════════════════════ */
.sec-label {
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.sec-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.sec-label.centered { justify-content: center; }
.sec-label.light { color: rgba(232,201,122,.6); }
.sec-label.light::before { background: rgba(232,201,122,.6); }

/* Reveal animations via Intersection Observer */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1 !important; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 130%; object-fit: cover; object-position: center 40%; transform-origin: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(250,247,242,.06) 0%, rgba(28,20,10,.45) 60%, rgba(28,20,10,.85) 100%); }
.hero-overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,20,10,.9) 0%, transparent 50%); }

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 60px 80px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250,247,242,.12);
  border: 1px solid rgba(184,132,58,.35);
  border-radius: 50px;
  padding: 7px 18px 7px 10px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(10px);
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; animation: pulse-gold 2s ease-in-out infinite; }
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,201,122,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(232,201,122,0); }
}
.hero-badge-text { font-family: var(--fm); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(250,247,242,.8); }

.hero-title {
  font-family: var(--fd);
  font-size: clamp(44px, 5.5vw, 108px);
  line-height: .92;
  letter-spacing: -1px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.hero-title-line { overflow: hidden; display: block; }
.hero-title-word { display: block; transform: translateY(110%); }

.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.hero-para {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(250,247,242,.55);
  max-width: 600px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(16px);
}
.hero-btns { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; opacity: 0; transform: translateY(16px); }

.hero-stats { display: flex; gap: 0; opacity: 0; transform: translateX(24px); }
.hero-stat { text-align: right; border-right: 1px solid rgba(255,255,255,.12); padding: 0 32px; }
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat-num { font-family: var(--fd); font-size: 32px; font-weight: 700; letter-spacing: -1px; color: #fff; }
.hero-stat-label { font-family: var(--fm); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(250,247,242,.3); margin-top: 4px; }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 60px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.hero-scroll-line { width: 1px; height: 44px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero-scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold-light); animation: scrolldown 2s ease-in-out infinite; }
@keyframes scrolldown { 0% { top: -100%; } 100% { top: 100%; } }
.hero-scroll-text { font-family: var(--fm); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(250,247,242,.3); writing-mode: vertical-rl; }

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee-wrap { background: var(--gold); padding: 14px 0; overflow: hidden; position: relative; z-index: 3; }
.marquee-inner { display: flex; width: max-content; animation: mq 28s linear infinite; }
.marquee-inner:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--fm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.marquee-item::after { content: '✦'; opacity: .5; font-size: 8px; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */
#about { background: var(--cream); padding: 130px 60px; position: relative; overflow: hidden; }
.about-inner { max-width: 1380px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.about-bignum {
  font-family: var(--fd);
  font-size: clamp(100px, 13vw, 190px);
  font-weight: 900;
  line-height: .85;
  letter-spacing: -6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(28,20,10,.08);
  margin-bottom: 12px;
}
.about-bignum-sub { font-family: var(--fm); font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--text-light); margin-bottom: 44px; }
.about-headline { font-family: var(--fd); font-size: clamp(32px,3vw,52px); font-weight: 700; line-height: 1.15; letter-spacing: -.5px; color: var(--dark); margin-bottom: 28px; }
.about-headline em { font-style: italic; color: var(--gold); }
.about-desc { font-size: 17px; line-height: 1.85; color: var(--text-light); margin-bottom: 24px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--stone); border-radius: 16px; overflow: hidden; margin-top: 40px; }
.av { background: var(--cream2); padding: 30px 26px; transition: background .3s, color .3s; }
.av:hover { background: var(--dark); color: var(--cream); }
.av-icon { font-size: 24px; margin-bottom: 12px; }
.av-t { font-family: var(--fd); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.av-d { font-size: 13px; line-height: 1.6; color: var(--text-light); transition: color .3s; }
.av:hover .av-d { color: rgba(250,247,242,.5); }

.about-img-stack { position: relative; height: 580px; }
.about-img-main { position: absolute; top: 0; right: 0; width: 78%; height: 92%; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(28,20,10,.18); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.about-img-main:hover img { transform: scale(1.05); }
.about-img-sec { position: absolute; bottom: 0; left: 0; width: 52%; height: 56%; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(28,20,10,.22); border: 4px solid var(--cream); }
.about-img-sec img { width: 100%; height: 100%; object-fit: cover; }
.about-tag { position: absolute; bottom: 42%; right: -20px; background: var(--gold); color: #fff; padding: 14px 20px; border-radius: 14px; font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; box-shadow: var(--shadow-gold); z-index: 2; }
.about-tag strong { font-family: var(--fd); font-size: 24px; font-weight: 700; display: block; letter-spacing: -1px; }

/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
#services { background: var(--dark); position: relative; overflow: hidden; padding: 120px 0 0; }
.services-head { padding: 0 60px; max-width: 1380px; margin: 0 auto 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.services-headline { font-family: var(--fd); font-size: clamp(40px,4vw,68px); font-weight: 700; line-height: 1.05; letter-spacing: -.5px; color: var(--cream); }
.services-headline em { font-style: italic; color: var(--gold-light); }
.services-sub { max-width: 320px; font-size: 15px; line-height: 1.7; color: rgba(250,247,242,.4); text-align: right; }

/* Horizontal scrolling services */
.services-h-section { position: relative; width: 100%; overflow: hidden; height: 100vh; }
.services-h-track { display: flex; align-items: center; gap: 20px; height: 100%; padding-left: 60px; padding-right: 80px; will-change: transform; }

.svc-card { flex-shrink: 0; position: relative; border-radius: var(--radius); overflow: hidden; width: clamp(280px,68vw,820px); height: 72vh; cursor: pointer; }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.svc-card:hover .svc-img { transform: scale(1.06); }
.svc-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(28,20,10,.08) 0%, rgba(28,20,10,.7) 60%, rgba(28,20,10,.92) 100%); opacity: 0.4; }
.svc-num { position: absolute; top: 32px; right: 36px; font-family: var(--fd); font-size: 72px; font-weight: 900; color: rgba(255,255,255,.06); letter-spacing: -3px; line-height: 1; }
.svc-arrow { position: absolute; top: 32px; left: 36px; width: 44px; height: 44px; background: rgba(250,247,242,.08); border: 1px solid rgba(250,247,242,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; transition: background .3s, transform .3s; }
.svc-card:hover .svc-arrow { background: var(--gold); transform: rotate(45deg); }
.svc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 44px 40px; }
.svc-cat { font-family: var(--fm); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.svc-title { font-family: var(--fd); font-size: clamp(28px,3vw,48px); font-weight: 700; color: #fff; letter-spacing: -.5px; line-height: 1.1; margin-bottom: 16px; }
.svc-desc { font-size: 14px; line-height: 1.7; color: rgba(250,247,242,.55); max-width: 480px; opacity: 0; transform: translateY(12px); transition: opacity .35s .1s, transform .35s .1s; }
.svc-card:hover .svc-desc { opacity: 1; transform: translateY(0); }
.svc-features { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; opacity: 0; transform: translateY(8px); transition: opacity .35s .2s, transform .35s .2s; }
.svc-card:hover .svc-features { opacity: 1; transform: translateY(0); }
.svc-tag { background: rgba(184,132,58,.25); border: 1px solid rgba(232,201,122,.3); color: rgba(232,201,122,.9); font-family: var(--fm); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; }

.svc-end { flex-shrink: 0; width: clamp(200px,25vw,340px); height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 0 20px; }
.svc-end-text { font-family: var(--fd); font-size: 28px; font-weight: 600; color: rgba(250,247,242,.3); line-height: 1.3; }
.svc-end-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: #fff; padding: 14px 28px; border-radius: 50px; font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; transition: var(--transition); width: fit-content; }
.svc-end-btn:hover { background: var(--gold2); transform: translateX(4px); }

/* ══════════════════════════════════════════
   IMAGE BREAK SECTION
══════════════════════════════════════════ */
#img-break { position: relative; height: 80vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.img-break-bg { position: absolute; inset: 0; z-index: 0; }
.img-break-bg img { width: 100%; height: 130%; object-fit: cover; object-position: center 40%; }
.img-break-overlay { position: absolute; inset: 0; background: rgba(28,20,10,.62); }
.img-break-content { position: relative; z-index: 2; text-align: center; padding: 0 60px; }
.img-break-label { font-family: var(--fm); font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: rgba(232,201,122,.7); margin-bottom: 24px; }
.img-break-title { font-family: var(--fd); font-size: clamp(44px,6vw,96px); font-weight: 700; line-height: .95; color: #fff; letter-spacing: -2px; }
.img-break-title em { font-style: italic; font-weight: 400; color: var(--gold-light); }

/* ══════════════════════════════════════════
   GALLERY
══════════════════════════════════════════ */
#gallery { background: var(--cream); padding: 130px 60px; }
.gallery-inner { max-width: 1380px; margin: 0 auto; }
.gallery-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.gallery-headline { font-family: var(--fd); font-size: clamp(36px,3.5vw,58px); font-weight: 700; line-height: 1.1; letter-spacing: -.5px; color: var(--dark); }
.gallery-headline em { font-style: italic; color: var(--gold); }
.gallery-sub { font-size: 15px; line-height: 1.75; color: var(--text-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gi { border-radius: 16px; overflow: hidden; position: relative; }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, filter .4s; }
.gi:hover img { transform: scale(1.06); filter: brightness(.9); }
.gi-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 22px; background: linear-gradient(to top, rgba(28,20,10,.7), transparent); color: #fff; font-family: var(--fd); font-size: 15px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gi:hover .gi-label { opacity: 1; transform: translateY(0); }
.gi-1 { grid-column: 1/6; grid-row: 1/3; height: 460px; }
.gi-2 { grid-column: 6/9; grid-row: 1/2; height: 220px; }
.gi-3 { grid-column: 9/13; grid-row: 1/2; height: 220px; }
.gi-4 { grid-column: 6/9; grid-row: 2/3; height: 224px; }
.gi-5 { grid-column: 9/13; grid-row: 2/3; height: 224px; }
.gi-6 { grid-column: 1/5; grid-row: 3/4; height: 300px; }
.gi-7 { grid-column: 5/9; grid-row: 3/4; height: 300px; }
.gi-8 { grid-column: 9/13; grid-row: 3/4; height: 300px; }

/* ══════════════════════════════════════════
   PROCESS
══════════════════════════════════════════ */
#process { background: var(--cream2); padding: 130px 60px; }
.process-inner { max-width: 1380px; margin: 0 auto; }
.process-head { text-align: center; margin-bottom: 80px; }
.process-headline { font-family: var(--fd); font-size: clamp(36px,4vw,60px); font-weight: 700; letter-spacing: -.5px; color: var(--dark); margin-bottom: 18px; }
.process-headline em { font-style: italic; color: var(--gold); }
.process-sub { font-size: 16px; color: var(--text-light); max-width: 500px; margin: 0 auto; line-height: 1.75; }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--stone); border-radius: 24px; overflow: hidden; }
.ps { background: var(--cream); padding: 48px 36px; position: relative; transition: background .4s; }
.ps:hover { background: var(--dark); }
.ps-num { font-family: var(--fd); font-size: 80px; font-weight: 900; color: rgba(28,20,10,.05); line-height: 1; margin-bottom: 28px; transition: color .4s; }
.ps:hover .ps-num { color: rgba(232,201,122,.08); }
.ps-icon { font-size: 28px; margin-bottom: 20px; }
.ps-t { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 16px; transition: color .4s; }
.ps:hover .ps-t { color: var(--cream); }
.ps-d { font-size: 14px; line-height: 1.7; color: var(--text-light); transition: color .4s; }
.ps:hover .ps-d { color: rgba(250,247,242,.5); }
.ps-arrow { position: absolute; bottom: 32px; right: 32px; font-size: 20px; color: var(--gold); transition: color .4s, transform .4s; }
.ps:hover .ps-arrow { color: var(--gold-light); transform: translateX(4px); }

/* ══════════════════════════════════════════
   STATS
══════════════════════════════════════════ */
#stats { background: var(--dark2); padding: 120px 60px; }
.stats-inner { max-width: 1380px; margin: 0 auto; }
.stats-headline { font-family: var(--fd); font-size: clamp(36px,4vw,58px); font-weight: 700; color: var(--cream); letter-spacing: -.5px; }
.stats-headline em { font-style: italic; color: var(--gold-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: rgba(255,255,255,.04); border-radius: 20px; overflow: hidden; margin-top: 60px; }
.sg { background: rgba(250,247,242,.03); padding: 52px 44px; border-right: 1px solid rgba(255,255,255,.06); }
.sg:last-child { border-right: none; }
.sg-n { font-family: var(--fd); font-size: clamp(52px,5vw,80px); font-weight: 900; color: var(--cream); letter-spacing: -2px; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.sg-suf { font-size: .5em; font-weight: 400; color: var(--gold-light); }
.sg-l { font-family: var(--fb); font-size: 14px; font-weight: 600; color: rgba(250,247,242,.6); margin-top: 16px; letter-spacing: .5px; }
.sg-d { font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(250,247,242,.2); margin-top: 6px; }

/* ══════════════════════════════════════════
   WHY / APEX DIFFERENCE (FIXED)
══════════════════════════════════════════ */
#why { background: var(--cream2); padding: 130px 60px; }
.why-inner { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.why-img { position: relative; border-radius: var(--radius); overflow: hidden; height: 650px; box-shadow: var(--shadow); }
.why-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.why-img:hover img { transform: scale(1.05); }
.why-img-tag { position: absolute; bottom: 28px; left: 28px; background: var(--gold); color: #fff; padding: 10px 20px; border-radius: 50px; font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.why-headline { font-family: var(--fd); font-size: clamp(36px,3.5vw,58px); font-weight: 700; line-height: 1.1; letter-spacing: -.5px; color: var(--dark); margin-bottom: 20px; }
.why-headline em { font-style: italic; color: var(--gold); }
.why-desc { font-size: 17px; line-height: 1.85; color: var(--text-light); margin-bottom: 48px; }

.why-list { display: flex; flex-direction: column; gap: 0; }
/* FIX: Why list items visible by default, animated via Intersection Observer */
.wl {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--stone);
  opacity: 1;
  transform: none;
  transition: var(--transition);
}
.wl:last-child { border-bottom: none; }
.wl:hover { padding-left: 8px; }
.wl-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.wl-t { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.wl-d { font-size: 14px; line-height: 1.7; color: var(--text-light); }

/* ══════════════════════════════════════════
   CLIENTS (POPULATED & STYLED)
══════════════════════════════════════════ */
#clients { background: var(--cream); padding: 100px 60px; border-top: 1px solid var(--stone); }
.clients-inner { max-width: 1380px; margin: 0 auto; }
.clients-intro { text-align: center; margin-bottom: 64px; }
.clients-headline { font-family: var(--fd); font-size: clamp(28px,3vw,44px); font-weight: 700; color: var(--dark); letter-spacing: -.5px; margin-bottom: 16px; }
.clients-headline em { font-style: italic; color: var(--gold); }
.clients-sub { font-size: 16px; color: var(--text-light); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--stone);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 60px;
}
.client-card {
  background: var(--cream2);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background .3s;
  text-align: center;
}
.client-card:hover { background: var(--cream); }
.client-icon { width: 56px; height: 56px; background: var(--gold); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.client-name { font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.2; }
.client-sector { font-family: var(--fm); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }
.client-quote { font-size: 12px; line-height: 1.6; color: var(--text-light); font-style: italic; margin-top: 4px; }

.clients-row2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--stone); border-radius: 20px; overflow: hidden; }

.clients-cta { text-align: center; margin-top: 56px; }
.clients-cta p { font-size: 16px; color: var(--text-light); margin-bottom: 24px; line-height: 1.7; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
#testimonials { background: var(--dark); padding: 130px 60px; }
.testi-inner { max-width: 1380px; margin: 0 auto; }
.testi-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
.testi-headline { font-family: var(--fd); font-size: clamp(36px,3.5vw,58px); font-weight: 700; line-height: 1.1; letter-spacing: -.5px; color: var(--cream); }
.testi-headline em { font-style: italic; color: var(--gold-light); }
.testi-sub { font-size: 15px; line-height: 1.75; color: rgba(250,247,242,.4); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tc { background: rgba(250,247,242,.04); border: 1px solid rgba(250,247,242,.08); border-radius: 20px; padding: 44px 40px; position: relative; transition: background .3s, border-color .3s; }
.tc:hover { background: rgba(250,247,242,.07); border-color: rgba(184,132,58,.2); }
.tc-big-q { font-family: var(--fd); font-size: 80px; font-weight: 900; color: rgba(184,132,58,.15); line-height: .7; margin-bottom: 12px; }
.tc-stars { color: var(--gold-light); font-size: 14px; letter-spacing: 2px; margin-bottom: 20px; }
.tc-quote { font-size: 15px; line-height: 1.8; color: rgba(250,247,242,.6); margin-bottom: 32px; }
.tc-author { display: flex; align-items: center; gap: 14px; }
.tc-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.tc-av img { width: 100%; height: 100%; object-fit: cover; }
.tc-name { font-family: var(--fd); font-size: 16px; font-weight: 700; color: var(--cream); }
.tc-role { font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(250,247,242,.3); margin-top: 3px; }

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
#cta { position: relative; padding: 140px 60px; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(28,20,10,.92) 40%, rgba(28,20,10,.7) 100%); }
.cta-inner { position: relative; z-index: 2; max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cta-headline { font-family: var(--fd); font-size: clamp(40px,5vw,78px); font-weight: 700; line-height: .95; letter-spacing: -1px; color: #fff; margin-bottom: 24px; }
.cta-headline em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.cta-desc { font-size: 17px; line-height: 1.8; color: rgba(250,247,242,.5); margin-bottom: 40px; max-width: 440px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.cta-card { background: rgba(250,247,242,.07); border: 1px solid rgba(250,247,242,.1); border-radius: 24px; padding: 44px; backdrop-filter: blur(10px); }
.cta-card h3 { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--cream); margin-bottom: 28px; }
.cta-info-list { display: flex; flex-direction: column; gap: 20px; }
.ci { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.ci-l { font-family: var(--fm); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(250,247,242,.3); margin-bottom: 4px; }
.ci-v { font-size: 15px; color: var(--cream); line-height: 1.5; }
.ci-v a { color: var(--cream); transition: color .2s; }
.ci-v a:hover { color: var(--gold-light); }

.cta-social { display: flex; gap: 10px; margin-top: 28px; }
.cs { width: 40px; height: 40px; border-radius: 50%; background: rgba(250,247,242,.08); border: 1px solid rgba(250,247,242,.12); display: flex; align-items: center; justify-content: center; color: rgba(250,247,242,.5); transition: var(--transition); }
.cs:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.cs svg { width: 16px; height: 16px; }

.btn-map { display: inline-flex; align-items: center; gap: 8px; background: rgba(250,247,242,.1); color: var(--cream); padding: 14px 32px; border-radius: 50px; font-family: var(--fb); font-weight: 400; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(250,247,242,.2); transition: var(--transition); }
.btn-map:hover { background: rgba(250,247,242,.18); border-color: rgba(250,247,242,.35); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.06); padding: 80px 60px 36px; }
.footer-inner { max-width: 1380px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-family: var(--fd); font-size: 28px; font-weight: 700; color: var(--cream); letter-spacing: .5px; margin-bottom: 16px; display: flex; align-items: center; gap: 2px; }
.footer-logo em { font-style: italic; color: var(--gold-light); }
.footer-logo-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-left: 2px; margin-bottom: 14px; flex-shrink: 0; }
.footer-tagline { font-size: 14px; line-height: 1.7; color: rgba(250,247,242,.35); max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-col h4 { font-family: var(--fm); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(250,247,242,.3); margin-bottom: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: rgba(250,247,242,.5); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(250,247,242,.25); }
.footer-seo { font-family: var(--fm); font-size: 10px; letter-spacing: 1.5px; color: rgba(250,247,242,.12); text-transform: uppercase; }

/* ══════════════════════════════════════════
   INTERIOR PAGE STYLES
══════════════════════════════════════════ */
/* Page hero (for inner pages) */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 130%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,20,10,.92) 0%, rgba(28,20,10,.4) 60%, rgba(28,20,10,.15) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 60px 70px; max-width: 1440px; margin: 0 auto; width: 100%; }
.page-hero-label { font-family: var(--fm); font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.page-hero-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold-light); }
.page-hero-title { font-family: var(--fd); font-size: clamp(40px, 5vw, 84px); font-weight: 700; line-height: .95; letter-spacing: -1px; color: #fff; }
.page-hero-title em { font-style: italic; font-weight: 400; color: var(--gold-light); }
.page-hero-sub { font-size: 18px; color: rgba(250,247,242,.55); margin-top: 16px; max-width: 560px; line-height: 1.7; }

/* Breadcrumb */
.breadcrumb { background: var(--cream2); padding: 14px 60px; border-bottom: 1px solid var(--stone); }
.breadcrumb-inner { max-width: 1380px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.breadcrumb-sep { opacity: .4; }

/* About Page */
.about-story { background: var(--cream); padding: 100px 60px; }
.about-story-inner { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-story-text h2 { font-family: var(--fd); font-size: clamp(32px,3vw,52px); font-weight: 700; line-height: 1.1; color: var(--dark); margin-bottom: 28px; }
.about-story-text h2 em { font-style: italic; color: var(--gold); }
.about-story-text p { font-size: 17px; line-height: 1.9; color: var(--text-light); margin-bottom: 20px; }
.about-mission { background: var(--cream2); padding: 100px 60px; }
.about-mission-inner { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--stone); border-radius: 24px; overflow: hidden; }
.mission-card { background: var(--cream); padding: 52px 44px; }
.mission-card-icon { font-size: 36px; margin-bottom: 20px; }
.mission-card h3 { font-family: var(--fd); font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.mission-card p { font-size: 15px; line-height: 1.75; color: var(--text-light); }
.about-team { background: var(--cream); padding: 100px 60px; }
.about-team-inner { max-width: 1380px; margin: 0 auto; }
.about-team h2 { font-family: var(--fd); font-size: clamp(32px,3vw,52px); font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.about-team h2 em { font-style: italic; color: var(--gold); }
.team-sub { font-size: 17px; color: var(--text-light); margin-bottom: 60px; max-width: 540px; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card { border-radius: 20px; overflow: hidden; background: var(--cream2); }
.team-img { height: 320px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-info { padding: 28px; }
.team-info h3 { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.team-role { font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.team-bio { font-size: 13px; line-height: 1.6; color: var(--text-light); margin-top: 12px; }

/* Services Page */
.services-page { background: var(--cream); padding: 100px 60px; }
.services-page-inner { max-width: 1380px; margin: 0 auto; }
.services-page-intro { text-align: center; max-width: 1000px; margin: 0 auto 40px; }
.services-page-intro h2 { font-family: var(--fd); font-size: clamp(32px,4vw,56px); font-weight: 700; color: var(--dark); margin-bottom: 20px; letter-spacing: -.5px; }
.services-page-intro h2 em { font-style: italic; color: var(--gold); }
.services-page-intro p { font-size: 17px; line-height: 1.8; color: var(--text-light); }
.services-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card-link { text-decoration: none; display: block; }
.service-page-card { border-radius: 20px; overflow: hidden; background: var(--cream2); transition: var(--transition); }
.service-page-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-page-img { height: 260px; overflow: hidden; position: relative; }
.service-page-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.service-page-card:hover .service-page-img img { transform: scale(1.07); }
.service-page-num { position: absolute; top: 20px; right: 20px; background: var(--dark); color: rgba(255,255,255,.4); font-family: var(--fd); font-size: 32px; font-weight: 900; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.service-page-body { padding: 32px 28px; }
.service-page-cat { font-family: var(--fm); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.service-page-body h3 { font-family: var(--fd); font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 12px; line-height: 1.2; }
.service-page-body p { font-size: 14px; line-height: 1.7; color: var(--text-light); }
.service-page-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.service-page-tag { background: var(--stone); color: var(--text-light); font-family: var(--fm); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; }
.service-page-arrow { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--stone); }
.service-page-arrow span { font-family: var(--fm); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.service-page-arrow-icon { width: 32px; height: 32px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; transition: transform .3s; }
.service-page-card:hover .service-page-arrow-icon { transform: rotate(45deg); }

/* Individual Service Page */
.service-intro { background: var(--cream); padding: 100px 60px; }
.service-intro-inner { max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.service-intro-text h2 { font-family: var(--fd); font-size: clamp(32px,3vw,52px); font-weight: 700; line-height: 1.1; color: var(--dark); margin-bottom: 28px; }
.service-intro-text h2 em { font-style: italic; color: var(--gold); }
.service-intro-text p { font-size: 17px; line-height: 1.9; color: var(--text-light); margin-bottom: 20px; }
.service-intro-img { border-radius: 24px; overflow: hidden; height: 520px; box-shadow: var(--shadow); }
.service-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.service-benefits { background: var(--dark); padding: 100px 60px; }
.service-benefits-inner { max-width: 1380px; margin: 0 auto; }
.service-benefits h2 { font-family: var(--fd); font-size: clamp(32px,3.5vw,52px); font-weight: 700; color: var(--cream); margin-bottom: 16px; }
.service-benefits h2 em { font-style: italic; color: var(--gold-light); }
.service-benefits-sub { font-size: 16px; color: rgba(250,247,242,.4); margin-bottom: 56px; max-width: 500px; line-height: 1.7; }
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,.04); border-radius: 20px; overflow: hidden; }
.benefit-card { background: var(--dark3); padding: 44px 36px; border-right: 1px solid rgba(255,255,255,.06); transition: background .3s; }
.benefit-card:last-child { border-right: none; }
.benefit-card:hover { background: var(--gold2); }
.benefit-icon { font-size: 32px; margin-bottom: 20px; }
.benefit-card h3 { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.benefit-card p { font-size: 14px; line-height: 1.75; color: rgba(250,247,242,.45); }
.service-applications { background: var(--cream2); padding: 100px 60px; }
.service-applications-inner { max-width: 1380px; margin: 0 auto; }
.service-applications h2 { font-family: var(--fd); font-size: clamp(30px,3vw,48px); font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.service-applications h2 em { font-style: italic; color: var(--gold); }
.service-applications-sub { font-size: 16px; color: var(--text-light); margin-bottom: 48px; line-height: 1.7; }
.applications-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.app-card { border-radius: 16px; overflow: hidden; position: relative; height: 240px; cursor: default; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.app-card:hover img { transform: scale(1.07); }
.app-card-label { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,20,10,.8), rgba(28,20,10,.15)); display: flex; align-items: flex-end; padding: 24px; }
.app-card-label span { font-family: var(--fd); font-size: 18px; font-weight: 700; color: #fff; }

/* Service FAQ */
.service-faq { background: var(--cream); padding: 100px 60px; }
.service-faq-inner { max-width: 860px; margin: 0 auto; }
.service-faq h2 { font-family: var(--fd); font-size: clamp(30px,3vw,48px); font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.service-faq h2 em { font-style: italic; color: var(--gold); }
.service-faq-sub { font-size: 16px; color: var(--text-light); margin-bottom: 48px; line-height: 1.7; }
.faq-item { border-bottom: 1px solid var(--stone); padding: 24px 0; }
.faq-q { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q::after { content: '+'; font-size: 22px; color: var(--gold); font-weight: 300; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 15px; line-height: 1.75; color: var(--text-light); max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s; }
.faq-item.open .faq-a { max-height: 400px; padding-top: 16px; }

/* Service CTA band */
.service-cta-band { background: var(--gold); padding: 80px 60px; }
.service-cta-band-inner { max-width: 1380px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.service-cta-band h2 { font-family: var(--fd); font-size: clamp(28px,3vw,46px); font-weight: 700; color: #fff; line-height: 1.15; }
.service-cta-band p { font-size: 16px; color: rgba(255,255,255,.7); margin-top: 8px; }
.service-cta-band .btn-white { background: #fff; color: var(--gold2); font-weight: 600; }
.service-cta-band .btn-white:hover { background: var(--dark); color: #fff; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  #nav { padding: 18px 32px; }
  .nav-items { gap: 24px; }
  .nav-items .nav-cta { display: none; }
  .hero-content { padding: 0 32px 60px; }
  #about { padding: 100px 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-stack { height: 420px; }
  .about-tag { right: 10px; }
  .services-head { padding: 0 40px; }
  #gallery { padding: 100px 40px; }
  .gallery-head { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(6,1fr); }
  .gi-1 { grid-column: 1/4; height: 320px; }
  .gi-2 { grid-column: 4/7; grid-row: 1/2; height: 155px; }
  .gi-3 { grid-column: 4/7; grid-row: 2/3; height: 155px; }
  .gi-4 { grid-column: 1/4; grid-row: 3/4; height: 220px; }
  .gi-5 { grid-column: 4/7; grid-row: 3/4; height: 220px; }
  .gi-6, .gi-7, .gi-8 { grid-column: span 2; grid-row: auto; height: 200px; }
  #process { padding: 100px 40px; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  #stats { padding: 100px 40px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .sg { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .sg:nth-child(2n) { border-right: none; }
  #why { padding: 100px 40px; }
  .why-inner { grid-template-columns: 1fr; gap: 60px; }
  .why-img { height: 420px; }
  #clients { padding: 80px 40px; }
  .clients-grid, .clients-row2 { grid-template-columns: repeat(2,1fr); }
  #testimonials { padding: 100px 40px; }
  .testi-head { grid-template-columns: 1fr; gap: 20px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  #cta { padding: 100px 40px; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  footer { padding: 60px 40px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Interior pages */
  .page-hero-content { padding: 0 40px 60px; }
  .breadcrumb { padding: 14px 40px; }
  .about-story { padding: 80px 40px; }
  .about-story-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-mission { padding: 80px 40px; }
  .about-mission-inner { grid-template-columns: 1fr; }
  .about-team { padding: 80px 40px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .services-page { padding: 80px 40px; }
  .services-page-grid { grid-template-columns: 1fr 1fr; }
  .service-intro { padding: 80px 40px; }
  .service-intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-benefits { padding: 80px 40px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .service-applications { padding: 80px 40px; }
  .service-faq { padding: 80px 40px; }
  .service-cta-band { padding: 60px 40px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  #nav { padding: 16px 20px; }
  .nav-items { display: none; }
  .nav-hamburger { display: flex; }

  #hero { min-height: 600px; }
  .hero-content { padding: 0 20px 52px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-stats { flex-direction: row; }
  .hero-stat { padding: 0 20px; }
  .hero-stat:first-child { padding-left: 0; }
  .hero-btns { flex-direction: column; }
  .hero-scroll { left: 20px; }

  #about { padding: 72px 20px; }
  .about-img-stack { height: 340px; }
  .about-tag { display: none; }
  .about-values { grid-template-columns: 1fr; }

  .services-head { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .services-sub { text-align: left; }
  .services-h-section { height: auto; }
  .services-h-track { flex-direction: column; height: auto; padding: 20px; gap: 16px; }
  .svc-card { width: 100%; height: 72vw; max-height: 380px; }
  .svc-desc, .svc-features { opacity: 1; transform: none; }
  .svc-end { width: 100%; height: auto; padding: 20px 0; }

  #img-break { height: 60vh; }
  .img-break-content { padding: 0 20px; }

  #gallery { padding: 72px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gi-1 { grid-column: 1/3; height: 240px; }
  .gi-2, .gi-3 { grid-column: span 1; height: 180px; }
  .gi-4, .gi-5 { grid-column: span 1; height: 180px; }
  .gi-6, .gi-7, .gi-8 { grid-column: span 1; height: 180px; }

  #process { padding: 72px 20px; }
  .process-steps { grid-template-columns: 1fr; }

  #stats { padding: 72px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  #why { padding: 72px 20px; }
  .why-inner { grid-template-columns: 1fr; }
  .why-img { height: 400px; }

  #clients { padding: 60px 20px; }
  .clients-grid, .clients-row2 { grid-template-columns: 1fr 1fr; }

  #testimonials { padding: 72px 20px; }
  .testi-grid { grid-template-columns: 1fr; }

  #cta { padding: 72px 20px; }

  footer { padding: 52px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-seo { display: none; }

  /* Interior pages */
  .page-hero-content { padding: 0 20px 48px; }
  .breadcrumb { padding: 12px 20px; }
  .about-story { padding: 60px 20px; }
  .about-mission { padding: 60px 20px; }
  .about-mission-inner { border-radius: 16px; }
  .about-team { padding: 60px 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .services-page { padding: 60px 20px; }
  .services-page-grid { grid-template-columns: 1fr; }
  .service-intro { padding: 60px 20px; }
  .service-benefits { padding: 60px 20px; }
  .benefits-grid { border-radius: 16px; }
  .applications-grid { grid-template-columns: 1fr; }
  .service-applications { padding: 60px 20px; }
  .service-faq { padding: 60px 20px; }
  .service-cta-band { padding: 52px 20px; }
  .service-cta-band-inner { flex-direction: column; }
}

/* ══════════════════════════════════════════
   WHO WE SERVE SECTION
   Add to style.css after the #about styles
══════════════════════════════════════════ */
#who-we-serve {
  background: var(--dark);
  padding: 120px 60px;
}
.wws-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.wws-head {
  text-align: center;
  margin-bottom: 64px;
}
.wws-headline {
  font-family: var(--fd);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.wws-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.wws-sub {
  font-size: 16px;
  color: rgba(250, 247, 242, .45);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.wws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, .04);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 56px;
}
.wws-card {
  background: rgba(250, 247, 242, .03);
  padding: 44px 36px;
  border-right: 1px solid var(--text-light);
  border-bottom: 1px solid var(--text-light);
  transition: background .35s, border-color .35s;
  cursor: default;
}
.wws-card:nth-child(3n) {
  border-right: none;
}
.wws-card:nth-child(4),
.wws-card:nth-child(5),
.wws-card:nth-child(6) {
  border-bottom: none;
}
.wws-card:hover {
  background: rgba(184, 132, 58, .1);
  border-color: rgba(184, 132, 58, .2);
}
.wws-icon {
  font-size: 36px;
  margin-bottom: 18px;
  display: block;
}
.wws-title {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.wws-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);;
}
.wws-cta {
  text-align: center;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.wws-cta p {
  font-size: 16px;
  color: rgba(250, 247, 242, .45);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   HOMEPAGE FAQ SECTION
   Add to style.css after the #testimonials styles
   Uses FAQ Schema markup for Google rich results
══════════════════════════════════════════ */
#faq {
  background: var(--cream);
  padding: 130px 60px;
}
.faq-home-inner {
  max-width: 900px;
  margin: 0 auto;
}
.faq-home-head {
  text-align: center;
  margin-bottom: 60px;
}
.faq-home-headline {
  font-family: var(--fd);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.faq-home-headline em {
  font-style: italic;
  color: var(--gold);
}
.faq-home-sub {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}
.faq-home-grid {
  border-top: 1px solid var(--stone);
  margin-bottom: 56px;
}
.faq-home-item {
  border-bottom: 1px solid var(--stone);
}
.faq-home-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--fd);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.faq-home-q:hover {
  color: var(--gold2);
}
.faq-home-q[aria-expanded="true"] {
  color: var(--gold2);
}
.faq-home-icon {
  font-size: 24px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  line-height: 1;
}
.faq-home-q[aria-expanded="true"] .faq-home-icon {
  transform: rotate(45deg);
}
.faq-home-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}
.faq-home-a p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-light);
  padding-bottom: 28px;
  max-width: 740px;
}
.faq-home-a.open {
  max-height: 400px;
}
.faq-home-cta {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.faq-home-cta p {
  width: 100%;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 4px;
}

/* ══════════════════════════════════════════
   CTA SECTION ADDITIONS
   Trust tags ("Free site visit" etc.)
══════════════════════════════════════════ */
.cta-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cta-tag-item {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .55);
  background: rgba(250, 247, 242, .07);
  border: 1px solid rgba(250, 247, 242, .12);
  padding: 7px 14px;
  border-radius: 50px;
}

/* ══════════════════════════════════════════
   TESTIMONIAL GRID — 6-ITEM VARIANT
   3×2 on desktop
══════════════════════════════════════════ */
/* The existing .testi-grid already uses repeat(3,1fr) —
   6 cards will naturally flow into two rows. No extra CSS needed. */

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  #who-we-serve {
    padding: 90px 40px;
  }
  .wws-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wws-card:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, .06);
  }
  .wws-card:nth-child(2n) {
    border-right: none;
  }
  .wws-card:nth-child(5),
  .wws-card:nth-child(6) {
    border-bottom: none;
  }
  .wws-card:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  #faq {
    padding: 90px 40px;
  }
  .faq-home-q {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  #who-we-serve {
    padding: 72px 20px;
  }
  .wws-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .wws-card {
    border-right: none;
  }
  .wws-card:nth-child(3n) {
    border-right: none;
  }
  .wws-card:nth-child(6) {
    border-bottom: none;
  }
  .wws-card:nth-child(4),
  .wws-card:nth-child(5) {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  #faq {
    padding: 60px 20px;
  }
  .faq-home-q {
    font-size: 15px;
    padding: 20px 0;
  }
  .faq-home-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .faq-home-cta a {
    text-align: center;
    justify-content: center;
  }
  .cta-tags {
    gap: 8px;
  }
}




/*
 * ══════════════════════════════════════════════════════════
 *  FLOOR CRAFT UGANDA — style.css ADDITIONS
 *  Append this block to the bottom of your existing style.css
 *  (Also update the Theme Name line at the very top of style.css
 *   to: Theme Name: Floor Craft Uganda)
 * ══════════════════════════════════════════════════════════
 */

/* ══════════════════════════════════════════
   GOOGLE REVIEWS BADGE
   Shown above testimonials when Google Review
   URL is set in Floor Craft Options → Social & Reviews
══════════════════════════════════════════ */
.google-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(250, 247, 242, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 18px 28px;
  margin-bottom: 52px;
  cursor: pointer;
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .25s;
}
.google-reviews-badge:hover {
  background: rgba(250, 247, 242, .11);
  border-color: rgba(66, 133, 244, .35);
  transform: translateY(-2px);
}
.grb-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grb-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.grb-stars {
  color: #FBBC05;
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1;
}
.grb-rating {
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
  line-height: 1.3;
}
.grb-rating strong {
  font-weight: 700;
}
.grb-label {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .35);
  margin-top: 1px;
}

/* ══════════════════════════════════════════
   TESTIMONIAL SLIDER
   Replaces the static CSS grid layout —
   testi-grid is now a flex row that slides.
══════════════════════════════════════════ */

/* Override the old grid */
.testi-grid {
  display: flex !important;
  gap: 20px;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* Each card: width is set dynamically by JS */
.tc {
  flex: 0 0 calc(33.333% - 14px);
  /* All other .tc styles (background, border, padding etc.)
     remain unchanged from the base style.css */
}

/* Slider outer layout */
.testi-slider-outer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

/* Scrollable viewport — clips the track */
.testi-slider-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

/* Prev / Next buttons */
.testi-nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(250, 247, 242, .07);
  border: 1px solid rgba(250, 247, 242, .14);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.testi-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.05);
}
.testi-nav:disabled {
  opacity: .25;
  pointer-events: none;
}

/* Dot indicators */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(250, 247, 242, .2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, transform .3s;
}
.testi-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

/* ══════════════════════════════════════════
   WHO WE SERVE — trusted logos strip
   (replaces the heavy Clients section)
══════════════════════════════════════════ */
.wws-trusted {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.wws-trusted-label {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .3);
  white-space: nowrap;
}
.wws-trusted-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.wws-logo-item {
  font-family: var(--fd);
  font-size: 13px;
  color: rgba(250, 247, 242, .55);
  white-space: nowrap;
}
.wws-logo-sep {
  color: rgba(250, 247, 242, .15);
  font-size: 18px;
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Slider: 2 cards per view — JS handles width,
     these just ensure the outer layout holds */
  .testi-slider-outer { gap: 10px; }
  .testi-nav { width: 44px; height: 44px; }

  .google-reviews-badge { padding: 14px 20px; gap: 14px; margin-bottom: 36px; }
  .grb-rating { font-size: 13px; }

  .wws-trusted { gap: 12px; }
  .wws-logo-item { font-size: 12px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 1 card per view on mobile */
  .testi-nav { width: 40px; height: 40px; }

  .google-reviews-badge {
    flex-direction: row;
    padding: 14px 18px;
    gap: 12px;
    margin-bottom: 28px;
    width: 100%;
    box-sizing: border-box;
  }
  .grb-logo { width: 32px; height: 32px; }
  .grb-stars { font-size: 13px; }

  .wws-trusted { flex-direction: column; gap: 10px; text-align: center; }
  .wws-trusted-logos { gap: 10px; }
  .wws-logo-sep { display: none; }
}

/*
 * ══════════════════════════════════════════════════════════
 *  FLOORCRAFT UGANDA — style-additions-v3.css
 *  Append this entire block to the bottom of style.css
 *  Also update the Theme Name line at top of style.css:
 *    Theme Name: Floor Craft Uganda
 * ══════════════════════════════════════════════════════════
 */

/* ══════════════════════════════════════════
   MICROTOPPING SPOTLIGHT SECTION
   #microtopping-spot replaces #img-break
══════════════════════════════════════════ */
#microtopping-spot {
  position: relative;
  padding: 120px 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.micro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.micro-bg img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 30%;
}
.micro-overlay {
  position: absolute;
  inset: 0;
  /* Gradient covers left 65% in dark, fades right so image peeks through */
  background: linear-gradient(100deg,
    rgba(28, 20, 10, .96) 0%,
    rgba(28, 20, 10, .88) 45%,
    rgba(28, 20, 10, .55) 70%,
    rgba(28, 20, 10, .2)  100%);
    opacity: 0.7;
}
.micro-inner {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
}
.micro-left {
  max-width: 560px;
}
.micro-headline {
  font-family: var(--fd);
  font-size: clamp(40px, 5vw, 78px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 24px;
}
.micro-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}
.micro-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(250, 247, 242, .6);
  margin-bottom: 40px;
  max-width: 480px;
}

/* Microtopping quick-stats row */
.micro-stats {
  display: flex;
  gap: 0;
  margin-bottom: 44px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  overflow: hidden;
  width: fit-content;
}
.mstat {
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  transition: background .3s;
}
.mstat:last-child { border-right: none; }
.mstat:hover { background: rgba(184, 132, 58, .12); }
.mstat-n {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.mstat-l {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .35);
}

/* ══════════════════════════════════════════
   BENEFITS STRIP
   Replaces the number stats section.
══════════════════════════════════════════ */
#benefits {
  background: var(--cream2);
  padding: 120px 60px;
}
.benefits-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.benefits-header {
  text-align: center;
  margin-bottom: 64px;
}
.benefits-headline {
  font-family: var(--fd);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.benefits-headline em {
  font-style: italic;
  color: var(--gold);
}
.benefits-sub {
  font-size: 16px;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
  border-radius: 24px;
  overflow: hidden;
}
.bx {
  background: var(--cream);
  padding: 44px 36px;
  border-right: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  transition: background .35s, color .35s;
  cursor: default;
}
.bx:nth-child(3n) { border-right: none; }
.bx:nth-child(4),
.bx:nth-child(5),
.bx:nth-child(6) { border-bottom: none; }
.bx:hover { background: var(--dark); }
.bx-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}
.bx-t {
  font-family: var(--fd);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  transition: color .35s;
}
.bx:hover .bx-t { color: var(--cream); }
.bx-d {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-light);
  transition: color .35s;
}
.bx:hover .bx-d { color: rgba(250, 247, 242, .45); }

/* ══════════════════════════════════════════
   BEFORE / AFTER COMPARISON SLIDER
══════════════════════════════════════════ */
#before-after {
  background: var(--dark);
  padding: 120px 60px;
}
.ba-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.ba-header {
  text-align: center;
  margin-bottom: 60px;
}
.ba-headline {
  font-family: var(--fd);
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.ba-headline em {
  font-style: italic;
  color: var(--gold-light);
}
.ba-sub {
  font-size: 16px;
  color: rgba(250, 247, 242, .45);
  max-width: 1000px;
  margin: 0 auto 15px;
  line-height: 1.7;
}

/* Grid of comparison pairs */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.ba-pair {}

/* The comparison container */
.ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  cursor: col-resize;
  user-select: none;
}

/* Before image (full width, underneath) */
.ba-before {
  position: absolute;
  inset: 0;
}
.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* After image (clipped, on top — JS sets clip-path) */
.ba-after {
  position: absolute;
  inset: 0;
  /* Default: show left half */
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s; /* instant during drag; set to 0 so JS controls it */
}
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Before / After chip labels */
.ba-chip {
  position: absolute;
  bottom: 16px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  pointer-events: none;
}
.ba-chip-before {
  left: 16px;
  background: rgba(28, 20, 10, .75);
  color: rgba(250, 247, 242, .8);
  border: 1px solid rgba(255, 255, 255, .15);
}
.ba-chip-after {
  right: 16px;
  background: var(--gold);
  color: #fff;
}

/* The draggable handle bar */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  /* Default 50% — JS updates left % */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}
.ba-handle-bar {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
}
.ba-handle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--dark);
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  pointer-events: all;
  cursor: col-resize;
}

/* Meta below each pair */
.ba-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px 0;
}
.ba-label {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
}
.ba-loc {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .35);
}

.ba-hint {
  text-align: center;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .2);
  margin-bottom: 52px;
}
.ba-cta {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ba-cta p {
  width: 100%;
  font-size: 16px;
  color: rgba(250, 247, 242, .45);
  margin-bottom: 4px;
}

/* ══════════════════════════════════════════
   SURFACES STRIP
   Compact icon grid, replacing the heavy
   Who We Work With card grid
══════════════════════════════════════════ */
#surfaces {
  background: var(--dark);
  padding: 100px 60px;
}
.surf-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.surf-header {
  text-align: center;
  margin-bottom: 52px;
}
.surf-headline {
  font-family: var(--fd);
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -.5px;
}
.surf-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.surf-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--stone);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 44px;
}
.surf-item {
  background: var(--cream);
  padding: 32px 20px;
  text-align: center;
  transition: background .3s;
  cursor: default;
}
.surf-item:hover { background: var(--dark); }
.surf-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.surf-label {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.2;
  transition: color .3s;
}
.surf-item:hover .surf-label { color: var(--cream); }
.surf-desc {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-light);
  transition: color .3s;
}
.surf-item:hover .surf-desc { color: rgba(250, 247, 242, .4); }
.surf-cta {
  text-align: center;
}

/* ─────────────────────────────────────────
   REPAIRS & RENOVATION SECTION
   Add this block to afs_inline_css() in
   functions.php, after the existing CSS.
───────────────────────────────────────── */

/* Section wrapper */
#repairs{
  background:var(--dark);
  padding:120px 60px;
}
.repairs-inner{
  max-width:1380px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
  align-items:start;
}

/* Left — text */
.repairs-headline{
  font-family:var(--fd);
  font-size:clamp(36px,3.5vw,58px);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-.5px;
  color:var(--cream);
  margin-bottom:22px;
}
.repairs-headline em{font-style:italic;color:var(--gold-light)}
.repairs-desc{
  font-size:16px;
  line-height:1.85;
  color:rgba(250,247,242,.45);
  margin-bottom:18px;
}

/* Repair type list */
.repair-types{
  display:flex;
  flex-direction:column;
  gap:0;
  margin:32px 0 40px;
  border-top:1px solid rgba(255,255,255,.07);
}
.rtype{
  display:flex;
  align-items:flex-start;
  gap:20px;
  padding:24px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:padding-left .2s ease;
  cursor:default;
}
.rtype:hover{padding-left:10px}
.rtype-icon{font-size:24px;flex-shrink:0;margin-top:3px}
.rtype-t{
  font-family:var(--fd);
  font-size:18px;
  font-weight:700;
  color:var(--cream);
  margin-bottom:7px;
  transition:color .2s;
}
.rtype:hover .rtype-t{color:var(--gold-light)}
.rtype-d{
  font-size:14px;
  line-height:1.75;
  color:rgba(250,247,242,.38);
}

/* CTAs */
.repairs-cta{display:flex;gap:12px;flex-wrap:wrap}

/* Right — image grid */
.repairs-imgs{position:sticky;top:100px}
.repairs-img-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:20px;
}
.rig{
  border-radius:16px;
  overflow:hidden;
  position:relative;
  aspect-ratio:4/3;
}
.rig img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.65) saturate(.8);
  transition:filter .5s ease, transform .8s ease;
}
.rig:hover img{
  filter:brightness(.85) saturate(1);
  transform:scale(1.06);
}
.rig-label{
  position:absolute;
  bottom:0;left:0;right:0;
  padding:28px 14px 12px;
  background:linear-gradient(to top, rgba(28,20,10,.85), transparent);
  font-family:var(--fm);
  font-size:9px;
  letter-spacing:2.5px;
  text-transform:uppercase;
  color:rgba(250,247,242,.65);
}

/* Badge strip */
.repairs-badge{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  background:rgba(184,132,58,.1);
  border:1px solid rgba(184,132,58,.22);
  border-radius:12px;
  font-family:var(--fm);
  font-size:10px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:rgba(232,201,122,.75);
  margin-bottom:16px;
}
.repairs-badge-dot{
  width:7px;height:7px;
  background:var(--gold-light);
  border-radius:50%;
  flex-shrink:0;
  animation:pulse-gold 2s ease-in-out infinite;
}

/* Reassurances */
.repairs-reassure{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 20px;
}
.rr-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:var(--fm);
  font-size:10px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:rgba(250,247,242,.3);
}
.rr-tick{color:var(--gold);font-size:12px;flex-shrink:0}

/* ── Responsive ── */
@media(max-width:1024px){
  #repairs{padding:90px 40px}
  .repairs-inner{grid-template-columns:1fr;gap:64px}
  .repairs-imgs{position:static}
}
@media(max-width:768px){
  #repairs{padding:60px 20px}
  .repairs-img-grid{grid-template-columns:1fr 1fr}
  .repairs-reassure{grid-template-columns:1fr}
  .rtype-d{font-size:13px}
}

/* ══════════════════════════════════════════
   TESTIMONIALS — Slider (defined in v2 CSS)
   + Google G chip per card
   + "View all on Google" link
══════════════════════════════════════════ */

/* Existing slider CSS (copy from style-additions v2 if not already added) */
.testi-grid {
  display: flex !important;
  gap: 20px;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.tc { flex: 0 0 calc(33.333% - 14px); position: relative; }

.testi-slider-outer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.testi-slider-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.testi-nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(250, 247, 242, .07);
  border: 1px solid rgba(250, 247, 242, .14);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.testi-nav:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.05); }
.testi-nav:disabled { opacity: .25; pointer-events: none; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(250, 247, 242, .2); border: none; cursor: pointer; padding: 0; transition: background .3s, transform .3s; }
.testi-dot.active { background: var(--gold); transform: scale(1.5); }

/* Google G chip — top-right of each testimonial card */
.tc-google-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50px;
  padding: 4px 10px 4px 6px;
  text-decoration: none;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250, 247, 242, .45);
  margin-bottom: 14px;
  transition: background .2s, border-color .2s;
}
.tc-google-chip:hover {
  background: rgba(66, 133, 244, .12);
  border-color: rgba(66, 133, 244, .3);
  color: rgba(250, 247, 242, .7);
}

/* Remove the old large quote mark — replaced with chip */
.tc-big-q { display: none; }

/* "View all X reviews on Google" link below slider */
.testi-google-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(250, 247, 242, .4);
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 20px;
  transition: color .2s;
  padding: 10px 0;
}
.testi-google-link:hover { color: rgba(250, 247, 242, .75); }
.tgla { color: var(--gold); }

/* Centre the link under the slider */
#testimonials .testi-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testi-google-link { align-self: center; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Microtopping */
  #microtopping-spot { padding: 90px 40px; }
  .micro-stats { flex-wrap: wrap; }
  .mstat { padding: 14px 20px; }

  /* Benefits */
  #benefits { padding: 90px 40px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .bx:nth-child(3n) { border-right: 1px solid var(--stone); }
  .bx:nth-child(2n) { border-right: none; }
  .bx:nth-child(5), .bx:nth-child(6) { border-bottom: none; }
  .bx:nth-child(3), .bx:nth-child(4) { border-bottom: 1px solid var(--stone); }

  /* Before/After */
  #before-after { padding: 90px 40px; }
  .ba-grid { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }

  /* Surfaces */
  #surfaces { padding: 80px 40px; }
  .surf-strip { grid-template-columns: repeat(3, 1fr); }
  .surf-item:nth-child(3) { border-right: none; }
  .surf-item:nth-child(4), .surf-item:nth-child(5), .surf-item:nth-child(6) { border-bottom: none; }
  .surf-item:nth-child(1), .surf-item:nth-child(2), .surf-item:nth-child(3) { border-bottom: 1px solid var(--stone); }

  /* Testimonials */
  .testi-nav { width: 44px; height: 44px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Microtopping */
  #microtopping-spot { padding: 72px 20px; }
  .micro-headline { letter-spacing: -.5px; }
  .micro-stats { width: 100%; }
  .mstat { flex: 1; padding: 12px 10px; }
  .mstat-n { font-size: 18px; }
  .micro-overlay {
    background: linear-gradient(to bottom,
      rgba(28, 20, 10, .9) 0%,
      rgba(28, 20, 10, .88) 100%);
  }

  /* Benefits */
  #benefits { padding: 60px 20px; }
  .benefits-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .bx { border-right: none; }
  .bx:nth-child(6) { border-bottom: none; }
  .bx:nth-child(1), .bx:nth-child(2), .bx:nth-child(3),
  .bx:nth-child(4), .bx:nth-child(5) { border-bottom: 1px solid var(--stone); }

  /* Before/After */
  #before-after { padding: 60px 20px; }
  .ba-grid { gap: 40px; }
  .ba-hint { display: none; }
  .ba-cta { flex-direction: column; align-items: stretch; }
  .ba-cta a { text-align: center; justify-content: center; }

  /* Surfaces */
  #surfaces { padding: 60px 20px; }
  .surf-strip {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 16px;
  }
  .surf-item:nth-child(2n) { border-right: none; }
  .surf-item:nth-child(5),
  .surf-item:nth-child(6) { border-bottom: none; }
  .surf-item:nth-child(1),
  .surf-item:nth-child(2),
  .surf-item:nth-child(3),
  .surf-item:nth-child(4) { border-bottom: 1px solid var(--stone); }
  .surf-item { padding: 24px 14px; }
  .surf-desc { display: none; } /* Too small on mobile; icon + label is enough */

  /* Testimonials */
  .testi-nav { width: 40px; height: 40px; }
  .tc-google-chip { font-size: 8px; }
}