/* ===================== RESET & TOKENS ===================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Urbanist", system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

:root {
  --green: #7bc43b;
  --green-light: #8ed64e;
  --yellow: #fcc800;
  --navy: #021320;
  --gray: #758599;
  --gray-2: #4d5763;
  --bg-soft: #f7f6f9;
  --bg-light: #f9fafb;
  --border-blue: rgba(5, 88, 142, 0.16);
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 80px);
}

/* ===================== SHARED LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 1440px; padding: 0 var(--gutter); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.section-head.center { align-items: center; text-align: center; }
.section-head .section-desc { max-width: 671px; }

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gray);
}
.badge-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 500;
  padding: 7px 15px;
}

.section-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--navy);
}
.section-desc {
  font-size: 16px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}
.section-head.light .section-title,
.section-head.light .section-desc { color: #fff; }
.section-head.light .section-desc { max-width: 805px; }

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green);
  border: none;
  border-radius: 54px;
  padding: 8px 8px 8px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.btn-primary:hover { background: #6cb52f; transform: translateY(-1px); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--green); transform: none; }
.btn-primary .btn-arrow { width: 36px; height: 36px; }
.btn-full { width: auto; align-self: center; }

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 54px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background .2s ease;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.42); }
.btn-glass-icon { width: 16px; height: 16px; }

.center-cta { display: flex; justify-content: center; }

/* ===================== STICKY CTA (mobile only, fixed bottom) ===================== */
.sticky-cta-bar { display: none; } /* shown only on mobile */

/* ===================== STICKY NAV (after hero) ===================== */
.sticky-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(18, 40, 55, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px var(--gutter);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.sticky-nav.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.sticky-nav-logo img { height: 48px; width: auto; object-fit: contain; }
.sticky-nav-actions { display: flex; gap: 16px; align-items: center; }
.sticky-cta { height: 52px; }

/* ===================== HEADER ===================== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 46px var(--gutter) 0;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.header-logo img { height: 48px; width: auto; object-fit: contain; }
.header-actions { width: 284px; height: 52px; }
/* small "Call Us" pill — shown in the header on mobile only */
.header-call-pill {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 54px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
}
.header-call-pill .pill-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-call-pill img { width: 12px; height: 12px; }

/* responsive form title: desktop copy by default, mobile copy ≤768 */
.form-title .ft-mobile { display: none; }

/* ===================== HERO ===================== */
.hero { padding: 24px 14px; background: #fff; }
.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  padding: 100px 70px 40px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,19,32,.4) 4.78%, rgba(2,19,32,0) 37.52%),
    linear-gradient(123deg, rgba(2,19,32,0) 43.98%, rgba(2,19,32,.4) 67.73%),
    linear-gradient(254deg, rgba(2,19,32,0) 55.91%, rgba(2,19,32,.32) 83.88%),
    linear-gradient(180deg, rgba(2,19,32,0) 49.44%, rgba(2,19,32,.56) 98.88%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-left { width: 624px; max-width: 100%; display: flex; flex-direction: column; gap: 32px; }
.hero-eyebrow {
  margin: 0; color: #fff; font-size: 16px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .02em;
}
.hero-title {
  margin: 0; color: #fff; font-weight: 600;
  font-size: clamp(38px, 5.2vw, 60px); line-height: 1.06;
}
.hero-sub { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; }
.hero-call { padding: 8px 0; }

.hero-stats { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; width: 100%; }
.stat { display: flex; flex-direction: column; }
.stat-center { align-items: center; text-align: center; }
/* normalize the first row of every stat to the same height so rows top-align
   and captions share a baseline */
.stat-rating-row { display: flex; align-items: center; gap: 8px; height: 24px; }
.stat-number { color: var(--yellow); font-size: 20px; font-weight: 800; line-height: 24px; height: 24px; display: flex; align-items: center; }
.rating-badge { height: 24px; width: auto; }
.rating-stars { height: 18px; width: auto; }
.stat-caption { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; text-transform: capitalize; }

/* Hero form */
/* CTA buttons scroll here; offset so fixed sticky bars don't cover the form top */
#hero-form { scroll-margin-top: 24px; }
.hero-right { flex-shrink: 0; }
.hero-form {
  width: 445px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 35px 21px 21px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.form-title { margin: 0; text-align: center; color: #fff; font-size: 32px; font-weight: 700; line-height: 1.3; }
.form-fields { display: flex; flex-direction: column; gap: 14px; }
.hero-form input[type="text"],
.hero-form input[type="tel"],
.hero-form input[type="email"] {
  width: 100%;
  height: 45px;
  border: 1px solid rgba(5, 88, 142, 0.14);
  border-radius: 8px;
  padding: 0 25px;
  font-size: 16px;
  font-family: inherit;
  color: var(--navy);
  background: #fff;
}
.hero-form input::placeholder { color: var(--gray); }
.hero-form input:focus { outline: 2px solid var(--green); outline-offset: 0; }

.form-optin { border: none; margin: 0; padding: 8px 0 2px; display: flex; flex-direction: column; gap: 10px; }
.form-optin legend { padding: 0; color: #fff; font-size: 16px; font-weight: 700; }
.optin-label { display: flex; gap: 8px; align-items: flex-start; color: #fff; font-size: 12px; line-height: 1.66; }
.optin-label input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  border: 1px solid #fff; background: transparent; border-radius: 2px; cursor: pointer;
}
.optin-label input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
.optin-links { display: block; margin-top: 4px; }
.optin-links a { color: var(--green-light); }

/* ===================== TRUST STRIP ===================== */
.trust-strip { background: #fff; padding: 48px 0; overflow: hidden; }
.trust-title {
  margin: 0; text-align: center; color: var(--navy);
  font-size: clamp(30px, 5vw, 48px); font-weight: 700; line-height: 1.3;
}
.marquee { margin-top: 32px; width: 100%; overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust-logo { width: auto; flex-shrink: 0; }
.trust-logo[src*="bbb"] { height: 40px; }
.trust-logo[src*="google"] { height: 48px; }
.trust-logo[src*="homeadvisor"] { height: 48px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== ROOFING SYSTEMS ===================== */
.roofing { background: #fff; padding: 48px 0; }
.roofing .section-head { margin-bottom: 32px; }
.roofing-rows { display: flex; flex-direction: column; gap: 24px; }
.roof-row { display: flex; gap: 24px; align-items: stretch; }
.roof-text {
  flex: 1;
  background: var(--bg-soft);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roof-text h3 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.3; }
.roof-text > p { margin: 0; font-size: 16px; color: var(--gray-2); line-height: 1.4; }
.bullet-list { display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  color: var(--gray-2);
  line-height: 1.2;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 8px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-light);
}
.roof-img { width: 480px; flex-shrink: 0; border-radius: 24px; overflow: hidden; }
.roof-row.reverse .roof-img { width: 514px; }
.roof-img img { width: 100%; height: 100%; object-fit: cover; min-height: 332px; }
.roofing .center-cta { margin-top: 32px; }

/* ===================== WHY FORTRESS ===================== */
.why { background: #fff; padding: 16px 14px; }
.why-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-image: url("assets/why-bg.png");
  background-size: cover;
  background-position: center;
}
.why-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, rgba(2,19,32,.5) 0%, rgba(2,19,32,.9) 100%);
}
.why-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 48px;
  padding: 72px clamp(20px, 4vw, 64px);
  align-items: center;
}
.why-grid {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(40px, 8vw, 200px);
}
.why-col { display: flex; flex-direction: column; gap: 32px; }
.why-col-left { max-width: 425px; }
.why-col-right { max-width: 489px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item-indent { padding-left: 32px; }
.why-icon { width: 96px; height: 96px; flex-shrink: 0; }
.why-item h4 { margin: 0 0 4px; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.3; }
.why-item p { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }

.why-stats {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; width: 624px; max-width: 100%;
}

/* ===================== WHY FORTRESS (mobile accordion) ===================== */
.why-mobile { display: none; } /* shown only on mobile; desktop uses .why */
.why-m-card {
  position: relative;
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
}
/* solid #021320 background, no image (mobile "Why Choose Us") */
.why-m-overlay { display: none !important; background: none !important; }
.why-m-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 35px;
  padding: 44px 19px;
}
.why-m-list { display: flex; flex-direction: column; width: 100%; }
.why-m-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.why-m-item:first-child { border-top: none; padding-top: 0; }
.why-m-icon { width: 64px; height: 64px; flex-shrink: 0; }
.why-m-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.why-m-head {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; padding: 0; width: 100%;
  text-align: left; cursor: pointer;
}
.why-m-title {
  flex: 1; min-width: 0;
  color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3;
}
.why-m-toggle {
  flex-shrink: 0;
  width: 25px; height: 25px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.why-m-toggle::before {
  content: "";
  width: 9px; height: 6px;
  background: url("assets/why-chevron-closed.svg") center / contain no-repeat;
  transform: rotate(180deg); /* up-chevron -> points down when closed */
  transition: transform .2s ease;
}
.why-m-item.open .why-m-toggle { background: var(--green-light); }
.why-m-item.open .why-m-toggle::before {
  background-image: url("assets/why-chevron-open.svg");
  transform: rotate(0deg); /* points up when open */
}
.why-m-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.why-m-item.open .why-m-body { grid-template-rows: 1fr; }
.why-m-body > p {
  overflow: hidden;
  margin: 0;
  color: #fff; font-size: 14px; line-height: 1.5;
}
.why-m-item.open .why-m-body > p { padding-top: 8px; }
.why-m-stats { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.why-m-stats .stat { align-items: center; text-align: center; }
.why-m-stats .stat-rating { align-items: center; }

/* ===================== FAQ ===================== */
.faq { background: #fff; padding: 48px 0; display: flex; flex-direction: column; gap: 56px; align-items: center; }
.faq-container { max-width: 1200px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.faq-item {
  background: var(--bg-light);
  border-left: 5px solid #c8d2df;
  border-radius: 12px;
  padding: 18px 28px 18px 33px;
  transition: border-color .25s ease;
}
.faq-item.open { border-left-color: var(--green-light); }
.faq-q {
  width: 100%;
  background: none; border: none; padding: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
}
.faq-item.open .faq-q { color: var(--green-light); font-weight: 700; }
.faq-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background-image: url("assets/faq-closed.svg");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform .25s ease;
}
.faq-item.open .faq-icon { background-image: url("assets/faq-open.svg"); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  color: var(--gray-2);
  line-height: 1.5;
}
.faq-item.open .faq-a > p { padding-top: 10px; }

/* ===================== OUR PROCESS ===================== */
.process { background: #fff; padding: 24px 14px; }
.process-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
}
.process-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("assets/process-bg.png");
  background-size: cover; background-position: center;
  opacity: .5;
}
.process-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 32px; align-items: center;
  padding: 48px clamp(20px, 4vw, 60px);
}
.process-steps {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px;
  width: 100%; max-width: 1100px;
}
.process-line {
  position: absolute;
  top: 161px; left: 80px; right: 80px;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}
.process-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px;
  width: 240px; max-width: 100%;
}
.process-icon {
  width: 84px; height: 84px;
  background: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.process-icon img { width: 52px; height: 52px; }
.process-step h4 { margin: 0; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.3; }
.step-pill {
  background: #fff; color: var(--navy);
  border-radius: 8px; height: 30px; min-width: 80px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.process-step p { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; }

/* ===================== REVIEWS ===================== */
.reviews { background: var(--bg-light); padding: 48px 0; display: flex; flex-direction: column; gap: 48px; overflow: hidden; }
.reviews .google-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}
.reviews .gr-rating { display: flex; align-items: center; gap: 8px; }
.reviews .gr-badge { height: 24px; width: auto; }
.reviews .gr-stars { height: 18px; width: auto; }
.reviews .gr-card { height: 59px; width: auto; }
.reviews-rows { display: flex; flex-direction: column; gap: 24px; }
.reviews-marquee { overflow: hidden; width: 100%; }
.reviews-track { display: flex; gap: 24px; width: max-content; padding: 8px 0; }
.reviews-track-left { animation: rev-left 45s linear infinite; }
.reviews-track-right { animation: rev-right 45s linear infinite; }
@keyframes rev-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rev-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }

.review-card {
  flex-shrink: 0;
  width: 410px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
  padding: 40px 24px;
  display: flex; flex-direction: column; gap: 28px;
}
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-person { display: flex; align-items: center; gap: 14px; }
.review-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review-name { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.review-date { font-size: 12px; color: var(--gray); line-height: 1.5; }
.review-stars { height: 18px; width: auto; flex-shrink: 0; }
.review-body { margin: 0; font-size: 16px; color: var(--gray); line-height: 1.5; }

/* ===================== FINAL CTA ===================== */
.final-cta { background: var(--bg-light); padding: 80px 0 48px; }
.final-cta-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-image: url("assets/cta-bg.png");
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
  min-height: 475px;
  display: flex;
  align-items: center;
}
.final-cta-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(2,19,32,0) 0%, rgba(2,19,32,.5) 28%, var(--navy) 100%);
}
.final-cta-content { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 473px; }
.final-cta-title { margin: 0; color: #fff; font-size: clamp(34px, 5vw, 48px); font-weight: 600; line-height: 1.25; }
.final-cta-desc { margin: 6px 0 0; color: #fff; font-size: 16px; line-height: 1.5; }
.final-cta .btn-primary { margin-top: 32px; }

/* ===================== FOOTER ===================== */
.footer { background: #fff; padding: 24px 14px; }
.footer-card {
  background: var(--navy);
  border-radius: 24px;
  padding: 40px clamp(24px, 5vw, 70px);
  color: #fff;
}
.footer-cols { display: flex; gap: clamp(40px, 8vw, 182px); flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 320px; max-width: 423px; }
.footer-logo { height: 56px; width: auto; }
.footer-tag { margin: 24px 0 20px; font-size: 16px; color: #fff; }
.footer-divider { height: 2px; background: rgba(255, 255, 255, 0.4); margin-bottom: 20px; }
.footer-licence-title { margin: 0 0 20px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.footer-licence { width: 117px; height: auto; }
.footer-col h5 { margin: 0 0 20px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.footer-links li { margin-bottom: 18px; }
.footer-links a { font-size: 16px; color: #fff; transition: color .15s ease; }
.footer-links a:hover { color: var(--green-light); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a { display: flex; align-items: flex-start; gap: 9px; font-size: 16px; color: #fff; }
.footer-contact img { width: 28px; height: 28px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 32px; padding-top: 21px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: 16px; }
.footer-legal { display: flex; gap: 30px; }
.footer-legal a { font-size: 16px; transition: color .15s ease; }
.footer-legal a:hover { color: var(--green-light); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .hero-content { flex-direction: column; align-items: stretch; }
  .hero-left { width: 100%; }
  .hero-right { width: 100%; }
  .hero-form { width: 100%; }
  .why-grid { flex-direction: column; gap: 32px; }
  .why-col, .why-col-left, .why-col-right { max-width: 100%; }
  .why-item-indent { padding-left: 0; }
  .why-stats { width: 100%; }
}

@media (max-width: 900px) {
  .roof-row, .roof-row.reverse { flex-direction: column; }
  .roof-row.reverse .roof-img, .roof-img { width: 100%; }
  /* keep text above image on every row (matches mobile frame) */
  .roof-row.reverse .roof-text { order: 0; }
  .roof-row.reverse .roof-img { order: 1; }
  .roof-img img { min-height: 0; height: 300px; }
  .process-steps { flex-direction: column; align-items: center; gap: 40px; }
  .process-line { display: none; }
  .process-step { width: 100%; max-width: 360px; }
}

@media (max-width: 768px) {
  /* ---- mobile header becomes a dark rounded bar with logo + call pill ---- */
  .site-header { padding: 24px 14px 0; }
  .header-inner {
    background: rgba(18, 40, 55, 0.95);
    border-radius: 24px;
    padding: 12px 15px;
  }
  .header-logo img { height: 31px; }
  .header-actions { display: flex; width: auto; height: auto; align-items: center; }
  .header-call-pill { display: inline-flex; }

  /* ---- hero content fully centered ---- */
  .hero-card {
    padding: 104px 19px 24px;
    min-height: 0;
    background-image: url("assets/hero-bg-mobile.png"); /* mobile-only bg (desktop unchanged) */
  }
  .hero-content { gap: 40px; }
  .hero-left { align-items: center; text-align: center; gap: 10px; }
  .hero-eyebrow { font-size: 14px; }
  .hero-title { font-size: 35px; line-height: 1.3; padding-top: 9px; }
  .hero-sub { padding-top: 6px; }
  .hero-call { display: none; } /* no body call button on mobile (it lives in the header) */

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 28px;
  }
  .stat { flex: 0 0 auto; align-items: center; text-align: center; }
  .stat-rating { align-items: center; }

  /* form: mobile title + centered, auto-width submit button */
  .form-title .ft-desktop { display: none; }
  .form-title .ft-mobile { display: block; }
  .form-title { font-size: 22px; }
  .form-fields { align-items: center; }
  .hero-form .btn-full { width: auto; align-self: center; }

  /* ---- swap desktop Why for the mobile accordion version ---- */
  .why { display: none; }
  .why-mobile { display: block; background: #fff; padding: 16px 14px; }

  /* "How it works" (process): solid #021320 on mobile, no image (desktop keeps image) */
  .process-overlay { display: none !important; background-image: none !important; }

  /* ---- Get Started / Final CTA: mobile bg + centered content ---- */
  .final-cta { padding: 48px 0; }
  .final-cta-card {
    background-image: url("assets/cta-bg-mobile.png");
    padding: 30px 20px 36px;
    min-height: 0;
  }
  .final-cta-overlay { background: none; } /* darkening is baked into the mobile image */
  .final-cta-content { align-items: center; text-align: center; max-width: 100%; }
  .final-cta-title { font-size: 30px; line-height: 1.3; }
  .final-cta-desc { max-width: 280px; }
  .final-cta .btn-primary { margin-top: 12px; }

  /* mobile sticky nav = dark bar with logo + call pill (no green CTA) */
  .sticky-call, .sticky-cta { display: none; }
  .sticky-nav { padding: 8px 4px; }
  .sticky-nav-inner { padding: 3px 15px; } /* -9px top & bottom → 68px tall, matches sticky CTA */
  .sticky-nav-logo img { height: 31px; }

  /* sticky CTA: dark bar pinned to bottom with the green button */
  .sticky-cta-bar {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(18, 40, 55, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 24px;
  }
  /* button hugs its content (auto width), centered in the bar */
  .sticky-cta-bar .btn-primary { width: auto; }
  body { padding-bottom: 72px; } /* keep footer clear of the fixed bar */

  .review-card { width: 330px; padding: 32px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* keep section titles/heads off the screen edge */
  .section-head { padding-left: 8px; padding-right: 8px; }
  /* FAQ title is longer — give it more breathing room */
  .faq .section-head { padding-left: 24px; padding-right: 24px; }

  /* CTA scroll target clears the 68px mobile sticky nav */
  #hero-form { scroll-margin-top: 80px; }
}

@media (max-width: 480px) {
  .hero-card { padding: 100px 14px 24px; }
  .btn-primary { font-size: 14px; padding-left: 20px; }
}
