/* ============================================================
   SAHOTA BUILDERS — Design System
   Palette: Charcoal + Bronze (premium builder)
   ============================================================ */

:root {
  /* Colors */
  --charcoal: #0f0f0f;
  --charcoal-2: #1a1a1a;
  --charcoal-3: #242424;
  --bronze: #c9a227;
  --bronze-2: #b08d57;
  --bronze-light: #e6c875;
  --off-white: #f5f3ef;
  --cream: #faf8f4;
  --grey: #6b6b6b;
  --grey-light: #9a9a9a;
  --line: rgba(15, 15, 15, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}
.eyebrow.dark { color: var(--bronze-2); }
.section-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--grey);
  max-width: 60ch;
  margin: 0 auto;
}
.accent { color: var(--bronze); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--bronze); color: var(--charcoal); border-color: var(--bronze); }
.btn-primary:hover { background: var(--bronze-light); border-color: var(--bronze-light); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(201, 162, 39, 0.6); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--charcoal-3); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(15, 15, 15, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.9rem 0;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  background: var(--bronze);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-5deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: #fff; letter-spacing: 0.01em; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-light); }
.site-header:not(.scrolled) .brand-name { color: #fff; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--bronze);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { color: #fff; border-color: rgba(255,255,255,0.4); padding: 0.7rem 1.4rem; }
.nav-cta:hover { background: var(--bronze); border-color: var(--bronze); color: var(--charcoal); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  width: 26px; height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav backdrop */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(15,15,15,0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease);
  z-index: 98;
}
.nav-backdrop.visible { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.15); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,15,15,0.85) 0%, rgba(15,15,15,0.55) 50%, rgba(15,15,15,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 6rem; max-width: 820px; }
.hero .eyebrow { color: var(--bronze-light); }
.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 56ch;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--bronze-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 26px; } }

/* ---------- Stats ---------- */
.stats {
  background: var(--charcoal);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line-dark);
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--bronze);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ---------- Services ---------- */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -25px rgba(15,15,15,0.25); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--bronze-2);
  transition: all 0.4s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--bronze); color: var(--charcoal); border-color: var(--bronze); }
.service-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.service-card p { font-size: 0.95rem; color: var(--grey); line-height: 1.6; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  background: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
  border-radius: 2px;
}
.about-img-sub {
  position: absolute;
  bottom: -2.5rem; right: -1.5rem;
  width: 55%; aspect-ratio: 4/3;
  background: url("https://images.unsplash.com/photo-1581094288338-2314dd4a6a4d?auto=format&fit=crop&w=700&q=80") center/cover no-repeat;
  border: 8px solid var(--cream);
  border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(15,15,15,0.4);
}
.about-badge {
  position: absolute;
  top: 1.5rem; left: -1.5rem;
  background: var(--charcoal);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bronze);
  line-height: 1;
}
.about-badge-text { font-size: 0.8rem; line-height: 1.3; letter-spacing: 0.04em; }

.about-content .section-title { text-align: left; }
.about-content .section-lead { margin: 0 0 1.75rem; max-width: none; }
.about-list { margin-bottom: 2rem; display: grid; gap: 0.85rem; }
.about-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; }
.tick {
  display: grid; place-items: center;
  min-width: 22px; height: 22px;
  background: var(--bronze);
  color: var(--charcoal);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

/* ---------- Projects ---------- */
.projects { background: var(--off-white); }
.project-filters {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--grey);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--charcoal); border-color: var(--charcoal); }
.filter-btn.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.project-card.hide { display: none; }
.project-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .project-img { transform: scale(1.08); }
.p1 { background-image: url("https://images.unsplash.com/photo-1720670797121-109f3f21136e?auto=format&fit=crop&w=900&q=80"); }
.p2 { background-image: url("https://images.unsplash.com/photo-1646592491660-0ed5b081d364?auto=format&fit=crop&w=900&q=80"); }
.p3 { background-image: url("https://images.unsplash.com/photo-1757817301348-f91ce527b09b?auto=format&fit=crop&w=900&q=80"); }
.p4 { background-image: url("https://images.unsplash.com/photo-1755816764831-2803235f0099?auto=format&fit=crop&w=900&q=80"); }
.p5 { background-image: url("https://images.unsplash.com/photo-1591396817570-dfb364a2f2cc?auto=format&fit=crop&w=900&q=80"); }
.p6 { background-image: url("https://images.unsplash.com/photo-1760545813135-fbda9423e448?auto=format&fit=crop&w=900&q=80"); }
.p7 { background-image: url("https://images.unsplash.com/photo-1750500369749-ae9d14b79a7e?auto=format&fit=crop&w=900&q=80"); }
.p8 { background-image: url("https://images.unsplash.com/photo-1772617661613-700063d7647f?auto=format&fit=crop&w=900&q=80"); }
.p9 { background-image: url("https://images.unsplash.com/photo-1757439402384-c0afc5fda20c?auto=format&fit=crop&w=900&q=80"); }
.p11 { background-image: url("https://images.unsplash.com/photo-1687169503260-85f00f122398?auto=format&fit=crop&w=900&q=80"); }
.p12 { background-image: url("https://images.unsplash.com/photo-1777105931951-edcf01fc8891?auto=format&fit=crop&w=900&q=80"); }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-cat {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 0.4rem;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease);
}
.project-overlay h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease) 0.05s;
}
.project-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.7); transform: translateY(10px); transition: transform 0.4s var(--ease) 0.1s; }
.project-card:hover .project-cat,
.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p { transform: translateY(0); }

/* ---------- Process ---------- */
.process { background: var(--charcoal); color: #fff; }
.process .section-title { color: #fff; }
.process .eyebrow.dark { color: var(--bronze); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bronze), transparent);
}
.process-step { text-align: center; position: relative; }
.process-num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--charcoal);
  border: 1.5px solid var(--bronze);
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--bronze);
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.process-step p { font-size: 0.92rem; color: rgba(255,255,255,0.7); }

/* ---------- Service Areas ---------- */
.areas { background: var(--off-white); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.area-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.area-card:hover { background: var(--charcoal); color: #fff; transform: translateY(-5px); }
.area-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--bronze);
}
.area-card:hover h3 { color: var(--bronze-light); }
.area-card p { font-size: 0.9rem; color: var(--grey); }
.area-card:hover p { color: rgba(255,255,255,0.75); }
.area-card.featured {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--bronze);
  position: relative;
}
.area-card.featured::before {
  content: "Home Base";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 2px;
}
.area-card.featured h3 { color: var(--bronze-light); }
.area-card.featured p { color: rgba(255,255,255,0.75); }
.area-card.featured:hover { background: var(--charcoal-3); }
.areas-note { text-align: center; color: var(--grey); font-size: 1rem; }
.areas-note a { color: var(--bronze-2); font-weight: 600; border-bottom: 1px solid var(--bronze-2); }
.areas-note a:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonial-slider { max-width: 820px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.6s var(--ease); }
.testimonial {
  min-width: 100%;
  padding: 0 1rem;
  text-align: center;
}
.stars { color: var(--bronze); font-size: 1.1rem; letter-spacing: 0.15em; margin-bottom: 1.5rem; }
.testimonial blockquote {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 0.25rem; }
.t-name { font-weight: 600; font-size: 1rem; }
.t-loc { font-size: 0.85rem; color: var(--grey); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem; }
.slider-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--charcoal);
  background: #fff;
  transition: all 0.3s var(--ease);
  display: grid; place-items: center;
  line-height: 1;
}
.slider-btn:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.3s var(--ease);
}
.slider-dots button.active { background: var(--bronze); width: 26px; border-radius: 5px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--charcoal-3) 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 50%; height: 100%;
  background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, transparent 70%);
}
.cta-inner { text-align: center; position: relative; }
.cta-inner h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-info .section-lead { margin: 0 0 2rem; max-width: none; }
.contact-details { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.contact-details li { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--charcoal);
  color: var(--bronze);
  border-radius: 50%;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-label { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 0.15rem; }
.contact-details a { font-weight: 600; color: var(--charcoal); transition: color 0.25s; }
.contact-details a:hover { color: var(--bronze-2); }
.contact-details li > div > span:last-child { font-weight: 500; color: var(--charcoal); }
.contact-hours h4 { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-hours p { color: var(--grey); font-size: 0.95rem; line-height: 1.7; }

.contact-form {
  background: #fff;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 30px 60px -40px rgba(15,15,15,0.25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.4rem; color: var(--charcoal-2); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--cream);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: all 0.25s;
  font-family: var(--font-body);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--bronze);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.form-group textarea { resize: vertical; }
.form-status { margin-top: 1rem; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.brand-footer { margin-bottom: 1.25rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 38ch; }
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.25s; }
.footer-col a:hover { color: var(--bronze-light); }
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

/* Tablet and small desktop */
@media (max-width: 1024px) {
  .services-grid, .projects-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .stat:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.25rem; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding: 1rem 0; }
  .site-header.scrolled { padding: 0.7rem 0; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.2rem; }
  .brand-name { font-size: 1rem; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--charcoal);
    padding: 6rem 1.75rem 2rem;
    gap: 1.4rem;
    align-items: flex-start;
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.5);
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 1.1rem; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 5rem; }
  .hero-overlay {
    background: linear-gradient(160deg, rgba(15,15,15,0.9) 0%, rgba(15,15,15,0.7) 60%, rgba(15,15,15,0.5) 100%);
  }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; padding: 1rem 1.5rem; }
  .hero-scroll { display: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .stat::after { display: none; }
  .stat-num { font-size: clamp(2rem, 9vw, 2.75rem); }

  /* Sections */
  .section { padding: clamp(3.5rem, 12vw, 5rem) 0; }
  .section-head { margin-bottom: clamp(2rem, 6vw, 3rem); }
  .section-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .section-lead { font-size: 1rem; }

  /* About */
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .about-img-sub { right: 0.5rem; bottom: -1.5rem; border-width: 6px; width: 60%; }
  /* Badge becomes inline above the image so it doesn't overlap content */
  .about-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
  }
  .about-badge-num { font-size: 2rem; }
  .about-badge-text { font-size: 0.72rem; }
  .about-content .section-title { text-align: left; }

  /* Projects */
  .project-filters { gap: 0.5rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-step { max-width: 320px; margin: 0 auto; }

  /* Areas */
  .areas-grid { grid-template-columns: 1fr; }
  .area-card { padding: 1.75rem 1.25rem; }

  /* Testimonials */
  .testimonial blockquote { font-size: 1.15rem; }
  .slider-btn { width: 40px; height: 40px; }

  /* CTA */
  .cta-inner h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }

  /* Contact */
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .ci-icon { width: 42px; height: 42px; }
  .contact-details { gap: 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }
  .services-grid, .projects-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.1rem; }

  /* Hero */
  .hero-content { padding-top: 4.5rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 2rem; }
  .hero-actions .btn { padding: 0.9rem 1.25rem; font-size: 0.9rem; }

  /* Stats — single column on very small screens for readability */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem 0.75rem; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.05em; }

  /* Services & cards */
  .service-card { padding: 1.75rem 1.5rem; }
  .service-card h3 { font-size: 1.15rem; }
  .service-icon { width: 50px; height: 50px; }
  .service-icon svg { width: 23px; height: 23px; }

  /* Project overlays always visible on touch (no hover) */
  .project-overlay { opacity: 1; }
  .project-cat, .project-overlay h3, .project-overlay p { transform: translateY(0); }
  .project-overlay {
    background: linear-gradient(to top, rgba(15,15,15,0.92) 0%, rgba(15,15,15,0.45) 45%, transparent 75%);
  }

  /* About */
  .about-img-sub { display: none; }

  /* Contact form */
  .contact-form { padding: 1.25rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 0.75rem 0.85rem; font-size: 16px; /* prevents iOS zoom */ }
  .btn { padding: 0.9rem 1.5rem; }

  /* Testimonials */
  .testimonial blockquote { font-size: 1.05rem; }

  /* Footer */
  .footer-bottom-inner { font-size: 0.78rem; }
}

/* Touch device tweaks — no hover effects, prevent sticky :hover states */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: none; }
  .service-card:hover::before { transform: scaleX(0); }
  .service-card:hover .service-icon { background: var(--cream); color: var(--bronze-2); border-color: var(--line); }
  .area-card:hover { background: #fff; color: inherit; transform: none; }
  .area-card:hover h3 { color: var(--bronze); }
  .area-card:hover p { color: var(--grey); }
  .area-card.featured:hover { background: var(--charcoal); }
  .project-card:hover .project-img { transform: none; }
  .btn-primary:hover, .btn-dark:hover { transform: none; box-shadow: none; }
}

/* Landscape phone — keep hero from getting too short */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 4rem; }
  .hero-title { font-size: 2.2rem; margin-bottom: 1rem; }
  .hero-sub { margin-bottom: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-bg { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
