/* ==========================================================================
   Don Willy Remodeling Services — master stylesheet
   Palette derived from the company logo and existing collateral:
   navy #0A1428 / brand orange #F07000 / accent gold #C9A45C
   ========================================================================== */

:root {
  --navy:      #0A1428;
  --navy-800:  #101E3C;
  --navy-700:  #172B52;
  --navy-600:  #1F3765;

  --orange:     #F07000;
  --orange-600: #D96200;
  --orange-100: #FFF3E8;

  --gold:       #C9A45C;
  --gold-light: #E6D2A6;

  --ink:   #12161F;
  --body:  #4C5566;
  --muted: #7A8394;

  --line:    #E5E8EE;
  --line-2:  #EFF1F5;
  --bg:      #FFFFFF;
  --bg-soft: #F6F7F9;

  --ff-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-script:  "Kaushan Script", "Segoe Script", cursive;

  --wrap: 1240px;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 3px rgba(10, 20, 40, .07), 0 6px 18px rgba(10, 20, 40, .05);
  --shadow-md: 0 10px 30px rgba(10, 20, 40, .10);
  --shadow-lg: 0 22px 60px rgba(10, 20, 40, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 4rem);   font-weight: 700; letter-spacing: .01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.02rem; letter-spacing: .06em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 7.5vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #B9C2D4; }
.section--navy h1, .section--navy h2, .section--navy h3,
.section--navy h4 { color: #fff; }
.section--navy strong { color: #fff; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------- section heading */
.sec-head { max-width: 760px; margin: 0 0 clamp(30px, 4vw, 52px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-family: var(--ff-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange);
  margin: 0 0 14px; display: block;
}
.section--navy .eyebrow { color: var(--gold); }

.rule {
  width: 62px; height: 3px; background: var(--orange);
  border: 0; margin: 0 0 22px;
}
.sec-head--center .rule, .rule--center { margin-left: auto; margin-right: auto; }

.sec-head p { font-size: 1.06rem; color: var(--body); margin-bottom: 0; }
.section--navy .sec-head p { color: #A9B4C8; }

.script {
  font-family: var(--ff-script);
  color: var(--orange);
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display);
  font-size: .9rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; line-height: 1;
  padding: 17px 30px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .18s var(--ease),
              box-shadow .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(240,112,0,.28); }
.btn--primary:hover { background: var(--orange-600); color: #fff; box-shadow: 0 12px 28px rgba(240,112,0,.36); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-600); }

.btn--sm { padding: 13px 22px; font-size: .8rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ------------------------------------------------------------ top bar */
.topbar {
  background: var(--navy); color: #A9B4C8;
  font-size: .84rem; letter-spacing: .02em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 44px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { color: #D6DCE7; }
.topbar a:hover { color: var(--orange); }
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { flex: none; color: var(--gold); }
.topbar__socials { display: flex; align-items: center; gap: 6px; }
.soc {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
  transition: background .2s var(--ease);
}
.soc:hover { background: var(--orange); color: #fff; }

/* -------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(10,20,40,.09); }
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 86px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; transition: height .25s var(--ease); }
.header.is-stuck .brand img { height: 46px; }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a {
  font-family: var(--ff-display);
  font-size: .87rem; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--navy);
  padding: 10px 13px; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--orange); transform: scaleX(0);
  transform-origin: left; transition: transform .25s var(--ease);
}

/* CTA that JS appends inside the nav for the mobile panel — must stay hidden
   on desktop, otherwise a second "Request an Estimate" button renders inline
   with the menu links and widens the nav */
.nav__mobile-cta { display: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-600); }

.header__cta { display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  letter-spacing: .04em; color: var(--navy);
}
.header__phone svg { color: var(--orange); }
.header__phone small {
  display: block; font-size: .62rem; letter-spacing: .16em;
  color: var(--muted); text-transform: uppercase; line-height: 1.4;
}

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; color: var(--navy);
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: currentColor;
  position: relative; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
  min-height: clamp(560px, 78vh, 760px);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,16,32,.96) 0%, rgba(8,16,32,.90) 34%,
                            rgba(8,16,32,.62) 58%, rgba(8,16,32,.24) 100%),
    linear-gradient(0deg, rgba(8,16,32,.55) 0%, transparent 55%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 62px; padding-bottom: 62px; }
.hero__inner { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 em { font-style: normal; color: var(--orange); display: block; }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #C6CEDD; max-width: 560px; }
.hero .btn-row { margin-top: 30px; }

.hero__tag {
  font-family: var(--ff-script); color: var(--gold-light);
  font-size: clamp(1.35rem, 2.7vw, 2.15rem); line-height: 1.35;
  margin-top: 34px; padding-left: 22px; border-left: 3px solid var(--orange);
  max-width: 460px;
}

.hero__badges {
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__badges span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .89rem; color: #D6DCE7;
}
.hero__badges svg { color: var(--gold); flex: none; }

/* page banner (sub pages) */
.banner {
  position: relative; color: #fff; background: var(--navy);
  padding: clamp(72px, 10vw, 128px) 0 clamp(46px, 6vw, 74px);
  overflow: hidden;
}
.banner__bg { position: absolute; inset: 0; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,16,32,.94) 0%, rgba(8,16,32,.80) 55%,
                                      rgba(8,16,32,.66) 100%);
}
.banner .wrap { position: relative; z-index: 2; }
.banner h1 { color: #fff; margin-bottom: .35em; }
.banner p { color: #BCC6D8; max-width: 640px; margin: 0; }

.crumbs {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--ff-display); color: #8C99B0; margin-bottom: 18px;
}
.crumbs a { color: var(--gold); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; }

/* --------------------------------------------------------- trust strip */
.trustbar { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.07); }
.trustbar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.trustbar__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 26px 20px; border-left: 1px solid rgba(255,255,255,.08);
}
.trustbar__item:first-child { border-left: 0; }
.trustbar__item svg { color: var(--gold); flex: none; margin-top: 3px; }
.trustbar__item strong {
  display: block; color: #fff; font-family: var(--ff-display);
  font-weight: 600; font-size: .98rem; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 3px;
}
.trustbar__item span { font-size: .84rem; color: #8C99B0; line-height: 1.55; }

/* -------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #D8DDE6; }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__chip {
  position: absolute; left: 0; bottom: 0;
  background: var(--orange); color: #fff;
  font-family: var(--ff-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px;
}
.card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .45em; }
.card__body p { font-size: .95rem; margin-bottom: 0; }
.card__link {
  margin-top: 18px; font-family: var(--ff-display); font-size: .8rem;
  font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--orange-600); display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
}
.card__link svg { transition: transform .25s var(--ease); }
.card__link:hover { color: var(--navy); }
.card__link:hover svg { transform: translateX(4px); }

/* feature (icon) card */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; height: 100%;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--orange-100); color: var(--orange);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature h3 { font-size: 1.12rem; margin-bottom: .48em; }
.feature p { font-size: .94rem; margin: 0; }

.section--navy .feature {
  background: var(--navy-800); border-color: rgba(255,255,255,.09);
}
.section--navy .feature__icon { background: rgba(201,164,92,.15); color: var(--gold); }
.section--navy .feature p { color: #A9B4C8; }

/* icon list */
.icard {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--line-2);
}
.icard:last-child { border-bottom: 0; }
.icard__icon {
  flex: none; width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.icard h3 { font-size: 1.02rem; margin-bottom: .3em; }
.icard p { font-size: .93rem; margin: 0; }

/* ------------------------------------------------------ before / after */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); --pos: 50%; }
.ba__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ba__before {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px;
  background: #fff; cursor: ew-resize; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(10,20,40,.14);
}
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--orange); border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(10,20,40,.32);
}
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; color: #fff; }
.ba__labels { position: absolute; top: 16px; left: 16px; right: 16px; display: flex;
              justify-content: space-between; pointer-events: none; z-index: 2; }
.ba__labels b {
  font-family: var(--ff-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(10,20,40,.78); padding: 7px 13px; border-radius: 2px;
}
.ba__labels b:last-child { background: var(--orange); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%;
             opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }

/* -------------------------------------------------------------- stats */
.stat { text-align: center; padding: 8px 10px; }
.stat strong {
  display: block; font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3rem); color: var(--gold); line-height: 1;
  margin-bottom: 10px; letter-spacing: .01em;
}
.stat span {
  font-family: var(--ff-display); font-size: .8rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: #9AA6BC;
}

.statrow { display: grid; grid-template-columns: repeat(4, 1fr); }
.statrow .stat { border-left: 1px solid rgba(255,255,255,.11); }
.statrow .stat:first-child { border-left: 0; }

/* ------------------------------------------------------------- process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; }
.step__num {
  font-family: var(--ff-display); font-size: 2.6rem; font-weight: 700;
  color: var(--line); line-height: 1; margin-bottom: 12px;
  display: block; letter-spacing: .02em;
}
.step::before {
  content: ""; position: absolute; top: 20px; left: 74px; right: -13px; height: 1px;
  background: var(--line);
}
.step:last-child::before { display: none; }
.step h3 { font-size: 1.05rem; margin-bottom: .4em; }
.step p { font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------- area */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.county {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 28px; background: rgba(255,255,255,.035);
}
.county h3 { display: flex; align-items: center; gap: 11px; font-size: 1.05rem; margin-bottom: .7em; }
.county h3 svg { color: var(--gold); }
.pills { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.pills li {
  font-size: .84rem; padding: 6px 13px; border-radius: 100px; margin: 0;
  background: rgba(255,255,255,.07); color: #C6CEDD; border: 1px solid rgba(255,255,255,.08);
}

/* --------------------------------------------------------------- quote */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; height: 100%; display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; color: var(--orange); margin-bottom: 16px; }
.quote blockquote { margin: 0 0 20px; font-size: .98rem; color: var(--body); flex: 1; }
.quote figcaption {
  font-family: var(--ff-display); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
  border-top: 1px solid var(--line-2); padding-top: 16px;
}
.quote figcaption span { display: block; color: var(--muted); font-weight: 400; letter-spacing: .05em; margin-top: 3px; }

.reviewpanel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.reviewpanel__cell { background: #fff; padding: 30px 26px; }
.reviewpanel__cell h3 { font-size: 1rem; margin-bottom: .35em; }
.reviewpanel__cell p { font-size: .9rem; margin: 0; }
.reviewpanel__cell .stars { margin-bottom: 12px; }

/* ----------------------------------------------------------- cta band */
.cta {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: clamp(52px, 7vw, 84px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 130% at 88% 50%, rgba(240,112,0,.30) 0%, transparent 62%),
    linear-gradient(90deg, rgba(10,20,40,1) 0%, rgba(10,20,40,.72) 100%);
}
.cta .wrap { position: relative; z-index: 2; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .3em; max-width: 620px; }
.cta p { color: #B9C2D4; margin: 0; max-width: 560px; }
.cta__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta__phone {
  display: inline-flex; align-items: center; gap: 12px; color: #fff;
  font-family: var(--ff-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .03em;
}
.cta__phone:hover { color: var(--gold); }
.cta__phone svg { color: var(--orange); }

/* --------------------------------------------------------- gallery */
/* Tiles size to their image. Forcing a ratio here cropped the wide
   before/after composites and sliced their BEFORE/AFTER labels. */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.gallery__item {
  position: relative; border: 0; padding: 0; background: var(--bg-soft);
  border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in;
  display: block; width: 100%;
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: left;
  padding: 30px 18px 16px; color: #fff; font-family: var(--ff-display);
  font-size: .86rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(0deg, rgba(8,16,32,.9) 0%, transparent 100%);
}
.gallery__item--wide { grid-column: span 3; }

.lightbox {
  position: fixed; inset: 0; z-index: 900; display: none;
  background: rgba(6,11,22,.94); padding: 4vh 4vw;
  align-items: center; justify-content: center;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: #C6CEDD; text-align: center; padding-top: 16px; font-size: .92rem; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 50%; font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: var(--orange); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.4rem; line-height: 1;
}
.lightbox__nav:hover { background: var(--orange); }
.lightbox__nav--prev { left: 2vw; }
.lightbox__nav--next { right: 2vw; }

/* ------------------------------------------------------------- forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
}
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: .98rem; color: var(--ink);
  padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,112,0,.14);
}
.field__hint { font-size: .82rem; color: var(--muted); }
.form__note { font-size: .84rem; color: var(--muted); grid-column: 1 / -1; margin: 0; }

.formpanel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------- info list */
.info { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.info:last-child { border-bottom: 0; }
.info__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange-100); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.info h3 { font-size: .95rem; letter-spacing: .08em; margin-bottom: .3em; }
.info p, .info a { margin: 0; font-size: .98rem; }
.info a { color: var(--navy); font-weight: 500; }
.info a:hover { color: var(--orange-600); }

/* --------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--ff-display); font-size: 1.06rem; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--orange); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--orange-600); }
.faq .faq__a { padding: 0 40px 24px 0; font-size: .96rem; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- footer */
.footer {
  background: var(--navy); color: #93A0B6;
  padding: clamp(52px, 6vw, 76px) 0 0; font-size: .93rem;
}
.footer h4 {
  color: #fff; font-size: .82rem; letter-spacing: .16em; margin-bottom: 1.3em;
  padding-bottom: .9em; position: relative;
}
.footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px;
  background: var(--orange);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 42px; }
.footer__logo { margin-bottom: 22px; }
.footer__logo img { width: 252px; height: auto; }
.footer p { color: #93A0B6; }
.footer a { color: #C6CEDD; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .7em; }
.footer__links a { display: inline-flex; align-items: center; gap: 9px; }
.footer__links a::before {
  content: ""; width: 5px; height: 5px; background: var(--gold); flex: none;
  transform: rotate(45deg);
}
.footer__contact li { display: flex; gap: 12px; margin-bottom: 1em; }
.footer__contact svg { color: var(--gold); flex: none; margin-top: 4px; }
.footer__contact strong {
  display: block; color: #fff; font-family: var(--ff-display); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px;
}
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials .soc { width: 38px; height: 38px; }

.footer__bottom {
  margin-top: clamp(40px, 5vw, 62px); border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0; display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; font-size: .84rem; color: #7A87A0;
}
.footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* -------------------------------------------------------- mobile call */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -6px 24px rgba(10,20,40,.28);
}
.callbar a {
  font-family: var(--ff-display); font-size: .84rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  padding: 16px 10px; display: flex; align-items: center; justify-content: center; gap: 9px;
}
.callbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
.callbar a.is-primary { background: var(--orange); color: #fff; }

/* --------------------------------------------------------- scroll cue */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- utils */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 42px; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }

.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { display: flex; gap: 12px; margin-bottom: .7em; font-size: .96rem; }
.ticks svg { color: var(--orange); flex: none; margin-top: 4px; }
.section--navy .ticks svg { color: var(--gold); }

.note {
  background: var(--orange-100); border-left: 3px solid var(--orange);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem; margin: 26px 0 0;
}
.note strong { color: var(--navy); }

/* ------------------------------------------------------- responsive */
@media (max-width: 1200px) {
  .nav { gap: 0; }
  .nav a { padding: 10px 9px; font-size: .81rem; letter-spacing: .05em; }
  .nav a::after { left: 9px; right: 9px; }
  .brand img { height: 48px; }
  .header.is-stuck .brand img { height: 42px; }
  .header__phone { display: none; }
  .header__cta { gap: 12px; }
  .header__cta .btn { padding: 13px 18px; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}

/* the horizontal header nav runs out of room below 960px, so the slide-in
   panel takes over before the header can overflow */
@media (max-width: 960px) {
  /* mobile navigation
     z-order: header (200) > nav (150) > scrim (140) so the close button in the
     header stays clickable. The closed panel is revealed with clip-path rather
     than translateX(100%) — an off-viewport fixed panel inflates document
     scrollWidth and forces a phantom horizontal scroll on phones. */
  .burger { display: inline-flex; position: relative; z-index: 300; }
  .header { background: #fff; }
  /* the top bar wraps to several rows on a phone and would push the sticky
     header down, misaligning the menu panel — its contacts live in the footer
     and the call bar covers the phone action */
  .topbar { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
    height: 100dvh; max-height: 100dvh;
    background: var(--navy); flex-direction: column; align-items: stretch;
    /* 68px clears the sticky header; the bottom pad is the safety gap. The panel
       is sized to fit the whole menu on one screen — no scrolling. */
    padding: 68px 22px 26px;
    gap: 0; z-index: 150;
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .34s var(--ease), visibility .34s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -20px 0 60px rgba(4,9,20,.5);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav a {
    color: #fff; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.09);
    font-size: .95rem; white-space: nowrap;
  }
  .nav a::after { display: none; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
  /* CTA pinned to the bottom of the panel, above the mobile call bar */
  .nav__mobile-cta { display: block; margin-top: auto; padding-top: 20px; }
  .nav__mobile-cta .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(6,11,22,.6); z-index: 140;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .area { grid-template-columns: 1fr; }
  .reviewpanel { grid-template-columns: 1fr; }
  .trustbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item:nth-child(3) { border-left: 0; }
  .trustbar__item { border-top: 1px solid rgba(255,255,255,.08); }
  .statrow { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .statrow .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  /* the letter-spaced eyebrow is long ("South Florida Remodeling & Construction")
     and ran to the very edge of a 390px screen */
  .eyebrow { font-size: .7rem; letter-spacing: .13em; }
  .header .wrap { min-height: 68px; }
  .brand img { height: 38px; }
  .header.is-stuck .brand img { height: 34px; }
  .header__cta .btn { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .trustbar .wrap { grid-template-columns: 1fr; }
  .trustbar__item { border-left: 0; padding: 20px 4px; }
  .statrow { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__badges { gap: 10px 18px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
  .callbar { display: grid; }
  body { padding-bottom: 57px; }
  .nav { padding-bottom: 78px; }   /* keep the menu CTA clear of the call bar */
  .ba__labels b { font-size: .64rem; padding: 5px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .feature:hover, .btn:hover { transform: none; }
}

@media print {
  .header, .topbar, .callbar, .nav-scrim, .lightbox { display: none !important; }
  body { color: #000; }
  .hero, .banner, .cta, .section--navy, .footer { background: #fff !important; color: #000 !important; }
}
