/* ============================================================
   BAB FAWZ Technical Services — Landing Page
   Aesthetic: minimal, professional, warm editorial
   Inspired by USBC Interiors
   ============================================================ */

:root {
  --cream: #faf7f2;
  --cream-2: #f3eee5;
  --paper: #fffdf9;
  --ink: #191713;
  --ink-soft: #3a362f;
  --stone: #8a8377;
  --line: #e5ddcf;
  --gold: #0f468a;
  --gold-2: #bfa347;
  --gold-soft: rgba(15, 70, 138, 0.12);
  --gold-hover: #0a3568;
  --shadow: 0 30px 60px -24px rgba(25, 23, 19, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Fraunces", "Georgia", serif;
  --font-b: "Manrope", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--light { color: var(--gold-2); }

h1, h2 { font-family: var(--font-d); font-weight: 400; line-height: 1.06; }
h1 em, h2 em { font-style: italic; }

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 22ch;
}
h2 em { color: var(--gold-2); }

p { color: var(--ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s, box-shadow 0.4s;
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 18px 34px -16px rgba(15, 70, 138, 0.55); }
.btn--gold:hover { background: var(--gold-hover); transform: translateY(-3px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-3px); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; background: rgba(0, 0, 0, 0.12); }
.btn--ghost:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

/* ---------- top strip ---------- */
.topbar {
  background: var(--ink);
  color: #cfc9bd;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 60;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 9px;
  gap: 12px;
}
.topbar a { color: #e8e1d2; transition: color 0.3s; }
.topbar a:hover { color: #fff; }
.topbar .sep { color: #5a554a; margin-inline: 10px; }

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s;
}
.navbar.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 242, 0.94);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { height: 46px; width: auto; }
.logo-txt {
  font-family: var(--font-d);
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.logo-txt em { font-style: italic; color: var(--gold-2); }
.logo-txt small {
  font-family: var(--font-b);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 4px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 38px;
}
.nav-links a {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { padding: 12px 26px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 23, 19, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 40;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-slides, .hero-slide, .hero-shade {
  position: absolute;
  inset: 0;
}
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-shade {
  background:
    linear-gradient(100deg, rgba(16, 14, 11, 0.82) 0%, rgba(16, 14, 11, 0.55) 45%, rgba(16, 14, 11, 0.25) 75%, rgba(16, 14, 11, 0.15) 100%),
    linear-gradient(0deg, rgba(16, 14, 11, 0.7) 0%, transparent 40%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 3;
  padding-block: 120px 90px;
  max-width: 820px;
  margin-inline: auto;
  margin-left: max(18px, calc((100% - 1200px) / 2 + 0px));
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold-2);
}
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  color: #fff;
  max-width: 15ch;
}
.hero h1 em { color: var(--gold-2); }
.hero-sub {
  margin-top: 24px;
  max-width: 54ch;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-trust { margin-top: 56px; }
.hero-stats {
  display: flex;
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 28px;
}
.hs-item strong {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.hs-item span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.scroll-hint {
  position: absolute;
  right: clamp(18px, 4vw, 60px);
  bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  z-index: 3;
}
.mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}
.mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- gallery marquee (below hero slider) ---------- */
.gallery-marquee {
  overflow: hidden;
  padding-block: 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.gallery-marquee::before,
.gallery-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.gallery-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.gallery-marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }

.gm-track {
  display: flex;
  width: max-content;
  animation: gm-scroll 30s linear infinite;
}
.gallery-marquee:hover .gm-track { animation-play-state: paused; }
.gm-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
}
.gm-group figure {
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  flex: none;
}
.gm-group figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: inherit;
  pointer-events: none;
}
.gm-group img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gm-group figure:hover img { transform: scale(1.08); }
@keyframes gm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- intro strip ---------- */
.intro-strip { border-bottom: 1px solid var(--line); }
.intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 44px;
  flex-wrap: wrap;
}
.intro-quote {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-style: italic;
  max-width: 30ch;
  line-height: 1.4;
  color: var(--ink);
}
.intro-marks {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.intro-marks strong {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--gold-2);
}
.intro-marks .divider { width: 1px; height: 34px; background: var(--line); }
.intro-marks .mark { color: var(--stone); }

/* ---------- section base ---------- */
.section { padding-block: clamp(80px, 10vw, 130px); }
.section-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 70px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow::before { display: none; }
.section-head p { margin-top: 18px; max-width: 46ch; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-media { position: relative; }
.frame-arch {
  border-radius: 260px 260px 20px 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 0.86;
  background: var(--cream-2);
}
.frame-arch::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(191, 163, 71, 0.5);
  border-radius: inherit;
  pointer-events: none;
}
.frame-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.frame-arch:hover img { transform: scale(1.05); }
.badge-float {
  position: absolute;
  left: -26px;
  bottom: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}
.badge-float strong { font-family: var(--font-d); font-weight: 400; font-size: 1.5rem; }
.badge-float span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

.about-copy h2 { margin-bottom: 22px; }
.about-copy > p + p { margin-top: 14px; }

.about-points {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}
.about-points li {
  position: relative;
  padding-left: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.about-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-size: 0.9rem;
}
.about-cta { margin-top: 38px; }

/* ---------- services ---------- */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.sc-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.sc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.service-card:hover .sc-media img { transform: scale(1.08); }
.sc-num {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-d);
  font-size: 1.1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 100px;
  padding: 7px 14px;
  line-height: 1;
}
.sc-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.sc-body h3 {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.sc-body p { font-size: 0.92rem; flex: 1; }
.sc-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.3s, gap 0.3s;
}
.sc-link i { font-style: normal; transition: transform 0.3s var(--ease); }
.sc-link:hover { border-color: var(--gold); }
.sc-link:hover i { transform: translateX(5px); }

.service-card--cta {
  background: var(--ink);
  border-color: transparent;
  justify-content: center;
  padding: 34px 30px;
  color: #fff;
}
.service-card--cta .eyebrow { color: var(--gold-2); }
.service-card--cta .eyebrow::before { display: none; }
.service-card--cta h3 { font-size: 1.7rem; color: #fff; margin-block: 8px 26px; line-height: 1.2; }
.service-card--cta .btn { align-self: flex-start; }
.service-card--cta:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

/* ---------- stats band ---------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(60px, 8vw, 90px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.14);
}
.stat-num {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-num::after { content: attr(data-note); }
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- certifications & standards ---------- */
.certs { background: var(--paper); }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cert-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.cert-card:hover::before { transform: scaleX(1); }
.cert-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 22px;
  transition: background 0.4s, color 0.4s;
}
.cert-card:hover .cert-badge { background: var(--gold); color: #fff; }
.cert-card h3 {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cert-card p { font-size: 0.9rem; }

/* ---------- faq ---------- */
.faq { background: var(--cream-2); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro > p { max-width: 40ch; }
.faq-intro .btn { margin-top: 30px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.faq-item[open] { border-color: var(--gold); box-shadow: 0 16px 40px -22px rgba(15, 70, 138, 0.4); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 1.08rem;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  transition: background 0.4s, transform 0.5s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: var(--gold-2);
  transition: background 0.4s;
}
.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 11px; }
.faq-item[open] .faq-icon { background: var(--gold); transform: rotate(135deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item > p {
  padding: 0 24px 22px;
  font-size: 0.94rem;
  animation: faq-fade 0.5s var(--ease);
}
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- why ---------- */
.why { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.why-copy h2 { margin-bottom: 20px; }
.why-copy > p { max-width: 46ch; }
.why-list { margin-top: 40px; }
.why-list li {
  display: flex;
  gap: 22px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.wl-num {
  font-family: var(--font-d);
  font-size: 1.1rem;
  color: var(--gold-2);
  min-width: 40px;
  font-style: italic;
}
.why-list h4 { font-family: var(--font-d); font-weight: 500; font-size: 1.15rem; margin-bottom: 4px; }
.why-list p { font-size: 0.92rem; }

.why-media .collage {
  position: relative;
  min-height: 480px;
}
.collage .c1 {
  position: absolute;
  width: 68%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  z-index: 1;
}
.collage .c2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 1/1.1;
  object-fit: cover;
  z-index: 2;
  border: 6px solid var(--paper);
}
.c-badge {
  position: absolute;
  top: -18px;
  right: 8%;
  z-index: 3;
  background: var(--gold);
  color: #fff;
  border-radius: 100px;
  padding: 18px 26px;
  font-family: var(--font-d);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.c-badge span {
  font-family: var(--font-b);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ---------- projects ---------- */
.projects { background: var(--cream-2); }
.projects .section-head { max-width: 100%; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.project {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.project:nth-child(1) { grid-column: span 2; }
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16,14,11,0.72) 0%, transparent 55%);
  opacity: 0.85;
  transition: opacity 0.5s;
}
.project:hover img { transform: scale(1.07); }
.project:hover::after { opacity: 1; }
.project figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.project figcaption span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
}
.project figcaption strong {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 1.35rem;
  transform: translateY(6px);
  transition: transform 0.5s var(--ease);
}
.project:hover figcaption strong { transform: translateY(0); }

/* ---------- testimonials ---------- */
.testimonials { text-align: center; }
.testi-wrap {
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  min-height: 230px;
}
.testi { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); pointer-events: none; }
.testi.active { opacity: 1; position: relative; pointer-events: auto; }
.quote-mark {
  font-family: var(--font-d);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.6;
  display: block;
  margin-bottom: 22px;
}
.testi p {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  max-width: 60ch;
  margin-inline: auto;
}
.testi-author {
  margin-top: 26px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.testi-author span { display: block; color: var(--gold-2); font-weight: 600; }
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 38px;
}
.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 100px;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: width 0.4s var(--ease), background 0.4s;
}
.testi-dots button.active { width: 30px; background: var(--gold); }

/* ---------- cta ---------- */
.cta {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(15, 70, 138, 0.5), transparent 60%),
    radial-gradient(700px 420px at 8% 90%, rgba(191, 163, 71, 0.16), transparent 60%),
    var(--ink);
  padding-block: clamp(90px, 12vw, 140px);
  color: #fff;
}
.cta-panel { max-width: 660px; }
.cta-panel h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 20px; }
.cta-panel h2 em { color: var(--gold-2); }
.cta-panel p { color: rgba(255, 255, 255, 0.7); max-width: 46ch; }
.cta-btns { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.cta-note {
  margin-top: 34px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- footer ---------- */
.footer { background: #100f0d; color: #b6b0a3; padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}
.logo--footer { margin-bottom: 20px; }
.logo--footer .logo-img { height: 40px; }
.logo--footer .logo-txt { color: #fff; }
.footer-brand p { font-size: 0.9rem; max-width: 36ch; }
.footer h4 {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 12px; }
.footer ul a {
  font-size: 0.9rem;
  color: #b6b0a3;
  transition: color 0.3s, padding-left 0.3s;
}
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 22px;
  font-size: 0.82rem;
}
.mono { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; color: #6f6a5f; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal, .reveal-hero {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.reveal.in-view, .reveal-hero.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-hero { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
  html { scroll-behavior: auto; }
  .mouse::after, .scroll-hint { display: none; }
  .gm-track { animation-play-state: paused; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .why-grid, .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-media .collage { min-height: 360px; }
  .badge-float { left: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 40px 36px;
    transform: translateX(105%);
    transition: transform 0.5s var(--ease);
    z-index: 55;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.5rem; font-family: var(--font-d); padding-block: 10px; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; position: relative; z-index: 60; }
  .hero-inner { margin-left: max(18px, calc((100% - 92vw) / 2)); padding-top: 90px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .projects-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .project:nth-child(1) { grid-column: span 2; }
}

@media (max-width: 560px) {
  .topbar .topbar-item { display: none; }
  .topbar-inner { justify-content: center; }
  .services-grid, .projects-grid, .certs-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-auto-rows: 240px; }
  .project:nth-child(1) { grid-column: span 1; }
  .about-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-grid { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
  .cta-btns .btn { width: 100%; text-align: center; }
}