/* ===== DESIGN TOKENS ===== */
:root {
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-grey: #e9ecef;
  --border: #dee2e6;
  --text: #1a1a2e;
  --text-secondary: #6c757d;
  --text-light: #868e96;
  --red: #e11d2e;
  --red-hover: #c9182a;
  --red-light: rgba(225, 29, 46, 0.08);
  --red-glow: rgba(225, 29, 46, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --container: 1140px;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea { font: inherit; }

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 9999;
  padding: 10px 16px; border-radius: 8px;
  background: var(--text); color: var(--white);
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 12px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  transition: box-shadow var(--transition);
}
.header--scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 16px;
}
.header__brand {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.header__logo {
  width: 180px; height: auto;
}

/* Desktop nav */
.nav {
  display: flex; align-items: center; gap: 4px;
}
.nav__link {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover {
  color: var(--text);
  background: var(--off-white);
}
.nav__link--active {
  color: var(--red);
  font-weight: 600;
}
.nav__link--active::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--red);
}
.nav__cta {
  margin-left: 8px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--off-white); }
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 2px 12px rgba(225, 29, 46, 0.25);
}
.btn--primary:hover {
  background: var(--red-hover);
  box-shadow: 0 4px 20px rgba(225, 29, 46, 0.35);
}
.btn--secondary {
  background: var(--white); color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
  border-color: var(--text-light);
  background: var(--off-white);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--off-white);
  border-color: var(--text-light);
}

/* ===== SNAP SCROLL CONTAINER ===== */
.snap-container {
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  margin-top: var(--header-h);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

@supports not (scroll-snap-type: y mandatory) {
  body { overflow: auto; height: auto; }
  .snap-container {
    height: auto; overflow: visible;
    margin-top: var(--header-h);
  }
}

/* ===== SECTION BASE ===== */
.section {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  position: relative;
}
.section--white { background: var(--white); }
.section--grey { background: var(--off-white); }

/* --- Dark theme section --- */
.section--dark {
  background: var(--text);
  color: var(--white);
}
.section--dark .section__title {
  color: var(--white);
}
.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Red theme section --- */
.section--red {
  background: var(--red);
  color: var(--white);
}
.section--red .section__title {
  color: var(--white);
}
.section--red .section__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.section__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section__header {
  max-width: 640px;
  margin-bottom: 40px;
}
.section__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}
.section__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("assets/hero.jpg") center / cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.92) 35%,
    rgba(255,255,255,0.6) 55%,
    rgba(255,255,255,0.1) 75%,
    transparent 100%
  );
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 24px;
}
.hero__content {
  max-width: 580px;
  padding: 40px 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--red);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red-light);
  margin-bottom: 20px;
}
.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.hero__lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 50ch;
  line-height: 1.65;
}
.hero__actions {
  display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap;
}
.hero__badges {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px;
}
.hero__badge {
  font-size: 12px; font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; color: var(--text-light);
  font-size: 12px; font-weight: 500;
  animation: bounce 2s infinite;
}
.hero__scroll-hint svg {
  width: 20px; height: 20px;
  stroke: var(--text-light);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== ABOUT SECTION ===== */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.about__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.about__card:hover::before {
  transform: scaleX(1);
}
.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-glow);
}
.about__card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--red-light);
  margin-bottom: 16px;
}
.about__card-icon svg {
  width: 24px; height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about__card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 600;
  margin-bottom: 10px;
}
.about__card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.about__card-divider {
  height: 1px; background: var(--border);
  margin: 14px 0;
}
.about__card-muted {
  font-size: 14px;
  color: var(--text-light);
}

/* "What you can expect" bar */
.about__expect {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__expect-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.about__expect-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about__expect-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-secondary);
}
.about__expect-item svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--red); fill: none;
  stroke-width: 2.5; margin-top: 2px;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__number {
  font-family: 'Poppins', sans-serif;
  font-size: 40px; font-weight: 800;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 12px;
  /* Use the actual text color for the number overlay */
  background: linear-gradient(135deg, var(--red), rgba(225,29,46,0.3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 600;
  margin-bottom: 8px;
}
.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.service-card__pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.pill {
  font-size: 12px; font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red-light);
  color: var(--red);
}
.service-card__list {
  display: grid; gap: 8px;
}
.service-card__list li {
  padding-left: 22px; position: relative;
  font-size: 14px; color: var(--text-secondary);
}
.service-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.service-card__note {
  margin-top: 14px;
  font-size: 13px; color: var(--text-light);
  font-style: italic;
}

/* Services — dark theme overrides */
.section--dark .service-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.section--dark .service-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.18);
}
.section--dark .service-card__number {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.25));
  -webkit-background-clip: text;
  background-clip: text;
}
.section--dark .service-card__title {
  color: var(--white);
}
.section--dark .service-card__desc {
  color: rgba(255, 255, 255, 0.6);
}
.section--dark .service-card__list li {
  color: rgba(255, 255, 255, 0.75);
}
.section--dark .service-card__list li::before {
  background: var(--red);
}
.section--dark .service-card__note {
  color: rgba(255, 255, 255, 0.5);
}
.section--dark .pill {
  background: rgba(225, 29, 46, 0.2);
  color: #ff6b7a;
}

/* SHEQ callout — on dark bg, use red callout still for contrast */
.services__callout {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.services__callout-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 600;
  margin-bottom: 4px;
}
.services__callout-text {
  font-size: 14px;
  opacity: 0.9;
}
.services__callout .btn {
  background: var(--white); color: var(--red);
  border-color: transparent; flex-shrink: 0;
}
.services__callout .btn:hover {
  background: var(--off-white);
  box-shadow: var(--shadow);
}

/* ===== B-BBEE ===== */
.bbbee__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bbbee__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.bbbee__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bbbee__card-label {
  display: inline-flex;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--red-light);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.bbbee__card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 12px;
}
.bbbee__card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.bbbee__card-text strong {
  color: var(--text);
}
.bbbee__pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px;
}
.bbbee__list {
  margin-top: 16px; display: grid; gap: 12px;
}
.bbbee__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-secondary);
}
.bbbee__list li svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--red); fill: none;
  stroke-width: 2.5; margin-top: 2px;
}

/* B-BBEE — red theme overrides */
.section--red .bbbee__card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.section--red .bbbee__card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}
.section--red .bbbee__card-label {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.section--red .bbbee__card-title {
  color: var(--white);
}
.section--red .bbbee__card-text {
  color: rgba(255, 255, 255, 0.85);
}
.section--red .bbbee__card-text strong {
  color: var(--white);
}
.section--red .pill {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.section--red .bbbee__list li {
  color: rgba(255, 255, 255, 0.9);
}
.section--red .bbbee__list li svg {
  stroke: var(--white);
}

/* ===== CLIENTS ===== */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.client-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--red-light);
}
.client-card__icon svg {
  width: 28px; height: 28px;
  stroke: var(--red); fill: none;
  stroke-width: 1.5;
}
.client-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 600;
  margin-bottom: 4px;
}
.client-card__sub {
  font-size: 13px; color: var(--text-light);
}

/* Client marquee */
.clients__marquee-wrapper {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.clients__marquee-label {
  font-size: 13px; font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-align: center;
}
.clients__marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.clients__marquee-track {
  display: flex; gap: 12px;
  animation: marquee 35s linear infinite;
  flex-shrink: 0;
  padding-right: 12px;
}
.clients__marquee:hover .clients__marquee-track {
  animation-play-state: paused;
}
.clients__marquee-item {
  flex-shrink: 0;
  font-size: 13px; font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}
.clients__marquee-item:hover {
  border-color: var(--red);
  color: var(--red);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% - 12px)); }
}

/* ===== PROJECTS ===== */
.section--projects {
  /* Allow internal scrolling for tall table */
  flex-direction: column;
  align-items: stretch;
}
.section--projects .section__inner {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  padding-top: 48px;
  padding-bottom: 24px;
}
.projects__table-container {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.projects__table-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
.projects__table-scroll::-webkit-scrollbar {
  width: 6px;
}
.projects__table-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.projects__table-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.projects__fade {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--white));
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: 0 0 var(--radius) var(--radius);
}
.projects__fade--hidden { opacity: 0; }

table {
  width: 100%; border-collapse: collapse;
  min-width: 700px;
}
thead { position: sticky; top: 0; z-index: 2; }
th {
  text-align: left; padding: 14px 16px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-light);
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
td {
  text-align: left; padding: 14px 16px;
  font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--light-grey);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(225, 29, 46, 0.02); }
.num { text-align: right; white-space: nowrap; font-weight: 600; }

.projects__note {
  margin-top: 16px;
  font-size: 14px; color: var(--text-light);
  flex-shrink: 0;
}
.projects__note a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.projects__note a:hover {
  color: var(--red-hover);
}

/* ===== GALLERY ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-grey);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item-overlay {
  position: absolute; inset: 0;
  background: rgba(225, 29, 46, 0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery__item-overlay span {
  color: var(--white);
  font-size: 14px; font-weight: 600;
  padding: 8px 20px;
  border: 2px solid var(--white);
  border-radius: 999px;
}
.gallery__item:hover img {
  transform: scale(1.08);
}
.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

/* Gallery — dark theme overrides */
.section--dark .gallery__item {
  background: rgba(255, 255, 255, 0.05);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox[hidden] {
  display: none;
}
.lightbox--open {
  opacity: 1;
  visibility: visible;
}
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.lightbox__content {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 85vh;
  animation: lightbox-in 0.3s ease;
}
.lightbox__img {
  display: block;
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox__close {
  position: absolute; top: -16px; right: -16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  color: var(--text);
  transition: background var(--transition), transform var(--transition);
}
.lightbox__close:hover {
  background: var(--off-white);
  transform: scale(1.1);
}

@keyframes lightbox-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== CONTACT + FOOTER ===== */
.section--contact {
  flex-direction: column;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact__desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.contact__cards {
  display: grid; gap: 12px;
}
.contact__card {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--off-white);
}
.contact__card-label {
  font-size: 11px; font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact__card-value {
  font-size: 15px; color: var(--text);
}
.contact__card-value a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* Form */
.form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.form__title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px; font-weight: 600;
  margin-bottom: 20px;
}
.form__group {
  display: grid; gap: 6px; margin-bottom: 14px;
}
.form__label {
  font-size: 13px; font-weight: 600;
  color: var(--text);
}
.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__input:focus,
.form__textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.form__textarea { resize: vertical; }
.form__submit { margin-top: 6px; }
.form__note {
  margin-top: 10px;
  font-size: 12px; color: var(--text-light);
  text-align: center;
}

/* Integrated footer */
.contact__footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.contact__footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact__footer-left {
  display: flex; gap: 14px; align-items: center;
}
.contact__footer-logo {
  width: 120px;
}
.contact__footer-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 15px;
}
.contact__footer-tagline {
  font-size: 12px; color: var(--text-light);
}
.contact__footer-right {
  text-align: right;
}
.contact__footer-right a {
  display: inline-block;
  font-size: 14px; font-weight: 500;
  color: var(--red);
  margin-bottom: 6px;
}
.contact__footer-right a:hover { text-decoration: underline; }
.contact__footer-copy {
  font-size: 12px; color: var(--text-light);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE: TABLET (1024px) ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav overlay */
  .nav--open {
    display: flex;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    gap: 4px;
    overflow-y: auto;
  }
  .nav--open .nav__link {
    font-size: 18px; padding: 14px 16px;
    border-radius: 12px;
  }
  .nav--open .nav__link:hover {
    background: var(--off-white);
  }
  .nav--open .nav__cta {
    margin-left: 0; margin-top: 12px;
  }

  .hero__content { max-width: 480px; }
  .about__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .bbbee__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .about__expect-list { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE: MOBILE (768px) ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header__logo { width: 140px; }

  .hero__overlay {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.88) 50%,
      rgba(255,255,255,0.5) 80%,
      transparent 100%
    );
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__scroll-hint { display: none; }

  .section { padding: 48px 0; }

  .services__callout {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .contact__footer-inner {
    flex-direction: column; gap: 16px; text-align: center;
  }
  .contact__footer-left { flex-direction: column; }
  .contact__footer-right { text-align: center; }
}

/* ===== RESPONSIVE: SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero__badges { flex-direction: column; }
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__badge { text-align: center; justify-content: center; }
}

/* ===== SCROLL LOCK (mobile nav) ===== */
.body--nav-open {
  overflow: hidden;
}
.body--nav-open .snap-container {
  overflow: hidden;
}
