/* ==========================================================================
   3D CONSTRUCTION : Trusted Professionalism
   Nassau, The Bahamas
   Built by Baha Connect

   Design direction
   ----------------
   Display : Oswald (condensed, structural, architectural)
   Body    : Work Sans (legible, warm, professional)
   Palette : warm near-black + charcoal, warm white, construction gold accent
   Signature detail: numbered "survey index" on every section heading, with a
   hairline gold rule, echoing an architectural drawing sheet.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Type families */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.75rem;

  /* Line heights, inversely proportional to size */
  --leading-none: 1;
  --leading-tight: 1.14;
  --leading-snug: 1.35;
  --leading-normal: 1.62;
  --leading-relaxed: 1.78;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Tracking */
  --tracking-tight: -0.025em;
  --tracking-normal: 0em;
  --tracking-wide: 0.05em;
  --tracking-widest: 0.14em;

  /* Neutrals, warm biased (never pure grey) */
  --ink-950: hsl(36, 9%, 4%);
  --ink-900: hsl(36, 8%, 7%);
  --ink-800: hsl(36, 7%, 11%);
  --ink-700: hsl(36, 6%, 17%);
  --ink-600: hsl(36, 6%, 26%);
  --ink-500: hsl(36, 5%, 40%);
  --ink-400: hsl(36, 7%, 55%);
  --ink-300: hsl(38, 11%, 70%);
  --ink-200: hsl(42, 13%, 85%);
  --ink-100: hsl(42, 20%, 92%);
  --ink-50: hsl(40, 30%, 96%);
  --paper: hsl(40, 33%, 97%);
  --white: hsl(0, 0%, 100%);

  /* Construction gold */
  --gold-900: hsl(41, 78%, 20%);
  --gold-800: hsl(42, 76%, 28%);
  --gold-700: hsl(42, 74%, 36%);
  --gold-600: hsl(43, 73%, 42%);
  --gold-500: hsl(43, 72%, 46%);
  --gold-400: hsl(42, 70%, 57%);
  --gold-300: hsl(42, 68%, 68%);
  --gold-200: hsl(42, 62%, 80%);
  --gold-100: hsl(42, 58%, 91%);

  /* Warm stone, the secondary accent */
  --stone-500: hsl(35, 21%, 65%);
  --stone-300: hsl(36, 24%, 78%);

  /* Feedback */
  --success-600: hsl(150, 55%, 30%);
  --success-100: hsl(150, 45%, 92%);
  --danger-600: hsl(4, 66%, 45%);
  --danger-100: hsl(4, 70%, 95%);

  /* Text roles on light */
  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-600);
  --text-tertiary: var(--ink-500);

  /* Text roles on dark, hand picked, never opacity white */
  --ondark-primary: hsl(40, 30%, 96%);
  --ondark-secondary: hsl(38, 14%, 76%);
  --ondark-tertiary: hsl(37, 10%, 58%);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Section rhythm, identical everywhere */
  --section-pad: 96px;
  --section-pad-sm: 64px;

  /* Radius, small and consistent, signals professional not playful */
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-pill: 999px;

  /* Shadow system, 5 levels by z position */
  --shadow-xs: 0 1px 2px hsl(36 20% 6% / 0.06);
  --shadow-sm: 0 2px 6px hsl(36 20% 6% / 0.08);
  --shadow-md: 0 6px 18px hsl(36 20% 6% / 0.10);
  --shadow-lg: 0 16px 40px hsl(36 20% 6% / 0.14);
  --shadow-xl: 0 28px 70px hsl(36 20% 6% / 0.20);

  /* Layout */
  --max-width: 1240px;
  --max-width-narrow: 860px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 0.18s;
  --dur-base: 0.28s;
  --dur-slow: 0.55s;
}

/* --------------------------------------------------------------------------
   2. RESET AND BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: inherit;
}

h1 { font-size: var(--text-4xl); font-weight: var(--weight-bold); }
h2 { font-size: var(--text-3xl); font-weight: var(--weight-bold); }
h3 { font-size: var(--text-2xl); }
h4 {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-normal);
  line-height: var(--leading-snug);
}

p { margin: 0 0 var(--space-4); max-width: 68ch; }

a { color: var(--gold-700); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--gold-600); }

ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
li { margin-bottom: var(--space-2); max-width: 68ch; }

hr { border: 0; border-top: 1px solid var(--ink-200); margin: var(--space-7) 0; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

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

.skip-link {
  position: fixed; left: 0; top: 0; z-index: 999;
  transform: translateY(-200%);
  background: var(--ink-900); color: var(--ondark-primary);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.wrap--narrow { max-width: var(--max-width-narrow); }

.section { padding: var(--section-pad) 0; }

/* Entrance animations translate their targets sideways. Clip at section level so
   a mid animation frame can never widen the document and flash a scrollbar.
   overflow-x: clip does not create a scroll container, so the sticky header
   and smooth anchor scrolling are unaffected. */
.section, .cta-band, .page-hero, .footer { overflow-x: clip; }
.section--tight { padding: var(--section-pad-sm) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--stone {
  background:
    linear-gradient(180deg, hsl(42 22% 94%) 0%, hsl(40 26% 96%) 100%);
}
.section--dark {
  background: var(--ink-900);
  color: var(--ondark-primary);
  position: relative;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ondark-primary); }
.section--dark p, .section--dark li { color: var(--ondark-secondary); }

/* Faint blueprint grid texture on dark sections, adds depth */
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(hsl(43 60% 60% / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, hsl(43 60% 60% / 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.section--dark > * { position: relative; z-index: 1; }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--wide-right { grid-template-columns: 1fr 1.15fr; }

/* --------------------------------------------------------------------------
   4. SIGNATURE DETAIL : survey index heading
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: var(--space-4);
}
.section--dark .eyebrow { color: var(--gold-400); }

.eyebrow__num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--ink-400);
  letter-spacing: var(--tracking-wide);
}
.section--dark .eyebrow__num { color: var(--ondark-tertiary); }

.eyebrow__rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  max-width: 180px;
  align-self: center;
}

.section-head { margin-bottom: var(--space-7); max-width: 74ch; }
.section-head p { color: var(--text-secondary); font-size: var(--text-lg); }
.section--dark .section-head p { color: var(--ondark-secondary); }

/* --------------------------------------------------------------------------
   5. BUTTONS : 4 states each
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 52px;
  padding: 0 26px; /* horizontal padding = 1x height on the wide side */
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: var(--leading-tight);
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--gold-500);
  color: var(--ink-950);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-600);
}
.btn--primary:hover { background: var(--gold-400); color: var(--ink-950); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(1px); box-shadow: var(--shadow-xs); }
.btn--primary:disabled { background: var(--ink-200); border-color: var(--ink-200); color: var(--ink-400); cursor: not-allowed; transform: none; }

.btn--dark { background: var(--ink-900); color: var(--ondark-primary); border-color: var(--ink-900); }
.btn--dark:hover { background: var(--ink-700); color: var(--ondark-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark:active { transform: translateY(1px); }

.btn--outline { background: transparent; color: var(--ink-900); border-color: var(--ink-300); }
.btn--outline:hover { border-color: var(--ink-900); background: var(--ink-50); color: var(--ink-900); transform: translateY(-2px); }
.btn--outline:active { transform: translateY(1px); }

.btn--ghost-light { background: transparent; color: var(--ondark-primary); border-color: hsl(40 20% 80% / 0.45); }
.btn--ghost-light:hover { background: hsl(40 30% 96% / 0.1); border-color: var(--ondark-primary); color: var(--ondark-primary); transform: translateY(-2px); }
.btn--ghost-light:active { transform: translateY(1px); }

.btn--whatsapp { background: hsl(142, 62%, 36%); color: var(--white); border-color: hsl(142, 62%, 30%); }
.btn--whatsapp:hover { background: hsl(142, 60%, 42%); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--whatsapp:active { transform: translateY(1px); }

.btn--sm { height: 42px; padding: 0 20px; font-size: var(--text-xs); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--gold-700);
}
.link-arrow::after {
  content: '';
  width: 20px; height: 1px; background: currentColor;
  transition: width var(--dur-base) var(--ease);
}
.link-arrow:hover::after { width: 34px; }
.section--dark .link-arrow { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   6. ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announce {
  background: var(--ink-950);
  color: var(--ondark-secondary);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
}
.announce .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: 40px; flex-wrap: wrap;
}
.announce__services { text-transform: uppercase; font-weight: var(--weight-medium); }
.announce__services span { color: var(--gold-500); margin: 0 var(--space-2); }
.announce__links { display: flex; gap: var(--space-4); }
.announce__links a {
  color: var(--ondark-secondary); text-transform: uppercase;
  font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide);
}
.announce__links a:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   7. HEADER AND NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: hsl(36 8% 7% / 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(43 40% 60% / 0.16);
  transition: box-shadow var(--dur-base) var(--ease), background-color var(--dur-base) var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-lg); background: hsl(36 8% 6% / 0.99); }

.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--space-5);
}

.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--ondark-primary);
}
.brand__tag {
  font-size: 10px; letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: var(--gold-400); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__list { display: flex; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--ondark-secondary); padding: var(--space-2) 0;
}
.nav__link:hover { color: var(--ondark-primary); }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold-500);
  transition: width var(--dur-base) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--gold-400); }

.header__phone {
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: var(--weight-medium); letter-spacing: var(--tracking-wide);
  color: var(--ondark-primary);
}
.header__phone:hover { color: var(--gold-400); }

.burger {
  display: none; width: 46px; height: 46px;
  background: transparent; border: 1px solid hsl(40 20% 80% / 0.35);
  border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.burger:hover { border-color: var(--gold-500); background: hsl(43 60% 50% / 0.08); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ondark-primary); transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast) var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink-950);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease);
  display: flex; flex-direction: column;
  padding: var(--space-5);
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-7); }
.drawer__close {
  width: 46px; height: 46px; background: transparent;
  border: 1px solid hsl(40 20% 80% / 0.35); border-radius: var(--radius-sm);
  color: var(--ondark-primary); font-size: 24px; line-height: 1; cursor: pointer;
}
.drawer__close:hover { border-color: var(--gold-500); color: var(--gold-400); }
.drawer__list { list-style: none; margin: 0 0 var(--space-7); padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid hsl(40 20% 80% / 0.12); }
.drawer__list a {
  display: block; padding: var(--space-4) 0;
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: var(--weight-medium); text-transform: uppercase;
  letter-spacing: var(--tracking-wide); color: var(--ondark-primary);
}
.drawer__list a:hover, .drawer__list a[aria-current="page"] { color: var(--gold-400); }
.drawer__actions { display: grid; gap: var(--space-3); margin-top: auto; }

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink-950);
}
.hero__bg { position: absolute; inset: -12% 0 0 0; z-index: 0; will-change: transform; }
.hero__bg img { width: 100%; height: 118%; object-fit: cover; object-position: center 55%; }

/* Animated gradient layer sits under the photo, adds warmth and movement */
.hero__glow {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, hsl(41 78% 20%), hsl(36 9% 4%), hsl(42 74% 26%));
  background-size: 300% 300%;
  animation: gradientShift 14s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, hsl(36 9% 4% / 0.72) 0%, hsl(36 9% 4% / 0.42) 42%, hsl(36 9% 4% / 0.88) 100%),
    linear-gradient(90deg, hsl(36 9% 4% / 0.68) 0%, transparent 62%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; padding: var(--space-9) 0 var(--space-8); }
.hero__content { max-width: 780px; color: var(--ondark-primary); }
.hero h1 {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  color: var(--ondark-primary);
  text-shadow: 0 2px 24px hsl(36 20% 4% / 0.5);
  margin-bottom: var(--space-5);
}
.hero h1 em { font-style: normal; color: var(--gold-400); display: block; }
.hero__sub {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--ondark-secondary);
  max-width: 60ch;
  margin-bottom: var(--space-6);
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid hsl(43 40% 60% / 0.22);
}
.hero__trust div {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; font-weight: var(--weight-semibold);
  color: var(--ondark-secondary);
}
.hero__trust div::before {
  content: ''; width: 8px; height: 8px; flex: none;
  background: var(--gold-500);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Interior page hero */
.page-hero {
  position: relative; background: var(--ink-900);
  padding: var(--space-9) 0 var(--space-7);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, hsl(36 9% 5% / 0.68), hsl(36 9% 5% / 0.94));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--ondark-primary); font-size: var(--text-4xl); text-transform: uppercase; }
.page-hero p { color: var(--ondark-secondary); font-size: var(--text-lg); max-width: 62ch; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. BREADCRUMBS
   -------------------------------------------------------------------------- */
.crumbs { font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; margin-bottom: var(--space-5); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crumbs li { margin: 0; display: flex; align-items: center; gap: var(--space-2); color: var(--ondark-tertiary); }
.crumbs li:not(:last-child)::after { content: '/'; color: var(--gold-600); }
.crumbs a { color: var(--ondark-secondary); font-weight: var(--weight-medium); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current="page"] { color: var(--gold-400); font-weight: var(--weight-semibold); }

/* --------------------------------------------------------------------------
   10. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-300); }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, hsl(36 20% 5% / 0.42) 100%);
  pointer-events: none; /* must not swallow clicks meant for the image or its link */
}

.card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.card__kicker {
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest); text-transform: uppercase;
  color: var(--gold-700); margin-bottom: var(--space-2);
}
.card__body h3, .card__body h4 { margin-bottom: var(--space-3); }
.card__body p { color: var(--text-secondary); font-size: var(--text-sm); flex: 1; }
.card__body .link-arrow { margin-top: var(--space-3); }

/* Capability tile */
.tile {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile svg { width: 22px; height: 22px; flex: none; color: var(--ink-400); }

.section--dark .tile {
  background: var(--ink-800);
  border-color: hsl(40 12% 26%);
  border-left-color: var(--gold-500);
  color: var(--ondark-primary);
}
.section--dark .tile svg { color: var(--gold-600); }

/* Numbered step */
.step {
  position: relative;
  padding: var(--space-5) 0 var(--space-5) var(--space-8);
  border-top: 1px solid var(--ink-200);
}
.step__num {
  position: absolute; left: 0; top: var(--space-5);
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: var(--weight-medium); color: var(--gold-500);
  letter-spacing: var(--tracking-normal); line-height: 1;
}
.step h3, .step h4 { margin-bottom: var(--space-2); }
.step p { color: var(--text-secondary); margin-bottom: 0; font-size: var(--text-sm); }
.section--dark .step { border-top-color: hsl(40 10% 22%); }

/* Stat / fact strip */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--ink-200);
  border: 1px solid var(--ink-200); border-radius: var(--radius-md);
  overflow: hidden;
}
.facts div { background: var(--white); padding: var(--space-6) var(--space-5); }
.facts dt {
  font-size: var(--text-xs); letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: var(--text-tertiary);
  font-weight: var(--weight-semibold); margin-bottom: var(--space-2);
}
.facts dd {
  margin: 0; font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: var(--weight-semibold); color: var(--ink-900);
  letter-spacing: var(--tracking-tight);
}

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.checks li { display: flex; gap: var(--space-3); margin: 0; font-size: var(--text-base); }
.checks li::before {
  content: ''; flex: none; width: 10px; height: 10px; margin-top: 8px;
  background: var(--gold-500);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Note / disclaimer block */
.note {
  border-left: 3px solid var(--gold-500);
  background: hsl(42 58% 91% / 0.55);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink-900); }
.section--dark .note { background: hsl(42 40% 50% / 0.09); color: var(--ondark-secondary); }
.section--dark .note strong { color: var(--ondark-primary); }

/* Placeholder for assets not yet supplied */
.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-2); text-align: center;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, hsl(42 18% 90%) 0 12px, hsl(42 20% 93%) 12px 24px);
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
}
.placeholder span { text-transform: none; letter-spacing: 0; font-weight: var(--weight-regular); font-size: var(--text-xs); max-width: 30ch; }

/* --------------------------------------------------------------------------
   11. PROJECT GALLERY
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); }
.filter {
  height: 40px; padding: 0 18px;
  background: var(--white); border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill); cursor: pointer;
  font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease);
}
.filter:hover { border-color: var(--gold-500); color: var(--ink-900); transform: translateY(-2px); }
.filter:active { transform: translateY(1px); }
.filter[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--ondark-primary); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.gallery .card { margin: 0; }
.gallery .card.is-hidden { display: none; }

/* Editorial masonry feel for the homepage feature grid */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.mosaic .card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic .card:nth-child(1) .card__media { aspect-ratio: 1 / 1; }
.mosaic .card:nth-child(6) { grid-column: span 2; }
.mosaic .card:nth-child(6) .card__media { aspect-ratio: 16 / 9; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: hsl(36 12% 3% / 0.94);
  display: none; align-items: center; justify-content: center;
  padding: var(--space-5);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: var(--shadow-xl); }
.lightbox__caption {
  position: absolute; bottom: var(--space-6); left: 50%; transform: translateX(-50%);
  color: var(--ondark-secondary); font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide); text-align: center; max-width: 80vw;
}
.lightbox__btn {
  position: absolute; background: hsl(40 30% 96% / 0.1);
  border: 1px solid hsl(40 20% 80% / 0.35); color: var(--ondark-primary);
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.lightbox__btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink-950); }
.lightbox__close { top: var(--space-5); right: var(--space-5); }
.lightbox__prev { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-5); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   12. BEFORE AND AFTER SLIDER
   -------------------------------------------------------------------------- */
.ba {
  position: relative; width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  user-select: none; touch-action: pan-y;
  background: var(--ink-800);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: var(--gold-500); transform: translateX(-50%);
  cursor: ew-resize; z-index: 3;
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: var(--radius-pill);
  background: var(--gold-500); border: 3px solid var(--ink-950);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-950); font-size: 18px; font-weight: var(--weight-bold);
  box-shadow: var(--shadow-md);
}
.ba__tag {
  position: absolute; top: var(--space-4); z-index: 2;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: hsl(36 12% 5% / 0.78); color: var(--ondark-primary);
  font-size: var(--text-xs); font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest); text-transform: uppercase;
}
.ba__tag--before { left: var(--space-4); }
.ba__tag--after { right: var(--space-4); }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0;
}
.ba__range:focus-visible + .ba__handle { outline: 3px solid var(--gold-300); }

/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }

.field { display: flex; flex-direction: column; }
.field label {
  font-size: var(--text-sm); font-weight: var(--weight-semibold);
  color: var(--ink-800); margin-bottom: var(--space-2);
}
.field .hint { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: var(--space-2); }
.field .req { color: var(--danger-600); }

input[type="text"], input[type="tel"], input[type="email"], input[type="file"],
select, textarea {
  width: 100%;
  font-family: var(--font-body); font-size: var(--text-base);
  color: var(--ink-900); background: var(--white);
  border: 1px solid var(--ink-300); border-radius: var(--radius-sm);
  padding: 13px var(--space-4);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
textarea { min-height: 148px; resize: vertical; line-height: var(--leading-normal); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23555049' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 42px; }

input:hover, select:hover, textarea:hover { border-color: var(--ink-400); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px hsl(43 72% 46% / 0.18);
}
input:disabled, select:disabled, textarea:disabled { background: var(--ink-50); color: var(--ink-400); cursor: not-allowed; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger-600); }
input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px hsl(4 66% 45% / 0.16); }

.field__error { font-size: var(--text-xs); color: var(--danger-600); margin-top: var(--space-2); font-weight: var(--weight-medium); }

.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold-600); flex: none; }
.checkbox label { font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--text-secondary); margin: 0; }

fieldset { border: 1px solid var(--ink-200); border-radius: var(--radius-md); padding: var(--space-5); margin: 0; background: var(--white); }
legend {
  font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: var(--weight-semibold); text-transform: uppercase;
  letter-spacing: var(--tracking-wide); padding: 0 var(--space-3);
  color: var(--ink-900);
}

.form-success {
  display: none;
  border: 1px solid var(--success-600);
  background: var(--success-100);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--success-600); }

/* --------------------------------------------------------------------------
   14. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink-950);
  color: var(--ondark-primary);
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, hsl(36 9% 4% / 0.82), hsl(36 9% 4% / 0.94));
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: var(--ondark-primary); text-transform: uppercase; }
.cta-band p { color: var(--ondark-secondary); margin: 0 auto var(--space-6); font-size: var(--text-lg); }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink-950); color: var(--ondark-secondary); padding: var(--space-9) 0 var(--space-5); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--space-7); }
.footer h4 {
  font-family: var(--font-display); font-size: var(--text-sm);
  font-weight: var(--weight-semibold); letter-spacing: var(--tracking-widest);
  text-transform: uppercase; color: var(--gold-400); margin-bottom: var(--space-4);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: var(--space-2); }
.footer a { color: var(--ondark-secondary); }
.footer a:hover { color: var(--gold-400); }
.footer__brand img { height: 62px; width: auto; margin-bottom: var(--space-4); }
.footer__brand p { color: var(--ondark-tertiary); max-width: 40ch; font-size: var(--text-sm); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer__social a {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  border: 1px solid hsl(40 20% 80% / 0.22);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.footer__social a:hover { border-color: var(--gold-500); background: hsl(43 60% 50% / 0.1); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid hsl(40 20% 80% / 0.14);
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; align-items: center;
  font-size: var(--text-xs); color: var(--ondark-tertiary);
}
.footer__legal { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. FLOATING CONTROLS
   -------------------------------------------------------------------------- */
.floaters { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 250; display: flex; flex-direction: column; gap: var(--space-3); }
.floater {
  width: 58px; height: 58px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); border: none; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.floater:hover { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-xl); }
.floater:active { transform: translateY(1px); }
.floater svg { width: 27px; height: 27px; }
.floater--wa { background: hsl(142, 62%, 36%); color: var(--white); }
.floater--tel { background: var(--gold-500); color: var(--ink-950); display: none; }
.floater--top {
  background: var(--ink-900); color: var(--ondark-primary);
  width: 46px; height: 46px; align-self: flex-end;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease), visibility var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}
.floater--top svg { width: 20px; height: 20px; }
.floater--top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   17. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-34px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-right { opacity: 0; transform: translateX(34px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-group > *:nth-child(1) { transition-delay: 0s; }
.reveal-group > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group > *:nth-child(6) { transition-delay: 0.40s; }

/* Parallax band, disabled on small screens further down */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   18. PROSE (legal pages)
   -------------------------------------------------------------------------- */
.prose h2 { margin-top: var(--space-7); font-size: var(--text-2xl); }
.prose h3 { margin-top: var(--space-6); font-size: var(--text-xl); font-family: var(--font-body); font-weight: var(--weight-semibold); }
.prose p, .prose li { color: var(--text-secondary); }
.prose > p:first-of-type { font-size: var(--text-lg); color: var(--text-primary); }

/* FAQ */
.faq { border-top: 1px solid var(--ink-200); }
.faq details { border-bottom: 1px solid var(--ink-200); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--space-5) var(--space-6) var(--space-5) 0;
  position: relative;
  font-family: var(--font-body); font-size: var(--text-lg);
  font-weight: var(--weight-semibold); color: var(--ink-900);
  transition: color var(--dur-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-700); }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: var(--text-2xl); color: var(--gold-600);
  transition: transform var(--dur-base) var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-right: var(--space-6); color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .nav__list { gap: var(--space-4); }
  .header__phone { display: none; }
}

@media (max-width: 900px) {
  :root { --text-5xl: 2.75rem; --text-4xl: 2.125rem; --text-3xl: 1.75rem; --section-pad: 64px; --section-pad-sm: 48px; }
  .nav { display: none; }
  .burger { display: flex; }
  .split, .split--wide-right { grid-template-columns: 1fr; gap: var(--space-6); }
  .grid--3, .grid--4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .card:nth-child(1), .mosaic .card:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .mosaic .card:nth-child(1) .card__media { aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: 1fr; }
  .announce__services { display: none; }
  .announce .wrap { justify-content: center; }
  .parallax { background-attachment: scroll; }
  .hero { min-height: 78vh; }
  .floater--tel { display: flex; }
  .ba { aspect-ratio: 4 / 3; }
}

@media (max-width: 620px) {
  :root { --text-5xl: 2.25rem; --text-4xl: 1.875rem; --section-pad: 56px; }
  .grid--2, .grid--3, .grid--4, .gallery, .mosaic { grid-template-columns: 1fr; }
  .mosaic .card:nth-child(1), .mosaic .card:nth-child(6) { grid-column: span 1; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn--sm { width: auto; }
  .filters .btn--sm { width: auto; }
  .wrap { padding: 0 var(--space-4); }
  .floaters { right: var(--space-4); bottom: var(--space-4); }
  .lightbox__prev { left: var(--space-2); }
  .lightbox__next { right: var(--space-2); }
}

/* --------------------------------------------------------------------------
   20. REDUCED MOTION AND PRINT
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .parallax { background-attachment: scroll; }
}

@media print {
  .header, .announce, .floaters, .cta-band, .drawer, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
