/* ============================================================
   RATCLIFFE CARPENTRY & BUILDING LTD
   Layout inspired by jupiterconstruction.co.uk
   Brand: Navy #0f1f5c | Gold #c8920a | White #fff
   ============================================================ */

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

:root {
  --navy:   #0f1f5c;
  --navy-d: #091648;
  --gold:   #c8920a;
  --gold-l: #e0a80e;
  --white:  #ffffff;
  --off:    #f5f5f5;
  --text:   #1a1a2e;
  --muted:  #5a5f7a;
  --radius: 4px;
  --max:    1220px;
  --nav-h:  72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── GOLD TOP BAR ── */
.top-bar {
  width: 100%;
  height: 5px;
  background: var(--gold);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 5px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(15,31,92,.12); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

/* CTA */
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--navy-d) !important; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(5px + var(--nav-h));
  background: var(--navy);
  z-index: 998;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: block;
}
.mobile-menu nav a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(5px + var(--nav-h));
  overflow: hidden;
  background: #111;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: grayscale(20%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 80px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.hero-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -.01em;
  max-width: 700px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-heading .gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-meta a, .hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  transition: color .2s;
}
.hero-meta a:hover { color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-l); border-color: var(--gold-l); }

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

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

.btn--full { width: 100%; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy);
  padding: 0;
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: inline-block;
}
.stat-suffix {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}

/* ── SECTION SHARED ── */
.section { padding: clamp(60px, 8vw, 100px) 0; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.section-label--light { color: rgba(255,255,255,.7); }
.section-label--light::after { background: rgba(255,255,255,.4); }

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.section-title .gold { color: var(--gold); }
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.section-sub--centre { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub--light { color: rgba(255,255,255,.65); }

.section-header--centre { text-align: center; }
.section-header--centre .section-label { justify-content: center; }
.section-header--centre .section-label::after { display: none; }
.section-header--centre .section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

/* ── ABOUT ── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Jupiter-style bordered photo frame */
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-frame::before {
  content: '';
  position: absolute;
  left: -10px;
  top: -10px;
  bottom: 10px;
  width: 6px;
  background: var(--gold);
  z-index: 2;
}
.about-img-frame::after {
  content: '';
  position: absolute;
  left: -10px;
  bottom: -10px;
  right: 10px;
  height: 6px;
  background: var(--gold);
  z-index: 2;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-frame:hover img { transform: scale(1.04); }

.about-float-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  z-index: 3;
  box-shadow: 0 8px 32px rgba(15,31,92,.25);
}
.about-float-badge strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.about-float-badge span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
}

.about-text p {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text .btn { margin-top: 12px; }

/* ── SERVICES ── */
.services { background: var(--navy); }
.services .section-title--light { margin-bottom: 48px; }

/* Jupiter-style: alternating photo tile + info card grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.07);
}

.svc-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transition: transform .6s ease, filter .4s;
}
.svc-photo:hover img { transform: scale(1.06); filter: brightness(.6); }
.svc-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(0deg, rgba(15,31,92,.85) 0%, transparent 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.svc-card {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(15,31,92,.06);
  transition: box-shadow .25s;
}
.svc-card:hover { box-shadow: 0 0 0 2px var(--gold) inset; }

.svc-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.svc-icon svg { width: 36px; height: 36px; stroke-width: 1.5; }

.svc-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: .02em;
}
.svc-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-top: 4px;
  transition: gap .2s;
}
.svc-link:hover { gap: 10px; }

/* ── PROJECTS CAROUSEL ── */
.projects { background: var(--white); }

.carousel-wrap { position: relative; overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.proj-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.proj-card:hover img { transform: scale(1.06); }

.proj-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 24px 20px;
  background: linear-gradient(0deg, rgba(15,31,92,.9) 0%, transparent 100%);
}
.proj-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  background: rgba(15,31,92,.6);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.proj-name {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.proj-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--navy); color: var(--white); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15,31,92,.2);
  cursor: pointer;
  transition: background .2s;
}
.carousel-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── WHO WE WORK WITH ── */
.clients { background: var(--off); }

.clients-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid rgba(15,31,92,.15);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  transition: all .2s;
}
.client-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.client-pill:hover { border-color: var(--gold); background: var(--gold); color: var(--white); }

/* ── CORE VALUES ── */
.values { background: var(--navy); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.07);
}
.value-card {
  background: var(--navy);
  padding: 44px 36px;
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.value-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .3s;
}
.value-card:hover { background: rgba(255,255,255,.04); }
.value-card:hover::before { transform: scaleY(1); }

.value-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,255,255,.05);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}
.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* ── TEAM ── */
.team { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  border: 1px solid rgba(15,31,92,.09);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 0 0 24px;
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.team-card:hover { box-shadow: 0 12px 40px rgba(15,31,92,.12); transform: translateY(-3px); }
.team-card--lead { border-color: var(--gold); }

/* Photo area — full-width rectangle at top of card */
.team-avatar {
  width: 100%;
  height: 260px;
  border-radius: 0;
  display: block;
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
  line-height: 260px;
  text-align: center;
}
.team-avatar--navy { background: var(--navy); color: var(--white); }
.team-avatar--gold  { background: var(--gold); color: var(--white); }
.team-avatar--slate { background: #2a3a6e; color: rgba(255,255,255,.6); }
.team-avatar--photo {
  background: var(--navy);
  line-height: 1;
  position: relative;
}
/* Use a wrapper technique: img sits absolute, centred, scaled to fill height */
.team-avatar--photo img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

.team-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
  padding: 0 16px;
}
.team-role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  padding: 0 16px;
}

/* ── SUSTAINABILITY ── */
.sustainability { background: var(--off); }

.sustain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sustain-img-wrap {
  position: relative;
}
.sustain-img-frame {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
}
.sustain-img-frame::before {
  content: '';
  position: absolute;
  right: -10px;
  top: -10px;
  bottom: 10px;
  width: 6px;
  background: var(--gold);
  z-index: 2;
}
.sustain-img-frame::after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: -10px;
  left: 10px;
  height: 6px;
  background: var(--gold);
  z-index: 2;
}
.sustain-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustain-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--navy);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 8px 32px rgba(15,31,92,.25);
}
.sustain-badge svg { color: var(--gold); flex-shrink: 0; }

.sustain-list {
  margin: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sustain-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}
.sustain-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ── H&S STRIP ── */
.hs-strip {
  background: var(--gold);
  padding: 56px 0;
}
.hs-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hs-strip-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
}
.hs-strip-icon svg { width: 72px; height: 72px; }

.hs-strip-text { flex: 1; min-width: 280px; }
.hs-strip-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.hs-strip-text p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  max-width: 680px;
}

.hs-strip-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
}
.hs-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── ACCREDITATIONS ── */
.accreditations { background: var(--white); }

.accreds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.accred-card {
  border: 1px solid rgba(15,31,92,.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.accred-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(200,146,10,.1); }
.accred-icon { width: 52px; height: 52px; flex-shrink: 0; }
.accred-icon svg { width: 52px; height: 52px; }
.accred-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.checkatrade-cta {
  text-align: center;
  padding: 40px;
  background: var(--off);
  border-radius: var(--radius);
}
.checkatrade-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── CONTACT ── */
.contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-text p {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 420px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.c-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.c-icon svg { width: 18px; height: 18px; }
.c-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 2px;
}
.c-detail-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: color .2s;
}
.c-detail-val:hover { color: var(--gold); }

/* Contact form */
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(15,31,92,.15);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success svg { width: 64px; height: 64px; margin: 0 auto 16px; }
.form-success h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-success p { font-size: 15px; color: var(--muted); }

/* ── FOOTER ── */
.footer { background: var(--navy-d); padding: 80px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 260px;
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-col p a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-col p a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid, .sustain-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proj-card { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
  .accreds-grid { grid-template-columns: 1fr 1fr; }
  .about-float-badge { right: 0; bottom: -16px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .proj-card { flex: 0 0 calc(100% - 0px); min-width: 100%; }
  .accreds-grid { grid-template-columns: 1fr; }
  .hs-strip-inner { flex-direction: column; gap: 24px; }
  .hero-meta { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hero-heading { font-size: 42px; }
}
