/* =========================================================
   Citywide Home Remodeling – main stylesheet
   1. Tokens  2. Base  3. Utilities/Buttons  4. Header
   5. Sections (in page order)  6. Footer  7. Responsive
   ========================================================= */

/* 1. Tokens ------------------------------------------------ */
:root {
  --navy: #0f1c40;
  --navy-2: #13234d;
  --navy-card: #1d3557;
  --navy-border: #4a6b9c;
  --ink: #232220;
  --heading: #111c3c;
  --text: #2c2c2c;
  --red: #ec1c10;
  --red-dark: #b8100c;
  --btn-red: #ff2a1a;
  --eyebrow-red: #e1251b;
  --blue: #2a5aa8;
  --sky: #7f9fd2;
  --tint: #eaeef7;
  --tile: #eef0f7;
  --cream: #f8f5f2;
  --white: #fff;

  --font-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-eyebrow: "Merriweather", Georgia, serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-num: "Poppins", var(--font-body);

  --container: 1300px;
  --gutter: 24px;
  --pattern: url("../images/pattern-chevron.svg");
}

/* 2. Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--heading); margin: 0; line-height: 1.22; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* 3. Shared bits ------------------------------------------- */
.eyebrow {
  font-family: var(--font-eyebrow);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--eyebrow-red);
  margin-bottom: 10px;
}
.eyebrow-dark { color: var(--ink); font-size: 23px; margin: 0; }
h2 { font-size: 40px; }
h2.light, .light { color: var(--white); }
.h3 { font-size: 23px; }
.h4 { font-size: 22px; }
.section-head { text-align: center; max-width: 1200px; margin: 0 auto; }
.section-head .lead { margin-top: 18px; font-size: 15.5px; line-height: 1.7; color: #333; }
.section-head .lead + .lead { margin-top: 14px; }

.navy-pattern { background-color: var(--navy); background-image: var(--pattern); background-size: 64px 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-body); font-size: 17px; line-height: 1;
  border: 1.5px solid transparent; transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; }
.btn-red:hover { box-shadow: 0 8px 20px rgba(184, 16, 12, .3); }
.btn-outline-light { border-color: #fff; color: #fff; font-weight: 700; height: 50px; padding: 0 38px; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline-red { border-color: var(--red); color: var(--red); font-weight: 700; height: 50px; padding: 0 38px; font-size: 16px; }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); font-weight: 700; height: 50px; padding: 0 48px; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.stars { color: #f6b51e; letter-spacing: 3px; }

/* 4. Header ------------------------------------------------ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.header-inner { display: flex; align-items: center; height: 116px; gap: 24px; max-width: 1420px; transition: height .25s; }
.site-header .logo img { transition: width .25s; }
/* Sticky state (added by JS once the page scrolls) */
.site-header.is-scrolled { background: #fff; box-shadow: 0 4px 18px rgba(15, 28, 64, .1); }
.site-header.is-scrolled .header-inner { height: 88px; }
.site-header.is-scrolled .logo img { width: 150px; }
.site-header.is-scrolled .header-ctas .btn { background: var(--btn-red); border-color: var(--btn-red); color: #fff; }
.site-header.is-scrolled .header-ctas .btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.logo img { width: 172px; height: auto; }
.site-nav { display: flex; align-items: center; flex: 1; }
.nav-list { display: flex; align-items: center; gap: 58px; margin-left: 116px; }
.nav-list > li > a, .dropdown-toggle {
  font-size: 17px; color: #333; background: none; border: 0; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-list > li > a:hover, .dropdown-toggle:hover { color: var(--red); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -18px; min-width: 230px; background: #fff;
  border-radius: 8px; box-shadow: 0 14px 34px rgba(15, 28, 64, .15); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.dropdown a { display: block; padding: 10px 18px; font-size: 15px; color: var(--heading); }
.dropdown a:hover { background: var(--tint); }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.header-ctas { margin-left: auto; display: flex; gap: 40px; }
.nav-toggle { display: none; }

/* 5a. Hero ------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: 160px 0 86px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(232,226,220,.6), transparent 50%),
    radial-gradient(ellipse at 40% 90%, rgba(238,233,228,.7), transparent 45%),
    var(--cream);
}
.hero-navy { position: absolute; top: 0; bottom: 0; right: 0; left: 70.3%; background-color: var(--navy-2); background-image: var(--pattern); background-size: 64px 36px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 47% 1fr; gap: 6%; align-items: start; }
.hero-eyebrow-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 610px; margin-bottom: 18px; }
.bbb { width: 110px; }
.hero h1 { font-size: 45px; line-height: 1.28; color: var(--ink); max-width: 640px; }
.hero-text { margin-top: 26px; font-size: 15.5px; line-height: 1.72; color: #1a1a1a; max-width: 625px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.btn-row .btn { height: 44px; font-size: 17px; }
.stats { display: flex; gap: 0; margin-top: 18px; max-width: 590px; }
.stats li { flex: 1; text-align: center; }
.stats li:first-child { text-align: left; padding-left: 38px; }
.stats strong { display: block; font-family: var(--font-num); font-weight: 500; font-size: 30px; color: var(--blue); line-height: 1.4; }
.stats span { display: block; font-size: 16px; color: #222; }
.stats li:first-child span { margin-left: -10px; }
.rating-box {
  margin-top: 70px; max-width: 512px; height: 58px; border: 1.5px solid #8ab0e6; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(255,255,255,.35);
}
.rating-box .stars { font-size: 24px; letter-spacing: 1px; }
.rating-num { font-family: var(--font-num); font-size: 20px; color: #333; }
.rating-box img { width: 82px; }
.rating-label { font-size: 18px; color: #444; font-weight: 700; }
.hero-panels { margin-top: 118px; }
.hero-panels img { width: 100%; height: auto; }

/* 5b. Features --------------------------------------------- */
.features { padding: 76px 0 78px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.icon-tile { width: 80px; height: 80px; background: var(--tile); border-radius: 4px; display: grid; place-items: center; margin-bottom: 20px; }
.icon-tile svg, .step svg { width: 50px; height: 50px; fill: none; stroke: #c9353b; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { color: var(--heading); margin-bottom: 12px; font-size: 23px; }
.feature p { font-size: 15.5px; line-height: 1.7; color: #333; max-width: 360px; }

/* 5c. Testimonials ----------------------------------------- */
.testimonials { padding: 82px 0 130px; overflow: hidden; }
.testimonials h2 { font-size: 40px; }
.slider { position: relative; margin-top: 108px; padding: 0 30px; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 28px; transition: transform .5s ease; }
.t-card {
  flex: 0 0 calc((100% - 56px) / 3); margin: 0;
  background: rgba(255, 255, 255, .2); border-radius: 12px; padding: 26px 40px 30px; text-align: center; color: #fff;
}
.t-card .quote { width: 44px; height: 38px; fill: #7fa0d6; margin: 0 auto; }
.t-card .stars { font-size: 20px; margin: 10px 0 6px; }
.t-card blockquote { margin: 0; font-style: italic; font-size: 17px; line-height: 1.55; min-height: 128px; }
.t-card figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid rgba(127, 160, 214, .45); margin-top: 18px; padding-top: 24px; text-align: left; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--av); border: 2px solid #1b2a4a; display: grid; place-items: center; font-size: 32px; line-height: 1; color: #fff; flex: 0 0 auto; }
.t-card b { display: block; font-size: 14px; font-weight: 400; }
.t-card small { display: block; font-size: 14px; color: #7fa0d6; margin-top: 4px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: #1e3a66; border: 0; display: grid; place-items: center; z-index: 2;
}
.slider-arrow svg { width: 34px; height: 34px; fill: none; stroke: #8fb0e3; stroke-width: 1.6; }
.slider-arrow.prev { left: -52px; }
.slider-arrow.next { right: -52px; }

/* 5d. Gallery ---------------------------------------------- */
.gallery { padding: 86px 0 80px; overflow: hidden; }
.gallery h2 { font-size: 40px; }
.gallery .lead { font-size: 15px; }
.tabs { display: flex; justify-content: center; gap: 20px; margin-top: 52px; flex-wrap: wrap; }
.tab {
  font-family: var(--font-head); font-size: 21px; color: var(--heading); background: var(--tint);
  border: 0; border-radius: 4px; padding: 6px 30px; line-height: 1.6;
}
.tab.is-active { background: var(--navy); color: #fff; }
.coverflow { position: relative; margin-top: 20px; height: 450px; }
.cf-stage { position: relative; height: 100%; }
.cf-set { position: absolute; inset: 0; perspective: 1000px; }
.cf-set img {
  position: absolute; top: 50%; left: 50%; width: 461px; height: 420px; object-fit: cover; border-radius: 22px;
  transition: transform .5s ease, opacity .5s ease; backface-visibility: hidden;
}
.cf-set img[data-pos="0"]  { transform: translate(-50%, -50%); z-index: 3; }
.cf-set img[data-pos="-1"] { transform: translate(-50%, -50%) translateX(-478px) rotateY(-28deg) scale(.98); z-index: 2; }
.cf-set img[data-pos="1"]  { transform: translate(-50%, -50%) translateX(478px) rotateY(28deg) scale(.98); z-index: 2; }
.cf-set img[data-pos="hidden"] { opacity: 0; transform: translate(-50%, -50%) scale(.8); z-index: 1; }
.cf-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 76px; height: 76px; border-radius: 50%;
  background: #1c3563; border: 0; display: grid; place-items: center; z-index: 5;
}
.cf-arrow svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2; }
.cf-arrow.prev { left: 50px; }
.cf-arrow.next { right: 50px; }
.cf-dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.cf-dots i { width: 7px; height: 7px; background: rgba(255,255,255,.7); display: block; }
.cf-dots i.on { background: #2b8be6; }

/* 5e. Why choose us ---------------------------------------- */
.why { background: var(--navy); padding: 90px 0 76px; color: #fff; }
.why-grid { display: grid; grid-template-columns: 47% 1fr; gap: 6%; align-items: start; }
.timeline { position: relative; display: grid; gap: 66px; padding-top: 112px; }
.timeline::before { content: ""; position: absolute; left: 32px; top: 140px; bottom: 50px; width: 1.5px; background: var(--sky); }
.timeline li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.t-dot { flex: 0 0 66px; height: 66px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; margin-top: -8px; }
.t-dot svg { width: 36px; height: 36px; fill: none; stroke: var(--navy); stroke-width: 1.6; }
.timeline h3 { color: #fff; font-size: 19.5px; margin-bottom: 4px; }
.timeline p { font-size: 15px; line-height: 1.7; max-width: 360px; }
.why-copy h2 { font-size: 40px; line-height: 1.27; max-width: 470px; }
.why-copy p:not(.eyebrow) { margin-top: 34px; font-size: 15px; line-height: 1.72; max-width: 560px; }
.why-copy .btn { margin-top: 38px; }

/* 5f. Services --------------------------------------------- */
.services { padding: 80px 0 76px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 54px; }
.service-card { background: var(--tint); display: flex; flex-direction: column; }
.service-card img { width: 100%; height: 273px; object-fit: cover; }
.service-body { text-align: center; padding: 18px 40px 38px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.service-body h3 { font-size: 23px; }
.service-body p { margin: 10px 0 22px; font-size: 15px; line-height: 1.7; color: #333; flex: 1; }

/* 5g. Process ---------------------------------------------- */
.process { position: relative; padding: 146px 0 78px; margin-top: 76px; }
.process-navy { position: absolute; left: 0; top: 48px; bottom: 0; width: 58.7%; }
.process-img { position: absolute; right: 0; top: 0; width: 47.2%; height: 686px; object-fit: cover; }
.process-inner { position: relative; }
.process-head h2 { font-size: 40px; max-width: 360px; line-height: 1.27; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 52px; }
.step { background: #fff; border-radius: 22px; padding: 36px 36px 46px; box-shadow: inset 0 0 0 1px #a8b5cc; }
.step svg { width: 54px; height: 54px; margin-bottom: 18px; }
.step h3 { font-size: 22px; max-width: 200px; margin-bottom: 12px; }
.step p { font-size: 15px; line-height: 1.75; color: #333; }

/* 5h. About ------------------------------------------------ */
.about { padding: 118px 0 76px; }
.about-grid { display: grid; grid-template-columns: 47% 1fr; gap: 3%; align-items: center; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 34px; }
.about-imgs img { width: 100%; height: 500px; object-fit: cover; border-radius: 14px; }
.about-copy h2 { font-size: 40px; line-height: 1.27; max-width: 520px; }
.about-copy p:not(.eyebrow) { margin-top: 20px; font-size: 15px; line-height: 1.72; color: #333; max-width: 570px; }
.about-copy p + p:not(.eyebrow) { margin-top: 0; }
.about-copy .btn { margin-top: 30px; }

/* 5i. CTA -------------------------------------------------- */
.cta {
  padding: 78px 0 76px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.95), transparent 50%),
    radial-gradient(ellipse at 80% 85%, rgba(230,224,218,.6), transparent 45%),
    radial-gradient(ellipse at 45% 60%, rgba(240,235,230,.8), transparent 40%),
    var(--cream);
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: center; }
.cta-copy { text-align: center; padding-top: 70px; }
.cta-copy h2 { font-size: 40px; line-height: 1.27; max-width: 600px; margin: 0 auto; }
.cta-copy p:not(.eyebrow) { margin: 22px auto 0; font-size: 15px; line-height: 1.75; max-width: 580px; color: #333; }
.cta-copy .btn { margin-top: 48px; }
.cta-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 26px; }

/* 5j. FAQ -------------------------------------------------- */
.faq { background: var(--navy); padding: 86px 0 76px; }
.faq h2 { font-size: 40px; line-height: 1.27; max-width: 860px; margin: 0 auto; }
.accordion { max-width: 1076px; margin: 36px auto 0; display: grid; gap: 30px; }
.accordion details { background: var(--navy-card); border: 1px solid var(--navy-border); border-radius: 6px; }
.accordion summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--font-head); font-size: 22px; color: #fff; padding: 18px 60px 18px 20px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 9px; height: 9px;
  border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.accordion details[open] summary::after { opacity: 0; }
.accordion details p { color: #fff; font-size: 15px; line-height: 1.75; padding: 0 20px 22px; margin-top: -4px; }

/* 5k. Contact ---------------------------------------------- */
.contact { position: relative; padding: 76px 0 0; min-height: 694px; background: var(--navy); }
.contact-img { position: absolute; left: 0; top: 0; width: 67.8%; height: 694px; object-fit: cover; }
.contact-pattern { position: absolute; top: 0; right: 0; width: 32.2%; height: 694px; }
.contact-inner { position: relative; display: flex; justify-content: flex-end; }
.form-card {
  width: 747px; max-width: 100%; background: #fff; border-radius: 10px; padding: 34px 46px 30px;
  margin-right: 50px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.12);
}
.form-card h2 { color: var(--heading); }
.form-card > p { font-size: 15px; margin-top: 12px; color: #222; }
.ghl-form-slot { margin-top: 40px; }
.estimate-form { display: grid; gap: 22px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estimate-form input, .estimate-form textarea {
  width: 100%; border: 0; border-bottom: 1.5px solid #b3c3d6; background: transparent;
  padding: 14px 14px 12px; font: 15px var(--font-body); color: #222; border-radius: 0;
}
.estimate-form textarea { min-height: 110px; resize: vertical; }
.estimate-form ::placeholder { color: #333; opacity: 1; }
.estimate-form input:focus, .estimate-form textarea:focus { outline: none; border-bottom-color: var(--navy); }
.btn-submit { justify-self: center; background: #d8333b; color: #fff; height: 40px; padding: 0 22px; font-size: 16px; margin-top: 2px; }
.btn-submit:hover { background: var(--red-dark); }
.form-note { text-align: center; font-size: 14px; color: var(--navy); min-height: 1em; }

/* 5l. Service areas ---------------------------------------- */
.areas { background: var(--tint); padding: 74px 0 70px; }
.areas h2 { font-size: 40px; }
.areas .lead { font-size: 15px; }
.areas-list {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, auto);
  grid-auto-flow: column; row-gap: 14px; max-width: 1220px; margin: 36px auto 0; padding-left: 76px;
}
.areas-list li { display: flex; align-items: center; gap: 22px; font-size: 18px; color: #173a24; }
.areas-list li::before {
  content: ""; width: 32px; height: 18px; flex: 0 0 auto;
  background: url("../images/icon-arrow-red.svg") no-repeat center / contain;
}

/* 5m. 404 page ---------------------------------------- */
.notfound { padding: 150px 0 110px; text-align: center; background: var(--cream); }
.notfound h1 { font-size: 46px; color: var(--ink); }
.notfound p:not(.eyebrow) { margin: 16px 0 32px; }
@media (max-width: 1024px) { .notfound { padding: 80px 0; } }
@media (min-width: 1025px) {
  .page-plain .header-ctas .btn-outline-light { border-color: var(--navy); color: var(--navy); }
  .page-plain .header-ctas .btn-outline-light:hover { background: var(--navy); color: #fff; }
}

/* 6. Footer ------------------------------------------------ */
.site-footer { background: var(--navy); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.footer-links { display: grid; gap: 10px; text-transform: uppercase; font-size: 17px; }
.footer-links a:hover { color: #f04a40; }
.footer-links-right { text-align: right; }
.footer-brand { text-align: center; }
.footer-brand img { width: 254px; margin: 0 auto 16px; }
.footer-brand p { font-size: 15px; line-height: 1.75; max-width: 540px; margin: 0 auto; }
.footer-contact { border-top: 1px solid rgba(255,255,255,.18); }
.footer-contact-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 34px; }
.footer-contact-inner > * { display: flex; align-items: center; gap: 22px; font-size: 13.5px; }
.footer-contact svg { width: 22px; height: 22px; color: #d3262c; flex: 0 0 auto; }
.footer-bottom { background: #fff; color: #333; text-align: center; padding: 22px 16px; font-size: 14.5px; }

/* 7. Responsive -------------------------------------------- */
@media (max-width: 1360px) {
  .slider { padding: 0 56px; }
  .slider-arrow.prev { left: 0; }
  .slider-arrow.next { right: 0; }
  .nav-list { margin-left: 60px; gap: 38px; }
  .header-ctas { gap: 20px; }
}

@media (max-width: 1180px) {
  h2, .hero h1 { font-size: 36px !important; }
  .nav-list { margin-left: 32px; gap: 26px; }
  .btn-outline-light { padding: 0 24px; }
  .cf-set img { width: 400px; height: 365px; }
  .cf-set img[data-pos="-1"] { transform: translate(-50%, -50%) translateX(-415px) rotateY(-28deg) scale(.94); }
  .cf-set img[data-pos="1"]  { transform: translate(-50%, -50%) translateX(415px) rotateY(28deg) scale(.94); }
  .coverflow { height: 400px; }
  .step { padding: 28px 22px 34px; }
}

/* Tablet & mobile nav */
@media (max-width: 1024px) {
  .site-header { position: sticky; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
  .site-header.is-scrolled .header-inner { height: 72px; }
  .site-header.is-scrolled .logo img { width: 120px; }
  .header-inner { height: 84px; justify-content: space-between; }
  html { scroll-padding-top: 80px; }
  .logo img { width: 140px; }
  .nav-toggle {
    display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; background: var(--navy);
    border: 0; border-radius: 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: #fff; transition: .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 12px var(--gutter) 26px; display: none;
  }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-list > li > a, .dropdown-toggle { color: #fff; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; display: none; padding: 0 0 6px 14px; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .dropdown a { color: #dbe4f3; }
  .dropdown a:hover { background: transparent; color: #fff; }
  .header-ctas { margin: 20px 0 0; gap: 14px; }
  .header-ctas .btn { flex: 1; }

  .hero { padding: 56px 0 0; }
  .hero-navy { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-eyebrow-row, .hero h1, .hero-text, .stats, .rating-box { max-width: none; }
  .hero-panels { margin: 0 calc(var(--gutter) * -1); padding: 40px var(--gutter); background: var(--navy-2) var(--pattern); background-size: 64px 36px; }
  .hero-panels img { max-width: 560px; margin: 0 auto; }

  .features-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .features-grid .feature:last-child, .services-grid .service-card:last-child { grid-column: 1 / -1; }
  .services-grid .service-card:last-child img { height: 340px; }
  .t-card { flex-basis: calc((100% - 28px) / 2); }
  .why-grid, .about-grid, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .timeline { padding-top: 0; order: 2; }
  .timeline::before { top: 30px; }
  .why-copy h2, .about-copy h2 { max-width: none; }

  .process { margin-top: 0; padding: 70px 0 60px; }
  .process-navy { width: 100%; top: 0; }
  .process-img { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cta-copy { padding-top: 0; }
  .contact { padding: 60px 0; min-height: 0; }
  .contact-img { display: none; }
  .contact-pattern { width: 100%; height: 100%; }
  .contact-inner { justify-content: center; }
  .form-card { margin-right: 0; }

  .areas-list { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(7, auto); padding-left: 0; max-width: 760px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; order: -1; }
  .footer-contact-inner { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  h2, .hero h1 { font-size: 29px !important; }
  .eyebrow { font-size: 19px; }
  .hero-eyebrow-row { flex-wrap: wrap; }
  .hero-text { font-size: 15px; }
  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
  .stats li:first-child { padding-left: 0; text-align: center; }
  .stats li:first-child span { margin-left: 0; }
  .stats strong { font-size: 26px; }
  .stats span { font-size: 14px; }
  .rating-box { gap: 6px; }
  .rating-box .stars { font-size: 18px; }
  .rating-box img { width: 64px; }

  .features-grid, .services-grid, .process-grid { grid-template-columns: 1fr; }
  .slider { padding: 0; margin-top: 50px; }
  .t-card { flex-basis: 100%; padding: 24px 22px 26px; }
  .t-card blockquote { min-height: 0; }
  .slider-arrow { top: auto; bottom: -70px; transform: none; }
  .slider-arrow.prev { left: calc(50% - 56px); }
  .slider-arrow.next { right: calc(50% - 56px); }
  .testimonials { padding-bottom: 140px; }

  .tabs { gap: 10px; }
  .tab { font-size: 17px; padding: 6px 16px; }
  .coverflow { height: 300px; }
  .cf-set img { width: 78%; height: 270px; }
  .cf-set img[data-pos="-1"], .cf-set img[data-pos="1"] { opacity: 0; }
  .cf-arrow { width: 50px; height: 50px; }
  .cf-arrow svg { width: 26px; height: 26px; }
  .cf-arrow.prev { left: 0; }
  .cf-arrow.next { right: 0; }

  .about-imgs img { height: 320px; }
  .accordion summary { font-size: 18px; padding: 16px 48px 16px 16px; }
  .accordion { gap: 16px; }
  .form-card { padding: 28px 20px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 22px; }
  .areas-list { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); }
  .areas-list li { font-size: 16px; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer-links-right { text-align: center; }
  .footer-contact-inner { grid-template-columns: 1fr; }
  .footer-contact-inner > * { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
