/* ==========================================================================
   K4 Builders — Design Tokens & Base
   ========================================================================== */

:root {
  /* Brand colors (from logo) */
  --navy-900: #0a2038;
  --navy-800: #0e2c4b;
  --navy-700: #163d63;
  --navy-600: #275580;
  --maroon-800: #4a0d16;
  --maroon-700: #6b121f;
  --maroon-600: #8a1c2a;
  --maroon-500: #a8283a;
  --gold-600: #a97e2a;
  --gold-500: #c89b3c;
  --gold-400: #d9b45c;
  --gold-300: #e8cd8c;

  /* Neutrals */
  --cream-50: #faf7f1;
  --cream-100: #f2ecdf;
  --cream-200: #e7dfcd;
  --white: #ffffff;
  --ink-900: #14181f;
  --ink-700: #2b313c;
  --ink-500: #5b6472;
  --ink-300: #9aa2ad;
  --border: #e2dccc;
  --border-dark: rgba(255, 255, 255, 0.14);

  /* Semantic */
  --bg: var(--cream-50);
  --bg-alt: var(--white);
  --bg-dark: var(--navy-900);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-on-dark: #f4f1ea;
  --text-on-dark-muted: #aab4c2;
  --accent: var(--gold-500);
  --primary: var(--navy-800);
  --danger: var(--maroon-700);

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --fs-xs: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --fs-sm: clamp(0.9rem, 0.87rem + 0.15vw, 1rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --fs-xl: clamp(1.4rem, 1.25rem + 0.75vw, 1.85rem);
  --fs-2xl: clamp(1.9rem, 1.6rem + 1.5vw, 2.75rem);
  --fs-3xl: clamp(2.4rem, 1.9rem + 2.5vw, 3.75rem);
  --fs-4xl: clamp(2.9rem, 2.1rem + 4vw, 5rem);

  /* Spacing */
  --space-section: clamp(4rem, 3.2rem + 4vw, 8rem);
  --space-gap: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
  --container: 1280px;
  --container-narrow: 860px;

  /* Effects */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10, 32, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 32, 56, 0.12);
  --shadow-lg: 0 24px 64px rgba(10, 32, 56, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.3s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: var(--fs-4xl); font-weight: 500; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
}
.on-dark .eyebrow { color: var(--gold-400); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-section); }
.section-tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.on-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.on-dark p { color: var(--text-on-dark-muted); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-on-dark); }
.on-maroon { background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700)); color: var(--text-on-dark); }
.on-maroon p { color: rgba(244, 241, 234, 0.82); }
.on-maroon h1, .on-maroon h2, .on-maroon h3 { color: var(--text-on-dark); }
.bg-alt { background: var(--bg-alt); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(244, 241, 234, 0.4);
}
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--navy-800); background: var(--navy-900); color: var(--text-on-dark); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.7rem 1.3rem; font-size: var(--fs-xs); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background-color var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 32, 56, 0.94);
  backdrop-filter: blur(10px);
  padding-block: 0.65rem;
  box-shadow: 0 8px 30px rgba(10, 32, 56, 0.25);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 42px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
}

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-on-dark-muted);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text-on-dark); }
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  min-width: 260px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--ink-700);
  font-size: var(--fs-sm);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--cream-100); color: var(--navy-900); }

.header-cta { display: flex; align-items: center; gap: 1.4rem; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-on-dark);
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-on-dark); transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--text-on-dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 33, 0.55) 0%, rgba(10, 20, 33, 0.35) 35%, rgba(8, 17, 28, 0.92) 100%);
}
.hero-inner { padding-block: clamp(7rem, 6rem + 5vw, 10rem) clamp(3.5rem, 3rem + 3vw, 5.5rem); width: 100%; }
.hero h1 { max-width: 16ch; margin-block: 1.1rem 1.4rem; color: var(--text-on-dark); }
.hero-lede { max-width: 46ch; font-size: var(--fs-lg); color: rgba(244, 241, 234, 0.88); margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 3vw, 3rem); padding-top: 2.2rem; border-top: 1px solid var(--border-dark); }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); font-weight: 600; color: rgba(244, 241, 234, 0.92); }
.trust-item svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; }

.scroll-cue {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold-500), transparent);
}

/* ==========================================================================
   Page header (non-home hero)
   ========================================================================== */

.page-header {
  position: relative;
  padding-block: clamp(9rem, 7rem + 6vw, 12rem) clamp(3.5rem, 3rem + 3vw, 5.5rem);
  color: var(--text-on-dark);
  overflow: hidden;
}
.page-header-media { position: absolute; inset: 0; z-index: -2; }
.page-header-media img { width: 100%; height: 100%; object-fit: cover; }
.page-header-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, rgba(10, 32, 56, 0.92), rgba(74, 13, 22, 0.82)); }
.page-header .breadcrumb { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 241, 234, 0.7); margin-bottom: 1rem; }
.page-header .breadcrumb a:hover { color: var(--gold-400); }
.page-header h1 { max-width: 22ch; margin-bottom: 1rem; color: var(--text-on-dark); }
.page-header p { max-width: 55ch; font-size: var(--fs-lg); color: rgba(244, 241, 234, 0.85); }

/* ==========================================================================
   Section headers
   ========================================================================== */

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1.1rem; font-size: var(--fs-lg); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }

/* ==========================================================================
   Services grid
   ========================================================================== */

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.1rem 1.7rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  color: var(--gold-400);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: var(--fs-lg); }
.service-card p { font-size: var(--fs-sm); flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-800); }
.service-link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ==========================================================================
   Value props / stats
   ========================================================================== */

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card { display: flex; flex-direction: column; gap: 1rem; }
.value-num { font-family: var(--font-display); font-size: var(--fs-3xl); color: var(--gold-400); }
.value-card h4 { color: var(--text-on-dark); }
.value-card p { font-size: var(--fs-sm); }

/* ==========================================================================
   Split / feature sections
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media.landscape img { aspect-ratio: 4/3; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.badge-float {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--navy-900);
  color: var(--text-on-dark);
  padding: 1.4rem 1.7rem;
  border-radius: 0 var(--radius-lg) 0 0;
}
.badge-float .value-num { font-size: var(--fs-2xl); }
.badge-float span { font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-dark-muted); }

.checklist { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.8rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: var(--fs-sm); color: var(--text); }
.checklist svg { width: 20px; height: 20px; color: var(--gold-600); flex-shrink: 0; margin-top: 0.1rem; }

/* ==========================================================================
   Process steps
   ========================================================================== */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.process-step { position: relative; padding-top: 1rem; }
.process-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--gold-500);
  display: block;
  margin-bottom: 1rem;
}
.process-step h4 { color: var(--text-on-dark); margin-bottom: 0.6rem; }
.process-step p { font-size: var(--fs-sm); }

/* ==========================================================================
   Portfolio / gallery
   ========================================================================== */

.portfolio-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--navy-800); color: var(--navy-900); }
.filter-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--text-on-dark); }

.masonry {
  columns: 3 220px;
  column-gap: 1.1rem;
}
.masonry-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.masonry-item img { width: 100%; height: auto; transition: transform 0.5s var(--ease); }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 20, 33, 0.88) 100%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.masonry-item:hover .masonry-caption { opacity: 1; }
.masonry-caption .tag { font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 0.3rem; }
.masonry-caption strong { color: var(--text-on-dark); font-size: var(--fs-base); font-weight: 600; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.stars { display: flex; gap: 0.25rem; color: var(--gold-500); }
.stars svg { width: 16px; height: 16px; }
.testimonial-card p { color: var(--text); font-size: var(--fs-sm); font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-initial {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
}
.testimonial-author strong { display: block; font-size: var(--fs-sm); }
.testimonial-author span { font-size: var(--fs-xs); color: var(--text-muted); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band { position: relative; overflow: hidden; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 20ch; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-hammer { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: 340px; opacity: 0.08; }

/* ==========================================================================
   Service area
   ========================================================================== */

.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.5rem; margin-top: 1.6rem; }
.area-list li { display: flex; align-items: center; gap: 0.7rem; font-size: var(--fs-sm); font-weight: 500; }
.area-list svg { width: 16px; height: 16px; color: var(--gold-600); flex-shrink: 0; }
.area-list a { color: var(--text); border-bottom: 1px solid transparent; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.area-list a:hover { color: var(--navy-800); border-color: var(--gold-500); }
.area-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1/1; background: var(--navy-900); }
.area-map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 3vw, 3rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-700); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  font-size: var(--fs-sm);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 1rem; }

.jobtread-embed {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  background: var(--cream-100);
}

.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.contact-info-card {
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-info-card .service-icon { background: rgba(200, 155, 60, 0.14); color: var(--gold-400); }
.contact-info-card h4 { color: var(--text-on-dark); }
.contact-info-card p, .contact-info-card a { font-size: var(--fs-sm); color: var(--text-on-dark-muted); }
.contact-info-card a:hover { color: var(--gold-400); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-900); color: var(--text-on-dark); padding-top: var(--space-section); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-brand img { height: 44px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-on-dark); }
.site-footer p { font-size: var(--fs-sm); max-width: 32ch; }
.footer-col h5 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.3rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { font-size: var(--fs-sm); color: var(--text-on-dark-muted); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--text-on-dark); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.6rem;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
}
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; gap: 1.6rem; }

/* ==========================================================================
   Misc components
   ========================================================================== */

.marker {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-right: 0.6rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold-600);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.divider-mark { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-block: 1.6rem; }
.divider-mark::before, .divider-mark::after { content: ""; flex: 1; height: 1px; background: var(--border); max-width: 120px; }
.divider-mark svg { width: 22px; height: 22px; color: var(--gold-500); }
.on-dark .divider-mark::before, .on-dark .divider-mark::after { background: var(--border-dark); }

/* Reveal animation base state — visible by default (no-JS fallback); GSAP sets its own
   from/to inline styles via fromTo() when it runs, so no CSS pre-hide is needed here. */
[data-reveal] { opacity: 1; }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid-3, .service-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

@media (max-width: 860px) {
  .nav-links, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .area-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2 180px; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid-3, .service-grid-4 { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .masonry { columns: 1; }
  .hero { align-items: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 4.5rem; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  padding: 6.5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav .btn { margin-top: 2rem; }
