/* Atlas Roofing landing pages, styled after atlasroofingpro.com:
   purple #8c30ad, Archivo 900 headings, Lato body, pill buttons, lilac hero, dark footer. */
:root {
  --purple: #8c30ad;
  --purple-deep: #47034f;
  --ink: #353535;       /* headings, top bar, copyright bar */
  --text: #1d1d1d;
  --muted: #555;
  --lilac: #f8f3f9;     /* hero background */
  --grey: #f5f4f3;      /* quiet sections, cards */
  --line: #e7e2e8;
  --footer: #0f0f0f;
  --white: #fff;
  --head: 'Archivo', sans-serif;
  --body: 'Lato', sans-serif;
  --script: 'Caveat', cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.75 var(--body); letter-spacing: .3px; }
img { display: block; max-width: 100%; }
a { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 900; color: var(--ink); letter-spacing: -.005em; word-spacing: .12em; margin: 0; }
.eyebrow { margin: 0 0 14px; font: 600 16px/1.4 var(--head); letter-spacing: 4px; text-transform: uppercase; color: var(--purple); }
.script { font-family: var(--script); font-weight: 700; color: var(--purple); font-size: 1.18em; letter-spacing: 0; }

/* buttons: same pill as the main site */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 17px/1 var(--head); text-transform: uppercase;
  text-decoration: none; color: var(--white); background: var(--purple); border: 2.4px solid var(--purple); border-radius: 50px; padding: 17px 30px;
  transition: background .15s ease, color .15s ease; }
.btn:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-outline { background: transparent; color: var(--purple); }
.btn-outline:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.btn-big { font-size: 22px; padding: 20px 36px; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* top bar + header */
.topbar { background: var(--ink); color: var(--white); font: 800 12px/1 var(--body); text-transform: uppercase; letter-spacing: .5px; }
.topbar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 22px; min-height: 42px; }
.topbar a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 13px; height: 13px; }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.brand img { width: 82px; height: auto; }
.header .btn { font-size: 15px; padding: 14px 22px; }

/* hero: lilac, centered, photo card overlapping the purple band */
.hero { background: var(--lilac); padding: 64px 0 0; text-align: center; }
.hero .eyebrow { letter-spacing: 2px; text-transform: none; font-size: 18px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.12; max-width: 15em; margin-inline: auto; text-wrap: balance; }
.hero .lead { max-width: 40em; margin: 22px auto 30px; font-size: 18px; color: var(--muted); }
.hero .btns { justify-content: center; }
.hero-card { position: relative; z-index: 2; margin: 48px auto -150px; height: 420px; border-radius: 20px; overflow: hidden;
  background: var(--grey) center / cover no-repeat; box-shadow: 0 20px 40px rgba(40, 10, 50, .18); }
.hero-card.split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--white); }
.hero-card.split > div { background: center / cover no-repeat; }

/* purple band with the facts */
.band { background: var(--purple); color: var(--white); padding: 190px 0 56px; }
.band .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: center; }
.fact { display: grid; justify-items: center; gap: 10px; }
.fact i { width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.fact i svg { width: 30px; height: 30px; color: var(--purple); }
.fact b { font: 700 19px/1.25 var(--head); }
.fact span { font-size: 15px; line-height: 1.5; opacity: .9; }

/* what we check + what happens when you call */
.detail { padding: 88px 0; }
.detail .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.detail h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; margin-bottom: 24px; }
.checks { list-style: none; margin: 0 0 32px; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--purple); }
.checks li::after { content: ''; position: absolute; left: 7px; top: 21px; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.steps-card { background: var(--grey); border-radius: 20px; padding: 40px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(s); width: 60px; height: 60px; border-radius: 50%; background: var(--white); color: var(--purple);
  display: grid; place-items: center; font: 900 26px/1 var(--head); box-shadow: 0 4px 14px rgba(40, 10, 50, .08); }
.steps b { display: block; font: 700 20px/1.3 var(--head); color: var(--ink); margin-top: 6px; }
.steps b a { color: var(--purple); text-decoration: none; }
.steps span { display: block; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* closing call, like the main site's "Contact us for a ..." block */
.close { background: var(--grey); padding: 80px 0; text-align: center; }
.close h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; }
.close p { margin: 14px auto 30px; color: var(--muted); max-width: 34em; }
.close .btns { justify-content: center; }

/* footer: dark, then the grey copyright bar */
footer { background: var(--footer); color: #cfcfcf; font-size: 15px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 0; }
footer .f-brand { display: flex; align-items: center; gap: 18px; }
footer .f-brand img { width: 70px; background: var(--white); border-radius: 10px; padding: 6px; }
footer .f-brand b { display: block; color: var(--white); font: 900 22px/1.2 var(--head); letter-spacing: -.02em; }
footer .f-call { color: var(--white); font: 700 22px/1 var(--head); text-decoration: none; }
.copy { background: var(--ink); color: #ddd; font-size: 13px; text-align: center; padding: 16px 0; }
.copy a { color: #fff; }

/* phone: stacked layout, sticky call bar */
.sticky { display: none; }
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 86px; }
  .topbar .wrap { justify-content: center; }
  .topbar .t-mail { display: none; }
  .header .wrap { min-height: 76px; }
  .brand img { width: 62px; }
  .header .btn { font-size: 13px; padding: 12px 16px; }
  .hero { padding-top: 40px; }
  .hero .eyebrow { font-size: 15px; letter-spacing: 1px; }
  .hero .lead { font-size: 16px; }
  .hero .btns { flex-direction: column; align-items: stretch; }
  .btn-big { font-size: 20px; padding: 18px 20px; }
  .hero-card { height: 240px; margin: 32px auto -90px; }
  .band { padding: 120px 0 44px; }
  .band .wrap, .detail .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .detail { padding: 56px 0; }
  .steps-card { padding: 28px 22px; }
  .close { padding: 56px 0; }
  .close .btns { flex-direction: column; align-items: stretch; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  .sticky { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; justify-content: center; align-items: center; gap: 10px;
    background: var(--purple); color: var(--white); text-decoration: none; border-radius: 50px; padding: 18px 20px;
    font: 700 20px/1 var(--head); text-transform: uppercase; box-shadow: 0 10px 26px rgba(40, 10, 50, .4); }
  .sticky svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* real Atlas photos from the main site */
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 60%; }

/* financing (residential pages) */
.finance { background: var(--lilac); padding: 88px 0; }
.finance .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.fin-photo img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(40, 10, 50, .15); }
.finance h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; }
.fin-lead { margin: 12px 0 26px; font: 700 clamp(20px, 2.2vw, 26px)/1.3 var(--head); color: var(--purple); }
.fine { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) {
  .finance { padding: 56px 0; }
  .finance .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* financing: impossible to miss */
.fin-bar { display: block; background: var(--purple-deep); color: var(--white); text-decoration: none; text-align: center; padding: 14px 0; }
.fin-bar .wrap { display: flex; justify-content: center; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.fin-bar strong { font: 900 clamp(20px, 2.4vw, 28px)/1.15 var(--head); letter-spacing: .5px; }
.fin-bar span span, .fin-bar .wrap > span { font: 700 16px/1.3 var(--body); opacity: .9; }
.fin-bar:hover strong { text-decoration: underline; }
.fin-note { display: block; max-width: 720px; margin: 26px auto 0; background: var(--purple); color: var(--white); text-decoration: none;
  border-radius: 18px; padding: 16px 26px; box-shadow: 0 10px 24px rgba(40, 10, 50, .2); }
.fin-note b { display: block; font: 900 clamp(20px, 2.3vw, 26px)/1.2 var(--head); letter-spacing: -.005em; }
.fin-note span { display: block; margin-top: 4px; font: 700 17px/1.4 var(--body); opacity: .92; }
.fin-who { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fin-who li { background: var(--white); border: 2px solid var(--purple); color: var(--purple); border-radius: 50px; padding: 8px 18px;
  font: 800 15px/1 var(--head); text-transform: uppercase; }
@media (max-width: 760px) {
  .fin-bar { padding: 12px 0; }
  .fin-bar .wrap > span { font-size: 14px; }
  .fin-note { padding: 14px 18px; }
  .fin-note span { font-size: 15px; }
}

.finance .eyebrow { text-transform: none; letter-spacing: 2px; font-size: 18px; }

/* commercial / HOA: always-available contact strip */
.reach { background: var(--grey); border-bottom: 1px solid var(--line); }
.reach .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 12px 0; }
.reach b { font: 900 15px/1 var(--head); text-transform: uppercase; letter-spacing: 1px; color: var(--ink); margin-right: 4px; }
.reach a { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--purple); color: var(--purple);
  border-radius: 50px; padding: 9px 16px; font: 700 15px/1 var(--head); text-decoration: none; }
.reach a:hover { background: var(--purple); color: var(--white); }
.reach svg { width: 17px; height: 17px; }

/* commercial / HOA: why us */
.why { padding: 80px 0 24px; }
.why h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.05; margin-bottom: 32px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card { background: var(--grey); border-radius: 20px; padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.why-card svg { width: 34px; height: 34px; color: var(--purple); }
.why-card b { font: 800 20px/1.25 var(--head); color: var(--ink); }
.why-card span { color: var(--muted); font-size: 16px; line-height: 1.55; }

/* commercial / HOA: credentials + reviews */
.proof { padding: 72px 0; }
.proof .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.proof-box { border: 2px solid var(--line); border-radius: 20px; padding: 34px; }
.proof-box h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin-bottom: 18px; }
.proof-box p { color: var(--muted); margin: 0 0 22px; }
.proof .btn { font-size: 15px; padding: 14px 22px; }
@media (max-width: 760px) {
  .reach .wrap { gap: 8px; }
  .reach b { width: 100%; text-align: center; margin: 0 0 2px; }
  .reach a { padding: 8px 12px; font-size: 14px; }
  .why { padding: 52px 0 8px; }
  .why-grid, .proof .wrap { grid-template-columns: minmax(0, 1fr); }
  .proof { padding: 48px 0; }
  .proof-box { padding: 24px 20px; }
}

/* credential documents */
.docs { display: grid; gap: 12px; margin: 4px 0 22px; }
.doc-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 2px solid var(--purple); border-radius: 14px;
  text-decoration: none; color: var(--ink); background: var(--white); }
.doc-link:hover { background: var(--lilac); }
.doc-link svg { width: 30px; height: 30px; color: var(--purple); flex: none; }
.doc-link span { display: grid; gap: 2px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.doc-link b { font: 800 17px/1.25 var(--head); color: var(--ink); text-transform: none; letter-spacing: 0; }

.why-top { padding: 56px 0 56px; background: var(--white); }
.hero h1 + .btns { margin-top: 30px; }
@media (max-width: 760px) { .why-top { padding: 40px 0; } }

/* contact strip colors: Text blue, WhatsApp green, email with envelope */
.reach a.r-text { background: #1a73e8; border-color: #1a73e8; color: #fff; }
.reach a.r-text:hover { background: #1558b0; border-color: #1558b0; }
.reach a.r-wa { background: #25d366; border-color: #25d366; color: #fff; }
.reach a.r-wa:hover { background: #1da851; border-color: #1da851; }
.reach a.r-mail svg { width: 22px; height: 22px; }

/* Wisetack payment-plan prequalification banner */
.wt-cta { margin: 0 0 10px; font: 700 17px/1.4 var(--head); color: var(--ink); }
.wt-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 460px; margin: 0 0 24px;
  padding: 16px 22px; background: var(--white); border: 2px solid #07c0ca; border-radius: 14px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(7, 192, 202, .15); transition: transform .15s ease, box-shadow .15s ease; }
.wt-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7, 192, 202, .25); }
.wt-banner img { width: 156px; height: auto; }
.wt-banner span { font: 800 15px/1 var(--head); color: #05959d; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .wt-banner { transition: none; } .wt-banner:hover { transform: none; } }
