/* ==========================================================
   GS Square Renovations — site styles
   Modern / premium: black + olive green (approved 2026-11-20)
   ========================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #121410;
  --surface: #181a15;
  --surface-2: #20231b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1f2ea;
  --muted: #a3a796;
  --gold: #8f9d4e;
  --gold-2: #aebc6c;
  --gold-dark: #5f6a2c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --max: 1200px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
em.gold, .gold { color: var(--gold); font-style: italic; }

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

.section { padding: 110px 0; }
.section--alt { background: var(--bg-2); }
.section--tight { padding: 70px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.lead { font-size: 1.12rem; }

/* Placeholder marker — replace every .ph with real business info */
.ph {
  border-bottom: 1px dashed var(--gold);
  color: inherit;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #10130a; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar {
  background: #070707;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}
.topbar a:hover { color: var(--gold); }
.topbar-items { display: flex; gap: 24px; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 48px; height: 48px; color: var(--gold); flex-shrink: 0; }
.brand:hover .brand-logo { color: var(--gold-2); }
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(143, 157, 78, 0.35);
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.05;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: #d9d3c8;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav .btn { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Image placeholders (swap for real photos) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(143, 157, 78, 0.22), transparent 55%),
    linear-gradient(135deg, #262b1c 0%, #1a1917 55%, #262b1c 100%);
  min-height: 260px;
}
.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}
.media[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
  font-weight: 600;
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--warm {
  background:
    radial-gradient(100% 80% at 80% 20%, rgba(174, 188, 108, 0.25), transparent 60%),
    linear-gradient(160deg, #262b1c 0%, #171a12 70%);
}
.media--cool {
  background:
    radial-gradient(100% 80% at 30% 80%, rgba(160, 170, 180, 0.16), transparent 60%),
    linear-gradient(160deg, #2a2c2e 0%, #18191a 70%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 40px);
  display: flex;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 0;
  min-height: 0;
}
.hero-bg::after { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.75) 50%, rgba(10, 10, 10, 0.35) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, transparent 30%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero p.lead { max-width: 560px; font-size: 1.18rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 34px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: #d9d3c8; }
.hero-badge svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .media { position: absolute; inset: 0; border-radius: 0; min-height: 0; }
.page-hero .media::after { display: none; }
.page-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 760px; }
.page-hero p { max-width: 620px; font-size: 1.1rem; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: var(--gold-dark); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.88rem; color: var(--muted); }
.stat-label a { color: var(--text); border-bottom: 1px solid rgba(143, 157, 78, 0.5); }
.stat-label a:hover { color: var(--gold); }

/* ---------- Grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
}
.card:hover { transform: translateY(-6px); border-color: rgba(143, 157, 78, 0.45); background: var(--surface-2); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(143, 157, 78, 0.4);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 22px;
  background: rgba(143, 157, 78, 0.06);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.7rem; }
.card p { font-size: 0.95rem; }

.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .media { border-radius: 0; min-height: 210px; }
.service-card .body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card .body p { flex: 1; }

/* Feature list */
.checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #d9d3c8; }
.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(143, 157, 78, 0.15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9d4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* About split image */
.media-stack { position: relative; }
.media-stack .media:first-child { min-height: 460px; }
.media-stack .media-float {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 52%;
  min-height: 220px;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.section--alt .media-stack .media-float { border-color: var(--bg-2); }
.exp-badge {
  position: absolute;
  left: -20px;
  top: 30px;
  background: var(--gold);
  color: #10130a;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 2;
}
.exp-badge strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.exp-badge span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-head);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  line-height: 1;
}
.step::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 90px;
  right: -13px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.94rem; }

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 18px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}
.portfolio-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: var(--radius-sm); box-shadow: var(--shadow); object-fit: contain; }
.lightbox figcaption { color: var(--text); font-family: var(--font-head); font-size: 1.15rem; text-align: center; }
.lightbox figcaption small { display: block; font-family: var(--font-body); color: var(--gold); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-btn:hover { background: var(--gold); color: #10130a; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 70px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-item .media { position: absolute; inset: 0; min-height: 0; border-radius: 0; transition: transform 0.6s ease; }
.portfolio-item .media::after { display: none; }
.portfolio-item:hover .media { transform: scale(1.05); }
.portfolio-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 24px 22px;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.92), transparent);
  z-index: 2;
}
.portfolio-item .caption small {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.portfolio-item .caption h3 { margin: 6px 0 0; font-size: 1.25rem; }
.portfolio-item.is-hidden { display: none; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.filter-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.25); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #10130a; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 1rem; }
.rec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 157, 78, 0.4);
  background: rgba(143, 157, 78, 0.08);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.rec::before { content: "✓"; font-weight: 700; }
.rec { white-space: nowrap; }
.text-link { color: var(--gold); border-bottom: 1px solid rgba(143, 157, 78, 0.5); }
.text-link:hover { color: var(--gold-2); }
.grid-2-eq { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 900px) { .grid-2-eq { grid-template-columns: 1fr; } }
.testimonial blockquote {
  margin: 0 0 26px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.6;
  color: #e7e1d6;
  font-style: italic;
  flex: 1;
}
.person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: grid;
  place-items: center;
  color: #10130a;
  font-weight: 700;
  font-size: 0.95rem;
}
.person strong { display: block; font-size: 0.95rem; }
.person span { font-size: 0.82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 80px 64px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(143, 157, 78, 0.28), transparent 60%),
    linear-gradient(135deg, #1c2014, #0f100d);
  border: 1px solid rgba(143, 157, 78, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--font-head);
  font-size: 1.18rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ---------- Service detail (services page) ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail.reverse .media { order: 2; }
.service-detail .media { min-height: 400px; }
.service-num { font-family: var(--font-head); color: var(--gold); font-size: 0.95rem; letter-spacing: 0.15em; margin-bottom: 10px; display: block; }

/* ---------- Values (about) ---------- */
.value { padding: 30px 0; border-top: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 14px; }
.value h3 span { color: var(--gold); font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.1em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-item .card-icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.info-item h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 600; }
.info-item p { margin: 0; color: var(--text); }
.info-item a:hover { color: var(--gold); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 6px 0; color: var(--text); }
.hours-table td:last-child { text-align: right; color: var(--muted); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #d9d3c8;
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #0f100d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9d4e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(143, 157, 78, 0.18);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #d0705f; }
.field .error { display: none; color: #e08b7b; font-size: 0.8rem; margin-top: 6px; }
.field.invalid .error { display: block; }
.form-note { font-size: 0.8rem; margin: 18px 0 0; }
.form-success {
  display: none;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(143, 157, 78, 0.12);
  border: 1px solid rgba(143, 157, 78, 0.4);
  color: var(--text);
  margin-top: 20px;
}
.form-success.show { display: block; }

.service-area {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.35) contrast(1.05);
}
@media (max-width: 900px) {
  .service-area { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .map-frame { height: 280px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #070707; border-top: 1px solid var(--line); padding: 80px 0 0; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; color: var(--muted); }
.footer-grid a { color: var(--muted); transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-about p { margin-top: 20px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.2s ease;
}
.socials a:hover { color: #10130a; background: var(--gold); border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Floating call button (mobile) */
.call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: #10130a;
  place-items: center;
  box-shadow: var(--shadow);
}
.call-fab svg { width: 24px; height: 24px; }

/* Floating WhatsApp button (all screen sizes; sits above the call button on phones) */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab .wa-tip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.wa-fab:hover .wa-tip { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .wa-fab { right: 18px; bottom: 88px; }
  .wa-fab .wa-tip { display: none; }
}
.lightbox.open ~ .wa-fab, .nav-open .wa-fab { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .process { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 60px 44px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    /* The header's backdrop-filter makes it the containing block, so size the panel explicitly */
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: rgba(8, 8, 8, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    /* Closed menu stays inside the viewport (no off-screen overflow that could widen the page on phones) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 18px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav .btn { margin-top: 24px; padding: 16px; }
  .nav-open { overflow: hidden; }

  .grid-2, .service-detail, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-detail.reverse .media { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .media-stack { margin: 0 20px 40px 20px; }
  .section { padding: 84px 0; }
  .topbar .hide-sm { display: none; }
  .call-fab { display: grid; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .process, .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .portfolio-item.tall { grid-row: span 1; }
  .portfolio-item.wide { grid-column: span 1; }
  .form-card { padding: 30px 22px; }
  .cta-band { padding: 46px 26px; }
  .hero { padding: 64px 0; min-height: auto; }
  .hero-badges { gap: 18px; flex-direction: column; margin-top: 40px; }
  .media-stack .media:first-child { min-height: 340px; }
  .media-stack .media-float { right: -10px; width: 60%; min-height: 160px; }
  .exp-badge { left: -8px; padding: 14px 18px; }
  .exp-badge strong { font-size: 1.7rem; }
  .stat { padding: 26px 20px; }
  .stat-num { font-size: 2rem; }
  .topbar-items { gap: 14px; }
  .page-hero { padding: 80px 0 64px; }
}
