/* PSR Home Remodeling — the category standard, executed at psr-fl.com's craft level.
   Measured from the approved comp (decision/canon.png, 1344×752). One unit
   --u is one comp pixel at the comp's width; the responsive phase relaxes it. */

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree-Italic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #1b2a3a;
  --navy-soft: #3d4b5a;
  --orange: #f26b0f;        /* brand accent (hero, icons) */
  --orange-btn: #f26b0f;    /* buttons: the comp's orange — Tal chose it over the darker, WCAG-passing shade (2026-11-01) */
  --orange-deep: #b04607;
  --tint: #eef3f8;
  --line: #dfe5ec;
  --white: #ffffff;
  --cta-muted: #d7e0ea;    /* supporting copy on the navy CTA band */
  --footer-muted: #8d9aa8; /* legal line on the footer */
  --footer-rule: #243242;  /* hairline on the footer */
  --star: #f5a623;         /* review stars (Google's amber) */
  --u: calc(100vw / 1344);
  --gutter: calc(96 * var(--u));
  font-family: 'Figtree', system-ui, sans-serif;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

html, body { margin: 0; background: var(--white); }
body { overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  position: relative; z-index: 40; height: calc(65 * var(--u)); background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
}
.brand { position: absolute; left: calc(158 * var(--u)); top: calc(8 * var(--u)); width: calc(198 * var(--u)); height: calc(48 * var(--u)); }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.menu {
  position: absolute; left: calc(630 * var(--u)); top: calc(22 * var(--u)); width: calc(326 * var(--u)); height: calc(20 * var(--u));
  display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 0; list-style: none;
  font-size: calc(14 * var(--u)); font-weight: 600; color: var(--navy);
}
.menu a { padding: 0.25em 0; border-bottom: 2px solid transparent; }
.menu a:hover { border-bottom-color: var(--orange); }

/* Services dropdown: the label stays a link, the chevron is the toggle */
.has-sub { position: relative; display: flex; align-items: center; gap: calc(2 * var(--u)); }
.sub-btn { display: inline-grid; place-items: center; width: calc(20 * var(--u)); height: calc(20 * var(--u)); padding: 0; border: 0; border-radius: calc(4 * var(--u)); background: none; color: var(--navy); cursor: pointer; }
.sub-btn svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); transition: transform 0.18s ease-out; }
.has-sub.open .sub-btn svg { transform: rotate(180deg); }
.has-sub::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: calc(18 * var(--u)); } /* hover bridge to the panel */
.subnav {
  position: absolute; top: calc(100% + 14 * var(--u)); left: calc(-16 * var(--u)); z-index: 40;
  min-width: calc(250 * var(--u)); margin: 0; padding: calc(6 * var(--u)) 0; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: calc(8 * var(--u));
  box-shadow: 0 calc(12 * var(--u)) calc(32 * var(--u)) rgba(27, 42, 58, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(calc(-6 * var(--u)));
  transition: opacity 0.16s ease-out, transform 0.18s ease-out, visibility 0s linear 0.18s;
}
.has-sub.open .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 721px) {
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-sub:hover > a { border-bottom-color: var(--orange); }
}
.subnav li { white-space: nowrap; }
.subnav a { display: block; padding: calc(9 * var(--u)) calc(18 * var(--u)); border: 0; font-weight: 500; }
.subnav a:hover, .subnav a:focus-visible { background: var(--tint); border: 0; }
.subnav-all { margin-top: calc(6 * var(--u)); border-top: 1px solid var(--line); padding-top: calc(6 * var(--u)); }
.subnav-all a { color: var(--orange-deep); font-weight: 700; }
.phone {
  position: absolute; left: calc(1022 * var(--u)); top: calc(13 * var(--u)); width: calc(160 * var(--u)); height: calc(38 * var(--u));
  display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--u));
  background: var(--orange-btn); color: #fff; border-radius: calc(8 * var(--u));
  font-size: calc(15 * var(--u)); font-weight: 700; white-space: nowrap;
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(27, 42, 58, 0.18);
}
.phone:hover { background: var(--orange-deep); }
.phone svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(296 * var(--u)); overflow: hidden; background: var(--tint); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero h1 {
  position: absolute; left: calc(85 * var(--u)); top: calc(44 * var(--u)); width: calc(380 * var(--u)); margin: 0;
  font-size: calc(38 * var(--u)); line-height: calc(42 * var(--u)); font-weight: 800; letter-spacing: -0.02em; color: var(--navy);
}
.hero .sub {
  position: absolute; left: calc(85 * var(--u)); top: calc(187 * var(--u)); width: calc(310 * var(--u)); margin: 0;
  font-size: calc(19 * var(--u)); line-height: calc(25 * var(--u)); font-weight: 500; color: var(--navy);
}
.estimate {
  position: absolute; left: calc(912 * var(--u)); top: calc(27 * var(--u)); width: calc(282 * var(--u)); height: calc(246 * var(--u));
  background: var(--white); border-radius: calc(12 * var(--u)); padding: calc(16 * var(--u)) calc(18 * var(--u));
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(27, 42, 58, 0.22);
}
.estimate h2 { margin: 0 0 calc(12 * var(--u)); font-size: calc(22 * var(--u)); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.estimate input, .estimate select, .estimate button {
  font: inherit; display: block; width: 100%; height: calc(36 * var(--u)); border-radius: calc(8 * var(--u)); margin-bottom: calc(11 * var(--u));
  font-size: calc(13 * var(--u));
}
.estimate input, .estimate select { background: var(--white); border: 1px solid #c9d2db; color: var(--navy); padding: 0 calc(12 * var(--u)); }
.estimate input::placeholder { color: #4f5b67; }
.estimate select { appearance: none; -webkit-appearance: none; color: #4f5b67;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b2a3a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right calc(12 * var(--u)) center; }
.estimate button {
  margin: 0; border: 0; background: var(--orange-btn); color: #fff; font-weight: 700; font-size: calc(14 * var(--u)); cursor: pointer;
}
.estimate button:hover { background: var(--orange-deep); }

/* ---------- trust banner: a slow ticker of confirmed facts, as on psr-fl.com ---------- */
.trust { height: calc(48 * var(--u)); background: var(--tint); overflow: hidden; display: flex; align-items: center; }
/* a uniform margin on every item (not flex gap) puts the track's halfway point exactly one sequence over, so the -50% loop is seamless */
.trust-track { display: flex; width: max-content; animation: trust-scroll 38s linear infinite; }
.trust-track:hover { animation-play-state: paused; }
.trust-item { display: flex; align-items: center; gap: calc(10 * var(--u)); flex-shrink: 0; white-space: nowrap; margin-right: calc(56 * var(--u)); font-size: calc(14.5 * var(--u)); font-weight: 600; color: var(--navy); }
.trust-item svg { width: calc(20 * var(--u)); height: calc(20 * var(--u)); flex-shrink: 0; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes trust-scroll { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.services { padding: calc(18 * var(--u)) var(--gutter) calc(40 * var(--u)); }
.services h2 { margin: 0 0 calc(10 * var(--u)); font-size: calc(30 * var(--u)); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(14 * var(--u)) calc(16 * var(--u)); margin: 0; padding: 0; list-style: none; }
.card {
  display: block; height: calc(120 * var(--u)); border: 1px solid var(--line); border-radius: calc(8 * var(--u)); overflow: hidden; background: #f3f6f9;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(27, 42, 58, 0.14); }
.card img { width: 100%; height: calc(89 * var(--u)); object-fit: cover; }
.card b { display: block; padding: 0 calc(11 * var(--u)); height: calc(29 * var(--u)); line-height: calc(28 * var(--u)); font-size: calc(14 * var(--u)); font-weight: 700; color: var(--navy); }

/* ---------- header extras ---------- */
.menu-btn { display: none; position: absolute; right: calc(16 * var(--u)); top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: calc(8 * var(--u)) 0 0; font-size: calc(13 * var(--u)); min-height: 1.2em; color: var(--navy-soft); }
.estimate { height: auto; }

/* ---------- page heads and body copy ---------- */
.wrap { max-width: calc(1152 * var(--u)); margin: 0 auto; padding: 0 var(--gutter); }
.page-head { padding: calc(40 * var(--u)) 0 calc(16 * var(--u)); }
.page-head h1, .hero-page h1 { font-size: calc(38 * var(--u)); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.4em; }
.lede { font-size: calc(19 * var(--u)); line-height: 1.45; font-weight: 500; color: var(--navy-soft); max-width: min(54ch, 100%); margin: 0; text-wrap: pretty; }
.body { padding: calc(32 * var(--u)) 0; }
.body .wrap > * { max-width: min(56ch, 100%); }
.body h2 { font-size: calc(26 * var(--u)); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 1.4em 0 0.5em; }
.body h2:first-child { margin-top: 0; }
.body p, .body li { font-size: calc(17 * var(--u)); line-height: 1.6; color: #2b3a49; max-width: 56ch; text-wrap: pretty; }
.body h2 { max-width: 30ch; text-wrap: balance; }
.body ul { padding-left: 1.2em; }
.body li { margin: 0.4em 0; }
/* copy on the left, the crew-at-work photo pinned beside it */
.body-grid { display: grid; grid-template-columns: minmax(0, 56ch) minmax(0, 1fr); gap: calc(56 * var(--u)); align-items: start; }
.body-figure { position: sticky; top: calc(24 * var(--u)); margin: 0; }
.body-figure img { display: block; width: 100%; height: auto; border-radius: calc(10 * var(--u)); box-shadow: 0 calc(14 * var(--u)) calc(36 * var(--u)) rgba(27, 42, 58, 0.14); }
.chip-line { margin-top: 1.6em !important; padding: 0.7em 1em; background: var(--tint); border-radius: calc(8 * var(--u)); font-size: calc(14 * var(--u)) !important; color: var(--navy) !important; }
.inline-phone { font-weight: 700; color: var(--orange-btn); display: inline-flex; align-items: center; gap: 0.35em; }
.inline-phone svg { width: 1em; height: 1em; }

/* ---------- process ---------- */
.process { background: var(--tint); padding: calc(44 * var(--u)) 0; }
.process h2, .why h2, .area h2, .faq h2 { font-size: calc(30 * var(--u)); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.35em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(44 * var(--u)) calc(48 * var(--u)); margin: calc(28 * var(--u)) 0 0; padding: 0; list-style: none; }
/* the flow snakes: 1 2 3 across the top row, then 4 5 6 back across the bottom, so every arrow points at the next step */
.steps li:nth-child(1) { grid-area: 1 / 1; } .steps li:nth-child(2) { grid-area: 1 / 2; } .steps li:nth-child(3) { grid-area: 1 / 3; }
.steps li:nth-child(4) { grid-area: 2 / 3; } .steps li:nth-child(5) { grid-area: 2 / 2; } .steps li:nth-child(6) { grid-area: 2 / 1; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: calc(8 * var(--u)); padding: calc(18 * var(--u)) calc(16 * var(--u)) calc(18 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.45; color: #2b3a49; transition: transform 180ms ease-out, box-shadow 180ms ease-out; }
.steps li:hover { transform: translateY(calc(-4 * var(--u))); box-shadow: 0 calc(12 * var(--u)) calc(24 * var(--u)) rgba(27, 42, 58, 0.16); }
.steps .step-icon { display: block; width: calc(30 * var(--u)); height: calc(30 * var(--u)); margin-bottom: calc(14 * var(--u)); color: var(--orange); }
.steps .step-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps .num { position: absolute; top: calc(12 * var(--u)); right: calc(12 * var(--u)); display: grid; place-items: center; width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-weight: 700; font-size: calc(13 * var(--u)); }
/* flow arrows sit in the gaps: → along the top row, ↓ from 3 to 4, ← along the bottom row */
.steps li::after { content: ''; position: absolute; width: calc(28 * var(--u)); height: calc(16 * var(--u)); background: no-repeat center / contain; pointer-events: none; }
.steps li:nth-child(1)::after, .steps li:nth-child(2)::after { top: 50%; right: calc(-38 * var(--u)); transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16' fill='none' stroke='%233d4b5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8h22M18 3l6 5-6 5'/%3E%3C/svg%3E"); }
.steps li:nth-child(4)::after, .steps li:nth-child(5)::after { top: 50%; left: calc(-38 * var(--u)); transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 16' fill='none' stroke='%233d4b5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M26 8H4M10 3L4 8l6 5'/%3E%3C/svg%3E"); }
.steps li:nth-child(3)::after { left: 50%; bottom: calc(-36 * var(--u)); width: calc(16 * var(--u)); height: calc(28 * var(--u)); transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 28' fill='none' stroke='%233d4b5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v22M3 18l5 6 5-6'/%3E%3C/svg%3E"); }
.steps li:nth-child(6)::after { display: none; }
.steps b { display: block; font-size: calc(15.5 * var(--u)); font-weight: 700; color: var(--navy); margin-bottom: 0.3em; text-wrap: balance; }
.steps li > span:last-child { display: block; }

/* ---------- why ---------- */
.why { padding: calc(48 * var(--u)) 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(40 * var(--u)); margin-top: calc(20 * var(--u)); border-top: 1px solid var(--line); padding-top: calc(24 * var(--u)); }
.why-grid svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.why-grid h3 { display: flex; align-items: center; gap: 0.45em; margin: 0 0 0.4em; font-size: calc(19 * var(--u)); font-weight: 700; }
.why-grid p { margin: 0; font-size: calc(15.5 * var(--u)); line-height: 1.55; color: #2b3a49; text-wrap: pretty; }

/* ---------- google reviews ---------- */
.reviews { padding: calc(48 * var(--u)) 0; background: var(--tint); }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: calc(24 * var(--u)); flex-wrap: wrap; }
.reviews h2 { font-size: calc(30 * var(--u)); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.35em; }
.rating { display: inline-flex; align-items: center; gap: calc(12 * var(--u)); background: var(--white); border: 1px solid var(--line); border-radius: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)); color: var(--navy); line-height: 1.2; }
.rating b { font-size: calc(22 * var(--u)); font-weight: 800; margin-right: 0.3em; }
.rating small { font-size: calc(13 * var(--u)); color: var(--navy-soft); }
.rating:hover { box-shadow: 0 calc(6 * var(--u)) calc(16 * var(--u)) rgba(27, 42, 58, 0.12); }
.rv-g svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); display: block; }
.stars { color: var(--star); font-size: calc(15 * var(--u)); letter-spacing: 0.04em; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(16 * var(--u)); margin: calc(24 * var(--u)) 0 0; padding: 0; list-style: none; }
.rv { background: var(--white); border: 1px solid var(--line); border-radius: calc(8 * var(--u)); padding: calc(20 * var(--u)); display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.rv-top { display: flex; justify-content: space-between; align-items: center; }
.rv p { margin: 0; font-size: calc(15 * var(--u)); line-height: 1.55; color: #2b3a49; text-wrap: pretty; flex: 1; }
.rv-who { display: flex; align-items: center; gap: calc(10 * var(--u)); font-size: calc(13 * var(--u)); color: var(--navy-soft); line-height: 1.35; }
.rv-who b { color: var(--navy); font-weight: 700; }
.rv-avatar { position: relative; flex: none; width: calc(44 * var(--u)); height: calc(44 * var(--u)); border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: calc(17 * var(--u)); overflow: hidden; }
.rv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reviews-more { margin: calc(20 * var(--u)) 0 0; font-size: calc(15 * var(--u)); font-weight: 700; }
.reviews-more a { color: var(--orange-btn); }

/* ---------- service area ---------- */
.area { padding: calc(44 * var(--u)) 0; background: #fff; border-top: 1px solid var(--line); }
.county-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(28 * var(--u)); margin-top: calc(24 * var(--u)); }
.county h3 { margin: 0 0 0.5em; font-size: calc(19 * var(--u)); font-weight: 700; }
.permit-note { font-size: calc(14 * var(--u)); line-height: 1.5; color: #2b3a49; margin: 0 0 0.8em; }
.city-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: calc(16 * var(--u)); }
.city-list li { break-inside: avoid; font-size: calc(14.5 * var(--u)); line-height: 1.9; }
.city-list a:hover { color: var(--orange); }
.more { display: inline-block; margin-top: 0.8em; font-weight: 700; font-size: calc(14.5 * var(--u)); color: var(--orange-btn); }
.area .wrap > .city-list { columns: 3; margin-top: calc(16 * var(--u)); }

/* ---------- cta ---------- */
.cta { background: var(--navy); color: #fff; padding: calc(48 * var(--u)) 0; text-align: center; }
.cta h2 { font-size: calc(30 * var(--u)); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.4em; }
.cta p { margin: 0 0 1.4em; font-size: calc(17 * var(--u)); color: var(--cta-muted); }
.cta-actions { display: flex; justify-content: center; gap: calc(14 * var(--u)); flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0 calc(22 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(8 * var(--u)); font-weight: 700; font-size: calc(15 * var(--u)); white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-orange { background: var(--orange-btn); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); }

/* ---------- faq ---------- */
.faq { padding: calc(44 * var(--u)) 0; }
.faq details { border-top: 1px solid var(--line); padding: calc(14 * var(--u)) 0; max-width: min(56ch, 100%); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: calc(17 * var(--u)); list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 0.6em 0 0; font-size: calc(16 * var(--u)); line-height: 1.6; color: #2b3a49; text-wrap: pretty; }

/* ---------- contact ---------- */
.contact { padding: calc(16 * var(--u)) 0 calc(48 * var(--u)); }
.contact-grid { display: grid; grid-template-columns: 1fr calc(360 * var(--u)); gap: calc(40 * var(--u)); align-items: start; }
.contact h2 { font-size: calc(20 * var(--u)); margin: 1.2em 0 0.3em; }
.contact h2:first-child { margin-top: 0; }
.contact p { margin: 0; font-size: calc(16.5 * var(--u)); line-height: 1.6; color: #2b3a49; text-wrap: pretty; }
.contact .big { font-size: calc(26 * var(--u)); }
.contact .estimate { position: static; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: none; }

/* ---------- footer ---------- */
.footer { background: #111c27; color: #c9d3dd; padding: calc(44 * var(--u)) var(--gutter) calc(24 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: calc(32 * var(--u)); max-width: calc(1152 * var(--u)); margin: 0 auto; }
.footer p { margin: 0 0 0.8em; }
.footer-logo { display: block; width: calc(198 * var(--u)); margin: 0 0 calc(18 * var(--u)); }
.footer-logo img { width: 100%; height: auto; }
.footer-brand { font-weight: 800; font-size: calc(18 * var(--u)); color: #fff; }
.footer-h { font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; font-size: calc(12.5 * var(--u)); }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 0.25em 0; }
.footer a:hover { color: #fff; }
.footer-phone { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 0.35em; }
.footer-phone svg { width: 1em; height: 1em; }
.footer-legal { max-width: calc(1152 * var(--u)); margin: calc(32 * var(--u)) auto 0; padding-top: calc(16 * var(--u)); border-top: 1px solid var(--footer-rule); font-size: calc(12.5 * var(--u)); color: var(--footer-muted); }

/* ---------- sticky contact dock: appears once the hero's card has scrolled away ---------- */
.sticky-bar { position: fixed; right: calc(24 * var(--u)); bottom: calc(24 * var(--u)); z-index: 30; display: flex; gap: calc(10 * var(--u)); transform: translateY(140%); opacity: 0; transition: transform 240ms ease-out, opacity 240ms ease-out; }
.sticky-bar.show { transform: none; opacity: 1; }
.sticky-bar a { display: inline-flex; align-items: center; gap: 0.45em; height: calc(46 * var(--u)); padding: 0 calc(18 * var(--u)); border-radius: calc(10 * var(--u)); font-weight: 700; font-size: calc(15 * var(--u)); background: var(--navy); color: #fff; white-space: nowrap; box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(27, 42, 58, 0.28); }
.sticky-bar a svg { width: 1.1em; height: 1.1em; }
.sticky-bar .sticky-est { background: var(--orange-btn); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --u: 0.8px; --gutter: 32px; }
  .brand { left: 24px; }
  .menu { left: auto; right: 190px; width: auto; gap: 22px; }
  .phone { left: auto; right: 24px; }
  .hero { height: auto; min-height: 320px; padding: 32px var(--gutter); display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
  .hero h1, .hero .sub, .estimate { position: static; left: auto; top: auto; width: auto; }
  .hero > img { z-index: 0; } .hero > :not(img) { position: relative; z-index: 1; }
  .hero h1 { grid-column: 1; }
  .hero .sub { grid-column: 1; }
  .estimate { grid-column: 2; grid-row: 1 / 3; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .rv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --u: 1px; --gutter: 20px; }
  .nav { height: 60px; }
  .brand { left: 16px; top: 10px; width: 150px; height: 40px; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 0; height: auto; z-index: 20; }
  .menu.open { display: flex; align-items: stretch; }
  .menu a { display: block; padding: 12px 20px; text-align: center; }
  /* the dropdown becomes an accordion row inside the phone menu */
  .has-sub { display: block; }
  .has-sub > a { padding-right: 20px; }
  .has-sub::before { display: none; }
  .sub-btn { position: absolute; right: 12px; top: 2px; width: 44px; height: 44px; }
  .sub-btn svg { width: 18px; height: 18px; }
  .subnav { position: static; display: none; min-width: 0; padding: 4px 0 8px; border: 0; border-radius: 0; box-shadow: none; background: var(--tint); opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-sub.open .subnav { display: block; }
  .subnav li { white-space: normal; }
  .subnav a { padding: 10px 20px; font-size: 14px; }
  .subnav-all { margin-top: 4px; padding-top: 4px; }
  .phone { right: 60px; width: 44px; height: 40px; padding: 0; font-size: 0; gap: 0; }
  .phone svg { width: 20px; height: 20px; }
  .hero { grid-template-columns: 1fr; padding: 24px var(--gutter) 28px; gap: 18px; }
  .hero h1 { font-size: 30px; line-height: 1.1; }
  .hero .sub { font-size: 17px; line-height: 1.4; }
  .estimate { grid-column: 1; grid-row: auto; width: 100%; }
  .hero > img { filter: brightness(0.92); }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { height: auto; }
  .card img { height: 96px; }
  .card b { height: auto; line-height: 1.3; padding: 7px 11px 8px; white-space: normal; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li:nth-child(n) { grid-area: auto; }
  .steps li:nth-child(n)::after { top: auto; right: auto; bottom: -30px; left: 50%; width: 16px; height: 24px; transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 28' fill='none' stroke='%233d4b5a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v22M3 18l5 6 5-6'/%3E%3C/svg%3E"); }
  .steps li:nth-child(6)::after { display: none; }
  .why-grid, .county-grid, .contact-grid, .footer-grid, .rv-grid { grid-template-columns: 1fr; }
  .city-list { columns: 2; }
  .area .wrap > .city-list { columns: 2; }
  .sticky-bar { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); opacity: 1; transform: translateY(110%); }
  .sticky-bar.show { transform: none; }
  .sticky-bar a { justify-content: center; height: 44px; padding: 0; border-radius: 8px; box-shadow: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
  .card, .sticky-bar, .steps li { transition: none; }
  .steps li:hover { transform: none; }
}

/* ---------- inner-page heroes: flow layout at every width ---------- */
.hero-page { height: auto; min-height: calc(296 * var(--u)); padding: calc(36 * var(--u)) calc(85 * var(--u)); display: grid; grid-template-columns: 1fr calc(282 * var(--u)); gap: calc(40 * var(--u)); align-items: center; }
.hero-page > img { z-index: 0; }
.hero-page > :not(img) { position: relative; z-index: 1; }
.hero-page h1, .hero-page .sub, .hero-page .estimate { position: static; left: auto; top: auto; width: auto; }
.hero-page h1 { grid-column: 1; font-size: calc(34 * var(--u)); line-height: 1.12; max-width: min(18ch, 100%); }
.hero-page .sub { grid-column: 1; max-width: min(46ch, 100%); }
.hero-page .estimate { grid-column: 2; grid-row: 1 / 3; }
@media (max-width: 720px) {
  .hero-page { grid-template-columns: 1fr; padding: 24px var(--gutter) 28px; }
  .hero-page .estimate { grid-column: 1; grid-row: auto; }
}
@media (max-width: 720px) {
  /* legibility over the busy photo: a soft white wash behind the copy */
  .hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.42) 45%, rgba(255,255,255,0.05) 100%); pointer-events: none; }
}
/* inner-page heroes: a white wash on the copy side so the headline reads over any photo */
.hero-page::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 38%, rgba(255,255,255,0.25) 62%, rgba(255,255,255,0) 100%); }
@media (max-width: 720px) { .hero-page::before { background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.15) 100%); } }

/* side photo: narrower column on tablets, under the copy on phones */
@media (max-width: 1100px) {
  .body-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 720px) {
  .body-grid { grid-template-columns: 1fr; gap: 24px; }
  .body-figure { position: static; }
  .body-figure img { aspect-ratio: 4 / 3; object-fit: cover; }
}
