/* 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: -.02em; 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; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.05; 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; } }
