/* Prime Roofing website — shared styles. Values from the Prime Roofing design system (ds/prime-roofing/tokens.json). */

@font-face { font-family: "Anton"; src: url("/assets/1cd9f6d0b09711f66c55919f9727c790.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Kaushan Script"; src: url("/assets/cd1495dd04c9e070b644d908cb0a157e.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/149665c639535ebf6f6c5a07501410d5.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/009e0bd44dd9f40bf728c277634bee01.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fbf07712f8cd36ac7f89717ccde69ed0.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/084923c80f2dd71d0850c57c42e21cca.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --surface: #ffffff; --surface-alt: #f3f3f5; --surface-band: #1b1b1d; --surface-logo: #000000;
  --line: #e1e1e6; --line-strong: #8a8a94;
  --ink: #1b1b1d; --ink-muted: #5a5a62; --on-band: #ffffff;
  --prime-blue: #2259e3; --prime-magenta: #ad0072; --prime-green: #7ec049; --prime-green-deep: #3d7a16;
  --on-blue: #ffffff; --on-magenta: #ffffff; --on-green: #1b1b1d; --focus: #2259e3;
  --gradient-sweep: linear-gradient(100deg, #2259e3 0%, #ad0072 50%, #7ec049 100%);
  --gradient-diagonal: linear-gradient(135deg, #2259e3 0%, #ad0072 50%, #7ec049 100%);
  --shadow-card: 0 2px 10px rgba(0,0,0,0.10);
  --glow-magenta: 0 0 0 3px #ff2fb0, 0 0 22px 6px rgba(255,47,176,0.55);
  --angle-ribbon: -12deg;
  --radius-sm: 3px; --radius-md: 6px; --radius-pill: 999px;
  --font-display: Anton, Impact, "Arial Narrow", sans-serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --font-sans: Poppins, system-ui, "Segoe UI", sans-serif;
}

body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; }
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: var(--prime-blue); }
a:hover { color: var(--prime-magenta); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; margin: 0; color: inherit; }
h1, h2 { text-transform: uppercase; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Header nav */
.nav-link { font-family: var(--font-display); font-size: 17px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: #ffffff; text-decoration: none; padding: 10px 2px; border-bottom: 3px solid transparent; }
.nav-link:hover { color: var(--prime-green); }
.nav-link.is-active { border-bottom-color: var(--prime-green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: 0.02em;
  padding: 12px 24px; border-radius: var(--radius-sm); border: 2px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn--primary, .btn--primary:hover { background: var(--prime-magenta); color: var(--on-magenta); }
.btn--blue, .btn--blue:hover { background: var(--prime-blue); color: var(--on-blue); }
.btn--green, .btn--green:hover { background: var(--prime-green); color: var(--on-green); }
.btn--dark, .btn--dark:hover { background: var(--surface-band); color: var(--on-band); }
.btn--outline, .btn--outline:hover { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline-light, .btn--outline-light:hover { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.75); }
.btn--lg { font-size: 18px; padding: 16px 32px; min-height: 56px; }

/* Ribbon tag */
.ribbon { display: inline-block; transform: skewX(var(--angle-ribbon)); background: #000000 url("/assets/64e6eae6152a3ae7782ddea023d74a03.webp") center / auto 170% repeat-x; border: 2px solid #000; border-radius: var(--radius-sm); padding: 6px 22px; }
.ribbon > span { display: inline-block; transform: skewX(12deg); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 22px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000, 0 2px 0 #000; }

/* Section header */
.eyebrow { font-family: var(--font-display); font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--prime-magenta); }
/* Splatter replaced the three-color stripes (Oct 2026). Class names kept so pages don't change. */
.sweep-bar { width: 120px; height: 24px; background: url("/assets/f1d3ad6c902a453d58a078bebc7a047f.svg") left center / contain no-repeat; }
.sweep-top { height: 16px; background: #000000 url("/assets/64e6eae6152a3ae7782ddea023d74a03.webp") center / auto 100% repeat-x; }
.splat-corners { position: relative; isolation: isolate; }
.splat-corners::before, .splat-corners::after { content: ""; position: absolute; width: min(250px, 30vw); aspect-ratio: 1 / 1; z-index: -1; pointer-events: none; }
.splat-corners::before { left: 0; top: 0; background: url("/assets/ca5fda5f0864d0f5f9af54c28e4d6d6f.webp") left top / contain no-repeat; }
.splat-corners::after { right: 0; bottom: 0; background: url("/assets/4341e60a7f135913930dfad33e9bd7d8.webp") right bottom / contain no-repeat; }
.splat-img { position: absolute; width: min(400px, 50vw); height: auto; pointer-events: none; }

/* Phone strip */
.phone-link { color: var(--on-band); text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.phone-link:hover { color: var(--prime-green); }
.phone-link:focus-visible { outline-color: var(--prime-green); }
.phone-num { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 500; letter-spacing: 0.02em; }
.phone-region { font-size: 13px; line-height: 20px; color: var(--prime-green); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Trust list */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.trust li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: var(--radius-sm);
  background: var(--prime-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231b1b1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.trust--light li { color: var(--on-band); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.quote { background: var(--surface-alt); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.stars { color: var(--prime-green-deep); font-size: 18px; letter-spacing: 2px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 14px; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; color: var(--prime-magenta); }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 0 20px; color: var(--ink-muted); max-width: 760px; }

.footer-link { color: #d4d4da; text-decoration: none; }
.footer-link:hover { color: var(--prime-green); }

/* Placeholder text Prime still needs to supply */
.ph { background: #fff3a8; color: #1b1b1d; padding: 0 4px; border-radius: 2px; }

/* Header: desktop vs mobile */
.menu-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid rgba(255,255,255,0.45); border-radius: var(--radius-sm); background: transparent; color: #ffffff; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 960px) {
  .nav-desktop, .header-cta { display: none !important; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: flex; }
}
@media (max-width: 760px) {
  .util-phones { display: none !important; }
}
.mobile-nav-link { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: #ffffff; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.mobile-nav-link.is-active { color: var(--prime-green); }

/* Sticky mobile call bar */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface-band); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
.mobile-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 16px; background: url("/assets/64e6eae6152a3ae7782ddea023d74a03.webp") center / auto 100% repeat-x; pointer-events: none; }
.mobile-bar .btn { flex: 1 1 0; }
.mobile-bar-spacer { display: none; height: 76px; background: var(--surface-band); }
@media (max-width: 760px) {
  .mobile-bar { display: flex; flex-direction: column; }
  .mobile-bar-spacer { display: block; }
}

/* Whole-card links */
a.card { text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.14); color: var(--ink); }
a.card:hover .card-more { color: var(--prime-magenta); }
.card-more { font-weight: 600; color: var(--prime-blue); }

/* Before / after slider */
.ba { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: #d9d9de; user-select: none; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 28px; letter-spacing: 0.1em; text-transform: uppercase; }
.ba-tag { position: absolute; top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(27,27,29,0.85); color: #fff; padding: 6px 12px; border-radius: var(--radius-sm); }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.25); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: var(--radius-pill); background: var(--prime-magenta); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* How it works */
.step-num { font-family: var(--font-display); font-size: 64px; line-height: 64px; font-weight: 700; }

/* Hero estimate card */
.estimate-input { font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 52px; width: 100%; }

/* Service-area chips */
.area-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.area-chip:hover { border-color: var(--prime-magenta); color: var(--prime-magenta); }
.area-chip--more { border-color: transparent; background: transparent; color: var(--prime-blue); }

/* "What happens next" steps */
.next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: start; }
.next-steps li::before { counter-increment: ns; content: counter(ns); grid-row: span 2; width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--prime-blue); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.next-steps li:nth-child(2)::before { background: var(--prime-magenta); }
.next-steps li:nth-child(3)::before { background: var(--prime-green); color: var(--on-green); }
.next-steps strong { font-family: var(--font-display); font-size: 20px; line-height: 24px; font-weight: 500; }
.next-steps span { color: var(--ink-muted); font-size: 15px; line-height: 23px; }

/* Buck lines — the mascot's voice, script face. Use sparingly: one per page at most. */
.buck-line { font-family: var(--font-script); font-weight: 400; font-size: 34px; line-height: 1.15; color: var(--prime-green); }

[hidden]{display:none !important}
.mobile-nav[hidden]{display:none !important}
