/* ===========================================================
   The September Project Managers Ltd — Stylesheet
   Brand: White / Black / Deep Blue
   =========================================================== */

:root {
  --black: #0A0A0B;
  --black-800: #131316;
  --black-700: #1D1E22;
  --blue: #1D4ED8;
  --blue-dark: #112E87;
  --blue-light: #6C8EF5;
  --white: #FFFFFF;
  --gray-50: #F4F5F7;
  --gray-100: #E9EBEF;
  --ink: #101114;
  --muted: #53565F;
  --border: #E2E4E9;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 2px 10px rgba(10, 10, 11, 0.07);
  --shadow-md: 0 12px 32px rgba(10, 10, 11, 0.14);
  --shadow-lg: 0 24px 60px rgba(10, 10, 11, 0.25);

  --radius: 14px;
  --header-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--muted); max-width: 62ch; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 22px; height: 22px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--blue-dark);
  margin-bottom: 0.9em;
}

.section-head { max-width: 640px; margin-bottom: 48px; }

.tag-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--gray-50);
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  min-height: 48px;
}
.btn:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }

.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--black); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline-dark:hover { background: var(--gray-50); border-color: var(--ink); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.14); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.0);
  transition: background-color 250ms ease, box-shadow 250ms ease;
  padding: 10px 0;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-left: -20px;
}
.brand img { height: 76px; width: auto; }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}
.site-header:not(.scrolled):not(.solid) .main-nav a { color: var(--white); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue-dark);
  transition: width 200ms ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--blue-dark) !important; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-header:not(.scrolled):not(.solid) .nav-toggle span { background: var(--white); }
.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); }
.nav-toggle.open span { background: var(--ink) !important; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,16,38,0.5) 0%, rgba(9,16,38,0.55) 40%, rgba(6,9,20,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 64px;
  padding-top: 64px;
  max-width: 800px;
  margin: 90px auto 0;
  text-align: center;
}
.hero-content .hero-lead { margin-left: auto; margin-right: auto; }
.hero-content .hero-cta { justify-content: center; }
.hero-content .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  padding: 9px 18px;
  border-radius: 6px;
  max-width: none;
  font-size: 1rem;
  margin-bottom: 0.3em;
}
@media (min-width: 720px) {
  .hero-content .eyebrow { white-space: nowrap; width: max-content; }
}
.hero-content h1 { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-top: 0.3em; }
.hero-lead { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 58ch; }
.hero-content .hero-lead { font-size: 1.15rem; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-content .btn { padding: 14px 26px; font-size: 0.92rem; min-height: 46px; }

/* ---------- Page header (subpages) ---------- */
.page-header {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.page-header .hero-media img { object-position: center 40%; }
.page-header-content {
  position: relative;
  z-index: 1;
  padding: 190px 0 64px;
  max-width: 760px;
}
.page-header-content h1 { color: var(--white); margin-bottom: 0.3em; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.breadcrumb a:hover { color: var(--blue-light); }

/* ---------- Trust bar / marquee ---------- */
.trust-bar { padding: 48px 0; border-bottom: 1px solid var(--border); background: var(--white); }
.trust-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.marquee:hover .marquee-track,
.marquee-track.paused { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-row li,
.marquee-track .logo-chip {
  list-style: none;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  min-width: 170px;
  flex: none;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.marquee-track .logo-chip:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-dark);
}
.logo-row img,
.marquee-track img {
  max-height: 44px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 250ms ease, opacity 250ms ease;
}
.logo-row li:hover img,
.marquee-track .logo-chip:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------- About ---------- */
.about { padding: 110px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-copy h2 { max-width: 18ch; }
.stat-row { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.stat { display: flex; gap: 18px; align-items: flex-start; }
.stat-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gray-50);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.stat h3 { margin-bottom: 4px; }
.stat p { margin: 0; font-size: 0.94rem; }

/* Two-image gallery used on About page */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.about-gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-image .about-gallery img { aspect-ratio: 3/4; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.value-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .stat-icon { color: var(--blue-dark); margin-bottom: 16px; }

/* ---------- Services ---------- */
.services { padding: 110px 0; background: var(--gray-50); }
.service-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: 34px 30px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--black);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card p { font-size: 0.95rem; margin: 0; }

.service-card-cta {
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card-cta:hover { border-color: var(--blue-dark); }
.service-card-cta h3 { color: var(--white); }
.service-card-cta p { color: rgba(255,255,255,0.72); margin-bottom: 20px; }

/* Services page: alternating detail rows */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 2; }
.service-detail-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-detail-media img.img-collage {
  aspect-ratio: 1179/2096;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.img-link {
  position: relative;
  display: block;
  max-width: 300px;
  margin: 0 auto;
  cursor: pointer;
}
.img-link-badge {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,10,11,0.65);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: background-color 200ms ease;
  white-space: nowrap;
}
.img-link-badge svg { width: 14px; height: 14px; flex: none; }
.img-link:hover .img-link-badge { background: var(--blue-dark); }

/* Photo slider used inside a service-detail-media slot */
.img-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1179/2096;
  max-width: 300px;
  margin: 0 auto;
  background: var(--black-800);
}
.img-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 400ms ease;
}
.img-slider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  display: block;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(10,10,11,0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: var(--blue-dark); }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(10,10,11,0.55);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.service-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.service-title-row .service-icon { margin-bottom: 0; flex: none; }
.service-title-row h2 { margin-bottom: 0; }
.service-detail-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.service-detail-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 0.95rem; }
.service-detail-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--blue-dark); }

/* Process steps */
.process { padding: 100px 0; background: var(--black); color: var(--white); }
.process h2 { color: var(--white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-step { position: relative; padding-top: 8px; }
.process-step .step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--blue-light);
  margin-bottom: 10px;
  display: block;
}
.process-step h3 { color: var(--white); }
.process-step p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

/* ---------- Work / Portfolio ---------- */
.work { padding: 110px 0; }
.work-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all 200ms ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: opacity 300ms ease, transform 300ms ease;
}
.work-card.is-event { cursor: pointer; }
.work-card.is-event a { display: block; }
.work-card.is-hidden { display: none; }
.work-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 500ms ease;
}
.work-card:hover img { transform: scale(1.06); }
.work-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(9,16,38,0) 0%, rgba(6,9,20,0.88) 100%);
  color: var(--white);
}
.work-card figcaption h3 { color: var(--white); margin-bottom: 2px; }
.work-card figcaption p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.85rem; }
.work-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(10,10,11,0.55);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.work-card.is-event .work-tag { background: var(--blue-dark); }

/* Slider embedded inside a Work-page card, sized to match the standard photo box */
.work-card .img-slider {
  aspect-ratio: auto;
  max-width: none;
  height: 340px;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ---------- Events / Video ---------- */
.events { padding: 110px 0; background: var(--black); color: var(--white); }
.events h2, .events .eyebrow ~ h2 { color: var(--white); }
.events-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.events-copy h2 { color: var(--white); max-width: 16ch; }
.events-copy p { color: rgba(255,255,255,0.72); }

.events-copy .stat-row { margin-top: 30px; }
.events-copy .stat-icon { background: rgba(255,255,255,0.08); color: var(--blue-light); }
.events-copy .stat p { color: rgba(255,255,255,0.65); }
.events-copy .stat h3 { color: var(--white); }

/* Portrait video card */
.video-player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--black-800);
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9/16;
}
.video-player.wide { max-width: none; aspect-ratio: 16/9; }

.video-poster {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  cursor: pointer;
  border: none;
  padding: 0;
  width: 100%;
}
.video-poster img.video-poster-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}
.video-poster-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,16,38,0.15) 0%, rgba(6,9,20,0.75) 100%);
}
.play-btn {
  position: relative;
  z-index: 1;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: none;
  background: var(--blue-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
  box-shadow: 0 0 0 0 rgba(194,65,12,0.5);
  animation: pulse 2.4s infinite;
}
.play-btn:hover { transform: scale(1.08); background: var(--black); }
.play-btn svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(194,65,12,0.45); }
  70% { box-shadow: 0 0 0 22px rgba(194,65,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(194,65,12,0); }
}
.video-caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 0 20px;
}
.video-player video { width: 100%; height: 100%; object-fit: cover; display: block; }

.events-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 0.88rem;
}
.events-note svg { flex: none; color: var(--blue-light); }
.events-note p { color: rgba(255,255,255,0.7); margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--black) 100%);
  color: var(--white);
  padding: 90px 0;
}
.cta-banner-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact { padding: 110px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-info p { max-width: 46ch; }
.contact-details { list-style: none; margin: 30px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.contact-details svg { color: var(--blue-dark); flex: none; }
.contact-details a { font-weight: 500; }

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1E9E56;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.whatsapp-inline svg { width: 24px; height: 24px; }

.contact-form {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29,78,216,0.14);
}
.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 9px;
  background: #E7F0FF;
  color: #123A9C;
  font-weight: 500;
  font-size: 0.92rem;
}
.form-status.visible { display: block; }
.form-status.error { background: #FDECEC; color: #A0272A; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ (contact page) */
.faq-list { margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
.faq-question svg { flex: none; transition: transform 220ms ease; color: var(--blue-dark); }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}
.faq-item.open .faq-answer { max-height: 240px; }
.faq-answer p { padding-bottom: 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  height: 40px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-social { display: flex; gap: 14px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.footer-links a, .footer-links span,
.footer-contact a, .footer-contact span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.68);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--blue-light); }

.footer-bottom { padding: 24px 0; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); text-align: center; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: transform 200ms ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1.in-view { transition-delay: 90ms; }
.reveal.delay-2.in-view { transition-delay: 180ms; }
.reveal.delay-3.in-view { transition-delay: 270ms; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .about-grid, .events-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail.reverse .service-detail-media { order: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .brand img { height: 52px; }

  .hero-content { padding-top: 130px; padding-bottom: 48px; }
  .page-header-content { padding-top: 140px; padding-bottom: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 26px; }
  .logo-row li, .marquee-track .logo-chip { min-width: 130px; height: 68px; padding: 12px 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .video-player { max-width: 300px; }

  /* Shrink section spacing so mobile isn't just the desktop layout squeezed narrower */
  .container { padding: 0 18px; }
  .about, .services, .process, .work, .events, .contact { padding: 72px 0; }
  .cta-banner { padding: 64px 0; }
  .trust-bar { padding: 36px 0; }
  .section-head { margin-bottom: 32px; }
  .about-grid, .events-grid, .contact-grid { gap: 40px; }
  .service-grid, .values-grid, .process-grid, .work-grid { gap: 18px; }
}

/* Extra-small phones: shrink further */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .hero-content h1 { font-size: clamp(1.5rem, 7.5vw, 1.9rem); }
  .hero-lead, .hero-content .hero-lead { font-size: 0.96rem; }
  .btn { padding: 12px 20px; font-size: 0.85rem; min-height: 44px; }
  .hero-content .btn { padding: 12px 18px; font-size: 0.82rem; }
  .hero-content { padding-top: 110px; padding-bottom: 40px; }
  .page-header-content { padding-top: 118px; padding-bottom: 40px; }
  .brand img { height: 44px; }

  .about, .services, .process, .work, .events, .contact { padding: 56px 0; }
  .cta-banner { padding: 48px 0; }
  .value-card, .service-card { padding: 22px 18px; }
  .contact-form { padding: 20px; }
  .service-icon, .stat-icon { width: 40px; height: 40px; border-radius: 10px; }
  .process-step .step-num { font-size: 1.8rem; }
  .video-player { max-width: 240px; }
  .footer-brand img { height: 34px; }
  .whatsapp-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 24px; height: 24px; }
}
