/* ==========================================================================
   SV Constructions — Premium site stylesheet
   Tokens → base → layout → components → pages → responsive → motion
   ========================================================================== */

:root {
  --black: #080808;
  --charcoal: #151515;
  --charcoal-2: #1d1d1d;
  --gold: #C99A35;
  --gold-light: #E8C56D;
  --gold-deep: #9d7418;
  --white: #FFFFFF;
  --soft: #F7F7F5;
  --text: #555555;
  --line: rgba(201, 154, 53, .35);
  --line-dark: rgba(8, 8, 8, .10);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.75;
  color: var(--text); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--black); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 10px 16px; z-index: 300; font-weight: 600; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--charcoal); color: #b9b9b9; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans);
  font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--gold-light); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.lead { font-size: 1.08rem; max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--black); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: var(--radius);
  position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--black); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--gold-light); border-color: var(--black); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .55); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--black); border-color: var(--gold); }
.btn--dark { --bg: var(--black); --fg: var(--white); --bd: var(--black); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: var(--black); border-color: var(--gold); }
.btn--outline { --bg: transparent; --fg: var(--black); --bd: var(--black); }
.btn--outline::before { background: var(--black); }
.btn--outline:hover { color: var(--gold-light); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .72rem; }
.btn--wa { --bg: #1faa59; --fg: #fff; --bd: #1faa59; }
.btn--wa::before { background: var(--black); }
.btn--wa:hover { color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--black); border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: gap .3s var(--ease), color .3s; }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { gap: 16px; color: var(--gold-deep); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line-dark); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 70px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--black); position: relative; padding: 8px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold-deep); }
.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--black); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 23px; } .nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(88vh - var(--header-h)); min-height: calc(88svh - var(--header-h)); display: flex; align-items: center; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 62%; animation: heroZoom 2.4s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 8, 8, .86) 0%, rgba(8, 8, 8, .52) 45%, rgba(8, 8, 8, .08) 100%), linear-gradient(0deg, rgba(8, 8, 8, .6), transparent 40%); }
.hero-in { position: relative; z-index: 2; padding: clamp(60px, 9vw, 120px) 0; }
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: var(--gold-light); animation: rise 1s .25s var(--ease) both; }
.hero h1 { color: var(--white); font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: 1.02; margin-bottom: 26px; animation: rise 1s .4s var(--ease) both; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: #dcdcdc; max-width: 52ch; animation: rise 1s .55s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; animation: rise 1s .7s var(--ease) both; }
.hero-badge { position: absolute; z-index: 2; right: max(20px, calc((100% - var(--wrap)) / 2)); bottom: 36px; background: #fff; padding: 12px; border: 1px solid var(--gold); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); animation: rise 1s .9s var(--ease) both; }
.hero-badge img { width: 132px; height: auto; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); }
@keyframes heroZoom { from { transform: scale(1.1); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--black); padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 9vw, 110px); overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, .9), rgba(8, 8, 8, .55)); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 500; margin-bottom: 16px; }
.page-hero p { color: #d0d0d0; max-width: 56ch; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Split / storytelling ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: -1; }
.split-media.flip::before { inset: 22px 22px -22px -22px; }
.split-media { z-index: 0; }
.tag-sample { position: absolute; left: 14px; bottom: 14px; background: rgba(8, 8, 8, .78); color: var(--gold-light); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); }
.checks { display: grid; gap: 12px; margin: 26px 0 32px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1px; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); }
.checks li::after { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: translate(8px, -3px) rotate(45deg); }

/* ---------- Services ---------- */
.grid-services { display: grid; gap: 26px; }
.svc-card { background: #fff; border: 1px solid var(--line-dark); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0, 0, 0, .10); border-color: var(--gold); }
.svc-img { position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: var(--charcoal); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-num { position: absolute; top: 0; left: 0; background: var(--black); color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem; padding: 8px 16px; }
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.55rem; margin-bottom: 10px; }
.svc-body p { font-size: .95rem; flex: 1; }
.svc-body .link-arrow { align-self: flex-start; margin-top: 8px; }

/* alternating service rows (services page) */
.svc-row { display: grid; gap: 28px; align-items: center; padding: clamp(34px, 5vw, 60px) 0; border-top: 1px solid var(--line-dark); }
.svc-row:first-of-type { border-top: 0; }
.svc-row .split-media > img { aspect-ratio: 3 / 2; }
.svc-row h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.svc-row .no { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; letter-spacing: .1em; display: block; margin-bottom: 8px; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters button { background: transparent; border: 1px solid var(--line-dark); color: var(--black); padding: 0 22px; min-height: 44px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: var(--radius); transition: all .3s var(--ease); }
.filters button:hover { border-color: var(--gold); color: var(--gold-deep); }
.filters button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--gold-light); }
.section--dark .filters button { color: #ddd; border-color: rgba(255, 255, 255, .2); }
.section--dark .filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
.gallery { display: grid; grid-auto-flow: dense; gap: 14px; grid-auto-rows: 240px; }
.g-item { position: relative; overflow: hidden; background: var(--charcoal); border: 0; padding: 0; text-align: left; color: #fff; display: block; width: 100%; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); filter: brightness(.7); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(8, 8, 8, .88), transparent); transform: translateY(8px); opacity: .96; transition: transform .5s var(--ease); }
.g-item:hover .g-cap { transform: none; }
.g-cap small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.g-cap strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.15; display: block; }
.g-item[hidden] { display: none; }
.note-box { margin-top: 30px; padding: 18px 22px; border-left: 2px solid var(--gold); background: rgba(201, 154, 53, .08); font-size: .9rem; }
.section--dark .note-box { color: #cfcfcf; }

/* Lightbox / project detail */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(8, 8, 8, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lb.open { display: flex; animation: fade .3s var(--ease); }
.lb-box { width: min(1180px, 100%); max-height: 100%; overflow: auto; background: var(--charcoal); display: grid; border: 1px solid var(--line); }
.lb-img { background: #000; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.lb-img img { width: 100%; height: 100%; max-height: 78vh; object-fit: contain; }
.lb-info { padding: clamp(24px, 4vw, 44px); color: #bdbdbd; }
.lb-info h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lb-info .cat { color: var(--gold-light); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.lb-info .sample { display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); color: var(--gold-light); padding: 6px 10px; margin: 6px 0 18px; }
.lb-info dl { margin: 20px 0 26px; display: grid; gap: 10px; font-size: .9rem; }
.lb-info dt { color: var(--gold-light); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.lb-info dd { margin: 0 0 6px; color: #d4d4d4; }
.lb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(8, 8, 8, .6); color: #fff; display: grid; place-items: center; transition: background .3s, border-color .3s; }
.lb-btn:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); } .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-btn svg { width: 20px; height: 20px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Why choose ---------- */
.grid-why { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.why { background: #fff; padding: 38px 32px; transition: background .4s var(--ease); }
.why:hover { background: var(--soft); }
.why .ico { width: 46px; height: 46px; color: var(--gold); margin-bottom: 22px; }
.why h3 { font-size: 1.45rem; }
.why p { margin: 0; font-size: .95rem; }

/* ---------- Process ---------- */
.process { display: grid; gap: clamp(36px, 6vw, 80px); align-items: start; }
.process-media { position: relative; }
.process-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.process-media .img2 { position: absolute; right: -22px; bottom: -28px; width: 46%; aspect-ratio: 4 / 3; border: 6px solid var(--charcoal); }
.timeline { position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), rgba(201, 154, 53, .15)); }
.step { position: relative; padding: 0 0 34px 82px; }
.step:last-child { padding-bottom: 0; }
.step .badge { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border: 1px solid var(--gold); background: var(--charcoal); color: var(--gold-light); display: grid; place-items: center; transition: background .4s, color .4s; }
.step:hover .badge { background: var(--gold); color: var(--black); }
.step .badge svg { width: 24px; height: 24px; }
.step small { color: var(--gold-light); letter-spacing: .22em; font-size: .68rem; text-transform: uppercase; display: block; }
.step h3 { font-size: 1.5rem; margin: 2px 0 6px; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; color: #fff; text-align: center; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; isolation: isolate; background: var(--black); }
.cta-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: rgba(8, 8, 8, .72); z-index: -1; }
.cta-banner h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 500; max-width: 18ch; margin-inline: auto; }
.cta-banner p { max-width: 52ch; margin: 0 auto 32px; color: #d4d4d4; }
.cta-banner .eyebrow { color: var(--gold-light); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin: 26px 0; }
.c-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px 22px; border: 1px solid var(--line-dark); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.c-card:hover { border-color: var(--gold); transform: translateX(4px); }
.c-card .ico { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.c-card h3 { font-size: 1.15rem; margin: 0 0 4px; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.c-card p, .c-card a { margin: 0; font-size: .96rem; }
.c-card a:hover { color: var(--gold-deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.form-card { background: var(--charcoal); padding: clamp(26px, 4vw, 48px); border-top: 3px solid var(--gold); color: #cfcfcf; }
.form-card h3 { color: #fff; font-size: 1.9rem; }
.form-card p.sub { font-size: .92rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 14px 16px; font: inherit; font-size: 1rem; border-radius: var(--radius); transition: border-color .3s, background .3s; }
.field select option { color: #000; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .09); }
.field .err { display: none; color: #ff9f8f; font-size: .82rem; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff7a66; }
.field.invalid .err { display: block; }
.row2 { display: grid; gap: 0 18px; }
.form-status { margin-top: 18px; font-size: .92rem; padding: 14px 16px; border-left: 2px solid var(--gold); background: rgba(201, 154, 53, .12); color: #f1e3bd; display: none; }
.form-status.show { display: block; }
.form-status.error { border-color: #ff7a66; background: rgba(255, 122, 102, .12); color: #ffd0c7; }
.form-note { font-size: .78rem; color: #8f8f8f; margin: 14px 0 0; }
.map-wrap { margin-top: clamp(40px, 6vw, 70px); border: 1px solid var(--line-dark); position: relative; background: var(--soft); }
.map-wrap iframe { width: 100%; height: clamp(300px, 42vw, 440px); border: 0; display: block; filter: grayscale(.25) contrast(1.02); }
.map-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 20px; background: #fff; font-size: .92rem; }

.contact-visual { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--black); }
.contact-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 8, .86), rgba(8, 8, 8, .78)); }
.contact-visual .c-card { background: rgba(8, 8, 8, .55); border-color: rgba(255, 255, 255, .16); color: #d6d6d6; backdrop-filter: blur(6px); }
.contact-visual .c-card h3 { color: #fff; }
.contact-visual .c-card:hover { border-color: var(--gold); }
.contact-visual h2, .contact-visual .lead { color: #fff; }
.contact-visual .lead { color: #d0d0d0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #a9a9a9; padding: clamp(56px, 8vw, 90px) 0 0; border-top: 3px solid var(--gold); font-size: .94rem; }
.foot-grid { display: grid; gap: 38px; padding-bottom: 54px; }
.foot-logo { background: #fff; padding: 12px; width: 152px; display: block; margin-bottom: 20px; }
.foot-logo img { width: 100%; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.site-footer h4::after { content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-top: 12px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--gold-light); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 90px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Floating actions ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 150; }
.wa-fab { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #1faa59; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); transition: transform .3s var(--ease), background .3s; }
.wa-fab:hover { transform: scale(1.07); background: #178f4a; }
.wa-fab svg { width: 28px; height: 28px; }
.wa-menu { position: absolute; right: 0; bottom: 68px; width: 264px; background: var(--charcoal); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); padding: 14px; display: none; }
.wa-menu.open { display: block; animation: rise .3s var(--ease); }
.wa-menu p { margin: 0 0 10px; font-size: .78rem; color: var(--gold-light); letter-spacing: .12em; text-transform: uppercase; }
.wa-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: #fff; border: 1px solid rgba(255, 255, 255, .14); margin-top: 8px; font-size: .95rem; transition: border-color .3s, background .3s; }
.wa-menu a svg { width: 18px; height: 18px; flex-shrink: 0; }
.wa-menu a:hover { border-color: #1faa59; background: rgba(31, 170, 89, .12); }
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 140; width: 46px; height: 46px; background: var(--black); border: 1px solid var(--gold); color: var(--gold-light); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), background .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); color: var(--black); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.in { clip-path: inset(0); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; background: var(--charcoal); color: #bbb; }
.nf h1 { color: var(--gold-light); font-size: clamp(5rem, 18vw, 11rem); margin: 0; line-height: 1; }
.nf h2 { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .row2 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item.wide { grid-column: span 2; }
  .g-item.tall { grid-row: span 2; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-why { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.rev .split-media { order: 2; }
  .svc-row { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
  .svc-row.rev .split-media { order: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; }
  .grid-services { grid-template-columns: repeat(4, 1fr); }
  .grid-services.two-up { grid-template-columns: repeat(2, 1fr); }
  .grid-why { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: .85fr 1.15fr; }
  .process-media { position: sticky; top: calc(var(--header-h) + 30px); }
  .contact-grid { grid-template-columns: 1fr 1.05fr; }
  .foot-grid { grid-template-columns: 1.3fr .8fr 1fr 1.3fr; }
  .lb-box { grid-template-columns: 1.5fr 1fr; }
  .lb-img img { max-height: 86vh; }
}
@media (max-width: 959px) {
  :root { --header-h: 74px; }
  .brand img { height: 62px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--black); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px 24px 100px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .nav.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav a:not(.btn) { color: #fff; font-family: var(--serif); font-size: 1.9rem; letter-spacing: .02em; text-transform: none; font-weight: 500; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold-light); }
  .nav .btn { margin-top: 26px; --bg: var(--gold); --fg: var(--black); --bd: var(--gold); min-height: 56px; }
  .nav .btn::before { background: #fff; }
  .nav .btn:hover { color: var(--black); border-color: #fff; }
  .nav-extra { display: block; margin-top: 22px; color: #9a9a9a; font-size: .9rem; line-height: 2; }
  .nav .nav-extra a { font-family: var(--sans); font-size: 1.05rem; letter-spacing: .02em; font-weight: 500; padding: 0; border: 0; display: inline-block; color: #fff; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: calc(92svh - var(--header-h)); align-items: flex-end; }
  .hero-media { bottom: auto; height: 400px; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .hero-media img { object-position: 100% 50%; }
  .hero-in { padding-top: 330px; padding-bottom: 44px; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .16em; }
  .hero .eyebrow::before { display: none; }
  .hero::before { background: linear-gradient(0deg, #080808 0%, #080808 34%, rgba(8, 8, 8, .7) 42%, rgba(8, 8, 8, .2) 58%, rgba(8, 8, 8, .25) 100%); display: none; }
  .hero-badge, .hero-scroll { display: none; }
  .hero .btn { flex: 1 1 100%; }
  .split-media::before { inset: 14px -10px -14px 14px; }
  .split-media.flip::before { inset: 14px 14px -14px -10px; }
  .process-media .img2 { right: -8px; }
  .lb-img img { max-height: 46vh; }
  .lb-prev { top: 24%; } .lb-next { top: 24%; }
}
@media (min-width: 960px) { .nav-extra { display: none; } }
@media (max-width: 639px) {
  .wrap { width: calc(100% - 32px); }
  .gallery { grid-auto-rows: 230px; }
  .step { padding-left: 70px; }
  .step .badge { width: 48px; height: 48px; }
  .timeline::before { left: 23px; }
  .why { padding: 30px 24px; }
  .btn { width: 100%; }
  .cta-actions .btn, .contact-actions .btn { width: 100%; }
  .map-bar .btn { width: 100%; }
  .lb-actions .btn { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
}
