/* 01-tokens.css */
/* ==========================================================================
   Leiva S Construction — design tokens
   Brand colors, type, spacing. Change colors here to restyle the whole site.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Brand palette */
  --ink: #111315;          /* primary charcoal */
  --ink-2: #1c2024;        /* secondary dark gray */
  --ink-3: #2a2f35;
  --ink-line: rgba(255, 255, 255, 0.12);
  --gold: #d4a64a;         /* construction gold — accents on dark */
  --gold-hover: #e2b960;
  --gold-deep: #8a6420;    /* gold for text and icons on light backgrounds (AA contrast) */
  --gold-tint: #f4ebd8;
  --paper: #f5f3ef;        /* warm off-white */
  --paper-2: #ece8e1;
  --white: #ffffff;
  --muted: #a5a5a5;        /* secondary text on dark */

  /* Text and lines */
  --text: #23272c;
  --text-2: #565c63;
  --line: #e1dcd3;
  --line-strong: #c9c1b4;
  --on-dark: #f2f2f0;
  --on-dark-2: #b6babf;
  --error: #a3261b;
  --error-bg: #fbeeec;
  --success: #2f6b3c;
  --focus: var(--gold-deep);

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4.2vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 3px;
  --header-h: 80px;
  --header-h-compact: 66px;
  --bar-h: 64px;

  /* Depth and motion */
  --shadow-sm: 0 1px 2px rgba(17, 19, 21, 0.06);
  --shadow: 0 1px 2px rgba(17, 19, 21, 0.05), 0 14px 34px -14px rgba(17, 19, 21, 0.2);
  --shadow-lg: 0 2px 6px rgba(17, 19, 21, 0.06), 0 34px 70px -28px rgba(17, 19, 21, 0.38);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 02-base.css */
/* ==========================================================================
   Base: reset, typography, links, focus
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  color-scheme: light;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
h4, .h4 { font-size: 1.2rem; }
.h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }
.h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.3; color: var(--ink); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.45rem + 4.7vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -0.032em;
}
.page-title {
  font-size: clamp(2.3rem, 1.55rem + 3.1vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.section-title {
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.3rem);
  line-height: 1.07;
  letter-spacing: -0.024em;
  margin-bottom: 0;
}
.lead {
  font-size: clamp(1.09rem, 1rem + 0.35vw, 1.27rem);
  line-height: 1.6;
  color: var(--text-2);
}

/* Focus: always visible for keyboard users */
:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
}
.section--dark, .section--dark2, .page-hero, .hero, .site-header, .site-footer, .cta-band, .mobile-menu, .mobile-cta-bar, .lightbox, .aside-card--dark {
  --focus: var(--gold);
}

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

.icon { flex: none; }

/* 03-layout.css */
/* ==========================================================================
   Layout: containers, header, navigation, mobile menu, footer, mobile bar
   ========================================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark2 { background: var(--ink-2); color: var(--on-dark); }
.section--dark :is(h2, h3, .section-title), .section--dark2 :is(h2, h3, .section-title) { color: #fff; }
.section--dark .lead, .section--dark2 .lead { color: var(--on-dark-2); }
.section--dark a:not(.btn), .section--dark2 a:not(.btn) { color: #fff; }

/* ---------- Preview + language banners ---------- */
.preview-banner {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px var(--gutter);
  background: #2d2a22; color: #f1e3c2;
  font-size: 0.8125rem; line-height: 1.4; text-align: center;
}
.preview-banner .icon { color: var(--gold); }
.lang-banner { background: var(--gold-tint); color: var(--ink); border-bottom: 1px solid #e5d3ad; }
.lang-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-block: 10px; }
.lang-banner p { margin: 0; font-weight: 500; }
.lang-banner-actions { display: flex; gap: 10px; }
.lang-banner .btn--ghost-light { --btn-fg: var(--ink); --btn-bd: var(--line-strong); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(17, 19, 21, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(17, 19, 21, 0.9); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.55); }
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-compact); }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .brand img { height: 36px; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; display: block;
  padding: 10px 11px;
  color: var(--on-dark); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.has-dropdown .nav-link { padding-right: 2px; }
.has-dropdown .nav-link::after { right: 2px; }
.nav-sub-toggle {
  display: grid; place-items: center;
  width: 30px; height: 34px; padding: 0;
  color: var(--on-dark-2); background: none; border: 0; border-radius: var(--radius);
}
.nav-sub-toggle:hover, .nav-sub-toggle[aria-expanded="true"] { color: var(--gold); }
.nav-chevron { transition: transform 0.25s var(--ease); }
.nav-sub-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  width: min(620px, 86vw);
  padding: 14px;
  background: var(--ink-2); color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 70;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-dropdown.is-open .dropdown,
.no-js .has-dropdown:hover .dropdown,
.no-js .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; color: var(--on-dark); text-decoration: none;
  border-radius: var(--radius); font-weight: 500; font-size: 0.95rem; line-height: 1.3;
}
.dd-link:hover, .dd-link[aria-current="page"] { background: rgba(255, 255, 255, 0.06); color: #fff; }
.dd-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; color: var(--gold); border: 1px solid rgba(212, 166, 74, 0.35); }
.dd-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 12px 2px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.9rem; }
.dd-all { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.dd-all:hover { color: var(--gold); }
.dd-cta { color: var(--gold); font-weight: 600; text-decoration: none; }
.dd-cta:hover { color: var(--gold-hover); text-decoration: underline; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 14px; }
.lang-toggle {
  display: inline-flex; align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; overflow: hidden;
}
.lang-option { display: grid; place-items: center; min-width: 36px; padding: 6px 8px; color: var(--on-dark-2); text-decoration: none; }
.lang-option.is-current { background: rgba(255, 255, 255, 0.12); color: #fff; }
a.lang-option:hover { color: var(--gold); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.header-phone:hover { color: var(--gold); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 10px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  background: none; border: 0;
}
.menu-toggle-box { position: relative; width: 24px; height: 16px; }
.menu-toggle-box span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s, top 0.3s var(--ease); }
.menu-toggle-box span:nth-child(1) { top: 0; }
.menu-toggle-box span:nth-child(2) { top: 7px; }
.menu-toggle-box span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: var(--menu-top, var(--header-h)) 0 0 0; z-index: 55;
  background: var(--ink); color: var(--on-dark);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mm-panel { max-width: 640px; margin: 0 auto; padding: 12px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.mm-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mm-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; color: #fff; text-decoration: none; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em;
  background: none; border: 0;
}
.mm-link[aria-current="page"] { color: var(--gold); }
.mm-sub-toggle .icon { color: var(--gold); transition: transform 0.25s var(--ease); }
.mm-sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mm-sub ul { padding: 0 0 14px 2px; display: grid; gap: 2px; }
.mm-sub a { display: block; padding: 9px 0; color: var(--on-dark-2); text-decoration: none; font-size: 1.05rem; }
.mm-sub a:hover, .mm-sub a:focus-visible { color: #fff; }
.mm-sub .mm-sub-all { color: var(--gold); font-weight: 600; }
.mm-footer { display: grid; gap: 14px; margin-top: 28px; }
.mm-contact { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 500; padding: 6px 0; overflow-wrap: anywhere; }
.mm-contact .icon { color: var(--gold); }
.mm-lang { justify-self: start; margin-top: 6px; }
html.menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #0c0d0f; color: var(--on-dark-2); padding: clamp(56px, 7vw, 96px) 0 0; font-size: 0.95rem; }
.site-footer a:not(.btn) { color: var(--on-dark); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 22px; }
.footer-desc { max-width: 46ch; margin-bottom: 20px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-badges li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.footer-badges .icon { color: var(--gold); }
.footer-licenses { margin: 16px 0 0; font-size: 0.875rem; }
.footer-cta { flex: none; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 44px 0; }
.footer-title { font-family: var(--font); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-title--sm { margin-top: 26px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li > a { display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--gold); margin-top: 3px; }
.footer-social { display: flex !important; flex-wrap: wrap; gap: 8px 18px !important; }
.footer-social a { display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.875rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-lang { margin-left: auto; }

/* ---------- Mobile contact bar ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
  display: none; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 19, 21, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--ease);
}
.mcb-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 10px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 0.975rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius);
}
.mcb-btn .icon { color: var(--gold); }
.mcb-btn--primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.mcb-btn--primary .icon { color: var(--ink); }
.mcb-btn:hover { color: #fff; }
.mcb-btn--primary:hover { color: var(--ink); background: var(--gold-hover); }
html.menu-open .mobile-cta-bar, html.is-typing .mobile-cta-bar { transform: translateY(110%); }
.mobile-cta-bar--three { grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; }
.mobile-cta-bar--three .mcb-btn { padding: 0 14px; }
.mobile-cta-bar--three .mcb-btn--compact { flex-direction: column; gap: 3px; min-width: 62px; padding: 6px 10px; font-size: 0.75rem; line-height: 1.1; }
.mcb-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Responsive header ---------- */
@media (max-width: 1379px) {
  .header-phone-number { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-phone { width: 40px; height: 40px; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); }
}
@media (max-width: 1199px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 1023px) {
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .footer-top { flex-direction: column; }
}
@media (max-width: 719px) {
  :root { --header-h: 64px; --header-h-compact: 58px; }
  .header-actions .header-cta, .header-actions .header-phone { display: none; }
  .brand img { height: 34px; }
  .site-header.is-scrolled .brand img { height: 31px; }
  .header-actions { gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-lang { margin-left: 0; }
}
@media (max-width: 379px) {
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand img { height: 30px; }
}

/* 04-components.css */
/* ==========================================================================
   Components: buttons, kicker, section heads, cards, compare slider,
   gallery, lightbox, FAQ, callouts, badges
   ========================================================================== */

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 0.975rem/1.2 var(--font); letter-spacing: 0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { color: var(--btn-fg); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrowRight { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--primary:hover { --btn-bg: var(--gold-hover); --btn-bd: var(--gold-hover); box-shadow: 0 12px 26px -14px rgba(212, 166, 74, 0.9); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }
.btn--outline { --btn-fg: var(--ink); --btn-bd: var(--line-strong); background: transparent; }
.btn--outline:hover { --btn-bd: var(--ink); }
.btn--ghost-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.34); }
.btn--ghost-light:hover { --btn-bd: #fff; background: rgba(255, 255, 255, 0.05); }
.btn--text { --btn-fg: var(--ink); min-height: 44px; padding: 8px 0; border: 0; gap: 8px; }
.btn--text:hover { --btn-fg: var(--gold-deep); }
.section--dark .btn--text, .section--dark2 .btn--text, .page-hero .btn--text { --btn-fg: #fff; }
.section--dark .btn--text:hover, .section--dark2 .btn--text:hover, .page-hero .btn--text:hover { --btn-fg: var(--gold); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 0.9rem; }
.btn--xs { min-height: 40px; padding: 7px 14px; font-size: 0.875rem; }
.btn--lg { min-height: 56px; padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; }

/* ---------- Kicker + section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--gold-deep);
}
.kicker-mark { width: 9px; height: 9px; flex: none; background: var(--gold); }
.section--dark .kicker, .section--dark2 .kicker, .page-hero .kicker { color: var(--gold); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.section-head .lead { margin: 18px 0 0; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; max-width: none; }
.section-head--split .lead { margin: 0; }
.section-more { margin: clamp(32px, 4vw, 48px) 0 0; display: flex; justify-content: center; }

/* ---------- Check lists ---------- */
.check-list { display: grid; gap: 12px; margin: 24px 0 18px; }
.check-list li, .tick-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list .icon, .tick-list .icon { color: var(--gold-deep); margin-top: 3px; }
.tick-list { display: grid; gap: 11px; margin: 0 0 26px; }
.tick-list--2 { grid-template-columns: 1fr 1fr; gap: 9px 22px; font-size: 0.95rem; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.045); }
.service-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 22px 18px; }
.service-card-icon {
  position: absolute; top: -26px; left: 22px;
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--ink); color: var(--gold);
}
.service-card-title { margin: 22px 0 10px; font-size: 1.2rem; line-height: 1.25; }
.service-card-title a { color: var(--ink); text-decoration: none; }
.service-card-title a:hover { color: var(--gold-deep); }
.service-card-text { flex: 1; margin: 0 0 18px; color: var(--text-2); font-size: 0.96rem; line-height: 1.6; }
.service-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Proof bar ---------- */
.proof { position: relative; z-index: 3; }
.proof--overlap { margin-top: calc(clamp(64px, 7vw, 96px) * -1); }
.proof-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; background: #fff; box-shadow: var(--shadow-lg); }
.proof-item { display: flex; align-items: center; gap: 16px; padding: 28px clamp(18px, 2vw, 30px); border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-item--lead { background: var(--ink-2); color: var(--on-dark); gap: 22px; }
.proof-number { flex: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 2rem + 2.2vw, 4.1rem); line-height: 0.86; letter-spacing: -0.045em; color: var(--gold); white-space: nowrap; padding-right: 4px; }
.proof-plus { font-size: 0.8em; margin-left: 1px; }
.proof-text { display: grid; gap: 4px; line-height: 1.35; }
.proof-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.proof-text span { font-size: 0.875rem; color: var(--text-2); }
.proof-item--lead .proof-text strong { color: #fff; font-size: 1.15rem; }
.proof-item--lead .proof-text span { color: var(--on-dark-2); }
.proof-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; background: var(--gold-tint); color: var(--gold-deep); }
.proof--strip { background: #fff; border-bottom: 1px solid var(--line); }
.proof--strip .proof-grid { box-shadow: none; }
.proof--strip .proof-item { padding-block: 22px; }
.proof--strip .proof-number { font-size: clamp(2.4rem, 2rem + 1.4vw, 3.2rem); }

/* ---------- Process ---------- */
.process-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.process-steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: var(--line-strong); }
.process-step { position: relative; }
.step-index {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px;
  background: var(--ink); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--paper);
}
.step-title { font-size: 1.2rem; margin-bottom: 8px; }
.step-body p { margin: 0; color: var(--text-2); }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.project-card.is-hiding { opacity: 0; transform: scale(0.97); }
.project-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); transition: box-shadow 0.35s var(--ease), border-color 0.35s, transform 0.35s var(--ease); }
.project-card-link:hover { color: inherit; box-shadow: var(--shadow); border-color: var(--line-strong); transform: translateY(-3px); }
.project-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card-link:hover .project-card-media img { transform: scale(1.04); }
.project-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.project-card-meta { font-size: 0.8125rem; color: var(--text-2); }
.project-card-title { font-size: 1.15rem; margin: 6px 0 14px; }
.project-card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.925rem; color: var(--gold-deep); }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 9px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(17, 19, 21, 0.84); }
.badge--demo { background: var(--gold); color: var(--ink); }
.badge--ba { left: auto; right: 12px; }

.demo-note, .area-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 28px; padding: 14px 16px;
  font-size: 0.9rem; color: #4d3b12; background: var(--gold-tint); border: 1px solid #e6d3a9;
}
.demo-note .icon, .area-note .icon { color: var(--gold-deep); margin-top: 2px; }
.area-note { margin: 36px 0 0; color: var(--ink); background: #fff; border-color: var(--line); }

/* ---------- Before / after comparison ---------- */
.compare { margin: 0; }
.compare-stage {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 3);
  background: var(--paper-2);
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y; cursor: ew-resize;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 48px; margin-left: -24px; z-index: 3; cursor: ew-resize; outline: none; touch-action: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 19, 21, 0.2), 0 0 12px rgba(0, 0, 0, 0.25); }
.compare-knob {
  position: absolute; top: 50%; left: 50%;
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; transform: translate(-50%, -50%);
  color: var(--ink); background: #fff; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.compare-handle:hover .compare-knob, .compare.is-dragging .compare-knob { transform: translate(-50%, -50%) scale(1.06); }
.compare-handle:focus-visible .compare-knob { outline: 3px solid var(--gold); outline-offset: 3px; }
.compare-label { position: absolute; top: 14px; z-index: 2; padding: 6px 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(17, 19, 21, 0.8); pointer-events: none; }
.compare-label--before { left: 14px; }
.compare-label--after { right: 14px; }
.compare-expand { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; background: rgba(17, 19, 21, 0.8); border: 0; border-radius: var(--radius); }
.compare-expand:hover { background: var(--ink); color: var(--gold); }
.compare-demo { top: auto; bottom: 14px; left: 14px; }
.compare-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; margin-top: 12px; font-size: 0.875rem; color: var(--text-2); }
.compare-hint { color: var(--text-2); opacity: 0.85; }
.compare.is-expanded { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; justify-content: center; padding: 24px; background: rgba(10, 11, 12, 0.96); }
.compare.is-expanded .compare-stage { width: min(100%, calc((100vh - 120px) * var(--ratio-num, 1.3333))); max-height: calc(100vh - 110px); margin: 0 auto; }
.compare.is-expanded .compare-caption { width: min(100%, 1100px); margin: 14px auto 0; color: #ddd; }
.compare.is-expanded .compare-hint { color: #bbb; }
html.compare-open { overflow: hidden; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: rgba(17, 19, 21, 0.75); opacity: 0; transition: opacity 0.25s; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
.photo-block { margin-bottom: 36px; }
.photo-block-title { font-size: 1.05rem; margin-bottom: 14px; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 11, 12, 0.97); color: #fff; }
.lightbox::backdrop { background: rgba(10, 11, 12, 0.9); }
.lightbox-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 72px 56px; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; background: var(--paper-2); }
.lightbox-caption { margin-top: 14px; text-align: center; font-size: 0.925rem; color: #ddd; max-width: 70ch; }
.lightbox-count { position: absolute; top: 22px; left: 24px; margin: 0; font-size: 0.875rem; color: #bbb; }
.lightbox-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius); }
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.16); color: var(--gold); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox[data-single] .lightbox-prev, .lightbox[data-single] .lightbox-next { display: none; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.4; color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.faq-q:hover { color: var(--gold-deep); }
.faq-toggle { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: background-color 0.2s, border-color 0.2s; }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 64px 24px 0; color: var(--text-2); overflow: hidden; }
.faq-a p { margin: 0; }
.faq-a a { color: var(--ink); font-weight: 500; }

/* ---------- Callouts + misc ---------- */
.callout { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0 0; padding: 22px 24px; background: #fff; border: 1px solid var(--line); }
.section--white .callout { background: var(--paper); }
.callout > .icon { color: var(--gold-deep); margin-top: 2px; }
.callout-title { font-size: 1.1rem; margin: 0 0 6px; }
.callout p { margin: 0; color: var(--text-2); }
.callout--accent { border-left: 3px solid var(--gold); }
.callout + .callout { margin-top: 16px; }
.callout--warn { background: #fff8e8; border-color: #ecd49b; }
.placeholder-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 260px; padding: 28px; text-align: center; color: var(--text-2); border: 1.5px dashed var(--line-strong); background: var(--paper); }
.placeholder-box p { margin: 0; max-width: 40ch; font-size: 0.925rem; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px; text-align: center; background: #fff; border: 1px solid var(--line); }
.empty-state .icon { color: var(--gold-deep); }
.empty-state h2 { font-size: 1.6rem; margin: 0; }
.empty-state p { color: var(--text-2); margin: 0 0 8px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 10px; font-size: 0.8125rem; font-weight: 600; color: var(--text-2); background: transparent; border: 1px solid var(--line); border-radius: var(--radius); }
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.copy-btn.is-copied { color: var(--success); border-color: #b7d3bd; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { display: inline-block; padding: 7px 12px; font-size: 0.875rem; font-weight: 500; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.chip-links a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.review-stars { display: flex; gap: 3px; }
.review-stars .is-on { color: var(--gold); fill: var(--gold); }
.review-stars .is-off { color: var(--line-strong); }
.review-text { margin: 0; font-size: 1.02rem; color: var(--text); }
.review-text p { margin: 0; }
.review-meta { display: grid; gap: 2px; font-size: 0.9rem; color: var(--text-2); margin-top: auto; }
.review-meta strong { color: var(--ink); }
.review-meta a { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.reviews-more { display: flex; justify-content: center; margin: 32px 0 0; }

/* ---------- Long Island map ---------- */
.li-map { width: 100%; height: auto; overflow: visible; }
.map-grid line { stroke: rgba(255, 255, 255, 0.03); stroke-width: 1; }
.map-nyc { fill: rgba(255, 255, 255, 0.035); stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; stroke-dasharray: 3 4; }
.map-barrier { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.8; }
.map-county { stroke: var(--ink-2); stroke-width: 1.2; stroke-linejoin: round; }
.map-nassau { fill: #e0b75f; }
.map-suffolk { fill: var(--gold); }
.map-border { fill: none; stroke: var(--ink-2); stroke-width: 2.4; stroke-dasharray: 6 4; }
.map-label { font-family: var(--font); font-size: 24px; text-anchor: middle; }
.map-label--county { fill: var(--ink); font-weight: 700; font-size: 27px; letter-spacing: 0.01em; }
.map-label--water { fill: rgba(255, 255, 255, 0.45); font-style: italic; font-size: 22px; letter-spacing: 0.04em; }
.map-label--muted { fill: rgba(255, 255, 255, 0.5); font-size: 20px; text-anchor: start; }
.map-label--base { fill: #fff; font-weight: 600; font-size: 22px; paint-order: stroke; stroke: var(--ink-2); stroke-width: 6px; stroke-linejoin: round; }
@media (max-width: 719px) {
  .map-label--county { font-size: 48px; }
  .map-label--water, .map-label--muted { display: none; }
  .map-label--base { font-size: 42px; stroke-width: 10px; }
}
.map-base-ring { fill: none; stroke: #fff; stroke-width: 2; }
.map-base-dot { fill: var(--ink); stroke: #fff; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .map-base-ring { animation: map-pulse 2.6s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
}
@keyframes map-pulse { 0% { transform: scale(0.6); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal-pending { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* 05-sections.css */
/* ==========================================================================
   Page sections: heroes, home sections, service/project/area/contact pages
   ========================================================================== */

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(48px, 7vw, 104px) 0 calc(clamp(64px, 7vw, 96px) + clamp(48px, 6vw, 88px));
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 72% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 72% 40%, #000 20%, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 880px); align-items: center; }
.hero--drawing { min-height: min(820px, calc(100vh - 40px)); display: flex; align-items: center; }
.hero--drawing > .container { width: 100%; }
.hero-visual { position: absolute; z-index: 0; right: -2vw; top: 50%; width: min(64vw, 1040px); transform: translateY(-47%); pointer-events: none; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 0%, rgba(17, 19, 21, 0.86) 26%, rgba(17, 19, 21, 0.35) 44%, rgba(17, 19, 21, 0) 58%); }
.hero-eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin: 0 0 28px; padding: 8px 14px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(212, 166, 74, 0.4);
}
.hero-eyebrow-sep { width: 1px; height: 13px; background: rgba(212, 166, 74, 0.55); }
.hero .display { color: #fff; margin: 0 0 26px; font-size: clamp(2.5rem, 1rem + 4.4vw, 4.5rem); line-height: 1.02; }
.hero-text { max-width: 32em; margin: 0 0 36px; font-size: clamp(1.06rem, 1rem + 0.35vw, 1.24rem); line-height: 1.62; color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-phone { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; color: #fff; text-decoration: none; }
.hero-phone small { display: block; font-size: 0.8rem; color: var(--on-dark-2); letter-spacing: 0.02em; }
.hero-phone strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.hero-phone-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--gold); border: 1px solid rgba(212, 166, 74, 0.45); border-radius: 50%; transition: background-color 0.2s, color 0.2s; }
.hero-phone:hover { color: #fff; }
.hero-phone:hover .hero-phone-icon { background: var(--gold); color: var(--ink); }
.hero-phone--inline { margin-top: 0; }
.hero-figure { margin: 0; }
.hero-drawing { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-drawing { animation: hero-in 1.2s var(--ease) both; }
  .hero-copy > * { animation: hero-up 0.9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes hero-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero with a real photograph (set content/site.json → hero.image) */
.hero--photo { min-height: min(86vh, 860px); display: flex; align-items: center; }
.hero--photo .hero-inner { grid-template-columns: minmax(0, 720px); width: 100%; }
.hero-photo-wrap { position: absolute; inset: 0; }
.hero-photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 19, 21, 0.9) 0%, rgba(17, 19, 21, 0.72) 42%, rgba(17, 19, 21, 0.28) 100%); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero-grid-lines { z-index: 1; opacity: 0.5; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(36px, 5.5vw, 80px) 0 clamp(56px, 7vw, 104px); }
.page-hero .hero-grid-lines { -webkit-mask-image: radial-gradient(ellipse 70% 100% at 85% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 100% at 85% 30%, #000 10%, transparent 75%); }
.page-hero-inner { position: relative; display: grid; gap: 40px; }
.page-hero--media .page-hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.page-hero .page-title { color: #fff; margin: 0 0 20px; max-width: 20ch; }
.page-lead { max-width: 42em; margin: 0; font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem); line-height: 1.62; color: var(--on-dark-2); }
.page-lead a { color: #fff; }
.page-hero .hero-actions { margin-top: 32px; align-items: center; gap: 18px 26px; }
.page-hero--compact { padding-bottom: clamp(44px, 5vw, 72px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; font-size: 0.875rem; color: var(--on-dark-2); }
.breadcrumbs li { display: flex; gap: 6px; align-items: center; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.45; }
.breadcrumbs a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }
.service-figure { margin: 0; }
.service-figure img { width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, 0.08); }
.service-figure figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--on-dark-2); }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; color: var(--on-dark); }
.project-meta li { display: flex; align-items: center; gap: 8px; }
.project-meta .icon { color: var(--gold); }
.project-meta .is-demo { color: var(--gold); }

/* ---------- Home: intro ---------- */
.intro { padding-top: calc(var(--section-y) * 0.9); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
.intro-main .section-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }
.intro-aside .lead { margin-top: 6px; color: var(--text); }

/* ---------- Home: why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h-compact) + 36px); }
.why-intro .lead { margin: 20px 0 0; }
.why-stat { display: flex; align-items: center; gap: 22px; margin: 34px 0; padding: 26px 0; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.why-num { flex: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.2rem, 3rem + 4.2vw, 6.8rem); line-height: 0.82; letter-spacing: -0.055em; color: var(--gold); white-space: nowrap; }
.why-num span { font-size: 0.78em; }
.why-stat p { margin: 0; color: var(--on-dark); font-size: 1.05rem; line-height: 1.5; max-width: 22ch; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.why-item { padding: 30px 0 30px; border-top: 1px solid var(--ink-line); }
.why-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; color: var(--gold); border: 1px solid rgba(212, 166, 74, 0.4); }
.why-item h3 { font-size: 1.16rem; margin: 0 0 8px; }
.why-item p { margin: 0; color: var(--on-dark-2); font-size: 0.97rem; }

/* ---------- Home: projects teaser ---------- */
.projects-teaser-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.projects-teaser-list { display: grid; gap: 16px; }
.projects-teaser-list .project-card-link { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.projects-teaser-list .project-card-media { aspect-ratio: auto; height: 100%; min-height: 112px; }
.projects-teaser-list .project-card-body { padding: 14px 18px; }
.projects-teaser-list .project-card-title { font-size: 1.02rem; margin: 4px 0 8px; }
.projects-teaser-list .badge { top: 8px; left: 8px; font-size: 0.65rem; }
.projects-teaser-list .badge--ba { display: none; }

/* ---------- Areas teaser + map band ---------- */
.areas-teaser-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.areas-teaser-copy .lead { margin: 20px 0 24px; }
.county-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.county-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-weight: 600; font-size: 0.95rem; color: #fff; border: 1px solid rgba(212, 166, 74, 0.45); }
.county-chips .icon { color: var(--gold); }
.areas-cta-text { color: var(--on-dark); font-weight: 500; margin-bottom: 24px; }
.map-figure { margin: 0; }
.map-figure figcaption { margin-top: 16px; text-align: center; font-size: 0.875rem; color: var(--on-dark-2); }
.li-map--large { max-width: 1120px; margin: 0 auto; }

/* ---------- FAQ teaser ---------- */
.faq-teaser-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-teaser-head { position: sticky; top: calc(var(--header-h-compact) + 36px); }
.faq-teaser-head .section-title { margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(64px, 8vw, 104px); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.cta-mark { position: absolute; right: -150px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); background: url("../brand/mark-mono-white.svg") center / contain no-repeat; opacity: 0.03; pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.cta-title { margin: 0 0 14px; font-size: clamp(2rem, 1.35rem + 2.4vw, 3.2rem); line-height: 1.07; letter-spacing: -0.024em; color: #fff; }
.cta-copy p { margin: 0; max-width: 40em; color: var(--on-dark-2); font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.cta-phone .icon { color: var(--gold); }
.cta-phone small { display: block; font-size: 0.8rem; color: var(--on-dark-2); }
.cta-text { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.cta-text .icon { color: var(--gold); }
.cta-text:hover { color: var(--gold); }
.cta-lang { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--on-dark-2); font-weight: 500; }
.cta-lang .icon { color: var(--gold); flex: none; }
.cta-phone span { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }
.cta-phone:hover { color: var(--gold); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.about-copy .lead { color: var(--ink); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.45; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
.about-copy .hero-actions { margin-top: 30px; }
.about-facts { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h-compact) + 28px); }
.exp-block { display: flex; align-items: center; gap: 22px; padding: 30px; background: var(--ink); color: #fff; }
.exp-num { flex: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.2rem, 3.4rem + 3vw, 6rem); line-height: 0.82; letter-spacing: -0.055em; color: var(--gold); }
.exp-num span { font-size: 0.78em; }
.exp-block p { margin: 0; font-weight: 500; line-height: 1.45; }
.fact-card { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.fact-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; color: var(--gold-deep); background: var(--gold-tint); }
.fact-title { font-size: 1.15rem; margin: 0 0 6px; }
.fact-card p { margin: 0; color: var(--text-2); font-size: 0.96rem; }
.fact-licenses { margin-top: 10px !important; font-size: 0.875rem !important; }
.principles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.principle { padding-top: 26px; border-top: 1px solid var(--ink-line); }
.principle-mark { display: block; width: 10px; height: 10px; margin-bottom: 18px; background: var(--gold); }
.principle h3 { font-size: 1.15rem; margin-bottom: 8px; }
.principle p { margin: 0; color: var(--on-dark-2); font-size: 0.97rem; }
.team-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.team-copy .lead { margin: 20px 0 28px; }
.owner-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); }
.owner-card div { display: grid; gap: 2px; line-height: 1.35; }
.owner-card strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.owner-card span { font-size: 0.9rem; color: var(--text-2); }
.owner-card a { font-weight: 600; margin-top: 4px; }
.owner-mark img { width: 44px; height: 44px; }
.team-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.team-photo { margin: 0; }
.team-photo--owner { grid-column: 1 / -1; }
.team-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-photo figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--text-2); }
.service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-links a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color 0.2s, transform 0.25s var(--ease); }
.service-links a .icon { color: var(--gold-deep); }
.service-links a span { flex: 1; }
.service-links a:hover { border-color: var(--ink); transform: translateX(3px); color: var(--ink); }
.sl-arrow { color: var(--text-2) !important; }

/* ---------- Services index ---------- */
.service-rows { display: grid; gap: clamp(28px, 4vw, 48px); }
.service-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line); }
.service-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.service-row--flip .service-row-media { order: 2; }
.service-row-media { display: block; background: var(--paper-2); overflow: hidden; min-height: 100%; }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.03); }
.service-row-body { padding: clamp(26px, 3.5vw, 44px); }
.service-row-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; color: var(--gold); background: var(--ink); }
.service-row-title { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.service-row-title a { color: var(--ink); text-decoration: none; }
.service-row-title a:hover { color: var(--gold-deep); }
.service-row-body > p { color: var(--text-2); }
.service-row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px clamp(36px, 5vw, 80px); align-items: start; }
.prose p { font-size: 1.07rem; line-height: 1.72; }
.prose > p:first-child { margin-top: 0; }
.included-card { position: sticky; top: calc(var(--header-h-compact) + 24px); padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.included-title { font-size: 1.3rem; margin-bottom: 18px; }
.included-sub { font-size: 1rem; margin: 6px 0 12px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.benefit { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.benefit-mark { display: block; width: 10px; height: 10px; margin-bottom: 18px; background: var(--gold); }
.benefit h3 { font-size: 1.12rem; margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--text-2); font-size: 0.97rem; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 8px 14px;
  font-size: 0.9rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-count { font-size: 0.75rem; font-weight: 600; min-width: 20px; padding: 1px 6px; text-align: center; color: var(--text-2); background: var(--paper); border-radius: 999px; }
.filter-btn[aria-pressed="true"] .filter-count { color: var(--ink); background: var(--gold); }
.filter-status { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.portfolio-empty { text-align: center; padding: 40px 0; color: var(--text-2); }
.portfolio-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.portfolio-feature-copy p { color: var(--text-2); }
.project-compares { display: grid; gap: 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.project-cover { margin: 0 0 clamp(40px, 5vw, 64px); }
.project-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }

/* ---------- Service areas ---------- */
.map-band { padding-block: clamp(48px, 6vw, 88px); }
.county-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.county { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); }
.county-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 6px; }
.county-intro { color: var(--text-2); margin-bottom: 22px; }
.town-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 18px; }
.town-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; display: flex; align-items: center; gap: 10px; }
.town-list li::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; }

/* ---------- FAQ page ---------- */
.faq-page-grid { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq-toc { position: sticky; top: calc(var(--header-h-compact) + 28px); }
.faq-toc ul { display: grid; gap: 2px; margin-bottom: 24px; border-left: 1px solid var(--line-strong); }
.faq-toc li a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; color: var(--text-2); text-decoration: none; font-weight: 500; border-left: 2px solid transparent; }
.faq-toc li a:hover { color: var(--ink); border-left-color: var(--gold); }
.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 60px); }
.faq-group-title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { padding: clamp(24px, 3vw, 36px); background: var(--ink); color: var(--on-dark); }
.contact-company { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; letter-spacing: -0.01em; }
.contact-owner { margin: 4px 0 22px; color: var(--on-dark-2); }
.contact-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--ink-line); }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--gold); border: 1px solid rgba(212, 166, 74, 0.4); }
.contact-label { display: block; font-size: 0.8125rem; color: var(--on-dark-2); }
.contact-value { display: block; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; overflow-wrap: anywhere; line-height: 1.3; }
.contact-value--email { font-size: 1.08rem; }
.contact-value:hover { color: var(--gold); }
.contact-card .copy-btn { color: var(--on-dark-2); border-color: rgba(255, 255, 255, 0.2); }
.contact-card .copy-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.contact-card .copy-btn.is-copied { color: #9bd3a7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.contact-actions .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.34); }
.contact-facts { display: grid; gap: 12px; margin: 24px 0; padding: 22px 24px; background: #fff; border: 1px solid var(--line); }
.contact-facts li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.contact-facts .icon { color: var(--gold-deep); }
.contact-licenses { font-size: 0.9rem; color: var(--text-2); }
.contact-estimate { padding: 24px; background: var(--gold-tint); border: 1px solid #e6d3a9; }
.contact-estimate p { color: var(--text-2); font-size: 0.96rem; }
.contact-form-wrap .h3 { margin-bottom: 8px; }
.form-intro { color: var(--text-2); }

/* ---------- Estimate ---------- */
.estimate-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px clamp(24px, 3vw, 44px); align-items: start; }
.estimate-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h-compact) + 24px); }
.aside-card { padding: 26px; background: #fff; border: 1px solid var(--line); }
.aside-title { font-size: 1.2rem; margin-bottom: 18px; }
.next-steps { display: grid; gap: 18px; }
.next-steps li { display: flex; gap: 14px; }
.next-num { display: grid; place-items: center; width: 30px; height: 30px; flex: none; font-weight: 700; font-size: 0.9rem; color: var(--gold); background: var(--ink); }
.next-steps strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.next-steps p { margin: 0; font-size: 0.925rem; color: var(--text-2); line-height: 1.5; }
.aside-card--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.aside-kicker { margin: 0 0 6px; font-size: 0.85rem; color: var(--on-dark-2); }
.aside-phone { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; }
.aside-phone .icon { color: var(--gold); }
.aside-phone:hover { color: var(--gold); }
.aside-email { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; font-size: 0.95rem; }
.aside-email .icon { color: var(--gold); }
.aside-facts { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ink-line); font-size: 0.925rem; }
.aside-facts li { display: flex; gap: 10px; align-items: center; }
.aside-facts .icon { color: var(--gold); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.35rem; margin: 2em 0 0.6em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; display: grid; gap: 6px; }
.legal .callout { margin: 0 0 32px; }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; }
.nf-code { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 4rem + 6vw, 9rem); line-height: 1; letter-spacing: -0.05em; color: var(--gold-deep); }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.nf-other { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-cta-bar, .lang-banner, .preview-banner, .cta-band, .mobile-menu { display: none !important; }
  body { padding: 0 !important; background: #fff; }
  .page-hero, .hero { background: #fff; color: #000; padding: 20px 0; }
  .page-hero .page-title, .hero .display { color: #000; }
}

/* ---------- Form thank-you page (Netlify Forms success page) ---------- */
.received-card { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 5vw, 52px); text-align: center; }
.received-icon { display: inline-flex; color: var(--gold-deep); margin-bottom: 14px; }
.received-card h1 { margin: 0 0 12px; }
.received-card p { margin: 0 auto; max-width: 36em; color: var(--text-2); }
.received-es { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.received-es h2 { margin: 0 0 8px; }
.received-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* 06-forms.css */
/* ==========================================================================
   Forms: estimate request + contact
   ========================================================================== */

.form-shell { position: relative; padding: clamp(22px, 4vw, 48px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-shell--compact { box-shadow: none; }
.form-note { margin: 0 0 6px; font-size: 0.875rem; color: var(--text-2); }
.form-section { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.form-section-title {
  display: flex; align-items: center; gap: 12px;
  width: 100%; margin: 22px 0 18px; padding: 0 0 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.fs-num { display: grid; place-items: center; width: 30px; height: 30px; flex: none; font-family: var(--font); font-size: 0.85rem; font-weight: 700; color: var(--gold); background: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0 0 8px; padding: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.req { color: var(--error); font-weight: 700; }
.opt { font-weight: 400; font-size: 0.8125rem; color: var(--text-2); }
.opt::before { content: "("; }
.opt::after { content: ")"; }

.lead-form input:not([type="radio"]):not([type="file"]):not([type="hidden"]),
.lead-form select,
.lead-form textarea {
  display: block; width: 100%;
  min-height: 52px; padding: 13px 14px;
  font: 400 1rem/1.4 var(--font); color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.lead-form textarea { min-height: 150px; resize: vertical; }
.lead-form input:hover, .lead-form select:hover, .lead-form textarea:hover { border-color: #a69d8f; }
.lead-form input:focus-visible, .lead-form select:focus-visible, .lead-form textarea:focus-visible {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212, 166, 74, 0.5);
}
.lead-form [aria-invalid="true"] { border-color: var(--error) !important; background: #fffafa; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 46px; cursor: pointer; }
.select-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.field-hint { margin: 7px 0 0; font-size: 0.8125rem; line-height: 1.5; color: var(--text-2); }
.field-error { display: flex; gap: 6px; margin: 8px 0 0; font-size: 0.875rem; font-weight: 500; line-height: 1.45; color: var(--error); }
.field-error::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; flex: none; margin-top: 1px; font-size: 0.75rem; font-weight: 700; color: #fff; background: var(--error); border-radius: 50%; }

/* Radio choices */
.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 10px;
  flex: 1 1 160px; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; font-weight: 500; color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-box { position: relative; width: 20px; height: 20px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 50%; background: #fff; }
.choice-box::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.2s var(--ease); }
.choice:hover { border-color: #a69d8f; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.choice input:checked + .choice-box { border-color: var(--ink); }
.choice input:checked + .choice-box::after { transform: scale(1); }
.choice:has(input:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 2px; }

/* Photo upload */
.photo-field { position: relative; }
.photo-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px; background: var(--paper); border: 1.5px dashed var(--line-strong); transition: border-color 0.2s, background-color 0.2s; }
.photo-drop.is-dragover { border-color: var(--ink); background: var(--gold-tint); }
.photo-drop .field-hint { margin: 0; flex: 1 1 240px; }
.photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.photo-input:focus-visible + .photo-button { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.photo-button { background: #fff; }
.photo-count { margin: 12px 0 0; font-size: 0.875rem; color: var(--text-2); }
.photo-count:empty { display: none; }
.photo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 12px; }
.photo-list:empty { display: none; }
.photo-item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item.is-processing::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.6); }
.photo-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: 0.72rem; color: #fff; background: rgba(17, 19, 21, 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-remove { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; background: rgba(17, 19, 21, 0.82); border: 0; border-radius: var(--radius); }
.photo-remove:hover { background: var(--error); }

/* Spam trap — invisible to people, visible to bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Submit */
.form-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-privacy { display: flex; gap: 10px; align-items: flex-start; max-width: 52em; margin: 0; font-size: 0.8125rem; line-height: 1.55; color: var(--text-2); }
.form-privacy .icon { color: var(--gold-deep); margin-top: 2px; }
.form-privacy a { color: var(--ink); }
.btn-spinner { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
.is-submitting [data-submit] .btn-spinner { display: inline-block; }
.is-submitting [data-submit] .icon { display: none; }
.cf-turnstile { margin: 4px 0 18px; min-height: 65px; }

/* Messages */
.form-alert { margin: 0 0 22px; padding: 16px 18px; color: #5e1610; background: var(--error-bg); border: 1px solid #e7b9b3; font-size: 0.95rem; }
.form-alert:focus { outline: 2.5px solid var(--error); outline-offset: 2px; }
.form-alert p { margin: 0; }
.form-alert ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.form-alert a { color: inherit; font-weight: 600; }
.form-alert.is-info { color: var(--ink); background: var(--gold-tint); border-color: #e6d3a9; }
.form-alert.is-info:focus { outline-color: var(--gold-deep); }
.form-alert-title { display: block; font-weight: 700; margin-bottom: 4px; }
.form-result { padding: clamp(8px, 2vw, 16px) 0; }
.form-result:focus { outline: none; }
.form-result-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; color: var(--success); background: #e8f2ea; border-radius: 50%; }
.form-result.is-info .form-result-icon { color: var(--gold-deep); background: var(--gold-tint); }
.form-result-title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 10px; }
.form-result-text { color: var(--text-2); max-width: 46em; }
.form-result-ref { font-size: 0.9rem; color: var(--text-2); }
.form-result-ref:empty { display: none; }

/* 07-responsive.css */
/* ==========================================================================
   Responsive adjustments (mobile-first refinements by breakpoint)
   ========================================================================== */

@media (max-width: 1179px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .why-stat p { max-width: none; }
}

@media (max-width: 999px) {
  .hero-inner, .page-hero--media .page-hero-inner { grid-template-columns: 1fr; }
  .hero--drawing { display: block; min-height: 0; padding-bottom: calc(clamp(64px, 7vw, 96px) + 24px); }
  .hero-visual { position: relative; top: auto; right: auto; transform: none; width: auto; max-width: 720px; margin: 28px auto 0; padding-inline: var(--gutter); }
  .hero-visual::before { display: none; }
  .intro-grid, .about-grid, .team-grid, .areas-teaser-grid, .faq-teaser-grid, .faq-page-grid, .contact-grid, .estimate-grid, .detail-grid, .projects-teaser-grid, .portfolio-feature { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .faq-teaser-head, .faq-toc, .about-facts, .estimate-aside, .included-card { position: static; }
  .faq-toc ul { margin-bottom: 0; }
  .faq-toc-cta { display: none; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .process-steps::before { display: none; }
  .service-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row, .service-row--flip { grid-template-columns: 1fr; }
  .service-row--flip .service-row-media { order: 0; }
  .service-row-media { aspect-ratio: 16 / 10; min-height: 0; }
  .cta-inner { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .page-hero--service .page-hero-media { max-width: 620px; }
  .estimate-aside { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  body { font-size: 1.03rem; }
  .hero { padding-top: 36px; }
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; padding: 7px 11px; margin-bottom: 22px; }
  .hero-eyebrow { flex-direction: column; align-items: flex-start; gap: 3px; }
  .hero-eyebrow-sep { display: none; }
  .cta-mark { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-phone { margin-top: 26px; }
  .page-hero .hero-actions .btn { flex: 1 1 100%; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 16px; }
  .proof-item--lead { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .proof-item:nth-child(2) { border-left: 0; border-top: 1px solid var(--line); }
  .proof-item:nth-child(3) { border-left: 1px solid var(--line); }
  .proof-item:nth-child(4) { border-left: 0; }
  .proof-icon { width: 42px; height: 42px; }
  .proof-text strong { font-size: 0.98rem; }
  .proof-text span { font-size: 0.8125rem; }

  /* Service cards become compact rows on phones */
  .service-grid, .service-grid--3 { grid-template-columns: 1fr; gap: 14px; }
  .service-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); }
  .service-card:hover { transform: none; }
  .service-card-media { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .service-card-icon { display: none; }
  .service-card-body { padding: 14px 16px 12px; }
  .service-card-title { margin: 0 0 6px; font-size: 1.06rem; }
  .service-card-text { font-size: 0.9rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .service-card-actions { padding-top: 8px; gap: 6px 10px; }
  .service-card-actions .btn--text { min-height: 40px; font-size: 0.9rem; }

  .why-list { grid-template-columns: 1fr; }
  .why-item { padding: 24px 0; }
  .why-stat { gap: 16px; }

  .process-steps { grid-template-columns: 1fr; gap: 0; position: relative; }
  .process-steps::before { display: block; top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; }
  .process-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
  .process-step:last-child { padding-bottom: 0; }
  .step-index { margin-bottom: 0; }

  .project-grid { grid-template-columns: 1fr; }
  .projects-teaser-list .project-card-link { grid-template-columns: 118px minmax(0, 1fr); }
  .principles-grid, .benefit-grid { grid-template-columns: 1fr; gap: 0; }
  .principle, .benefit { padding: 22px 0; }
  .tick-list--2 { grid-template-columns: 1fr; }
  .service-links { grid-template-columns: 1fr; }
  .estimate-aside { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { margin-inline: calc(var(--gutter) * -0.5); padding: 22px 18px; }
  .faq-q { font-size: 1.04rem; gap: 16px; }
  .faq-a { padding-right: 0; }
  .filter-list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list li { flex: none; scroll-snap-align: start; }
  .compare-label { top: 10px; font-size: 0.68rem; padding: 5px 8px; }
  .compare-label--before { left: 10px; }
  .compare-label--after { right: 10px; }
  .compare-expand { right: 10px; bottom: 10px; }
  .compare-knob { width: 44px; height: 44px; }
  .contact-line { grid-template-columns: auto minmax(0, 1fr); }
  .contact-line .copy-btn { grid-column: 2; justify-self: start; }
  .lightbox-inner { padding: 64px 12px 72px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-top .footer-cta { width: 100%; }
  .form-submit .btn { width: 100%; white-space: normal; text-align: center; }
}

@media (min-width: 1500px) {
  .hero { padding-top: 112px; }
}
