:root {
  --navy: #071629;
  --navy-2: #0b2139;
  --blue: #1686f7;
  --blue-dark: #0d6bd0;
  --cyan: #29a9ff;
  --white: #ffffff;
  --paper: #f7f9fc;
  --ink: #0a1726;
  --muted: #627083;
  --line: #dce5ee;
  --shadow: 0 24px 70px rgba(4, 20, 40, .14);
  --radius: 22px;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.emergency-bar { background: #050d18; color: #fff; text-align: center; padding: 10px 16px; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.emergency-bar button { color: #fff; background: transparent; text-decoration: underline; font-weight: 800; margin-left: 5px; padding: 0; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(247,249,252,.92); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(7,22,41,.08); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 24px; }
.brand { width: 174px; flex: 0 0 174px; }
.brand img { width: 100%; height: 66px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.desktop-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.desktop-nav a:hover { color: var(--blue-dark); }
.header-actions { display: flex; gap: 10px; }
.btn { min-height: 48px; padding: 0 19px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-blue { color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 10px 22px rgba(22,134,247,.24); }
.btn-commercial { color: var(--navy); background: #fff; border-color: var(--line); }
.btn-white { color: var(--navy); background: #fff; }
.btn-outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.34); }
.btn-large { min-height: 54px; padding-inline: 24px; }
.btn-full { width: 100%; }

.hero { position: relative; min-height: max(760px, calc(100svh - 82px)); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('assets/hero-roofers.webp') center 44% / cover no-repeat; transform: scale(1.02); animation: heroDrift 16s ease-in-out infinite alternate; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,20,.58) 0%, rgba(3,11,20,.43) 34%, rgba(3,11,20,.22) 62%, rgba(3,11,20,.10) 100%), linear-gradient(0deg, rgba(3,11,20,.24) 0%, rgba(3,11,20,0) 58%); }
.hero-grid { position: relative; min-height: inherit; padding: 26px 0 44px; display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: start; gap: 56px; }
.hero-copy { max-width: 670px; padding-top: clamp(70px, 11vh, 150px); }
.eyebrow { font-size: 12px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow.light { color: rgba(255,255,255,.72); }
.eyebrow.dark { color: #4b6279; }
.hero h1 { font-family: "Manrope", sans-serif; font-size: clamp(58px, 7vw, 98px); line-height: .9; letter-spacing: -.065em; margin: 0 0 24px; max-width: 600px; }
.hero-subtitle { max-width: 610px; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.82); margin: 0 0 28px; }
.hero-emergency { display: flex; gap: 12px; align-items: center; margin-top: 22px; font-size: 13px; }
.hero-emergency button { display: block; margin-top: 2px; background: transparent; color: #fff; padding: 0; text-decoration: underline; font-weight: 800; }
.hero-trust-points { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.hero-trust-points span { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; color: rgba(255,255,255,.96); font-size: 14px; font-weight: 800; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.24); }
.hero-trust-points i { width: 32px; height: 32px; border: 1.5px solid rgba(255,255,255,.78); border-radius: 50%; display: grid; place-items: center; flex: 0 0 32px; font-style: normal; font-size: 16px; line-height: 1; background: rgba(3,11,20,.18); }
.phone-dot { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); }
.hero-form-card { background: rgba(255,255,255,.98); color: var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.65); }
.form-label-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #56708d; }
.form-label-row b { background: #edf7ff; color: var(--blue-dark); border-radius: 999px; padding: 7px 10px; letter-spacing: .1em; }
.hero-form-card h2 { font-family: "Manrope", sans-serif; font-size: 30px; letter-spacing: -.05em; margin: 10px 0 7px; }
.form-help { color: #65758a; font-size: 13px; margin: 0 0 18px; }
.lead-form { display: grid; gap: 12px; }
.form-grid { display: grid; gap: 11px; }
.two-col { grid-template-columns: 1fr 1fr; }
.lead-form label { font-size: 11px; font-weight: 800; color: #30445a; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; margin-top: 6px; min-height: 48px; border: 1px solid #dbe4ee; background: #fff; border-radius: 13px; color: var(--ink); padding: 13px 14px; outline: none; }
.lead-form textarea { min-height: 115px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,134,247,.1); }
.submit-btn { margin-top: 2px; }
.form-note { color: #78889a; font-size: 10px; text-align: center; }

.stats-band { background: #061425; color: #fff; border-top: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.11); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: "Manrope", sans-serif; font-size: 42px; line-height: 1; letter-spacing: -.05em; color: #fff; }
.stat span { display: block; margin-top: 7px; color: rgba(255,255,255,.67); font-size: 12px; font-weight: 700; }

.section { padding: 104px 0; }
.section-head, .reviews-top, .faq-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head.compact { align-items: end; }
.section-head h2, .reviews-top h2, .faq-head h2 { font-family: "Manrope", sans-serif; font-size: clamp(40px,5vw,66px); line-height: .95; letter-spacing: -.06em; margin: 0; max-width: 860px; }
.text-cta { background: transparent; color: var(--blue-dark); font-weight: 800; padding: 0; white-space: nowrap; }

.services-section { background: #f7f9fc; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 305px; overflow: hidden; border-radius: 20px; text-align: left; color: #fff; background: linear-gradient(180deg,#17314c,#071629); border: 1px solid rgba(7,22,41,.06); padding: 0; isolation: isolate; }
.service-card .service-image { position: absolute; inset: 0; background: var(--service-image) center / cover no-repeat; transform: scale(1.03); transition: transform .6s ease; z-index: -2; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,13,24,.15), rgba(3,13,24,.88)); z-index: -1; }
.service-card:hover .service-image { transform: scale(1.1); }
.service-index { position: absolute; top: 18px; left: 18px; font-size: 10px; letter-spacing: .15em; font-weight: 800; opacity: .78; }
.service-content { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.service-content strong { display: block; font-family: "Manrope", sans-serif; font-size: 23px; line-height: 1; letter-spacing: -.04em; margin-bottom: 7px; }
.service-content small { display: block; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.45; max-width: 260px; }
.service-content b { display: block; margin-top: 14px; font-size: 12px; }
.service-commercial { grid-column: span 2; min-height: 260px; }

.audience-split { display: grid; grid-template-columns: 1fr 1fr; }
.audience-panel { position: relative; min-height: 560px; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.audience-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,14,24,.08), rgba(4,14,24,.86)); }
.audience-content { position: absolute; inset: auto 0 0; padding: 58px; max-width: 650px; }
.audience-content h2 { font-family: "Manrope", sans-serif; font-size: clamp(44px,5.3vw,70px); line-height: .95; letter-spacing: -.06em; margin: 0 0 18px; }
.audience-content p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 530px; margin: 0 0 22px; }

.process-section { background: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; background: #fff; min-height: 255px; box-shadow: 0 10px 28px rgba(7,22,41,.04); }
.process-card > span { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: #6f8397; }
.process-icon { position: absolute; top: 23px; right: 23px; width: 46px; height: 46px; border-radius: 50%; background: #edf7ff; color: var(--blue-dark); display: grid; place-items: center; font-weight: 900; }
.process-card h3 { font-family: "Manrope", sans-serif; font-size: 28px; line-height: 1; letter-spacing: -.05em; margin: 64px 0 12px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }

.projects-section { background: #f7f9fc; }
.project-feature { display: grid; grid-template-columns: 1.08fr .92fr; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.project-feature-image { min-height: 530px; background-size: cover; background-position: center; position: relative; }
.project-feature-image span { position: absolute; top: 20px; left: 20px; padding: 8px 10px; border-radius: 999px; background: rgba(6,20,37,.78); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.project-feature-copy { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.project-loc { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #6e8196; margin-bottom: 16px; }
.project-feature-copy h3 { font-family: "Manrope", sans-serif; font-size: clamp(38px,4.6vw,62px); line-height: .95; letter-spacing: -.06em; margin: 0 0 18px; }
.project-feature-copy p { font-size: 15px; color: var(--muted); max-width: 520px; }
.project-proof-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 24px; }
.project-proof-row > div { padding: 15px 12px 15px 0; }
.project-proof-row > div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.project-proof-row b, .project-proof-row span { display: block; }
.project-proof-row b { font-size: 10px; color: #708399; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 6px; }
.project-proof-row span { font-size: 12px; color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }
.project-card { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.project-card img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card div { padding: 19px; }
.project-card span { font-size: 10px; font-weight: 800; letter-spacing: .13em; color: #6a7d91; }
.project-card h3 { margin: 10px 0 6px; font-family: "Manrope", sans-serif; font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.project-card p { margin: 0; color: var(--muted); font-size: 13px; }

.reviews-section { background: #fff; }
.reviews-top > div:first-child p { max-width: 730px; color: var(--muted); margin: 16px 0 0; }
.rating-box { min-width: 260px; background: #061425; color: #fff; border-radius: 18px; padding: 20px; display: grid; gap: 7px; align-self: center; }
.rating-box strong { color: #ffd75a; letter-spacing: .08em; }
.rating-box b { font-size: 13px; }
.rating-box span { font-size: 11px; color: rgba(255,255,255,.62); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.review-card { border: 1px solid var(--line); border-radius: 20px; padding: 25px; min-height: 300px; background: #fff; box-shadow: 0 12px 28px rgba(7,22,41,.04); }
.review-card.featured { background: #f4f9ff; border-color: #b9dafa; }
.review-stars { color: #f2b500; letter-spacing: .1em; margin-bottom: 18px; }
.review-card p { font-size: 15px; line-height: 1.6; color: #2c3d50; min-height: 100px; }
.review-person { margin-top: 20px; display: grid; gap: 4px; }
.review-person strong { font-size: 13px; }
.review-person span { font-size: 11px; color: #7a8ca0; }
.review-focus { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 13px; color: #64778b; font-size: 11px; }
.review-focus b { color: var(--blue-dark); margin-right: 5px; }

.faq-section { background: #eef5fa; }
.faq-head { display: block; max-width: 880px; }
.faq-head p { max-width: 760px; color: var(--muted); margin-top: 15px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-col { display: grid; gap: 10px; align-content: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-item > button { width: 100%; text-align: left; padding: 18px 18px; background: #fff; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; }
.faq-item > button span { width: 26px; height: 26px; border-radius: 50%; background: #eef5fa; display: grid; place-items: center; flex: 0 0 26px; color: var(--blue-dark); font-size: 17px; }
.faq-answer { display: none; padding: 0 18px 18px; }
.faq-item.open .faq-answer { display: block; animation: fadeIn .24s ease; }
.faq-answer p { margin: 0 0 11px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.faq-answer button { background: transparent; color: var(--blue-dark); padding: 0; font-size: 12px; font-weight: 800; }

.final-cta { position: relative; overflow: hidden; padding: 100px 0; background: #061425; color: #fff; }
.final-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,14,25,.94), rgba(4,14,25,.68)), url('assets/hero-premium.webp') center / cover; }
.final-inner { position: relative; text-align: center; }
.final-inner h2 { font-family: "Manrope", sans-serif; font-size: clamp(48px,7vw,90px); line-height: .92; letter-spacing: -.065em; max-width: 900px; margin: 0 auto 16px; }
.final-inner p { max-width: 720px; margin: 0 auto 24px; color: rgba(255,255,255,.74); font-size: 17px; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.footer { background: #061425; color: #fff; border-top: 1px solid rgba(255,255,255,.09); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 180px; height: 82px; object-fit: contain; object-position: left center; filter: brightness(1.06); }
.footer p, .footer span, .footer a, .footer button { color: rgba(255,255,255,.64); font-size: 12px; }
.footer p { max-width: 350px; margin-top: 10px; }
.footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; margin: 4px 0 12px; }
.footer a, .footer button { display: block; background: transparent; text-decoration: none; border: 0; padding: 4px 0; text-align: left; }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; }

.floating-whatsapp { position: fixed; right: 18px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; padding: 12px 15px; border-radius: 999px; background: #17b55e; color: #fff; font-weight: 800; box-shadow: 0 14px 40px rgba(0,0,0,.22); }
.wa-circle { width: 23px; height: 23px; border: 2px solid #fff; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.mobile-bar { display: none; }

.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal[aria-hidden="false"] { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,11,20,.72); backdrop-filter: blur(7px); }
.modal-card { position: relative; width: min(94vw, 620px); max-height: 90vh; overflow: auto; margin: 5vh auto 0; background: #f7f9fc; border-radius: 24px; padding: 28px; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.commercial-modal-card { width: min(94vw, 700px); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 20px; color: var(--navy); }
.modal-card h2 { font-family: "Manrope", sans-serif; font-size: 44px; line-height: .96; letter-spacing: -.055em; margin: 7px 0 12px; }
.modal-card > p:not(.kicker) { color: var(--muted); margin-top: 0; }

.success-screen { position: fixed; inset: 0; z-index: 200; background: #061425; color: #fff; display: none; align-items: center; justify-content: center; text-align: center; }
.success-screen[aria-hidden="false"] { display: flex; }
.success-inner { max-width: 600px; padding: 30px; }
.success-mark { width: 78px; height: 78px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); display: grid; place-items: center; margin: 0 auto 22px; font-size: 35px; color: #54dd93; }
.success-inner h2 { font-family: "Manrope", sans-serif; font-size: 66px; line-height: .92; letter-spacing: -.06em; margin: 8px 0 16px; }
.success-inner p { color: rgba(255,255,255,.75); font-size: 18px; }
.success-inner small { color: rgba(255,255,255,.45); }

@keyframes heroDrift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.045) translate3d(-1.2%, -0.5%, 0); } }

.reveal-up { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-up.is-visible { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding-top: 20px; }
  .desktop-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-form-card { width: min(100%, 620px); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-commercial { grid-column: span 2; }
  .audience-split { grid-template-columns: 1fr; }
  .audience-panel { min-height: 500px; }
  .project-feature { grid-template-columns: 1fr; }
  .project-feature-image { min-height: 420px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .emergency-bar { font-size: 11px; }
  .site-header { position: sticky; }
  .header-inner { min-height: 70px; }
  .brand { width: 138px; flex-basis: 138px; }
  .brand img { height: 56px; }
  .header-actions .btn-commercial { display: none; }
  .header-mobile-cta { min-height: 42px; padding-inline: 13px; font-size: 12px; }
  .hero { min-height: auto; }
  .hero-bg { background-position: 57% center; animation: none; }
  .hero-overlay { background: linear-gradient(180deg, rgba(3,11,20,.54), rgba(3,11,20,.40) 45%, rgba(3,11,20,.70)); }
  .hero-grid { min-height: auto; padding: 34px 0 30px; gap: 28px; }
  .hero-copy { padding-top: 28px; }
  .hero-trust-points { gap: 10px 14px; margin-top: 24px; }
  .hero-trust-points span { font-size: 12px; gap: 7px; }
  .hero-trust-points i { width: 28px; height: 28px; flex-basis: 28px; font-size: 14px; }
  .hero h1 { font-size: clamp(56px, 16vw, 84px); }
  .hero-subtitle { font-size: 17px; }
  .hero-form-card { padding: 20px; border-radius: 20px; }
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat strong { font-size: 32px; }
  .section { padding: 76px 0; }
  .section-head, .reviews-top { display: block; }
  .section-head .text-cta { display: inline-block; margin-top: 18px; }
  .section-head h2, .reviews-top h2, .faq-head h2 { font-size: clamp(40px, 12vw, 58px); }
  .services-grid, .reviews-grid, .faq-grid, .process-grid, .project-grid { grid-template-columns: 1fr; }
  .service-commercial { grid-column: auto; }
  .service-card { min-height: 280px; }
  .audience-content { padding: 36px; }
  .audience-content h2 { font-size: 48px; }
  .process-card h3 { font-size: 25px; }
  .project-feature-image { min-height: 330px; }
  .project-feature-copy { padding: 30px; }
  .project-proof-row { grid-template-columns: 1fr; }
  .project-proof-row > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .rating-box { margin-top: 18px; }
  .faq-grid { gap: 10px; }
  .final-cta { padding: 78px 0; }
  .final-inner h2 { font-size: 56px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .floating-whatsapp { bottom: 70px; right: 12px; padding: 11px 13px; }
  .floating-whatsapp span:last-child { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0,0,0,.08); }
  .mobile-bar button { min-height: 58px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; }
  .mobile-bar .mobile-primary { background: var(--blue); color: #fff; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .modal-card { margin-top: 3vh; padding: 21px; }
  .modal-card h2 { font-size: 38px; }
  .success-inner h2 { font-size: 52px; }
}

/* === Latest CRO / visual refinement pass === */
.site-header { position: absolute; inset: 0 0 auto; background: rgba(5,14,25,.24); border-bottom-color: rgba(255,255,255,.12); }
.site-header .desktop-nav a { color: rgba(255,255,255,.9); }
.site-header .desktop-nav a:hover { color: #fff; }
.site-header .btn-commercial { background: #fff; color: var(--navy); }
.site-header .btn-blue { box-shadow: 0 10px 24px rgba(22,134,247,.3); }
.site-header.scrolled { position: fixed; background: rgba(7,22,41,.92); border-bottom-color: rgba(255,255,255,.1); box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.site-header.scrolled .desktop-nav a { color: rgba(255,255,255,.9); }
.brand { width: 124px; flex-basis: 124px; }
.brand img { height: 58px; width: 124px; object-fit: contain; object-position: left center; }
.hero { min-height: 780px; }
.hero-bg { background-image: url('assets/hero-premium.webp'); background-position: center center; filter: saturate(1.05) contrast(1.03); }
.hero-overlay { background: linear-gradient(90deg, rgba(2,10,19,.9) 0%, rgba(2,10,19,.77) 34%, rgba(2,10,19,.46) 64%, rgba(2,10,19,.2) 100%), linear-gradient(0deg, rgba(2,10,19,.56) 0%, rgba(2,10,19,0) 58%); }
.hero-grid { min-height: 780px; padding-top: 92px; }
.hero h1 { max-width: 530px; font-size: clamp(60px, 6.4vw, 88px); }
.hero-trust-points { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 25px; }
.hero-trust-points span { font-size: 11px; font-weight: 800; color: rgba(255,255,255,.86); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 7px; }
.hero-form-card { padding: 26px; }
.hero-form-card .form-label-row b { font-size: 9px; }
.hero-form-card .lead-form { gap: 10px; }
.hero-form-card .lead-form input, .hero-form-card .lead-form select { min-height: 46px; }
.hero-form-card .form-note { margin-top: -2px; }
.about-stats { background: #f7fbff; padding: 72px 0 86px; border-bottom: 1px solid var(--line); }
.about-stats-grid { display: grid; grid-template-columns: minmax(300px,.85fr) 1.35fr; gap: 56px; align-items: center; }
.about-copy h2 { font-family: "Manrope", sans-serif; font-size: clamp(42px, 4.4vw, 64px); line-height: .95; letter-spacing: -.06em; margin: 0 0 18px; max-width: 560px; }
.about-copy p { max-width: 560px; color: var(--muted); font-size: 16px; margin: 0; }
.about-metrics { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 50px rgba(7,22,41,.06); overflow: hidden; }
.metric { padding: 31px 20px; text-align: center; border-right: 1px solid var(--line); position: relative; }
.metric:last-child { border-right: 0; }
.metric-icon { width: 52px; height: 52px; border-radius: 50%; background: #edf7ff; color: var(--blue-dark); display: grid; place-items: center; margin: 0 auto 16px; font-size: 24px; font-weight: 900; }
.metric strong { display: block; font-family: "Manrope", sans-serif; font-size: clamp(36px, 3.2vw, 52px); line-height: 1; letter-spacing: -.06em; color: var(--ink); }
.metric span { display: block; margin-top: 9px; color: #64768b; font-size: 12px; font-weight: 800; }
.project-feature { min-height: 520px; }
.project-feature-image { min-height: 520px; }
.project-feature-image::after { content:"REAL PROJECT"; position:absolute; right:18px; bottom:18px; background:rgba(255,255,255,.92); color:var(--navy); border-radius:999px; padding:8px 11px; font-size:10px; font-weight:900; letter-spacing:.12em; }
.review-card { min-height: 340px; }
.review-card p { min-height: 135px; }
.faq-section { background: #f3f8fc; }
.faq-answer { padding-top: 2px; }
.footer-brand img { width: 140px; height: 78px; object-fit: contain; }
.floating-whatsapp { animation: waPulse 2.7s ease-in-out infinite; }
@keyframes waPulse { 0%,100% { box-shadow: 0 14px 40px rgba(0,0,0,.22), 0 0 0 0 rgba(23,181,94,.35); } 50% { box-shadow: 0 14px 40px rgba(0,0,0,.22), 0 0 0 10px rgba(23,181,94,0); } }

/* Soft motion for premium feel without blocking content */
.hero-form-card { animation: heroFloat .7s ease-out both; }
@keyframes heroFloat { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform:none; } }
.service-card, .project-card, .review-card, .process-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.service-card:hover, .project-card:hover, .review-card:hover, .process-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(7,22,41,.10); border-color: #bdd7f1; }

@media (max-width: 1100px) {
  .about-stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-metrics { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 760px) {
  .site-header { position: absolute; }
  .site-header.scrolled { position: fixed; }
  .brand { width: 92px; flex-basis: 92px; }
  .brand img { width: 92px; height: 48px; }
  .header-inner { min-height: 68px; gap: 9px; }
  .header-actions { margin-left:auto; }
  .header-mobile-cta { min-height: 40px; padding-inline: 12px; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 96px; gap: 22px; }
  .hero h1 { font-size: clamp(54px, 15vw, 78px); max-width: 440px; }
  .hero-subtitle { font-size: 16px; line-height: 1.45; }
  .hero-trust-points { gap: 10px 15px; }
  .hero-trust-points span { font-size: 10px; }
  .hero-form-card { width: 100%; padding: 18px; }
  .hero-form-card h2 { font-size: 25px; }
  .about-stats { padding: 60px 0 65px; }
  .about-metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric { padding: 25px 12px; }
  .metric strong { font-size: 36px; }
  .metric-icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .project-feature-image { min-height: 320px; }
}

.lead-toast { position: fixed; left: 22px; bottom: 22px; z-index: 85; width: min(360px, calc(100vw - 44px)); background: rgba(7,22,41,.96); color:#fff; border:1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 13px 14px; display:flex; align-items:center; gap:11px; box-shadow: 0 20px 50px rgba(0,0,0,.28); transform: translateY(20px); opacity:0; transition: opacity .35s ease, transform .35s ease; }
.lead-toast.show { opacity:1; transform:none; }
.lead-toast strong { display:block; font-size:12px; }
.lead-toast span { display:block; color:rgba(255,255,255,.64); font-size:10px; margin-top:3px; }
.lead-toast button { margin-left:auto; width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,.08); color:#fff; font-size:17px; }
.toast-dot { width:11px; height:11px; flex:0 0 11px; border-radius:50%; background:#28c76f; box-shadow:0 0 0 5px rgba(40,199,111,.12); }
@media (max-width:760px){ .lead-toast { left:12px; bottom:72px; width:calc(100vw - 24px); } }


/* === Final alignment + requested visual pass === */
.hero { min-height: 740px; }
.hero-bg { background-image: url('assets/hero-roof.jpg'); background-position: center center; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(90deg, rgba(2,10,19,.88) 0%, rgba(2,10,19,.68) 35%, rgba(2,10,19,.34) 68%, rgba(2,10,19,.16) 100%), linear-gradient(0deg, rgba(2,10,19,.52) 0%, rgba(2,10,19,0) 60%); }
.hero-grid { min-height: 740px; padding: 82px 0 56px; align-items: center; gap: 44px; }
.hero h1 { font-size: clamp(54px, 5.6vw, 82px); max-width: 560px; margin-bottom: 18px; }
.hero-subtitle { font-size: 18px; max-width: 560px; margin-bottom: 23px; }
.hero-copy { padding-top: 6px; }
.brand { width: 98px; flex-basis: 98px; }
.brand img { width: 98px; height: 50px; object-fit: contain; }
.hero-form-card { width: 100%; max-width: 470px; justify-self: end; padding: 24px; border-radius: 22px; }
.hero-form-card h2 { font-size: 28px; margin-bottom: 4px; }
.form-label-row { margin-bottom: 3px; }
.hero-form-card .lead-form { gap: 9px; }
.hero-form-card .lead-form input, .hero-form-card .lead-form select { min-height: 44px; padding: 11px 13px; }
.hero-form-card .lead-form label { font-size: 10.5px; }
.hero-form-card .submit-btn { min-height: 48px; }
.hero-trust-points { gap: 22px; margin-top: 23px; }
.hero-trust-points span { gap: 8px; white-space: nowrap; }
.hero-trust-points i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.5); font-style: normal; font-size: 10px; color: #fff; }
.about-stats { padding: 78px 0 88px; }
.about-metrics { box-shadow: 0 20px 60px rgba(7,22,41,.08); }
.metric { min-height: 215px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 22px; }
.metric strong { font-size: clamp(42px, 3.6vw, 58px); }
.metric-icon { width: 60px; height: 60px; margin-bottom: 18px; font-size: 26px; }
.metric span { margin-top: 11px; font-size: 13px; }

.project-compare { position: relative; min-height: 520px; overflow: hidden; background: #0c1f34; }
.project-compare > img, .compare-after-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { filter: saturate(.92) contrast(.96); }
.compare-after-wrap { position: absolute; inset: 0; width: 55%; overflow: hidden; border-right: 2px solid rgba(255,255,255,.92); box-shadow: 6px 0 20px rgba(0,0,0,.16); }
.compare-after { min-width: 100%; width: 100%; }
.compare-range { position: absolute; left: 0; right: 0; bottom: 18px; width: 76%; margin-inline: auto; z-index: 5; accent-color: #1686f7; opacity: .95; }
.compare-label { position:absolute; top:18px; z-index:4; padding:8px 11px; background:rgba(4,14,24,.78); color:#fff; border-radius:999px; font-size:10px; font-weight:900; letter-spacing:.12em; }
.before-label { left:18px; }
.after-label { right:18px; }
.compare-handle { position:absolute; top:50%; left:55%; transform:translate(-50%,-50%); width:46px; height:46px; border-radius:50%; background:#fff; color:#0a1726; display:grid; place-items:center; font-weight:900; box-shadow:0 12px 28px rgba(0,0,0,.25); z-index:6; pointer-events:none; }

.lead-toast { width: min(360px, calc(100vw - 32px)); padding: 12px 14px; }
.lead-toast strong { font-size: 12px; }
.lead-toast span { font-size: 10px; }
.lead-toast { cursor: pointer; }

@media (max-width: 1100px) {
  .hero { min-height: 760px; }
  .hero-grid { min-height: 760px; grid-template-columns: 1fr 440px; gap: 30px; }
  .hero h1 { font-size: clamp(50px, 5.8vw, 72px); }
  .hero-form-card { max-width: 440px; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-bg { background-image: url('assets/hero-roof.jpg'); background-position: 64% center; }
  .hero-grid { min-height: auto; padding: 88px 0 28px; gap: 22px; }
  .hero h1 { font-size: clamp(52px, 15vw, 76px); max-width: 430px; }
  .hero-subtitle { font-size: 16px; }
  .brand { width: 84px; flex-basis: 84px; }
  .brand img { width: 84px; height: 46px; }
  .hero-trust-points { gap: 9px 15px; }
  .hero-trust-points span { font-size: 10px; }
  .hero-form-card { max-width: none; padding: 18px; }
  .about-stats { padding: 60px 0 64px; }
  .metric { min-height: 190px; padding: 24px 10px; }
  .metric strong { font-size: 36px; }
  .metric-icon { width: 48px; height: 48px; font-size: 21px; }
  .project-compare { min-height: 320px; }
  .compare-range { width: 86%; bottom: 14px; }
  .compare-handle { width: 40px; height: 40px; }
}

/* Final responsive polish — preserves the original page content/design. */
.brand { width: 120px; flex-basis: 120px; }
.brand img { width: 120px; height: 60px; }

@media (max-width: 1100px) {
  .brand { width: 112px; flex-basis: 112px; }
  .brand img { width: 112px; height: 58px; }
}

@media (max-width: 760px) {
  .brand { width: 102px; flex-basis: 102px; }
  .brand img { width: 102px; height: 52px; }
  .header-inner { gap: 10px; }
  .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }
  .mobile-bar { padding-bottom: env(safe-area-inset-bottom); }
  .floating-whatsapp { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .brand { width: 96px; flex-basis: 96px; }
  .brand img { width: 96px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Hero visual refinement: clearer real roofing work + Roofix-inspired motion === */
.hero-bg {
  background-image: url('assets/repair-4k.webp');
  background-position: center 42%;
  transform: scale(1.035);
  animation: heroImageDrift 14s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-overlay {
  /* Lighter overlay so the roofing work remains visible while text stays readable. */
  background:
    linear-gradient(90deg, rgba(2,10,19,.70) 0%, rgba(2,10,19,.52) 32%, rgba(2,10,19,.24) 62%, rgba(2,10,19,.08) 100%),
    linear-gradient(0deg, rgba(2,10,19,.30) 0%, rgba(2,10,19,.02) 64%);
}
.hero-copy {
  animation: heroCopyIn .75s cubic-bezier(.2,.8,.2,1) both;
}
.hero-copy .btn-large {
  box-shadow: 0 14px 34px rgba(22,134,247,.28);
}
.hero-copy .btn-large:hover {
  box-shadow: 0 18px 42px rgba(22,134,247,.36);
}
.hero-form-card {
  animation: heroFormIn .8s .08s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes heroImageDrift {
  from { transform: scale(1.035) translate3d(-.4%, 0, 0); }
  to { transform: scale(1.075) translate3d(.7%, -1%, 0); }
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFormIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* Slightly larger brand without changing the original logo asset. */
.brand { width: 172px; flex-basis: 172px; }
.brand img { width: 100%; height: 64px; }

@media (max-width: 1100px) {
  .brand { width: 148px; flex-basis: 148px; }
  .brand img { height: 58px; }
  .hero-bg { background-position: 55% 42%; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2,10,19,.68) 0%, rgba(2,10,19,.46) 45%, rgba(2,10,19,.16) 100%),
      linear-gradient(0deg, rgba(2,10,19,.28) 0%, rgba(2,10,19,.02) 68%);
  }
}

@media (max-width: 760px) {
  .brand { width: 108px; flex-basis: 108px; }
  .brand img { width: 108px; height: 54px; }
  .hero-bg {
    background-position: 58% center;
    transform: scale(1.045);
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2,10,19,.60) 0%, rgba(2,10,19,.40) 43%, rgba(2,10,19,.70) 100%),
      linear-gradient(90deg, rgba(2,10,19,.42) 0%, rgba(2,10,19,.12) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-copy, .hero-form-card { animation: none; }
}

/* === Final fold alignment pass === */
.site-header { z-index: 80; }
.brand { width: 160px; flex: 0 0 160px; }
.brand img { width: 100%; height: 64px; }

.hero {
  min-height: 100svh;
}
.hero-bg {
  background-image: url('assets/hero-roofers.webp');
  background-position: center center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroImageDrift 16s ease-in-out infinite alternate;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,10,19,.54) 0%, rgba(2,10,19,.40) 34%, rgba(2,10,19,.18) 64%, rgba(2,10,19,.06) 100%),
    linear-gradient(0deg, rgba(2,10,19,.22) 0%, rgba(2,10,19,.02) 62%);
}
.hero-grid {
  min-height: 100svh;
  padding: 108px 0 42px;
  align-items: start;
  gap: 56px;
}
.hero-copy {
  padding-top: clamp(82px, 10vh, 132px);
}
.hero-trust-points {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.hero-trust-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: rgba(255,255,255,.98);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-trust-points i {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: rgba(4,14,25,.20);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-style: normal;
}
.hero-form-card {
  max-width: 500px;
  justify-self: end;
}

@media (max-width: 1100px) {
  .brand { width: 140px; flex-basis: 140px; }
  .brand img { height: 58px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding: 100px 0 42px; }
  .hero-copy { padding-top: 20px; }
  .hero-trust-points { flex-wrap: wrap; }
  .hero-form-card { max-width: 620px; justify-self: start; }
}

@media (max-width: 760px) {
  .brand { width: 108px; flex-basis: 108px; }
  .brand img { height: 54px; }
  .hero { min-height: auto; }
  .hero-bg { background-position: 58% center; animation: none; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2,10,19,.56) 0%, rgba(2,10,19,.36) 44%, rgba(2,10,19,.68) 100%),
      linear-gradient(90deg, rgba(2,10,19,.30) 0%, rgba(2,10,19,.08) 100%);
  }
  .hero-grid { min-height: auto; padding: 88px 0 30px; gap: 24px; }
  .hero-copy { padding-top: 24px; }
  .hero-trust-points { flex-wrap: wrap; gap: 10px 16px; margin-top: 24px; }
  .hero-trust-points span { font-size: 12px; gap: 7px; min-height: 30px; }
  .hero-trust-points i { width: 28px; height: 28px; flex-basis: 28px; font-size: 14px; }
  .hero-form-card { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
}


/* === V5 visual polish: supplied roofing imagery + heading rhythm === */
.hero-bg {
  background-image: url('assets/hero-roofers.webp');
  background-position: center center;
  opacity: .93;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,10,19,.30) 0%, rgba(2,10,19,.20) 38%, rgba(2,10,19,.10) 68%, rgba(2,10,19,.05) 100%),
    linear-gradient(0deg, rgba(2,10,19,.16) 0%, rgba(2,10,19,0) 62%);
}
.hero h1 {
  line-height: 1.02;
  max-width: 650px;
  margin-bottom: 24px;
}
.hero h1 span {
  display: block;
}
.hero-subtitle {
  line-height: 1.5;
}
.section-head h2,
.reviews-top h2,
.faq-head h2,
.about-copy h2,
.audience-content h2,
.final-inner h2,
.project-feature-copy h3,
.modal-card h2,
.success-inner h2 {
  line-height: 1.02;
}

/* Supplied service imagery */
.service-card .service-image {
  background-position: center;
}
.services-grid .service-card:nth-child(1) { --service-image: url('assets/serviceone.webp') !important; }
.services-grid .service-card:nth-child(2) { --service-image: url('assets/servicetwo.webp') !important; }
.services-grid .service-card:nth-child(3) { --service-image: url('assets/servicethree.webp') !important; }
.services-grid .service-card:nth-child(4) { --service-image: url('assets/servicefour.webp') !important; }
.services-grid .service-card:nth-child(5) { --service-image: url('assets/detail-4k.webp') !important; }
.services-grid .service-card:nth-child(6) { --service-image: url('assets/roof-detail.jpg') !important; }
.services-grid .service-card:nth-child(7) { --service-image: url('assets/commercial-4k.webp') !important; }

/* Process cards use the supplied process photography */
.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.process-card {
  min-height: 0;
  padding: 0 0 28px;
  overflow: hidden;
}
.process-card > span {
  display: block;
  margin: 20px 26px 0;
}
.process-card h3 {
  margin: 10px 26px 12px;
  line-height: 1.04;
}
.process-card p {
  margin: 0 26px;
  line-height: 1.55;
}
.process-image {
  width: 100%;
  aspect-ratio: 500 / 310;
  overflow: hidden;
  background: #eaf0f5;
}
.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.process-card:hover .process-image img {
  transform: scale(1.045);
}
.process-card .process-icon { display: none; }

@media (max-width: 1100px) {
  .hero-bg { opacity: .94; }
  .hero h1 { line-height: 1.01; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-bg {
    background-position: 56% center;
    opacity: .94;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2,10,19,.28), rgba(2,10,19,.18) 45%, rgba(2,10,19,.42) 100%);
  }
  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
    line-height: 1.03;
    letter-spacing: -.055em;
    margin-bottom: 20px;
  }
  .hero h1 span { display: block; }
  .section-head h2,
  .reviews-top h2,
  .faq-head h2,
  .about-copy h2,
  .audience-content h2,
  .final-inner h2,
  .project-feature-copy h3,
  .modal-card h2,
  .success-inner h2 {
    line-height: 1.04;
  }
  .process-card h3 { line-height: 1.06; }
  .process-image { aspect-ratio: 500 / 315; }
}

/* === V6 requested fixes: unique imagery, 75% hero image opacity, stable header, mobile polish === */
.site-header,
.site-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  inset: 0 0 auto;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header { background: rgba(5,14,25,.18); }
.site-header.scrolled { background: rgba(7,22,41,.90); }

.hero {
  min-height: max(760px, 100svh);
  height: auto;
}
.hero-bg {
  opacity: .75;
  background-image: url('assets/hero-roofers.webp');
  background-position: center 44%;
  transform: scale(1.035);
  animation: heroImageDriftV6 18s ease-in-out infinite alternate;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,10,19,.24) 0%, rgba(2,10,19,.16) 38%, rgba(2,10,19,.07) 68%, rgba(2,10,19,.03) 100%),
    linear-gradient(0deg, rgba(2,10,19,.18) 0%, rgba(2,10,19,.02) 62%);
}
.hero-grid {
  min-height: max(760px, 100svh);
  padding: 104px 0 48px;
  align-items: center;
}
.hero-copy { padding-top: 0; position: relative; z-index: 2; }
.hero h1,
.section-head h2,
.reviews-top h2,
.faq-head h2,
.about-copy h2,
.audience-content h2,
.final-inner h2,
.process-card h3,
.hero-form-card h2,
.success-inner h2,
.project-feature-copy h2 {
  line-height: 1.02;
  text-wrap: balance;
}
.hero h1 { margin-bottom: 24px; text-shadow: 0 3px 24px rgba(0,0,0,.28); }
.hero-subtitle { color: rgba(255,255,255,.96); text-shadow: 0 2px 12px rgba(0,0,0,.28); }
.hero-trust-points { gap: 18px 28px; margin-top: 28px; }
.hero-trust-points span { font-size: 13px; min-height: 38px; gap: 10px; }
.hero-trust-points i { width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; border-color: rgba(255,255,255,.8); background: rgba(7,22,41,.28); }

/* Every service card gets a different image. */
.service-card .service-image { transition: transform .6s ease, filter .6s ease; }

/* Process cards use the three supplied process images with consistent proportions. */
.process-card { padding: 0; overflow: hidden; min-height: 0; }
.process-image { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #eaf1f7; }
.process-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.process-card:hover .process-image img { transform: scale(1.04); }
.process-card > span,
.process-card h3,
.process-card p { display: block; margin-left: 26px; margin-right: 26px; }
.process-card > span { margin-top: 20px; }
.process-card h3 { margin-top: 9px; margin-bottom: 10px; }
.process-card p { margin-bottom: 28px; }

@keyframes heroImageDriftV6 {
  from { transform: scale(1.035) translate3d(-.25%,0,0); }
  to { transform: scale(1.065) translate3d(.45%,-.35%,0); }
}

@media (max-width: 1100px) {
  .hero { min-height: 760px; }
  .hero-grid { min-height: 760px; grid-template-columns: minmax(0,1fr) 440px; padding-top: 98px; }
}

@media (max-width: 760px) {
  .site-header,
  .site-header.scrolled { position: fixed; }
  .header-inner { min-height: 68px; }
  .brand { width: 102px; flex-basis: 102px; }
  .brand img { width: 102px; height: 52px; }
  .hero {
    min-height: auto;
  }
  .hero-bg {
    opacity: .75;
    background-image: url('assets/hero-roofers.webp');
    background-position: 64% center;
    animation: none;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2,10,19,.24), rgba(2,10,19,.12) 42%, rgba(2,10,19,.28) 100%);
  }
  .hero-grid {
    min-height: auto;
    padding: 96px 0 30px;
    gap: 24px;
  }
  .hero-copy { padding-top: 18px; }
  .hero h1 {
    font-size: clamp(52px, 14.5vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .hero-subtitle { font-size: 16px; line-height: 1.48; }
  .hero-trust-points { gap: 10px 12px; margin-top: 22px; }
  .hero-trust-points span { font-size: 11px; min-height: 32px; gap: 7px; }
  .hero-trust-points i { width: 28px; height: 28px; flex-basis: 28px; font-size: 12px; }
  .hero-form-card { padding: 18px; }
  .hero-form-card h2 { line-height: 1.06; }
  .section-head h2, .reviews-top h2, .faq-head h2, .about-copy h2, .audience-content h2, .final-inner h2 { line-height: 1.03; }
  .process-image { aspect-ratio: 16 / 9; }
  .process-card > span,
  .process-card h3,
  .process-card p { margin-left: 20px; margin-right: 20px; }
  .process-card > span { margin-top: 16px; }
  .process-card p { margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none !important; }
}


/* === V8: readability + mobile layout + stable header === */
.site-header,
.site-header.scrolled {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
}

.hero-bg {
  opacity: .75;
}

/* A subtle readability layer sits behind the hero copy only; the original image remains unchanged. */
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -34px;
  top: -34px;
  bottom: -34px;
  width: min(760px, calc(100% + 150px));
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(2,10,19,.50) 0%, rgba(2,10,19,.32) 58%, rgba(2,10,19,0) 100%);
  pointer-events: none;
}
.hero h1 {
  line-height: .98;
  text-shadow: 0 3px 20px rgba(0,0,0,.34);
}
.hero-subtitle,
.hero-trust-points span {
  text-shadow: 0 2px 12px rgba(0,0,0,.38);
}

.floating-whatsapp img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

@media (max-width: 760px) {
  .site-header,
  .site-header.scrolled {
    position: fixed !important;
  }

  .hero {
    min-height: 100svh;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    min-height: auto;
    padding: 92px 0 92px;
    gap: 26px;
    align-items: start;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 28px 18px 22px;
    margin: 0;
  }
  .hero-copy::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(2,10,19,.64) 0%, rgba(2,10,19,.52) 64%, rgba(2,10,19,.30) 100%);
  }
  .eyebrow {
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(46px, 13.2vw, 58px);
    line-height: 1.0;
    letter-spacing: -.055em;
    max-width: 100%;
    margin-bottom: 18px;
  }
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .hero-trust-points {
    gap: 10px 12px;
    margin-top: 20px;
  }
  .hero-trust-points span {
    font-size: 11px;
    gap: 7px;
  }
  .hero-trust-points i {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 12px;
  }
  .hero-form-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    padding: 20px;
    border-radius: 20px;
  }
  .hero-form-card h2 {
    font-size: 26px;
    line-height: 1.05;
  }
  .hero-form-card .lead-form {
    gap: 11px;
  }
  .hero-form-card .lead-form input,
  .hero-form-card .lead-form select {
    min-height: 48px;
    font-size: 16px;
  }

  /* Mobile: icon-only WhatsApp floater; the full label stays desktop-only. */
  .floating-whatsapp {
    width: 58px;
    height: 58px;
    padding: 8px;
    right: 14px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
  .floating-whatsapp img {
    width: 42px;
    height: 42px;
  }
  .floating-whatsapp span:last-child {
    display: none;
  }

  .mobile-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar button {
    min-height: 60px;
    font-size: 12px;
  }
}

@media (min-width: 761px) {
  .floating-whatsapp img {
    width: 24px;
    height: 24px;
  }
}


/* === V9: mobile hero typography, lead form flow and WhatsApp controls === */
@media (max-width: 760px) {
  /* Keep the hero content in one predictable vertical flow. */
  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(calc(100% - 28px), var(--max));
    padding-top: 88px;
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
    gap: 24px;
    align-items: start;
  }

  .hero-copy {
    width: 100%;
    padding: 20px 10px 8px;
    margin: 0;
  }

  /* One-line eyebrow at phone widths. */
  .hero-copy .eyebrow,
  #locationEyebrow {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: visible;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .095em;
    margin: 0 0 16px;
  }

  /* Force the requested H1 to exactly two lines. */
  .hero h1 {
    font-size: clamp(40px, 11.2vw, 48px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em;
    max-width: none;
    margin: 0 0 18px;
  }
  .hero h1 span {
    display: block;
    white-space: nowrap;
  }

  .hero-subtitle {
    max-width: 34rem;
    font-size: 16px;
    line-height: 1.48;
    margin-bottom: 20px;
  }

  .hero-trust-points {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 22px;
  }
  .hero-trust-points span {
    font-size: 11px;
    min-height: 30px;
    gap: 7px;
  }
  .hero-trust-points i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  /* Lead form follows the hero copy; it never overlaps the H1 on mobile. */
  .hero-form-card {
    position: relative;
    z-index: 4;
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 20px 16px 18px;
    border-radius: 20px;
    box-sizing: border-box;
  }
  .hero-form-card h2 {
    font-size: 28px;
    line-height: 1.08 !important;
    letter-spacing: -.045em;
    margin: 8px 0 12px;
  }
  .hero-form-card .form-label-row {
    margin-bottom: 2px;
  }
  .hero-form-card .lead-form {
    display: grid;
    gap: 11px;
  }
  .hero-form-card .lead-form label {
    display: block;
    font-size: 11px;
    line-height: 1.25;
  }
  .hero-form-card .lead-form input,
  .hero-form-card .lead-form select,
  .hero-form-card .lead-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    margin-top: 6px;
    padding: 13px 13px;
    font-size: 16px;
    line-height: 1.25;
  }
  .hero-form-card .submit-btn {
    width: 100%;
    min-height: 54px;
    font-size: 14px;
  }
  .hero-form-card .form-note {
    display: block;
    text-align: center;
    line-height: 1.4;
  }

  /* Mobile gets the supplied WhatsApp artwork only; no text pill. */
  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
    overflow: hidden;
  }
  .floating-whatsapp img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
  }
  .floating-whatsapp span {
    display: none !important;
  }

  .mobile-bar {
    grid-template-columns: 1fr 72px 1.2fr;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar button {
    min-height: 60px;
    display: grid;
    place-items: center;
  }
  .mobile-whatsapp img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
  }
}

@media (max-width: 370px) {
  .hero-copy .eyebrow,
  #locationEyebrow {
    font-size: 9px;
    letter-spacing: .075em;
  }
  .hero h1 {
    font-size: 39px !important;
  }
}

@media (min-width: 761px) {
  .hero h1 span { display: block; }
  .mobile-whatsapp { display: none; }
}
