/* ======================================================================
   MAX PREMIER CONSTRUCTION GROUP LLC
   Premium dark theme — gold accents
   ====================================================================== */

:root {
  --black:      #0c0c0e;
  --ink:        #131316;
  --ink-2:      #1a1a1f;
  --ink-3:      #222228;
  --line:       rgba(255, 255, 255, 0.09);
  --line-dark:  rgba(0, 0, 0, 0.08);

  --gold:       #c79a4b;
  --gold-light: #e6c585;
  --gold-deep:  #a87f33;
  --gold-grad:  linear-gradient(135deg, #e6c585 0%, #c79a4b 48%, #a87f33 100%);

  --paper:      #f6f4ef;
  --paper-2:    #efece4;

  --white:      #ffffff;
  --text:       #2a2a2e;
  --text-soft:  #5d5d63;
  --text-mute:  #8a8a90;
  --text-onblack: #d7d6d2;
  --text-onblack-soft: #9b9aa0;

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --shadow:    0 18px 50px -18px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.45);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 116px 0; position: relative; }

.gold { color: var(--gold); }

/* gold text gradient for big numerals / accents */
.grad-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Section heading ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: ""; width: 30px; height: 2px; background: var(--gold-grad);
}
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::after {
  content: ""; width: 30px; height: 2px; background: var(--gold-grad);
}
.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head .section-eyebrow { margin-bottom: 16px; }

.section-intro {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.06rem;
}
.section-intro.left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.3s ease;
  position: relative;
  white-space: nowrap;
}
.btn-lg { padding: 17px 36px; font-size: 0.95rem; }
.btn-full { width: 100%; }

.btn-gold {
  background: var(--gold-grad);
  color: #1c1404;
  box-shadow: 0 14px 30px -12px rgba(199, 154, 75, 0.6);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(199, 154, 75, 0.75); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-3px); }

/* ======================================================================
   TOP BAR
   ====================================================================== */
.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-onblack-soft);
  position: relative;
  z-index: 60;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-left a { transition: color 0.3s; }
.topbar-left a:hover { color: var(--gold-light); }
.topbar-left i { color: var(--gold); margin-right: 6px; }
.topbar-sep { width: 1px; height: 14px; background: var(--line); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-badge { color: var(--text-onblack); }
.topbar-badge i { color: var(--gold); margin-right: 6px; }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  font-size: 0.75rem; transition: all 0.3s;
}
.topbar-social a:hover { background: var(--gold); color: #1c1404; border-color: var(--gold); }

/* ======================================================================
   NAVBAR
   ====================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.navbar.scrolled { box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.28); }
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.4s var(--ease);
}
.navbar.scrolled .nav-container { height: 70px; }
.nav-logo-img { height: 64px; width: auto; transition: height 0.4s var(--ease); }
.navbar.scrolled .nav-logo-img { height: 56px; }

.nav-menu { display: flex; align-items: center; gap: 38px; }
.nav-links { display: flex; gap: 34px; }
.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold-grad);
  transition: width 0.35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold-deep); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 60; }
.nav-toggle .bar { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.35s var(--ease); }
.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================================
   HERO
   ====================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: -8% 0;
  background: url("../images/header2.jpeg") 60% 45%/cover no-repeat;
  transform: scale(1.08);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.78) 42%, rgba(8, 8, 10, 0.35) 100%),
    linear-gradient(to top, rgba(8, 8, 10, 0.85) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 70px 28px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 26px;
}
.eyebrow-line { width: 42px; height: 1.5px; background: var(--gold-grad); display: inline-block; }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #fff;
  max-width: 16ch;
}
.hero-subtitle {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-onblack);
  font-weight: 300;
}
.hero-buttons { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-trust {
  margin-top: 54px;
  display: flex; flex-wrap: wrap; gap: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 640px;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-onblack); font-weight: 500; font-size: 0.95rem; }
.trust-item i { color: var(--gold); font-size: 1.05rem; }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-onblack-soft); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll i { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ======================================================================
   STATS BAND
   ====================================================================== */
.stats-band {
  background: #fff;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 56px 28px;
}
.stat-block { text-align: center; position: relative; padding: 6px 14px; }
.stat-block:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: var(--line-dark);
}
.stat-number {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  display: block; margin-top: 10px;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 500;
}

/* ======================================================================
   ABOUT
   ====================================================================== */
.about { background: var(--paper); }
.about-grid {
  display: grid; grid-template-columns: 0.92fr 1fr; gap: 70px; align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%; height: auto;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.about-media::before {
  content: ""; position: absolute; inset: -16px -16px 30px 30px;
  border: 1.5px solid var(--gold); border-radius: var(--r-lg); z-index: -1; opacity: 0.6;
}
.about-badge {
  position: absolute; bottom: -28px; right: -22px;
  background: var(--ink); color: #fff;
  padding: 22px 28px; border-radius: var(--r);
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-family: var(--serif); font-weight: 700; font-size: 2.8rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-badge-text { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-onblack); line-height: 1.4; }

.about-text p { margin-top: 18px; color: var(--text-soft); }
.about-list { margin: 28px 0 8px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); }
.about-list i { color: var(--gold); font-size: 1.05rem; }
.about-signature { margin-top: 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.about-since { line-height: 1.2; }
.about-since span { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.about-since strong { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-deep); }

/* ======================================================================
   SERVICES
   ====================================================================== */
.services { background: var(--paper-2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--gold-grad); transition: width 0.45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 64px; height: 64px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(135deg, #faf6ee, #f0e7d3);
  color: var(--gold-deep); font-size: 1.5rem;
  transition: all 0.45s var(--ease);
}
.service-card:hover .service-icon { background: var(--gold-grad); color: #1c1404; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.service-card p { color: var(--text-soft); font-size: 0.96rem; }

/* ======================================================================
   WHY US (dark band)
   ====================================================================== */
.why-us { background: #fff; }
.why-overlay { display: none; }
.why-inner { position: relative; z-index: 2; }
/* heading uses .light modifiers in markup — keep them dark on the light band */
.why-us .section-eyebrow.light { color: var(--gold-deep); }
.why-us .section-title.light { color: var(--ink); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-block {
  padding: 38px 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: #fff;
  transition: background 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s var(--ease);
}
.why-block:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.why-icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  border: 1.5px solid var(--gold); color: var(--gold-deep); font-size: 1.4rem;
  transition: all 0.45s var(--ease);
}
.why-block:hover .why-icon { background: var(--gold-grad); color: #1c1404; border-color: transparent; }
.why-block h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.why-block p { color: var(--text-soft); font-size: 0.94rem; }

/* ======================================================================
   PROJECTS
   ====================================================================== */
.projects { background: var(--paper); }
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -32px 0 48px; }
.filter-btn {
  padding: 10px 24px; border-radius: 100px;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-soft); border: 1px solid var(--line-dark);
  background: #fff; transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card {
  position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), opacity 0.4s ease;
}
.project-card.hide { display: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover img { transform: scale(1.09); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.25) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 8px;
  transform: translateY(12px); transition: transform 0.45s var(--ease) 0.05s;
}
.project-overlay h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff;
  transform: translateY(12px); transition: transform 0.45s var(--ease) 0.1s;
}
.project-card:hover .project-tag, .project-card:hover .project-overlay h3 { transform: translateY(0); }
.project-zoom {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad); color: #1c1404; font-size: 0.9rem;
  transform: scale(0) rotate(-45deg); transition: transform 0.45s var(--ease);
}
.project-card:hover .project-zoom { transform: scale(1) rotate(0); }
.project-ba { aspect-ratio: auto; align-self: start; display: grid; gap: 4px; background: #fff; }
.ba-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.project-ba img { height: 100%; }
.project-ba[data-category="renovation"] img { object-position: center top; } /* keep built-in Before/After labels in view */
.projects-grid[data-filter="residential"] { grid-template-columns: repeat(2, calc((100% - 44px) / 3)); justify-content: center; }
/* All view: projects grouped by category, each row aligned */
.projects-group { display: none; }
.projects-grid[data-filter="all"] { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; }
.projects-grid[data-filter="all"] .projects-group { display: flex; flex: 0 0 100%; justify-content: center; margin: 26px 0 -4px; }
.projects-grid[data-filter="all"] .projects-group[data-group="renovation"] { margin-top: 0; }
.projects-grid[data-filter="all"] .project-card { flex: 0 0 calc((100% - 66px) / 4); }
.projects-grid[data-filter="all"] [data-category="commercial"] { flex-basis: calc((100% - 44px) / 3); }
.projects-grid[data-filter="all"] [data-group="renovation"],
.projects-grid[data-filter="all"] [data-category="renovation"] { order: 1; }
.projects-grid[data-filter="all"] [data-group="residential"] { order: 2; }
.projects-grid[data-filter="all"] [data-category="residential"] { order: 3; }
.projects-grid[data-filter="all"] [data-group="commercial"] { order: 4; }
.projects-grid[data-filter="all"] [data-category="commercial"] { order: 5; }
.projects-empty {
  text-align: center; padding: 60px 0;
  font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--ink);
}

/* ======================================================================
   PROCESS
   ====================================================================== */
.process { background: var(--paper-2); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-grid::before {
  content: ""; position: absolute; top: 40px; left: 12%; right: 12%; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: 0.35;
}
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-num {
  display: block; font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: var(--gold-deep); letter-spacing: 0.1em; margin-bottom: 16px;
}
.process-icon {
  width: 80px; height: 80px; margin: 0 auto 22px;
  border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--gold); color: var(--gold-deep);
  font-size: 1.7rem; position: relative; z-index: 2;
  box-shadow: 0 10px 30px -14px rgba(199, 154, 75, 0.5);
  transition: all 0.45s var(--ease);
}
.process-step:hover .process-icon { background: var(--gold-grad); color: #1c1404; transform: translateY(-5px); }
.process-step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.process-step p { color: var(--text-soft); font-size: 0.94rem; }

/* ======================================================================
   TESTIMONIALS
   ====================================================================== */
.testimonials { background: var(--paper); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--line-dark);
  border-radius: var(--r); padding: 38px 32px;
  position: relative; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.testimonial-card::after {
  content: "\201D"; position: absolute; top: 18px; right: 28px;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); opacity: 0.18;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 18px; }
.testimonial-card blockquote {
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--ink);
  font-weight: 500; font-style: italic; margin-bottom: 26px;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; }
.client-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #1c1404; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em;
}
.client-meta { display: flex; flex-direction: column; font-size: 0.86rem; color: var(--text-mute); }
.client-meta strong { color: var(--ink); font-size: 0.98rem; }

/* ======================================================================
   CTA BANNER
   ====================================================================== */
.cta-banner {
  background: var(--ink);
  background-image: linear-gradient(115deg, rgba(12,12,14,0.95), rgba(20,20,24,0.88)), url("../images/ready%20to%20build.jpeg");
  background-size: cover; background-position: center 52%;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-top: 78px; padding-bottom: 78px;
}
.cta-text .section-eyebrow { color: var(--gold-light); }
.cta-text h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; color: #fff; line-height: 1.12; }
.cta-text p { color: var(--text-onblack-soft); margin-top: 12px; max-width: 46ch; }
.cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-phone { color: #fff; font-weight: 600; font-size: 1.05rem; transition: color 0.3s; }
.cta-phone i { color: var(--gold); margin-right: 8px; }
.cta-phone:hover { color: var(--gold-light); }

/* ======================================================================
   CONTACT
   ====================================================================== */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: stretch; }
.contact-form-wrap {
  background: #fff; border-radius: var(--r-lg); padding: 48px;
  box-shadow: var(--shadow); border: 1px solid var(--line-dark);
}
.contact-form { margin-top: 26px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--r-sm);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(199, 154, 75, 0.12);
}
.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea { border-color: #d0524a; background: #fdf3f2; }
.error-msg { display: block; font-size: 0.78rem; color: #d0524a; margin-top: 6px; min-height: 1em; }
.form-success {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm);
  background: #eef8f0; color: #2e7d4f; font-weight: 500; font-size: 0.92rem;
}
.form-success i { margin-right: 8px; }
.form-error {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm);
  background: #fdf3f2; color: #d0524a; font-weight: 500; font-size: 0.92rem;
}
.form-error i { margin-right: 8px; }
.form-error a { color: inherit; text-decoration: underline; }

.contact-info {
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: 48px; display: flex; flex-direction: column;
}
.contact-info h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.contact-info-intro { color: var(--text-onblack-soft); margin-top: 12px; margin-bottom: 30px; font-size: 0.95rem; }
.contact-list { display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list i {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(199, 154, 75, 0.12);
  color: var(--gold-light); font-size: 1rem;
}
.contact-list .info-label { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-onblack-soft); margin-bottom: 3px; }
.contact-list a, .contact-list div span:not(.info-label) { display: block; color: var(--text-onblack); transition: color 0.3s; }
.contact-list a:hover { color: var(--gold-light); }
.contact-list a[href^="mailto:"] { overflow-wrap: anywhere; } /* long emails wrap on small screens */

/* ======================================================================
   FOOTER
   ====================================================================== */
.footer { background: #ffffff; color: var(--text-soft); padding-top: 80px; border-top: 3px solid transparent; border-image: var(--gold-grad) 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.7fr; gap: 48px; padding-bottom: 56px; }
.footer-logo-img { height: 120px; width: auto; margin-bottom: 6px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-deep); margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--text); transition: all 0.35s var(--ease);
}
.footer-social a:hover { background: var(--gold-grad); color: #1c1404; border-color: transparent; transform: translateY(-3px); }
.footer-nav h4, .footer-contact h4 {
  color: var(--ink); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.94rem; color: var(--text-soft); transition: color 0.3s, padding-left 0.3s; }
.footer-nav a:hover { color: var(--gold-deep); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a, .footer-contact span { font-size: 0.94rem; color: var(--text-soft); transition: color 0.3s; }
.footer-contact i { color: var(--gold-deep); margin-right: 10px; width: 16px; text-align: center; }
.footer-contact a:hover { color: var(--gold-deep); }
.footer-contact a, .footer-contact span { display: flex; align-items: center; } /* icon sits beside its text */
.footer-contact a[href^="mailto:"] { font-size: 0.88rem; white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 28px; max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.84rem; color: var(--text-mute);
}

/* ======================================================================
   FLOATING QUOTE
   ====================================================================== */
.floating-quote {
  position: fixed; bottom: 22px; right: 22px; z-index: 45;
  display: none; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 100px;
  background: var(--gold-grad); color: #1c1404; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 14px 34px -10px rgba(199, 154, 75, 0.7);
}

/* ======================================================================
   LIGHTBOX
   ====================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.95); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 86vw; max-height: 80vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2.4rem; line-height: 1; opacity: 0.8; transition: opacity 0.3s, transform 0.3s; }
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line);
  color: #fff; font-size: 1.2rem; transition: background 0.3s;
}
.lightbox-nav:hover { background: var(--gold); color: #1c1404; }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-caption { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--text-onblack); font-size: 0.95rem; letter-spacing: 0.04em; }

/* ======================================================================
   REVEAL ANIMATION
   ====================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
  .section { padding: 92px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .about-media img { height: auto; }
  .services-grid, .why-grid, .process-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid[data-filter="residential"] { grid-template-columns: repeat(2, 1fr); }
  .projects-grid[data-filter="all"] .project-card { flex-basis: calc((100% - 22px) / 2); }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .footer-contact a[href^="mailto:"] { white-space: normal; overflow-wrap: break-word; }
  .topbar-left a:nth-child(3), .topbar-sep { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    background: #fff; flex-direction: column; justify-content: center;
    gap: 30px; padding: 40px; transform: translateX(100%);
    transition: transform 0.45s var(--ease); box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--line-dark);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 22px; text-align: center; }
  .nav-link { font-size: 1.15rem; }
  .nav-cta { margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .stat-block:nth-child(2)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .floating-quote { display: inline-flex; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .topbar-badge { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-right { gap: 12px; }
  .services-grid, .why-grid, .process-grid, .testimonials-grid, .projects-grid, .footer-grid { grid-template-columns: 1fr; }
  .projects-grid[data-filter="residential"] { grid-template-columns: 1fr; }
  .projects-grid[data-filter="all"] .project-card { flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-info { padding: 32px 24px; }
  .about-media::before { display: none; }
  .about-badge { right: 12px; bottom: -22px; }
  .hero-trust { gap: 18px 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-scroll i { animation: none; }
}
