/* ==========================================================================
   SUMMIT CONTAINER CREW — Stylesheet
   Design tokens, base styles, components, sections, utilities.
   ========================================================================== */

/* ---- Design tokens ---- */
:root{
  --black:        #0a0a0a;
  --black-soft:   #141414;
  --charcoal:     #1c1c1d;
  --charcoal-700: #2a2a2b;
  --line-dark:    #333335;

  --white:        #ffffff;
  --off-white:    #f7f7f5;
  --gray-100:     #eeeeec;
  --gray-200:     #dddddb;
  --gray-300:     #c6c6c3;
  --gray-500:     #8b8b88;
  --gray-600:     #6b6b68;
  --gray-700:     #4a4a48;

  --red:          #ed1c24;
  --red-dark:     #c4141b;
  --red-darker:   #9c1015;

  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  --radius-sm: 3px;
  --radius-md: 6px;

  --shadow-md: 0 12px 32px -12px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .5s;

  --header-h: 84px;
}

/* ---- Reset ---- */
*,*::before,*::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,h6{ margin: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input,textarea,select,button{ font-family: inherit; font-size: 1rem; }
fieldset{ border: 0; margin: 0; padding: 0; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.skip-link{
  position: absolute;
  left: 1rem; top: -60px;
  background: var(--red);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 200;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus{ top: 1rem; }

/* ---- Layout helpers ---- */
.container{
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section{ padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight{ padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bg-black{ background: var(--black); color: var(--white); }
.bg-charcoal{ background: var(--charcoal); color: var(--white); }
.bg-off{ background: var(--off-white); }
.bg-white{ background: var(--white); }

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

/* ---- Type scale ---- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--red);
}
.eyebrow::before{
  content: "";
  width: 28px; height: 3px;
  background: var(--red);
  display: inline-block;
}
.bg-black .eyebrow, .bg-charcoal .eyebrow{ color: var(--red); }

h1, .h1{ font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2, .h2{ font-size: clamp(2rem, 4.4vw, 3rem); }
h3, .h3{ font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4, .h4{ font-size: 1.1rem; letter-spacing: .04em; }

.section-head{
  max-width: 46rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head.center{ margin-inline: auto; text-align: center; }
.section-head h2{ margin-top: .6rem; }
.section-head .lede{
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.bg-black .section-head .lede, .bg-charcoal .section-head .lede{ color: var(--gray-300); }

.lede{ font-size: 1.15rem; color: var(--gray-700); line-height: 1.7; }

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .95rem;
  padding: 1rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 10px 24px -10px rgba(237,28,36,.55);
}
.btn-primary:hover{ background: var(--red-dark); border-color: var(--red-dark); }
.btn-dark{
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover{ background: var(--charcoal-700); border-color: var(--charcoal-700); }
.btn-outline{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover{ border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-dark{
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover{ background: var(--black); color: var(--white); }
.btn-block{ width: 100%; }
.btn-lg{ padding: 1.15rem 2.3rem; font-size: 1.02rem; }
.btn[disabled]{ opacity: .6; cursor: not-allowed; transform: none; }

.btn-row{ display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---- Header ---- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid{
  background: rgba(10,10,10,.96);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
  height: 72px;
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand{
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.brand img{ height: 52px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img, .is-solid .brand img{ height: 44px; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name{ font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--white); letter-spacing: .02em; }
.brand-text .sub{ font-family: var(--font-head); font-weight: 600; font-size: .68rem; letter-spacing: .16em; color: var(--red); }

.main-nav{ display: flex; align-items: center; gap: 2.4rem; }
.main-nav ul{ display: flex; gap: 2.1rem; }
.main-nav a{
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"]{ border-color: var(--red); }

.header-actions{ display: flex; align-items: center; gap: 1.4rem; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-sm);
}
.nav-toggle span{
  display: block; height: 2px; width: 20px;
  background: var(--white);
  margin-inline: auto;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  transform: translateY(-100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open{ transform: translateY(0); }
.mobile-nav ul{ display: flex; flex-direction: column; }
.mobile-nav a{
  display: block;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.mobile-nav-footer{ margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav-contact{ display: flex; flex-direction: column; gap: .85rem; }
.mobile-nav-contact a{ color: var(--gray-300); font-family: var(--font-body); font-size: 1.05rem; text-transform: none; letter-spacing: 0; font-weight: 500; border: 0; padding: 0; display: flex; align-items: center; gap: .6rem; }
.mobile-nav-contact svg{ width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 2; }

body.nav-open{ overflow: hidden; }

/* ---- Sticky mobile CTA bar ---- */
.mobile-cta-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line-dark);
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-cta-bar a{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .95rem;
}
.mobile-cta-bar a svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-cta-bar .call{ background: var(--black); color: var(--white); }
.mobile-cta-bar .quote{ background: var(--red); color: var(--white); }

/* ---- Hero ---- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(6,6,6,.96) 0%, rgba(6,6,6,.72) 32%, rgba(6,6,6,.35) 62%, rgba(6,6,6,.55) 100%),
    linear-gradient(100deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%);
}
.hero-inner{
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(6rem, 16vw, 8rem) clamp(3rem, 7vw, 4.5rem);
}
.hero-tag{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(237,28,36,.14);
  border: 1px solid rgba(237,28,36,.5);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.4rem;
}
.hero-tag svg{ width: 14px; height: 14px; fill: none; stroke: var(--red); stroke-width: 2.4; }
.hero h1{ max-width: 18ch; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero .lede{ max-width: 42rem; margin-top: 1.4rem; font-size: 1.2rem; color: var(--gray-200); }
.hero .btn-row{ margin-top: 2.2rem; }
.hero-strip{
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 2.2rem);
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hero-strip .item{ display: flex; align-items: flex-start; gap: .8rem; }
.hero-strip svg{ width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.hero-strip strong{ display: block; font-family: var(--font-head); font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }
.hero-strip span{ color: var(--gray-300); font-size: .92rem; }

/* ---- Page header (inner pages) ---- */
.page-header{
  position: relative;
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--header-h) + 3.2rem);
  padding-bottom: 3.6rem;
  overflow: hidden;
}
.page-header .container{ position: relative; z-index: 1; }
.page-header-media{ position: absolute; inset: 0; opacity: .28; }
.page-header-media img{ width: 100%; height: 100%; object-fit: cover; }
.page-header::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, var(--black) 92%);
}
.page-header .eyebrow{ margin-bottom: .8rem; }
.breadcrumb{
  display: flex; gap: .5rem; align-items: center;
  font-size: .85rem; color: var(--gray-500);
  margin-top: 1.1rem;
}
.breadcrumb a{ color: var(--gray-300); }
.breadcrumb a:hover{ color: var(--white); }

/* ---- Intro / two-col ---- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split.reverse .split-media{ order: 2; }
.split-media{ position: relative; }
.split-media img{ width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); aspect-ratio: 4/5; }
.split-media .accent-bar{ position: absolute; top: -18px; left: -18px; width: 70px; height: 70px; background: var(--red); z-index: -1; }
.split-body h2{ margin-top: .6rem; }
.split-body .lede{ margin-top: 1.2rem; }
.check-list{ margin-top: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.check-list li{ display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; }
.check-list svg{ width: 20px; height: 20px; fill: none; stroke: var(--red); stroke-width: 2.4; flex-shrink: 0; margin-top: 2px; }

/* ---- Services grid ---- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.service-card{
  background: var(--white);
  padding: 2.2rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background-color .25s var(--ease);
}
.service-card::before{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.service-card:hover::before{ transform: scaleX(1); }
.service-card:hover{ background: var(--off-white); }
.service-card .icon{ width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--black); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--red); }
.service-card h3{ font-size: 1.2rem; text-transform: none; letter-spacing: 0; }
.service-card p{ color: var(--gray-700); font-size: .97rem; }
.service-card .tag{ font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; color: var(--red); text-transform: uppercase; font-weight: 700; }

.services-note{
  margin-top: 2.4rem;
  padding: 1.4rem 1.6rem;
  background: var(--off-white);
  border-left: 3px solid var(--red);
  color: var(--gray-700);
  font-size: .95rem;
}

/* ---- Why choose / feature list ---- */
.feature-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 2.8rem; margin-top: .5rem; }
.feature{ display: flex; gap: 1.1rem; }
.feature .num{
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  width: 2.4ch;
}
.feature h3{ font-size: 1.08rem; text-transform: none; letter-spacing: 0; margin-bottom: .4rem; }
.feature p{ color: var(--gray-700); font-size: .95rem; }
.bg-black .feature p, .bg-charcoal .feature p{ color: var(--gray-300); }

/* ---- How it works (steps) ---- */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
  position: relative;
}
.step{ position: relative; padding-top: 2.4rem; }
.step::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  display: block;
  margin-bottom: .6rem;
  line-height: 1;
}
.step::after{
  content: "";
  position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--gray-200);
}
.bg-black .step::after, .bg-charcoal .step::after{ background: var(--line-dark); }
.step h3{ font-size: 1.1rem; text-transform: none; letter-spacing: 0; margin-bottom: .5rem; }
.step p{ color: var(--gray-700); font-size: .93rem; }
.bg-black .step p, .bg-charcoal .step p{ color: var(--gray-300); }

/* ---- Business types ---- */
.chip-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: .5rem; }
.chip{
  display: flex;
  align-items: center;
  padding: 1.15rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
  font-size: .96rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover{ background: var(--off-white); transform: translateY(-2px); }

/* ---- Service area ---- */
.area-layout{ display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area-list{ display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.6rem; margin-top: 1.6rem; }
.area-list li{ display: flex; align-items: center; gap: .6rem; font-weight: 600; padding-block: .35rem; border-bottom: 1px solid var(--line-dark); font-size: .98rem; }
.area-list li.area-region-heading{
  grid-column: 1 / -1;
  border-bottom: none;
  font-family: var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--red);
  padding-top: 1rem;
}
.area-list li.area-region-heading:first-child{ padding-top: 0; }
.area-list svg{ width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 2.4; flex-shrink: 0; }
/* Offsets the anchor landing point so the heading clears the fixed header
   when jumping straight to this section (e.g. "#where-we-work" links). */
#where-we-work{ scroll-margin-top: calc(var(--header-h) + 24px); }

.area-card{
  background: var(--charcoal);
  border: 1px solid var(--line-dark);
  padding: 2rem;
  border-radius: var(--radius-md);
}
.area-card h3{ font-size: 1.1rem; text-transform: none; margin-bottom: .8rem; }
.area-card p{ color: var(--gray-300); font-size: .95rem; margin-bottom: 1.4rem; }

/* ---- CTA band ---- */
.cta-band{
  position: relative;
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-band-media{ position: absolute; inset: 0; opacity: .22; }
.cta-band-media img{ width: 100%; height: 100%; object-fit: cover; }
.cta-band::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--black) 0%, rgba(10,10,10,.75) 100%); }
.cta-band .container{ position: relative; z-index: 1; max-width: 760px; }
.cta-band h2{ margin-top: .6rem; }
.cta-band .lede{ margin-top: 1rem; color: var(--gray-300); }
.cta-band .btn-row{ justify-content: center; margin-top: 2rem; }

/* ---- Testimonial / trust placeholder ---- */
.placeholder-panel{
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
  color: var(--gray-600);
  background: var(--off-white);
}
.placeholder-panel strong{ display: block; color: var(--charcoal); margin-bottom: .4rem; font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.bg-black .placeholder-panel, .bg-charcoal .placeholder-panel{ background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--gray-300); }
.bg-black .placeholder-panel strong, .bg-charcoal .placeholder-panel strong{ color: var(--white); }

.trust-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

/* ---- Contact blocks ---- */
.contact-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.contact-card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.9rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.contact-card .icon{ width: 44px; height: 44px; background: var(--black); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.contact-card .icon svg{ width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2; }
.contact-card h2, .contact-card h3{ font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.contact-card a, .contact-card p{ color: var(--gray-700); font-size: .97rem; }
.contact-card a{ font-weight: 600; color: var(--charcoal); }
.contact-card a:hover{ color: var(--red); }

/* ---- Forms ---- */
.form-card{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-field{ display: flex; flex-direction: column; gap: .45rem; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-weight: 600; font-size: .92rem; }
.form-field .hint{ font-size: .8rem; color: var(--gray-600); }
.required-mark{ color: var(--red); }
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=tel],
.form-field input[type=number],
.form-field input[type=date],
.form-field select,
.form-field textarea{
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237,28,36,.12);
  outline: none;
}
.form-field textarea{ resize: vertical; min-height: 110px; }
.form-field input:invalid[data-touched="true"], .form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea{
  border-color: var(--red-dark);
  background: #fff6f6;
}
.field-error{ display: none; color: var(--red-dark); font-size: .82rem; font-weight: 600; }
.form-field.has-error .field-error{ display: block; }

.checkbox-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.2rem; }
.checkbox-row{ display: flex; align-items: flex-start; gap: .65rem; font-size: .94rem; }
.checkbox-row input{ margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }

.radio-row{ display: flex; gap: 1.3rem; flex-wrap: wrap; }
.radio-row label{ display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .94rem; }
.radio-row input{ width: 18px; height: 18px; accent-color: var(--red); }

.optional-details{
  grid-column: 1 / -1;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-top: .5rem;
  overflow: hidden;
}
.optional-details summary{
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
}
.optional-details summary::-webkit-details-marker{ display: none; }
.optional-details summary .plus{ font-size: 1.2rem; transition: transform .2s var(--ease); }
.optional-details[open] summary .plus{ transform: rotate(45deg); }
.optional-details .optional-body{ padding: 1.5rem 1.3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }

.form-footer{ display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.form-footer .privacy-note{ font-size: .82rem; color: var(--gray-600); max-width: 32rem; }

.form-status{ margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; display: none; }
.form-status.is-visible{ display: block; }
.form-status.success{ background: #eefaf0; color: #1e6b34; border: 1px solid #b8e6c2; }
.form-status.error{ background: #fdeeee; color: #9c1015; border: 1px solid #f3c2c2; }

/* honeypot */
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Footer ---- */
.site-footer{ background: var(--black); color: var(--gray-300); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img{ height: 82px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p{ font-size: .92rem; max-width: 30ch; color: var(--gray-500); }
.footer-col h4{ color: var(--white); margin-bottom: 1.1rem; font-size: .85rem; letter-spacing: .1em; }
.footer-col ul{ display: flex; flex-direction: column; gap: .7rem; }
.footer-col a{ font-size: .93rem; color: var(--gray-300); }
.footer-col a:hover{ color: var(--red); }
.footer-contact li{ display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact svg{ width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 2.2; margin-top: 3px; flex-shrink: 0; }
.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: .82rem;
  color: var(--gray-600);
  flex-wrap: wrap;
}
.footer-bottom .legal-links{ display: flex; gap: 1.4rem; align-items: center; }
.footer-bottom a:hover{ color: var(--gray-300); }
.footer-bottom .legal-links button{
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.footer-bottom .legal-links button:hover{ color: var(--gray-300); }

/* ---- Cookie / analytics consent banner ---- */
.consent-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 210;
  background: var(--black);
  color: var(--white);
  border-top: 3px solid var(--red);
  padding: 1.25rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}
.consent-banner[hidden]{ display: none; }
.consent-banner-text{
  flex: 1 1 380px;
  max-width: 640px;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--gray-300);
}
.consent-banner-text a{ color: var(--white); text-decoration: underline; font-weight: 600; }
.consent-banner-actions{ display: flex; gap: .8rem; flex-wrap: wrap; flex-shrink: 0; }
.consent-banner-actions .btn{ padding: .75rem 1.4rem; font-size: .85rem; }

/* ---- Reveal-on-scroll ---- */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---- 404 ---- */
.error-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-page .container{ position: relative; z-index: 1; }
.error-code{ font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); color: var(--red); line-height: .9; }
.error-page .btn-row{ justify-content: center; margin-top: 2rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .main-nav ul{ gap: 1.4rem; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .chip-grid{ grid-template-columns: repeat(2, 1fr); }
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .split{ grid-template-columns: 1fr; }
  .split.reverse .split-media{ order: 0; }
  .feature-list{ grid-template-columns: 1fr; }
  .area-layout{ grid-template-columns: 1fr; }
  .mobile-cta-bar{ display: flex; }
  body{ padding-bottom: 62px; }
  /* Sit the consent banner just above the sticky mobile Call/Quote bar
     instead of underneath it — only on pages that actually have that bar
     (Privacy/Terms don't), so there's no empty gap elsewhere. */
  body:has(.mobile-cta-bar) .consent-banner{ bottom: 62px; }
  .form-grid, .optional-details .optional-body{ grid-template-columns: 1fr; }
  .checkbox-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  :root{ --header-h: 72px; }
  .hero{ min-height: 100vh; align-items: flex-end; }
  .hero-inner{ padding-bottom: 2.4rem; }
  .hero .btn-row{ display: none; }
  .hero-strip{ grid-template-columns: 1fr; gap: 1.2rem; }
  .services-grid{ grid-template-columns: 1fr; }
  .chip-grid{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .area-list{ grid-template-columns: 1fr; }
  .btn-row{ flex-direction: column; align-items: stretch; }
  .btn-row .btn{ width: 100%; }
  h1, .h1{ max-width: none !important; }
}
