/* ==========================================================================
   BUILDRIX — Construction Recruitment
   Design system + site styles
   ========================================================================== */

/* -------------------------------- Tokens --------------------------------
   Brand colours are taken directly from the Buildrix logo lockup files
   (ink #120F0C, amber #EF6D00) — do not adjust the base --ink/--amber
   values without checking against the source logo files.
   ---------------------------------------------------------------------- */
:root{
  /* Brand neutrals — from logo */
  --ink:            #120F0C;
  --ink-soft:       #241E18;
  --ink-softer:     #342B22;
  --navy:           #120F0C;

  /* Brand paper */
  --paper:          #F7F4EE;
  --paper-dim:      #EEE9DF;
  --paper-line:     rgba(18,15,12,.12);

  /* Brand accent — from logo */
  --amber:          #EF6D00;
  --amber-dark:     #B25100;
  --amber-darker:   #893E00;
  --amber-light:    #FFA960;
  --amber-tint:     #FFE0C6;

  /* Steel (secondary neutral, warmed to match brand's warm black) */
  --steel:          #5A544C;
  --steel-light:    #948C81;

  /* Utility */
  --white:          #FFFFFF;
  --success:        #2F7A46;
  --line-on-dark:   rgba(247,244,238,.14);
  --line-on-dark-strong: rgba(247,244,238,.28);

  /* Typography */
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-w: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --section-pad: clamp(64px, 9vw, 128px);

  /* Motion */
  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-fast: .18s;
  --dur-med: .4s;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
* { margin: 0; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id]{ scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  min-height: 100svh;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg{ display: block; max-width: 100%; }
input, button, textarea, select{ font: inherit; color: inherit; }
button{ cursor: pointer; }
a{ color: inherit; text-decoration: none; }
ul[class], ol[class]{ list-style: none; padding: 0; }
h1,h2,h3,h4,h5,h6{ font-family: var(--font-display); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
}

.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 999; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus{ top: 12px; }

/* ------------------------------- Typography ------------------------------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.eyebrow::before{
  content: ""; width: 22px; height: 2px; background: var(--amber);
  display: inline-block; border-radius: 2px;
}
.eyebrow.on-dark{ color: var(--amber); }

.h1{ font-size: clamp(2.4rem, 3.4vw + 1.2rem, 4.6rem); }
.h2{ font-size: clamp(1.9rem, 2.2vw + 1rem, 3.1rem); }
.h3{ font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); }
.h4{ font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); }

.lede{
  font-size: clamp(1.05rem, .5vw + .9rem, 1.25rem);
  color: var(--steel);
  line-height: 1.6;
  max-width: 58ch;
}
.on-dark .lede, .lede.on-dark{ color: #D1CECB; }

.section-head{
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow{ margin-bottom: 14px; }
.section-head .h2{ margin-bottom: 16px; }

/* --------------------------------- Layout --------------------------------- */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px){ .container{ padding-inline: 32px; } }
@media (min-width: 1024px){ .container{ padding-inline: 48px; } }

section{ padding-block: var(--section-pad); }
.section-tight{ padding-block: clamp(48px, 6vw, 84px); }

.bg-ink{ background: var(--ink); color: var(--paper); }
.bg-navy{ background: linear-gradient(155deg, var(--navy), var(--ink) 70%); color: var(--paper); }
.bg-paper-dim{ background: var(--paper-dim); }
.bg-amber{ background: var(--amber); color: var(--ink); }

/* Grid helpers */
.grid{ display: grid; gap: 24px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: 1fr; }
@media (min-width: 640px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px){
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------- Buttons --------------------------------- */
.btn{
  --btn-pad-y: 15px;
  --btn-pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.005em;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  min-height: 52px;
}
.btn svg{ width: 20px; height: 20px; flex-shrink: 0; }
.btn:active{ transform: translateY(1px); }
.btn:disabled{ opacity: .65; cursor: not-allowed; }
.btn:disabled:hover{ transform: none; }

.btn-primary{
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.btn-primary:hover{ background: var(--amber-dark); box-shadow: 0 8px 20px -6px rgba(178,81,0,.55); }

.btn-dark{
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover{ background: var(--ink-soft); box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }

.btn-outline{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--paper); }

.btn-outline-light{
  background: transparent;
  border-color: var(--line-on-dark-strong);
  color: var(--paper);
}
.btn-outline-light:hover{ border-color: var(--amber); color: var(--amber); }

.btn-ghost{
  background: transparent;
  color: inherit;
  border-color: transparent;
  padding-inline: 4px;
}
.btn-ghost:hover{ color: var(--amber-dark); }

.btn-block{ width: 100%; }
.btn-lg{ --btn-pad-y: 18px; --btn-pad-x: 32px; font-size: 1.05rem; min-height: 58px; }
.btn-sm{ --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: .88rem; min-height: 40px; }

.btn-group{ display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------- Icon chip -------------------------------- */
.icon-badge{
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--amber-tint);
  color: var(--amber-dark);
  flex-shrink: 0;
}
.icon-badge svg{ width: 26px; height: 26px; }
.icon-badge.on-dark{ background: rgba(239,109,0,.14); color: var(--amber); }
.icon-badge.lg{ width: 64px; height: 64px; border-radius: var(--radius-lg); }
.icon-badge.lg svg{ width: 30px; height: 30px; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,238,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--paper-line);
  color: var(--ink);
}
.header-bar{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  height: 76px;
}
.brand{
  display: inline-flex; align-items: center;
}
.brand-logo{
  height: 28px; width: auto; display: block;
}
@media (min-width: 480px){ .brand-logo{ height: 32px; } }
@media (min-width: 1024px){ .brand-logo{ height: 36px; } }

.main-nav{ display: none; }
.main-nav ul{ display: flex; align-items: center; gap: 22px; }
.main-nav a{
  display: inline-block;
  white-space: nowrap;
  font-weight: 600; font-size: .95rem; color: var(--steel);
  position: relative; padding-block: 6px;
  transition: color var(--dur-fast) var(--ease);
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--amber); transition: right var(--dur-med) var(--ease);
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 10px; }
.header-call{
  display: none;
  align-items: center; gap: 8px;
  color: var(--ink); font-weight: 700; font-size: .92rem;
  white-space: nowrap;
}
.header-call svg{ width: 18px; height: 18px; color: var(--amber-dark); }

.nav-toggle{
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--paper-line);
  color: var(--ink);
}
.nav-toggle svg{ width: 22px; height: 22px; }
.nav-toggle .icon-close{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-open{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display: block; }

@media (min-width: 1024px){
  .main-nav{ display: block; }
  .header-call{ display: inline-flex; }
  .nav-toggle{ display: none; }
  .header-actions .btn-primary{ display: inline-flex; }
}
@media (max-width: 1023.98px){
  .header-actions .btn-primary.btn-header-request{ display: none; }
}

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 76px 0 0 0;
  background: var(--ink);
  z-index: 99;
  padding: 28px 20px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility 0s linear var(--dur-med);
}
.mobile-nav.is-open{
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.mobile-nav ul{ display: flex; flex-direction: column; }
.mobile-nav a{
  display: block; padding: 18px 4px; font-size: 1.35rem; font-weight: 700;
  border-bottom: 1px solid var(--line-on-dark); color: var(--paper);
  font-family: var(--font-display);
}
.mobile-nav .mobile-nav-actions{
  margin-top: 28px; display: flex; flex-direction: column; gap: 14px;
}
.mobile-nav .mobile-contact{
  margin-top: 28px; display: flex; flex-direction: column; gap: 12px;
  font-size: 1rem; color: #D1CECB;
}
.mobile-nav .mobile-contact a{ font-weight: 700; color: var(--paper); display: inline-flex; align-items: center; gap: 10px; }
.mobile-nav .mobile-contact svg{ width: 20px; height: 20px; color: var(--amber); }
@media (min-width: 1024px){ .mobile-nav{ display: none !important; } }

body.nav-open{ overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding-block: clamp(40px, 9vw, 96px) clamp(40px, 8vw, 88px);
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  opacity: .5;
  pointer-events: none;
}
.hero::after{
  content: "";
  position: absolute; right: -18%; top: -10%;
  width: 62%; height: 130%;
  background: var(--amber);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 8% 100%);
  opacity: .1;
  pointer-events: none;
}
.hero-inner{
  position: relative; z-index: 1;
  display: grid; gap: 44px;
  align-items: center;
}
@media (min-width: 1024px){
  .hero-inner{ grid-template-columns: 1.08fr .92fr; gap: 40px; }
}

.hero-copy .eyebrow{ margin-bottom: 20px; }
.hero-copy .h1{ margin-bottom: 22px; }
.hero-copy .h1 em{
  font-style: normal; color: var(--amber);
}
.hero-copy .lede{ margin-bottom: 34px; max-width: 54ch; }

.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-quickcontact{
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center;
  padding-top: 22px; border-top: 1px solid var(--line-on-dark);
}
.hero-quickcontact a{
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem;
  color: #DCDAD8;
}
.hero-quickcontact a:hover{ color: var(--amber); }
.hero-quickcontact svg{ width: 20px; height: 20px; color: var(--amber); flex-shrink: 0; }

/* Hero visual panel */
.hero-visual{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #242220, var(--ink) 65%);
  border: 1px solid var(--line-on-dark);
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-visual .skyline{
  position: absolute; inset: 0; opacity: .9;
}
.hero-visual .skyline svg{ width: 100%; height: 100%; }
.hero-stats{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-on-dark);
  border-top: 1px solid var(--line-on-dark);
}
.hero-stats .stat{
  min-width: 0;
  background: rgba(18,15,12,.72);
  padding: 20px 20px 22px;
}
.hero-stats .stat strong{
  display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px;
}
.hero-stats .stat span{ font-size: .82rem; color: #C0BCB9; }

.hero-badge-float{
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--amber); color: var(--ink);
  font-weight: 800; font-size: .78rem; letter-spacing: .04em;
  padding: 9px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badge-float svg{ width: 16px; height: 16px; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip{
  background: var(--paper-dim);
  border-bottom: 1px solid var(--paper-line);
}
.trust-grid{
  display: grid; gap: 28px 24px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px){ .trust-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px){ .trust-grid{ grid-template-columns: repeat(6, 1fr); } }
.trust-item{
  min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding-right: 8px;
}
.trust-item svg{ width: 26px; height: 26px; color: var(--amber-dark); }
.trust-item span{ font-weight: 700; font-size: .92rem; line-height: 1.35; color: var(--ink); }

/* ==========================================================================
   CARDS — Services
   ========================================================================== */
.service-grid{ display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px){ .service-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px){ .service-grid{ grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.service-card{
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.service-card:hover{
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -20px rgba(20,23,26,.4);
}
.service-card h3{ font-size: 1.05rem; }
.service-card p{ font-size: .88rem; color: var(--steel); line-height: 1.5; }

.services-note{
  margin-top: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-line);
}
.services-note p{ color: var(--steel); max-width: 46ch; }

/* ==========================================================================
   TWO AUDIENCE SPLIT
   ========================================================================== */
.split{ display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px){ .split{ grid-template-columns: 1fr 1fr; } }

.split-panel{
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.split-panel.for-business{ background: var(--ink); color: var(--paper); }
.split-panel.for-worker{ background: var(--amber); color: var(--ink); }

.split-panel .icon-badge{ margin-bottom: 6px; }
.split-panel h3{ font-size: clamp(1.6rem, 2vw + .8rem, 2.3rem); margin-bottom: 4px; }
.split-panel p.desc{ max-width: 46ch; opacity: .92; }
.split-panel.for-business p.desc{ color: #D1CECB; }
.split-panel.for-worker p.desc{ color: rgba(20,23,26,.78); }
.split-panel .split-points{ display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.split-panel .split-points li{ display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: .95rem; }
.split-panel .split-points svg{ width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.split-panel.for-business .split-points svg{ color: var(--amber); }
.split-panel.for-worker .split-points svg{ color: var(--ink); }
.split-panel .btn-group{ margin-top: 12px; }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.benefit-grid{ display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px){ .benefit-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .benefit-grid{ grid-template-columns: repeat(3, 1fr); } }
.benefit-card{
  min-width: 0;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-line);
}
.benefit-card h3{ font-size: 1.08rem; }
.benefit-card p{ color: var(--steel); font-size: .92rem; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.tabs{ display: inline-flex; background: var(--ink-soft); padding: 6px; border-radius: 999px; margin-bottom: 40px; gap: 4px; }
.tab-btn{
  border: none; background: transparent; color: #C0BCB9;
  font-weight: 700; font-size: .92rem; padding: 12px 22px; border-radius: 999px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.tab-btn[aria-selected="true"]{ background: var(--amber); color: var(--ink); }

.steps{ display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px){ .steps{ grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.tab-panel{ display: none; }
.tab-panel.is-active{ display: block; }

.step{ position: relative; padding-top: 8px; min-width: 0; }
.step .step-num{
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 800;
  color: transparent; -webkit-text-stroke: 1.5px var(--amber);
  line-height: 1; margin-bottom: 14px; display: block;
}
.step h3{ color: var(--paper); font-size: 1.15rem; margin-bottom: 10px; }
.step p{ color: #C0BCB9; font-size: .94rem; }
.steps-connector{ display: none; }
@media (min-width: 860px){
  .step:not(:last-child)::after{
    content: ""; position: absolute; top: 26px; left: calc(100% + 14px);
    width: calc(28px - 0px); height: 1px; background: var(--line-on-dark-strong);
  }
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industry-grid{ display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px){ .industry-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px){ .industry-grid{ grid-template-columns: repeat(4, 1fr); } }
.industry-card{
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.industry-card:hover{ border-color: var(--amber); background: var(--amber-tint); }
.industry-card svg{ width: 24px; height: 24px; color: var(--amber-dark); flex-shrink: 0; }
.industry-card span{ font-weight: 700; font-size: .92rem; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta{
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  text-align: center;
}
.final-cta::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(239,109,0,.16), transparent 70%);
}
.final-cta-inner{ position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.final-cta .h2{ margin-bottom: 18px; }
.final-cta .lede{ margin-inline: auto; margin-bottom: 38px; }
.final-cta .btn-group{ justify-content: center; margin-bottom: 30px; }
.final-cta .quickline{ display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.final-cta .quickline a{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #DCDAD8; }
.final-cta .quickline a:hover{ color: var(--amber); }
.final-cta .quickline svg{ width: 18px; height: 18px; color: var(--amber); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ background: var(--ink); color: #C0BCB9; }
.footer-top{
  padding-block: 64px 48px;
  display: grid; gap: 44px;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 860px){
  .footer-top{ grid-template-columns: 1.3fr .8fr .8fr 1fr; }
}
.footer-brand .brand{
  margin-bottom: 20px;
  background: var(--paper);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
}
.footer-brand .brand .brand-logo{ height: 34px; }
.footer-brand p{ max-width: 40ch; font-size: .92rem; line-height: 1.6; }
.footer-col h4{ color: var(--paper); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: .92rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover{ color: var(--amber); }
.footer-contact li{ display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.footer-contact svg{ width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.footer-contact a{ font-weight: 700; color: var(--paper); }

.footer-bottom{
  padding-block: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  font-size: .82rem;
}
.footer-bottom .legal-links{ display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover{ color: var(--amber); }

/* ==========================================================================
   STICKY MOBILE CTA BAR
   ========================================================================== */
.mobile-cta-bar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  border-top: 1px solid var(--line-on-dark-strong);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-cta-bar a{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px 4px 12px; color: var(--paper);
  font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  border-right: 1px solid var(--line-on-dark);
}
.mobile-cta-bar a:last-child{ border-right: none; }
.mobile-cta-bar a svg{ width: 21px; height: 21px; }
.mobile-cta-bar a.cta-primary{ background: var(--amber); color: var(--ink); }
.mobile-cta-bar a.cta-email svg{ color: var(--amber-dark); }
.mobile-cta-bar a.cta-primary svg{ color: var(--ink); }
.mobile-cta-bar a.cta-call svg{ color: var(--amber); }

@media (min-width: 1024px){ .mobile-cta-bar{ display: none; } }
body.has-mobile-bar{ padding-bottom: 66px; }
@media (min-width: 1024px){ body.has-mobile-bar{ padding-bottom: 0; } }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-hero{
  background: var(--ink); color: var(--paper);
  padding-block: 56px 64px;
  position: relative; overflow: hidden;
}
.page-hero::after{
  content: ""; position: absolute; right: -10%; top: -40%;
  width: 50%; height: 180%; background: var(--amber); opacity: .08;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero-inner{ position: relative; z-index: 1; max-width: 760px; }
.breadcrumb{ display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #C0BCB9; margin-bottom: 20px; }
.breadcrumb a:hover{ color: var(--amber); }
.page-hero .h1{ margin-bottom: 16px; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-layout{
  display: grid; gap: 40px; grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 980px){ .form-layout{ grid-template-columns: 1.1fr .8fr; gap: 56px; } }

.form-card{
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}
.form-grid{ display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 8px; }
@media (min-width: 620px){ .form-grid{ grid-template-columns: 1fr 1fr; } }
.field{ display: flex; flex-direction: column; gap: 8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-weight: 700; font-size: .88rem; }
.field .req{ color: var(--amber-dark); }
.field .hint{ font-size: .78rem; color: var(--steel-light); font-weight: 500; }
.field input, .field select, .field textarea{
  border: 1.5px solid var(--paper-line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  background: var(--paper);
  font-size: .96rem;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--amber); background: var(--white); outline: none;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: #C6402D; }
.field .error-msg{ font-size: .8rem; color: #C6402D; font-weight: 600; display: none; }
.field.has-error .error-msg{ display: block; }

.checkbox-row{ display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.checkbox-row input{ margin-top: 4px; width: 18px; height: 18px; accent-color: var(--amber); flex-shrink: 0; }
.checkbox-row label{ font-size: .84rem; color: var(--steel); font-weight: 500; }

.form-submit-row{ display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.form-note{ font-size: .82rem; color: var(--steel-light); }

.form-error{
  display: none;
  background: #FBEAE6;
  border-left: 3px solid #C6402D;
  color: #8A2E1F;
  font-size: .88rem; font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.form-error.is-visible{ display: block; }
.form-error a{ text-decoration: underline; }

.form-success{
  display: none;
  text-align: center;
  padding: 60px 24px;
}
.form-success.is-visible{ display: block; }
.form-success .icon-badge{ margin-inline: auto; margin-bottom: 20px; background: #E4F3E8; color: var(--success); }
.form-success h3{ margin-bottom: 12px; }
.form-success p{ color: var(--steel); max-width: 46ch; margin-inline: auto; }

.form.is-hidden{ display: none; }

/* Sidebar on form pages */
.form-sidebar{ display: flex; flex-direction: column; gap: 20px; }
.side-card{
  background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.side-card h3{ font-size: 1.05rem; margin-bottom: 14px; }
.side-card ul{ display: flex; flex-direction: column; gap: 12px; }
.side-card li{ display: flex; gap: 10px; font-size: .9rem; color: #D1CECB; }
.side-card li svg{ width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.side-card.contact-card{ background: var(--amber); color: var(--ink); }
.side-card.contact-card h3{ color: var(--ink); }
.side-card.contact-card a{ font-weight: 800; }
.side-card.contact-card .contact-line{ display: flex; align-items: center; gap: 10px; font-size: 1rem; padding: 10px 0; border-top: 1px solid rgba(20,23,26,.15); }
.side-card.contact-card .contact-line:first-of-type{ border-top: none; }
.side-card.contact-card svg{ width: 20px; height: 20px; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-content{ max-width: 760px; }
.legal-content h2{ margin-top: 40px; margin-bottom: 14px; font-size: 1.3rem; }
.legal-content h2:first-child{ margin-top: 0; }
.legal-content p, .legal-content li{ color: var(--steel); margin-bottom: 14px; line-height: 1.7; }
.legal-content ul{ padding-left: 20px; list-style: disc; }
.legal-content .placeholder-note{
  background: var(--amber-tint); border-left: 3px solid var(--amber);
  padding: 16px 20px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink);
  margin-bottom: 32px;
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found{ text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.not-found .code{ font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); color: var(--amber); line-height: 1; margin-bottom: 12px; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }
[data-reveal-group] [data-reveal]:nth-child(1){ transition-delay: .03s; }
[data-reveal-group] [data-reveal]:nth-child(2){ transition-delay: .09s; }
[data-reveal-group] [data-reveal]:nth-child(3){ transition-delay: .15s; }
[data-reveal-group] [data-reveal]:nth-child(4){ transition-delay: .21s; }
[data-reveal-group] [data-reveal]:nth-child(5){ transition-delay: .27s; }
[data-reveal-group] [data-reveal]:nth-child(6){ transition-delay: .33s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}
