/* ==========================================================================
   RR Civil Construction — main.css
   Design system: tokens, typography, layout, components
   Palette: Navy #111D4A · Green #3F5E5A · Brown #955E42 · Bone #D7CBBD
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy:        #111D4A;
  --navy-deep:   #0C1536;
  --navy-soft:   #1B2A63;
  --green:       #3F5E5A;
  --green-deep:  #324B47;
  --brown:       #955E42;
  --brown-deep:  #7C4D37;
  --bone:        #D7CBBD;
  --bone-deep:   #C7B8A6;

  /* Warm paper scale */
  --paper:       #F4EFE9;
  --paper-2:     #EDE6DC;
  --ink:         #20211F;
  --ink-soft:    #4A4843;
  --on-dark:     #EFE9E0;
  --on-dark-dim: #B9B3A8;

  /* Lines & accents */
  --line:        rgba(17, 29, 74, .14);
  --line-strong: rgba(17, 29, 74, .26);
  --line-dark:   rgba(239, 233, 224, .16);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.7rem, 6.2vw, 5.2rem);
  --fs-h1:      clamp(2.3rem, 5vw, 4rem);
  --fs-h2:      clamp(1.95rem, 3.6vw, 3.05rem);
  --fs-h3:      clamp(1.35rem, 2.2vw, 1.7rem);
  --fs-lead:    clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Layout */
  --container: 1200px;
  --container-wide: 1340px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --r: 4px;
  --r-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(17,29,74,.06), 0 6px 18px rgba(17,29,74,.06);
  --shadow-md: 0 4px 10px rgba(17,29,74,.08), 0 24px 50px rgba(17,29,74,.12);
  --shadow-lg: 0 10px 30px rgba(12,21,54,.18), 0 40px 80px rgba(12,21,54,.22);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --header-h: 86px;
}

/* ---------- 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; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
img { background: var(--paper-2); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type ---------- */
h1,h2,h3,h4 { font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -.015em; color: var(--navy); font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -.01em; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brown);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--brown); opacity: .7;
}
.eyebrow--center::before { display: none; }
.eyebrow--light { color: var(--bone); }
.eyebrow--light::before { background: var(--bone); }

.script-accent { font-style: italic; font-weight: 400; color: var(--green); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper2 { background: var(--paper-2); }
.section--bone { background: var(--bone); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--green { background: var(--green); color: var(--on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--green h1, .section--green h2, .section--green h3 { color: var(--paper); }
.section--navy p, .section--green p { color: var(--on-dark-dim); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

/* Registration-tick divider (signature motif) */
.rule-tick { display: flex; align-items: center; gap: 1rem; color: var(--line-strong); }
.rule-tick::before, .rule-tick::after { content: ""; height: 1px; background: currentColor; flex: 1; opacity: .5; }
.rule-tick svg { width: 22px; height: 22px; flex: none; color: var(--brown); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--paper); --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; min-height: 52px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 1.5px solid var(--bd); border-radius: var(--r);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
  position: relative; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--brown); --bd: var(--brown); --fg: #fff; }
.btn--primary:hover { --bg: var(--brown-deep); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--line-strong); }
.btn--ghost:hover { --bg: var(--navy); --fg: var(--paper); --bd: var(--navy); }
.btn--light { --bg: var(--paper); --fg: var(--navy); --bd: var(--paper); }
.btn--outline-light { --bg: transparent; --fg: var(--paper); --bd: rgba(239,233,224,.4); }
.btn--outline-light:hover { --bg: var(--paper); --fg: var(--navy); --bd: var(--paper); }
.btn--lg { min-height: 58px; padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--brown); gap: .75rem; }
.section--navy .link-arrow, .section--green .link-arrow { color: var(--bone); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-stuck { background: rgba(244,239,233,.86); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(17,29,74,.07); height: 70px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; max-width: var(--container-wide); }
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-weight: 600; font-size: 1.06rem; color: var(--navy); letter-spacing: -.01em; }
.brand-text span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.6rem); }
.nav a { font-weight: 500; font-size: .96rem; color: var(--navy); padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--brown); transition: width .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--brown); }

.header-actions { display: flex; align-items: center; gap: .9rem; flex: none; }
.header-call { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); }
.header-call svg { width: 17px; height: 17px; color: var(--green); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: transparent; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); transition: transform .35s var(--ease); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3.5rem, 7vw, 6.5rem); overflow: hidden; }
.hero::before { /* blueprint grid wash */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(120% 90% at 80% 0%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--fs-display); margin: 1.3rem 0 1.5rem; }
.hero h1 .accent { color: var(--brown); }
.hero .lead { max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 3vw, 2.75rem); margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-proof .stat b { font-family: var(--display); font-size: 2rem; color: var(--navy); font-weight: 600; display: block; line-height: 1; }
.hero-proof .stat span { font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }

.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -22px; bottom: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .85rem; }
.hero-badge .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-family: var(--display); color: var(--navy); font-size: 1.05rem; }
.hero-badge span { font-size: .78rem; color: var(--ink-soft); }

/* registration ticks at frame corners */
.tick-corners { position: absolute; inset: -10px; pointer-events: none; }
.tick-corners i { position: absolute; width: 16px; height: 16px; }
.tick-corners i::before, .tick-corners i::after { content: ""; position: absolute; background: var(--brown); }
.tick-corners i::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.tick-corners i::after { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%); }
.tick-corners i:nth-child(1){ top: 0; left: 0; }
.tick-corners i:nth-child(2){ top: 0; right: 0; }
.tick-corners i:nth-child(3){ bottom: 0; left: 0; }
.tick-corners i:nth-child(4){ bottom: 0; right: 0; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); background: var(--navy); color: var(--on-dark); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(120% 100% at 90% 0%, #000, transparent 70%); mask-image: radial-gradient(120% 100% at 90% 0%, #000, transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--paper); font-size: var(--fs-h1); margin: 1rem 0 1.1rem; max-width: 16ch; }
.page-hero p { color: var(--on-dark-dim); max-width: 56ch; font-size: var(--fs-lead); }
.breadcrumb { display: flex; gap: .5rem; font-size: .82rem; color: var(--on-dark-dim); letter-spacing: .02em; }
.breadcrumb a:hover { color: var(--bone); }
.breadcrumb span { color: var(--bone); }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 2.5vw, 2.25rem); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* Service card */
.svc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); height: 100%; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-card .num { font-family: var(--display); font-size: .82rem; color: var(--brown); letter-spacing: .1em; }
.svc-card .ic { width: 54px; height: 54px; border-radius: 12px; background: var(--bone); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 1.25rem; transition: background .4s var(--ease), color .4s var(--ease); }
.svc-card .ic svg { width: 28px; height: 28px; }
.svc-card:hover .ic { background: var(--green); color: #fff; }
.svc-card .body { padding: clamp(1.6rem, 2.4vw, 2.1rem); display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin-bottom: .6rem; }
.svc-card p { font-size: .98rem; flex: 1; }
.svc-card .link-arrow { margin-top: 1.4rem; }
.svc-card .top { display: flex; justify-content: space-between; align-items: flex-start; }

/* Feature / why card */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature .ic { width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--navy); color: var(--bone); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.feature p { font-size: .96rem; }

/* Stat block */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2vw,2rem); }
.stat-block { text-align: left; padding: 1.5rem 0; }
.stat-block b { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--paper); display: block; line-height: 1; letter-spacing: -.02em; }
.section--navy .stat-block b, .section--green .stat-block b { color: var(--bone); }
.stat-block span { display: block; margin-top: .6rem; font-size: .9rem; letter-spacing: .04em; color: var(--on-dark-dim); }
.stat-block .suffix { color: var(--brown); }
.section--navy .stat-block .suffix { color: var(--bone-deep); }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { counter-increment: step; font-family: var(--display); font-size: 1.05rem; color: var(--brown); font-weight: 600; min-width: 2.5rem; }
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.step p { font-size: .98rem; max-width: 60ch; }

/* Project card */
.proj-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; display: block; box-shadow: var(--shadow-sm); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-card:hover img { transform: scale(1.06); }
.proj-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(12,21,54,.85)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.proj-card .overlay span { color: var(--bone); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.proj-card .overlay h3 { color: var(--paper); font-size: 1.3rem; margin-top: .35rem; }
.proj-card.is-hidden { display: none; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.5rem; }
.filter-btn { padding: .6rem 1.15rem; border: 1.5px solid var(--line-strong); background: transparent; border-radius: 50px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); transition: all .3s var(--ease); }
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--paper); }

/* Testimonials */
.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.5rem); height: 100%; display: flex; flex-direction: column; }
.quote-card .stars { display: flex; gap: 3px; color: var(--brown); margin-bottom: 1.1rem; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-family: var(--display); font-size: 1.2rem; line-height: 1.5; color: var(--navy); font-weight: 400; flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: .85rem; margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--body); flex: none; }
.quote-card .who b { display: block; color: var(--navy); font-family: var(--body); font-weight: 600; font-size: .98rem; }
.quote-card .who span { font-size: .82rem; color: var(--ink-soft); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.5rem 3rem 1.5rem 0; font-family: var(--display); font-size: 1.18rem; font-weight: 500; color: var(--navy); position: relative; display: flex; }
.faq-q .pm { position: absolute; right: 0; top: 1.6rem; width: 22px; height: 22px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--brown); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.faq-q .pm::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.faq-q[aria-expanded="true"] .pm::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a-inner { padding: 0 3rem 1.6rem 0; color: var(--ink-soft); }

/* Service areas */
.areas { display: flex; flex-wrap: wrap; gap: .65rem; }
.area-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 50px; font-weight: 500; font-size: .92rem; color: var(--navy); transition: all .3s var(--ease); }
.area-chip svg { width: 15px; height: 15px; color: var(--green); }
.area-chip:hover { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.area-chip:hover svg { color: var(--bone); }

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(100% 120% at 100% 0, #000, transparent 65%); mask-image: radial-gradient(100% 120% at 100% 0, #000, transparent 65%); }
.cta-band .inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--paper); max-width: 18ch; }
.cta-band p { color: var(--on-dark-dim); margin-top: .9rem; max-width: 46ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--brown); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: .9rem 1rem; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(63,94,90,.14); }
.field .error-msg { color: #b3402b; font-size: .82rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3402b; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-status { padding: 1rem 1.25rem; border-radius: var(--r); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(63,94,90,.12); color: var(--green-deep); border: 1px solid rgba(63,94,90,.3); }
.form-status.err { background: rgba(179,64,43,.1); color: #8c3322; border: 1px solid rgba(179,64,43,.3); }

/* contact info list */
.contact-list { display: grid; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--bone); color: var(--green-deep); display: grid; place-items: center; flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brown); font-weight: 600; }
.contact-item a, .contact-item p { color: var(--navy); font-weight: 500; font-size: 1.05rem; margin-top: .2rem; }
.contact-item a:hover { color: var(--brown); }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* ---------- Sticky mobile action bar ---------- */
.mobi-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-strong); box-shadow: 0 -6px 24px rgba(17,29,74,.12); }
.mobi-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: 1rem; font-weight: 600; font-size: .98rem; }
.mobi-bar a svg { width: 18px; height: 18px; }
.mobi-bar .call { background: var(--green); color: #fff; }
.mobi-bar .quote { background: var(--brown); color: #fff; }

/* floating desktop quote tab */
.quote-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%) translateX(0); z-index: 900; writing-mode: vertical-rl; background: var(--brown); color: #fff; padding: 1.1rem .7rem; font-weight: 600; letter-spacing: .08em; font-size: .82rem; border-radius: var(--r) 0 0 var(--r); box-shadow: var(--shadow-md); transition: background .3s, transform .3s var(--ease); }
.quote-tab:hover { background: var(--brown-deep); transform: translateY(-50%) translateX(-3px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-dim); padding-top: clamp(3.5rem, 6vw, 5.5rem); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; opacity: .35; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(100% 80% at 0 0, #000, transparent 60%); mask-image: radial-gradient(100% 80% at 0 0, #000, transparent 60%); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(1.5rem, 3vw, 3rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 52px; height: 52px; border-radius: 8px; margin-bottom: 1.1rem; }
.footer-brand b { font-family: var(--display); color: var(--paper); font-size: 1.25rem; display: block; }
.footer-brand p { color: var(--on-dark-dim); margin-top: .9rem; max-width: 34ch; font-size: .96rem; }
.footer-col h4 { color: var(--paper); font-family: var(--body); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--on-dark-dim); font-size: .96rem; transition: color .25s, padding .25s; }
.footer-col a:hover { color: var(--bone); padding-left: 4px; }
.footer-contact a { display: flex; align-items: center; gap: .6rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.75rem 0; font-size: .85rem; }
.footer-bottom a:hover { color: var(--bone); }

/* ---------- Misc utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.maxw-60 { max-width: 60ch; }
.check-list { display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.check-list li svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.section--navy .check-list li, .section--green .check-list li { color: var(--on-dark); }
.section--navy .check-list svg, .section--green .check-list svg { color: var(--bone); }

.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--navy); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 var(--r) 0; }
.skip-link:focus { left: 0; }
