/* ==========================================================================
   Palm Bay Construction Group — Design System
   Premium black / gold / navy theme. Mobile-first, responsive, accessible.
   ========================================================================== */

:root {
  /* Brand */
  --gold: #c9a14a;
  --gold-bright: #e3c574;
  --gold-soft: #d8bd77;
  --gold-deep: #a87f33;
  --navy: #16233b;
  --navy-deep: #0f1929;

  /* Neutrals */
  --ink: #15171b;
  --ink-2: #3c424b;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-warm: #f7f5ef;
  --bg-warm-2: #f1ede3;
  --bg-dark: #0d0f12;
  --bg-dark-2: #14181d;
  --bg-dark-3: #1b2027;
  --line: #e7e2d6;
  --line-2: #ded8c8;
  --gold-line: rgba(201, 161, 74, 0.28);

  /* Type */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --brand: "Cinzel", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 80px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(20, 22, 26, 0.06);
  --shadow: 0 14px 40px -18px rgba(20, 22, 26, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(20, 22, 26, 0.45);
  --shadow-gold: 0 18px 46px -20px rgba(168, 127, 51, 0.55);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.35s var(--ease);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--gold); color: #1b1407; }

/* --------------------------------------------------------------- Typography */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.95rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.16rem; }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.7; }
strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(60px, 9vw, 116px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-dark); color: #e9e7e1; }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #eef1f6; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--dark p, .section--navy p { color: rgba(255,255,255,0.78); }

/* Eyebrow / section heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--brand); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.section--dark .eyebrow, .section--navy .eyebrow { color: var(--gold-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* --------------------------------------------------------------- Buttons */
.btn {
  --bg-btn: var(--gold); --fg-btn: #14110a;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; border: 1.5px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 600; font-size: 0.97rem; letter-spacing: 0.02em; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  box-shadow: var(--shadow-gold); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(168,127,51,0.7); background: var(--gold-bright); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 18px 38px; font-size: 1.03rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.btn--outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); box-shadow: none; }
.btn--outline-gold:hover { background: var(--gold); color: #14110a; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { background: var(--bg-warm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn svg { width: 18px; height: 18px; }

.textlink { color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; transition: gap var(--t), color var(--t); }
.textlink svg { width: 17px; height: 17px; transition: transform var(--t); }
.textlink:hover { color: var(--gold); }
.textlink:hover svg { transform: translateX(4px); }
.section--dark .textlink, .section--navy .textlink { color: var(--gold-soft); }

/* --------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t), height var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,11,0.72) 0%, rgba(8,9,11,0.18) 70%, transparent 100%);
  transition: opacity var(--t); opacity: 1;
}
.site-header.is-scrolled {
  height: 68px; background: rgba(11,13,16,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--gold-line); box-shadow: 0 10px 30px -16px rgba(0,0,0,0.6);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; color: var(--gold); transition: width var(--t), height var(--t); }
.is-scrolled .brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--brand); font-weight: 700; letter-spacing: 0.14em; font-size: 1.18rem; color: #f3e7c6; }
.brand__sub { font-family: var(--brand); font-weight: 500; letter-spacing: 0.3em; font-size: 0.55rem; color: var(--gold); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 14px; font-size: 0.93rem; font-weight: 500; white-space: nowrap;
  color: rgba(255,255,255,0.86); border-radius: 8px; transition: color var(--t), background var(--t);
}
@media (max-width: 1180px) { .main-nav a { padding: 10px 11px; font-size: 0.89rem; } .header-cta { gap: 12px; } }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: var(--gold-soft); }
.main-nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a > .caret { width: 11px; height: 11px; margin-left: 5px; opacity: 0.8; transition: transform var(--t); display: inline-block; vertical-align: middle; }
.has-dropdown:hover > a > .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 256px; background: rgba(15,17,21,0.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--gold-line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 9px; font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(201,161,74,0.14); color: var(--gold-soft); }
.dropdown a small { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.45); margin-top: 2px; font-weight: 400; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-size: 0.98rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.header-phone span small { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-soft); }

/* Hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; background: rgba(255,255,255,0.06); cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t), opacity var(--t); position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-dark);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 16px) 24px 30px; overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav a { color: #ece9e2; font-size: 1.18rem; font-weight: 500; padding: 15px 6px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a.active { color: var(--gold-soft); }
.mobile-nav .sub-label { font-family: var(--brand); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 22px; margin-bottom: 4px; padding: 0 6px; }
.mobile-nav .mobile-sub a { font-size: 1rem; color: rgba(255,255,255,0.72); padding-left: 16px; }
.mobile-nav .mobile-cta { margin-top: 26px; display: grid; gap: 12px; }
.mobile-nav .mobile-cta .btn { width: 100%; }
.nav-backdrop { position: fixed; inset: 0; z-index: 98; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; display: flex; align-items: center; color: #fff; isolation: isolate; padding-top: var(--header-h); }
.hero--home { min-height: min(92vh, 880px); }
.hero--page { min-height: clamp(360px, 52vh, 540px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,9,11,0.92) 0%, rgba(8,9,11,0.72) 38%, rgba(8,9,11,0.42) 68%, rgba(8,9,11,0.3) 100%);
}
.hero--page .hero__bg::after { background: linear-gradient(180deg, rgba(8,9,11,0.7) 0%, rgba(8,9,11,0.6) 55%, rgba(8,9,11,0.78) 100%); }
.hero__inner { padding-block: clamp(40px, 7vw, 90px); max-width: 760px; }
.hero--page .hero__inner { max-width: 820px; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.hero .hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255,255,255,0.88); max-width: 620px; }
.hero .btn-row { margin-top: 34px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero--page .eyebrow { color: var(--gold-soft); }

/* breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--gold-soft); }
.breadcrumbs span { opacity: 0.5; }

/* hero trust row */
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 38px; }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.hero-trust svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }

/* --------------------------------------------------------------- Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-dark-2); padding: 30px 22px; text-align: center; }
.section--warm .stat, .section:not(.section--dark):not(.section--navy) .stats .stat { }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 0.86rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
.stats--light { background: var(--line); border-color: var(--line); }
.stats--light .stat { background: #fff; }
.stats--light .stat__num { color: var(--gold-deep); }
.stats--light .stat__label { color: var(--muted); }

/* --------------------------------------------------------------- Grids & cards */
.grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.32rem; }
.card__body p { margin-top: 10px; font-size: 0.98rem; }
.card__body .textlink { margin-top: 18px; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%); display: grid; place-items: center; color: #1b1407; margin-bottom: 18px; box-shadow: var(--shadow-gold); }
.card__icon svg { width: 26px; height: 26px; }

/* service card with image + overlay label */
.svc-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.svc-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,9,11,0.05) 30%, rgba(8,9,11,0.82) 100%); }
.svc-card:hover img { transform: scale(1.07); }
.svc-card__body { padding: 28px; width: 100%; }
.svc-card__body h3 { color: #fff; }
.svc-card__body p { color: rgba(255,255,255,0.82); margin-top: 8px; font-size: 0.95rem; }
.svc-card__body .textlink { color: var(--gold-soft); margin-top: 14px; }
.svc-card__tag { position: absolute; top: 18px; left: 18px; z-index: 1; background: rgba(201,161,74,0.92); color: #14110a; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }

/* feature (icon list) */
.feature { display: flex; gap: 18px; }
.feature__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-warm); border: 1px solid var(--line); color: var(--gold-deep); }
.section--dark .feature__icon, .section--navy .feature__icon { background: rgba(201,161,74,0.12); border-color: var(--gold-line); color: var(--gold-soft); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; }
.feature h4 { font-family: var(--display); font-size: 1.18rem; font-weight: 700; }
.feature p { margin-top: 7px; font-size: 0.97rem; }

/* split / media+text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.split__media .img-stack { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-badge { position: absolute; background: var(--bg-dark); color: #fff; border: 1px solid var(--gold-line); border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow-lg); }
.media-badge--br { right: -10px; bottom: -22px; }
.media-badge__num { font-family: var(--display); color: var(--gold); font-size: 2.1rem; font-weight: 700; line-height: 1; }
.media-badge__txt { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 6px; max-width: 130px; }

.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-2); }
.check-list li strong { color: var(--ink); }
.check-list svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold-deep); margin-top: 2px; }
.section--dark .check-list li, .section--navy .check-list li { color: rgba(255,255,255,0.82); }
.section--dark .check-list svg, .section--navy .check-list svg { color: var(--gold); }

/* --------------------------------------------------------------- Process steps */
.steps { counter-reset: step; display: grid; gap: clamp(22px, 3vw, 34px); }
.step { position: relative; padding-left: 80px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -4px; font-family: var(--display); font-weight: 700; font-size: 2.1rem;
  color: var(--gold); width: 60px; text-align: left;
}
.step::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: -28px; width: 1px; background: var(--gold-line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.28rem; }
.step p { margin-top: 8px; }

/* --------------------------------------------------------------- Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; display: block; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,9,11,0.45)); opacity: 0; transition: opacity var(--t); }
.gallery a:hover::after { opacity: 1; }
.gallery--tall a:nth-child(4n) { aspect-ratio: 4/5.4; }

/* --------------------------------------------------------------- Testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.quote-card .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.quote-card .stars svg { width: 19px; height: 19px; }
.quote-card blockquote { font-size: 1.06rem; color: var(--ink-2); line-height: 1.7; flex: 1; }
.quote-card blockquote::before { content: "\201C"; font-family: var(--display); color: var(--gold); font-size: 2.4rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.quote-card__by { margin-top: 22px; display: flex; align-items: center; gap: 13px; }
.quote-card__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--display); font-weight: 700; flex-shrink: 0; }
.quote-card__by b { display: block; color: var(--ink); font-weight: 600; }
.quote-card__by span { font-size: 0.86rem; color: var(--muted); }

/* --------------------------------------------------------------- CTA band */
.cta-band { position: relative; isolation: isolate; color: #fff; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 72px); box-shadow: var(--shadow-lg); }
.cta-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(13,15,18,0.95) 0%, rgba(13,15,18,0.78) 55%, rgba(22,35,59,0.7) 100%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 14px; max-width: 560px; }
.cta-band .btn-row { margin-top: 30px; }
.cta-band__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }

/* --------------------------------------------------------------- Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card--dark { background: var(--bg-dark-2); border-color: var(--gold-line); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.form-card--dark .field label { color: rgba(255,255,255,0.9); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 11px; background: #fff;
  font-size: 0.97rem; color: var(--ink); transition: border-color var(--t), box-shadow var(--t); appearance: none;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,161,74,0.16); }
.form-card--dark .field input, .form-card--dark .field select, .form-card--dark .field textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.16); color: #fff; }
.form-card--dark .field input::placeholder, .form-card--dark .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.form-card--dark .form-note { color: rgba(255,255,255,0.55); }
.form-msg { display: none; padding: 14px 18px; border-radius: 11px; font-size: 0.94rem; margin-top: 4px; }
.form-msg.is-error { display: block; background: #fdeeee; color: #9c2b2b; border: 1px solid #f3c9c9; }
.form-msg.is-success { display: block; background: #eef7ef; color: #1f6b34; border: 1px solid #cfe7d3; }
.form-card .btn[type="submit"] { width: 100%; margin-top: 4px; }
.btn.is-loading { opacity: 0.75; pointer-events: none; }

/* --------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.faq-item[open] { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 1.06rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; font-family: var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform var(--t); }
.faq-item summary .faq-icon::before, .faq-item summary .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--gold-deep); }
.faq-item summary .faq-icon::before { width: 14px; height: 2px; }
.faq-item summary .faq-icon::after { width: 2px; height: 14px; transition: transform var(--t); }
.faq-item[open] summary .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item .faq-body { padding: 0 24px 24px; color: var(--ink-2); }
.faq-item .faq-body p + p { margin-top: 12px; }

/* --------------------------------------------------------------- Logos / trust badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.badge svg { width: 24px; height: 24px; color: var(--gold-deep); }
.section--dark .badge, .section--navy .badge { color: rgba(255,255,255,0.85); }
.section--dark .badge svg { color: var(--gold); }

/* pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; background: var(--bg-warm); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.pill svg { width: 15px; height: 15px; color: var(--gold-deep); }
.section--dark .pill, .section--navy .pill { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.82); }

/* prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 34px; }
.prose p { margin-top: 16px; }
.prose ul { margin-top: 16px; display: grid; gap: 10px; }
.prose ul li { padding-left: 26px; position: relative; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.72); padding-top: clamp(56px, 7vw, 88px); border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.95rem; max-width: 330px; }
.footer-col h4 { color: #fff; font-family: var(--brand); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.68); font-size: 0.94rem; transition: color var(--t), padding var(--t); }
.footer-col a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 0.94rem; }
.footer-contact svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.82); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: rgba(255,255,255,0.8); transition: background var(--t), color var(--t), border-color var(--t), transform var(--t); }
.footer-social a:hover { background: var(--gold); color: #14110a; border-color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,0.1); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* --------------------------------------------------------------- Floating mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 0; background: var(--bg-dark); border-top: 1px solid var(--gold-line); box-shadow: 0 -10px 30px -10px rgba(0,0,0,0.5); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 8px; font-weight: 600; font-size: 0.95rem; color: #fff; }
.mobile-bar a + a { border-left: 1px solid rgba(255,255,255,0.12); }
.mobile-bar a.is-primary { background: var(--gold); color: #14110a; }
.mobile-bar svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------- Misc utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 14px; } .mt-2 { margin-top: 26px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-deep); } .section--dark .gold, .section--navy .gold { color: var(--gold); }
.divider-flourish { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 10px 0; }
.divider-flourish::before, .divider-flourish::after { content: ""; height: 1px; width: 54px; background: currentColor; opacity: 0.5; }
.center-narrow { max-width: 680px; margin-inline: auto; text-align: center; }
.bg-pattern { background-image: radial-gradient(circle at 1px 1px, rgba(201,161,74,0.08) 1px, transparent 0); background-size: 26px 26px; }

/* Anchor offset for sticky header */
[id] { scroll-margin-top: 90px; }

/* --------------------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; } .reveal-d2 { transition-delay: 0.16s; } .reveal-d3 { transition-delay: 0.24s; } .reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Switch to hamburger before the desktop nav gets cramped */
@media (max-width: 1140px) {
  .main-nav, .header-phone span { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cta-band__grid { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .media-badge--br { right: 16px; bottom: -18px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery--tall a:nth-child(4n) { aspect-ratio: 4/3; }
  .form-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; }
  .site-footer { padding-bottom: 70px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero--home { min-height: 86vh; }
}
@media (max-width: 460px) {
  .brand__sub { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .hero .btn-row .btn { width: 100%; }
}
