/* Alpha Roofing — brand: navy + copper from the shield logo */
:root {
  --navy: #0A2048;
  --navy-deep: #06142F;
  --copper: #C8681A;
  --copper-btn: #B35A12;      /* white text 4.6:1 */
  --copper-bright: #E88A3C;   /* on navy 5.6:1 */
  --white: #FFFFFF;
  --mist: #F1F3F6;
  --ink: #111827;
  --body: #3D4553;
  --line: #DDE2E9;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --shadow: 0 10px 30px rgba(6,20,47,.12);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--copper-bright); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 16px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--navy); line-height: 1; margin: 0 0 16px; letter-spacing: .01em; }
h1 { font-size: clamp(3.2rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.1; }
p { margin: 0 0 16px; }
.kicker { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--copper); margin-bottom: 8px; }
.on-dark .kicker { color: var(--copper-bright); }
.center { text-align: center; }
.center .intro { margin-inline: auto; }
.intro { font-size: 1.12rem; max-width: 62ch; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 104px); }
.bg-mist { background: var(--mist); }
.on-dark { background: var(--navy); color: #D6DCE8; }
.on-dark h2, .on-dark h3 { color: #fff; }
/* brand pattern: roof peaks from the logo */
.pattern { background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cpath d='M0 50 L30 22 L60 50 M60 50 L90 22 L120 50' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='6'/%3E%3C/svg%3E"); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: var(--radius);
  font-family: var(--display); font-weight: 700; font-style: italic; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  background: var(--copper-btn); color: #fff; border: 2px solid var(--copper-btn); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: #9C4E0F; border-color: #9C4E0F; }
.btn:active { transform: translateY(1px); }
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .04em; color: var(--copper); text-decoration: none; font-size: 1.1rem; }
.text-link:hover { text-decoration: underline; }

/* top bar */
.topbar { background: var(--navy-deep); color: #C9D1E0; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; }
.topbar .right { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; color: var(--copper-bright); }
@media (max-width: 700px) { .topbar .left { display: none; } .topbar .wrap { justify-content: center; } .topbar .hide-sm { display: none; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(6,20,47,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { flex: none; display: block; }
.logo img { height: 68px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: 4px; }
.nav a:hover { color: var(--copper); }
.nav a[aria-current="page"] { color: var(--copper); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.header-phone .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--copper); }
.header-phone .ic svg { width: 20px; height: 20px; }
.header-phone small { display: block; font-size: .78rem; color: var(--body); line-height: 1.1; }
.header-phone b { font-family: var(--display); font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.header-cta .btn { min-height: 48px; padding: 0 20px; font-size: 1.1rem; }
.menu-toggle { display: none; margin-left: auto; width: 50px; height: 50px; border: 0; background: var(--navy); border-radius: var(--radius); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1150px) { .header-phone { display: none; } }
@media (max-width: 940px) {
  .logo img { height: 56px; }
  .site-header .wrap { min-height: 72px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav { position: fixed; left: 0; right: 0; top: 112px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 24px;
    box-shadow: 0 20px 30px rgba(6,20,47,.15); transform: translateY(-140%); transition: transform .25s; z-index: -1; }
  .menu-open .nav { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
  .nav .btn { margin-top: 16px; border-bottom: 0; color: #fff; }
}
@media (max-width: 700px) { .nav { top: 72px; } }
@media (min-width: 941px) { .nav .mobile-only { display: none; } }

/* home hero */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: center; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,20,47,.92) 0%, rgba(6,20,47,.78) 38%, rgba(6,20,47,.2) 75%, rgba(6,20,47,.1) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 72px 96px; }
.hero .tagline { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: .08em; text-transform: uppercase; color: var(--copper-bright); border-left: 4px solid var(--copper-bright); padding-left: 12px; margin-bottom: 10px; }
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.35); margin-bottom: 14px; }
.hero .sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; color: #E5E9F0; margin-bottom: 28px; }
.call-block { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: 12px; }
.call-block .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--copper-btn); display: grid; place-items: center; }
.call-block .ic svg { width: 24px; height: 24px; }
.call-block small { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: #C9D1E0; }
.call-block b { font-family: var(--display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(6,20,47,.5) 0%, rgba(6,20,47,.85) 50%, rgba(6,20,47,.95) 100%); }
  .hero .wrap { padding-block: 150px 48px; }
}

/* page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,20,47,.94) 0%, rgba(6,20,47,.75) 55%, rgba(6,20,47,.35) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 128px); }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.4rem); max-width: 14ch; }
.page-hero .sub { font-size: 1.2rem; max-width: 50ch; color: #E5E9F0; margin-bottom: 26px; }
.crumbs { font-size: .9rem; color: #C9D1E0; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs span { margin: 0 8px; color: var(--copper-bright); }

/* trust bar */
.trust { background: var(--copper-btn); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust div { display: flex; align-items: center; gap: 14px; padding: 22px 16px; }
.trust div + div { border-left: 1px solid rgba(255,255,255,.25); }
.trust svg { width: 38px; height: 38px; flex: none; }
.trust b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.trust span { font-size: .92rem; opacity: .92; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } .trust div:nth-child(3) { border-left: 0; } .trust div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.25); } }
@media (max-width: 480px) { .trust div { padding: 16px 8px; gap: 10px; } .trust svg { width: 30px; height: 30px; } .trust b { font-size: 1.1rem; } .trust span { display: none; } }

/* two-col with photo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.duo--flip > :first-child { order: 2; }
.framed { position: relative; margin: 0 0 18px 18px; }
.framed::before { content: ""; position: absolute; left: -18px; top: 18px; bottom: -18px; width: 60%; background: var(--copper); border-radius: var(--radius); z-index: 0; }
.framed img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.duo--flip .framed { margin: 0 18px 18px 0; }
.duo--flip .framed::before { left: auto; right: -18px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo--flip > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.ticks .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--copper-bright); display: grid; place-items: center; }
.ticks .ic svg { width: 20px; height: 20px; }
.ticks b { display: block; color: var(--navy); font-size: 1.05rem; }
.on-dark .ticks .ic { background: rgba(255,255,255,.1); }
.on-dark .ticks b { color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='white' stroke-width='3' fill='none'/%3E%3C/svg%3E") center/14px no-repeat; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.svc { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 340px; color: #fff; text-decoration: none; background: var(--navy); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,47,0) 30%, rgba(6,20,47,.92) 85%); }
.svc:hover img { transform: scale(1.05); }
.svc .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.svc h3 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.svc p { margin: 0 0 10px; font-size: .98rem; color: #DCE2EC; }
.svc .more { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .05em; color: var(--copper-bright); }
.svc .bar { position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: var(--copper); z-index: 1; transform: scaleY(0); transform-origin: bottom; transition: transform .3s; }
.svc:hover .bar { transform: none; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc { min-height: 280px; } }

/* photo CTA band */
.cta-photo { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,32,72,.96) 0%, rgba(10,32,72,.85) 45%, rgba(10,32,72,.2) 100%); }
.cta-photo .wrap { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 110px); }
.cta-photo h2 { color: #fff; max-width: 16ch; }
.cta-photo p { font-size: 1.2rem; max-width: 46ch; color: #E5E9F0; margin-bottom: 26px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 48px; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; top: 40px; left: 12%; right: 12%; border-top: 3px dashed #C7CED9; }
.step { text-align: center; position: relative; }
.step .ic { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px; background: var(--navy); color: var(--copper-bright); display: grid; place-items: center; position: relative; box-shadow: 0 0 0 8px #fff; }
.bg-mist .step .ic { box-shadow: 0 0 0 8px var(--mist); }
.step .ic svg { width: 34px; height: 34px; }
.step .ic::after { counter-increment: st; content: counter(st); position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--copper-btn); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1rem; display: grid; place-items: center; }
.step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* vertical numbered list */
.vlist { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: v; display: grid; gap: 4px; }
.vlist li { counter-increment: v; position: relative; padding: 16px 0 16px 64px; border-bottom: 1px solid var(--line); }
.vlist li::before { content: counter(v); position: absolute; left: 0; top: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.3rem; display: grid; place-items: center; }
.vlist b { display: block; color: var(--navy); font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; margin-bottom: 4px; }
.vlist p { margin: 0; }
.on-dark .vlist li { border-color: rgba(255,255,255,.14); }
.on-dark .vlist li::before { background: var(--copper-btn); }
.on-dark .vlist b { color: #fff; }

/* Roof Age Check */
.agecheck { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.agecheck-panel { background: #fff; color: var(--body); border-radius: 10px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 20px 50px rgba(0,0,0,.3); border-top: 6px solid var(--copper); }
.agecheck-panel .lbl { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.year-row { display: flex; align-items: baseline; gap: 14px; }
.year-row output { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 3.6rem; line-height: 1; color: var(--navy); }
.year-row span { font-weight: 600; color: var(--copper-btn); font-size: 1.1rem; }
input[type=range] { width: 100%; accent-color: var(--copper); height: 32px; margin: 8px 0 18px; }
.agecheck fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; }
.types span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; color: var(--navy); }
.types input:checked + span { border-color: var(--copper); background: #FFF4EA; }
.types input:focus-visible + span { outline: 3px solid var(--copper-bright); outline-offset: 2px; }
.lifebar { height: 18px; background: var(--mist); border-radius: 9px; overflow: hidden; position: relative; }
.lifebar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 9px; background: linear-gradient(90deg, #3E9B5A, #E3B341 60%, var(--copper) 85%, #C8321E); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.lifebar-scale { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 6px; }
.verdict { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.verdict h3 { font-size: 1.7rem; margin-bottom: 6px; }
@media (max-width: 860px) { .agecheck { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; margin-top: 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 160px 160px; } .gallery img:first-child { grid-column: span 2; grid-row: auto; } }

/* areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.area-card { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 5px solid var(--navy); box-shadow: 0 4px 16px rgba(6,20,47,.06); }
.area-card h3 { display: flex; align-items: center; gap: 10px; }
.area-card h3 svg { width: 26px; height: 26px; color: var(--copper); }
.area-card ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 20px; }
.area-card li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 500; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.faq details[open] summary::after { content: "–"; background: var(--copper-btn); }
.faq details > div { padding: 0 20px 18px; }

/* cards / tables */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 18px rgba(6,20,47,.07); border-bottom: 4px solid var(--copper); }
.card .ic { width: 54px; height: 54px; border-radius: 10px; background: var(--navy); color: var(--copper-bright); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 1rem; }
.on-dark .card { background: rgba(255,255,255,.06); box-shadow: none; }
.on-dark .card p { color: #C9D1E0; }
.on-dark .card .ic { background: var(--copper-btn); color: #fff; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

.price-table { width: 100%; border-collapse: collapse; margin-top: 32px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(6,20,47,.07); }
.price-table th { background: var(--navy); color: #fff; text-align: left; padding: 16px; font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; }
.price-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:first-child { font-weight: 700; color: var(--navy); }
.price-table td b { color: var(--copper-btn); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.note { font-size: .92rem; color: #5B6473; margin-top: 12px; }
@media (max-width: 680px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; padding: 14px 16px; border-bottom: 1px solid var(--line); gap: 2px; }
  .price-table td { padding: 0; border: 0; }
}

/* forms */
.quote-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote-card { background: #fff; border-radius: 10px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); border-top: 6px solid var(--copper); }
.quote-card h2 { font-size: 2.2rem; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--navy); font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #C7CED9; border-radius: var(--radius); padding: 12px 14px; min-height: 52px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(200,104,26,.2); }
.form .btn { width: 100%; }
.form-note { font-size: .88rem; margin: 0; color: #5B6473; }
.form-success { display: none; padding: 22px; border-radius: var(--radius); background: #FFF4EA; border: 2px solid var(--copper); }
.form.is-sent > :not(.form-success) { display: none; }
.form.is-sent .form-success { display: block; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-lines a, .contact-lines li > span { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.contact-lines .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--copper-bright); display: grid; place-items: center; flex: none; }
.contact-lines .ic svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* final CTA */
.cta-final .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 56px; }
.cta-final h2 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.cta-final p { margin: 6px 0 0; color: #C9D1E0; }

/* footer */
.site-footer { background: var(--navy-deep); color: #AEB8CB; font-size: .97rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 64px 40px; }
.site-footer .flogo { width: 150px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* sticky mobile bar */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 66px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(0,0,0,.15); padding-bottom: env(safe-area-inset-bottom); background: var(--navy); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 62px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .03em; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar a.primary { background: var(--copper-btn); }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .svc img, .lifebar i, .nav { transition: none; } }
.on-dark .agecheck-panel h3 { color: var(--navy); }
.on-dark .agecheck-panel p { color: var(--body); }


/* >>> stepform engine (scripts/stepform) — do not edit here */
/* Step-by-step quote form + popup (Website Factory shared engine).
   Append to a site's CSS, then set the --sf-* tokens to the brand in a :root block AFTER this.
   Every class is q-prefixed so it can never clash with the site's own styles (.chip, .field, .card...). */
:root {
  --sf-head: #1f2937;        /* header band */
  --sf-head-ink: #e5e7eb;
  --sf-accent: #f97316;      /* progress, selected tiles */
  --sf-accent-on: #fff;
  --sf-accent-soft: #fff4ec;
  --sf-btn: #c2410c;         /* submit / continue */
  --sf-btn-ink: #fff;
  --sf-ink: #111827;
  --sf-muted: #6b7280;
  --sf-line: #d9dee5;
  --sf-soft: #f3f5f7;
  --sf-radius: 18px;
  --sf-tile-radius: 12px;
  --sf-pill: 999px;
  --sf-font: inherit;
  --sf-title-font: inherit;
  --sf-title-weight: 700;
  --sf-title-transform: none;
  --sf-title-style: normal;
}
.qmodal { border: 0; padding: 0; background: transparent; width: min(580px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; color: var(--sf-ink); }
.qmodal::backdrop { background: rgba(10, 14, 20, .62); backdrop-filter: blur(3px); }
.qmodal[open] { animation: qpop .22s ease-out; }
@keyframes qpop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.qwrap { max-height: calc(100dvh - 24px); overflow: auto; border-radius: var(--sf-radius); }
.qform { position: relative; background: #fff; border-radius: var(--sf-radius); padding: 0 0 18px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); overflow: hidden; text-align: left; font-family: var(--sf-font); font-size: 16px; line-height: 1.5; color: var(--sf-ink); }
.qform *, .qform *::before, .qform *::after { box-sizing: border-box; }
.qform [hidden] { display: none !important; }
.qform svg { width: 1.1em; height: 1.1em; flex: none; }
.qform p, .qform label, .qform li { color: inherit; }
.qclose { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--sf-head), #fff 16%); color: #fff; font: 400 1.6rem/1 system-ui, sans-serif; cursor: pointer; z-index: 2; display: grid; place-items: center; padding: 0; }
.qclose:hover { background: color-mix(in srgb, var(--sf-head), #fff 30%); }
[data-qform-inline] .qclose { display: none !important; }
.qhead { display: flex; gap: 14px; align-items: center; background: var(--sf-head); color: var(--sf-head-ink); padding: 22px 60px 16px 24px; }
.qhead img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.qform .qhead h2 { color: #fff; font-family: var(--sf-title-font); font-weight: var(--sf-title-weight); text-transform: var(--sf-title-transform); font-style: var(--sf-title-style); font-size: 1.35rem; line-height: 1.15; margin: 0 0 3px; letter-spacing: 0; }
.qform .qhead p { margin: 0; font-size: .85rem; line-height: 1.4; color: var(--sf-head-ink); }
.qsteps { list-style: none; margin: 0; padding: 4px 24px 18px; background: var(--sf-head); display: flex; justify-content: space-between; position: relative; }
.qsteps::before { content: ""; position: absolute; left: 46px; right: 46px; top: 19px; height: 2px; background: rgba(255,255,255,.2); }
.qsteps::after { content: ""; position: absolute; left: 46px; top: 19px; height: 2px; background: var(--sf-accent); width: calc((100% - 92px) * var(--p, 0)); transition: width .3s; }
.qsteps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; font-size: .72rem; color: rgba(255,255,255,.6); width: 44px; white-space: nowrap; text-align: center; line-height: 1.2; margin: 0; padding: 0; }
.qsteps li::before, .qsteps li::marker { content: none; }
.qsteps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sf-head); border: 2px solid rgba(255,255,255,.3); color: #fff; font-size: .8rem; transition: .2s; }
.qsteps li.on { color: #fff; }
.qsteps li.on b { background: var(--sf-accent); border-color: var(--sf-accent); color: var(--sf-accent-on); }
.qsteps li.done b { background: #fff; border-color: #fff; color: var(--sf-head); }
.qstep { border: 0; margin: 0; padding: 22px 24px 4px; min-width: 0; }
.qform .qstep legend { float: left; width: 100%; font-family: var(--sf-title-font); font-weight: var(--sf-title-weight); text-transform: var(--sf-title-transform); font-style: var(--sf-title-style); font-size: 1.25rem; line-height: 1.25; color: var(--sf-ink); margin: 0 0 14px; padding: 0; letter-spacing: 0; }
.qstep legend + * { clear: both; }
.qstep.is-in { animation: qin .25s ease-out; }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } }

/* Answer cards: every card in a set is the same size, media is the same size and sits at the same height */
.qtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.qtiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qtiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qtiles--list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
.qtile { position: relative; cursor: pointer; display: block; margin: 0; min-width: 0; }
.qtile input, .qchip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.qtile > span { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 2px; padding: 16px 8px 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-tile-radius); background: #fff; transition: border-color .15s, background .15s; height: 100%; }
.qtile .qmedia { width: 54px; height: 54px; flex: none; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--sf-soft); color: var(--sf-head); overflow: hidden; }
.qtile .qmedia svg { width: 26px; height: 26px; }
.qtile .qmedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qtile b { font-size: .9rem; color: var(--sf-ink); line-height: 1.25; font-weight: 700; }
.qtile small { font-size: .75rem; color: var(--sf-muted); line-height: 1.3; }
.qtiles--list .qtile > span { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; padding: 12px 14px; }
.qtiles--list .qtile .qmedia { width: 44px; height: 44px; margin: 0; grid-row: 1 / span 2; }
.qtiles--list .qtile .qmedia svg { width: 22px; height: 22px; }
.qtiles--list .qtile b { align-self: end; }
.qtiles--list .qtile small { align-self: start; }
.qtile:hover > span { border-color: var(--sf-accent); }
.qtile input:checked + span { border-color: var(--sf-accent); background: var(--sf-accent-soft); box-shadow: 0 0 0 2px var(--sf-accent) inset; }
.qtile input:checked + span .qmedia { background: #fff; box-shadow: 0 0 0 2px var(--sf-accent); }
.qtile input:focus-visible + span, .qchip input:focus-visible + span { outline: 3px solid var(--sf-accent); outline-offset: 2px; }
.qform .qhint { text-align: center; font-size: .8rem; color: var(--sf-muted); margin: 12px 0 0; }
.qform .qhint.warn { color: #B42318; font-weight: 600; }
.qform .qsub { font-weight: 600; color: var(--sf-ink); margin: 18px 0 8px; font-size: .95rem; }
.qform .qsub--first { margin-top: 0; }
.qchips + .qhint { text-align: left; margin-top: 8px; }
.qsub small, .qform label small { color: var(--sf-muted); font-weight: 400; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { position: relative; cursor: pointer; margin: 0; display: inline-flex; }
.qchip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-pill); font-size: .86rem; font-weight: 500; background: #fff; color: var(--sf-ink); white-space: nowrap; }
.qchip span::before { content: "+"; color: var(--sf-btn); font-weight: 700; }
.qchip input:checked + span { background: var(--sf-head); border-color: var(--sf-head); color: #fff; }
.qchip input:checked + span::before { content: "✓"; color: #fff; }

/* Text fields */
.qfield { display: grid; gap: 6px; margin: 0 0 14px; }
.qfield label { font-weight: 600; font-size: .88rem; color: var(--sf-ink); }
.qfield input, .qfield select, .qfield textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--sf-line); border-radius: var(--sf-tile-radius); font: inherit; font-size: 1rem; color: var(--sf-ink); background: #fff; margin: 0; }
.qfield textarea { min-height: 76px; resize: vertical; }
.qfield input:focus, .qfield select:focus, .qfield textarea:focus { border-color: var(--sf-head); outline: 3px solid color-mix(in srgb, var(--sf-accent) 35%, transparent); outline-offset: 0; }
.qrow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qerr { color: #B42318; font-size: .8rem; display: none; }
.qfield.bad .qerr { display: block; }
.qfield.bad input, .qfield.bad select { border-color: #B42318; }

/* Buttons */
.qnav { display: flex; gap: 10px; margin-top: 18px; }
.qnav .qgo { flex: 1; }
.qgo { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--sf-pill); background: var(--sf-btn); color: var(--sf-btn-ink); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; }
.qgo:hover { filter: brightness(.92); }
.qback { min-height: 52px; padding: 0 18px; border-radius: var(--sf-pill); border: 1.5px solid var(--sf-line); background: #fff; color: var(--sf-ink); font: inherit; font-weight: 500; font-size: .92rem; cursor: pointer; }
.qback:hover { border-color: var(--sf-head); }
.qskip { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--sf-muted); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; }
.qform .qtip { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--sf-ink); background: var(--sf-soft); border-radius: var(--sf-tile-radius); padding: 10px 12px; margin: 14px 0 0; }
.qtip svg { width: 18px; height: 18px; color: var(--sf-btn); margin-top: 1px; }
.qtip a { color: var(--sf-btn); font-weight: 700; }
.qform .qsend-err { color: #B42318; font-size: .85rem; font-weight: 600; margin: 10px 0 0; text-align: center; }
.qform .qsend-err a { color: inherit; }
.qform .qconsent { font-size: .74rem; line-height: 1.4; color: var(--sf-muted); margin: 12px 0 0; text-align: center; }
.qtrust { display: flex; justify-content: center; gap: 16px; font-size: .78rem; color: var(--sf-muted); padding: 14px 0 0; border-top: 1px solid var(--sf-line); margin: 18px 24px 0; }
.qtrust span { display: inline-flex; gap: 5px; align-items: center; }
.qtrust svg { width: 14px; height: 14px; color: var(--sf-head); }

/* Thank-you screen */
.qsuccess { display: none; }
.qform.q-sent > *:not(.qsuccess):not(.qhead):not(.qclose) { display: none !important; }
.qform.q-sent .qsuccess { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 4px; padding: 26px 24px 8px; }
.qok { width: 64px; height: 64px; border-radius: 50%; background: var(--sf-accent); color: var(--sf-accent-on); display: grid; place-items: center; margin-bottom: 8px; }
.qok svg { width: 30px; height: 30px; }
.qform .qsuccess h3 { margin: 0; color: var(--sf-ink); font-family: var(--sf-title-font); font-weight: var(--sf-title-weight); text-transform: var(--sf-title-transform); font-style: var(--sf-title-style); font-size: 1.4rem; }
.qform .qsuccess p { margin: 0; }
.qsummary { list-style: none; padding: 14px 16px; margin: 12px 0 16px; background: var(--sf-soft); border-radius: var(--sf-tile-radius); width: 100%; text-align: left; font-size: .88rem; display: grid; gap: 4px; }
.qsummary li { margin: 0; padding: 0; }
.qsummary li::before { content: none; }
.qsummary b { color: var(--sf-ink); }
.qsuccess .qgo { white-space: normal; text-align: center; max-width: 100%; }
.qform .qnum { white-space: nowrap; }
.qsuccess .qactions { display: grid; gap: 10px; width: 100%; max-width: 360px; }
.qsuccess .qgo--wa { background: #128C4A; }
.qsuccess .qgo--line { background: #fff; color: var(--sf-ink); border: 1.5px solid var(--sf-line); }
[data-qform-inline] .qform { box-shadow: var(--shadow, 0 14px 34px -16px rgba(0,0,0,.35)); }
body.qm-open { overflow: hidden; }

@media (max-width: 560px) {
  .qmodal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .qwrap { max-height: 100dvh; height: 100dvh; border-radius: 0; background: #fff; }
  .qmodal .qform { border-radius: 0; min-height: 100%; box-shadow: none; }
  .qhead { padding: 18px 56px 14px 18px; }
  .qhead h2 { font-size: 1.15rem; }
  .qstep { padding: 18px 18px 4px; }
  .qtrust { margin-inline: 18px; gap: 10px; flex-wrap: wrap; }
  .qtiles, .qtiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qtiles--3m { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qtiles--list { grid-template-columns: minmax(0, 1fr); }
  .qsteps { padding-inline: 12px; }
  .qsteps::before, .qsteps::after { left: 34px; }
  .qsteps::before { right: 34px; }
  .qsteps::after { width: calc((100% - 68px) * var(--p, 0)); }
  .qsteps li { font-size: .64rem; }
  .qrow2 { grid-template-columns: 1fr; gap: 0; }
}
/* <<< stepform engine */
/* Alpha Roofing brand for the step form */
:root {
  --sf-head: #0A2048; --sf-head-ink: #C9D1E0; --sf-accent: #E88A3C; --sf-accent-on: #06142F; --sf-accent-soft: #FDF1E6;
  --sf-btn: #B35A12; --sf-ink: #111827; --sf-muted: #5B6475; --sf-line: #D3D9E2; --sf-soft: #F1F3F6;
  --sf-radius: 8px; --sf-tile-radius: 6px; --sf-pill: 6px;
  --sf-title-font: "Barlow Condensed", "Arial Narrow", sans-serif; --sf-title-weight: 800; --sf-title-transform: uppercase;
}
.qhead h2, .qstep legend { font-style: italic; letter-spacing: .01em; }
.qhead h2 { font-size: 1.7rem; }
.qstep legend { font-size: 1.55rem; }
.qgo { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }
.qhead { border-bottom: 0; }
.qsteps { border-bottom: 4px solid #C8681A; }
.qhead img { background: #fff; border-radius: 50%; padding: 2px; }
/* Hero quick picks: each opens the estimate form with the problem already chosen */
.roofpick { margin: 0 0 26px; max-width: 560px; }
.roofpick p { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; color: #fff; margin: 0 0 10px; }
.roofpick-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.roofpick-row a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; border: 1.5px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(6,20,47,.55); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .03em; font-size: 1.02rem; line-height: 1.1; text-align: center; transition: border-color .15s, background .15s; }
.roofpick-row a svg { width: 24px; height: 24px; color: var(--copper-bright); }
.roofpick-row a:hover { border-color: var(--copper-bright); background: rgba(6,20,47,.8); }
@media (max-width: 520px) { .roofpick-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .roofpick-row a { min-height: 64px; flex-direction: row; } }

/* the client email can be long: let it wrap instead of overflowing */
a[href^="mailto:"] { overflow-wrap: break-word; }
