/* Austin Roofing — site stylesheet
   Palette and type carried over from the original site:
   red #E62727, teal #1E93AB, green #00AD48, charcoal #363636, cream #F3F2EC,
   ink #141414; Alfa Slab One display, Helvetica body. */

:root {
  --red: #E62727;
  --red-dark: #c41d1d;
  --teal: #1E93AB;
  --teal-dark: #167488;
  --teal-deep: #0f5566;
  --green: #00AD48;
  --green-dark: #00913c;
  --charcoal: #363636;
  --charcoal-2: #2a2a2a;
  --ink: #141414;
  --muted: #5d5d5d;
  --cream: #F3F2EC;
  --line: #DCDCDC;
  --paper: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .10);
  --shadow-lg: 0 24px 60px rgba(20, 20, 20, .18);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Alfa Slab One", Georgia, serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal-dark); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); color: var(--teal); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--red); margin-bottom: .7em; display: flex; gap: .5em; align-items: center; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Scroll progress drawn as a roof ridge */
.scroll-roof { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 300; pointer-events: none; }
.scroll-roof span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--teal)); box-shadow: 0 0 10px rgba(230, 39, 39, .5); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--charcoal); color: #fff; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.topbar__note { color: #e7e7e7; display: flex; gap: .5em; align-items: center; }
.topbar__note .ic { color: #ffbc2d; }
.topbar__phone { color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; display: flex; gap: .45em; align-items: center; }
.topbar__phone .ic { color: var(--red); }
.topbar__phone:hover { color: #ffd2d2; }

/* Header + nav ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0, 0, 0, .06); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand img { width: 140px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 10px 12px; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.mega { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: repeat(3, minmax(210px, 1fr)); gap: 18px; opacity: 0; visibility: hidden; transition: .2s; border-top: 4px solid var(--red); }
.mega--narrow { grid-template-columns: 1fr; min-width: 320px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__title { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .5em; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.mega a { display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; }
.mega a .ic { color: var(--teal); }
.mega a:hover { background: var(--cream); color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; padding: 11px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons ---------------------------------------------------------------- */
.btn { --bg: var(--teal); display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 14px 26px; border-radius: 999px; background: var(--bg); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; position: relative; overflow: hidden; transition: transform .15s, box-shadow .2s, background .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
.btn:hover::after { transform: translateX(120%); }
.btn--red { --bg: var(--red); }
.btn--red:hover { background: var(--red-dark); }
.btn--green { --bg: var(--green); }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); }
.btn--lg { padding: 17px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.4em; }

/* Home hero -------------------------------------------------------------- */
.home-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; background: #1b2a30 url('/wp-content/uploads/2025/12/Austin-Roofing-BG-1.webp') center/cover no-repeat; overflow: hidden; isolation: isolate; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 30, 36, .72) 0%, rgba(15, 30, 36, .55) 45%, rgba(15, 30, 36, .85) 100%); z-index: -1; }
.home-hero .weather { z-index: 0; }
.home-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 70px 20px 130px; }
.home-hero .eyebrow { color: #ffb3b3; }
.home-hero h1 { font-family: var(--display); font-weight: 400; color: var(--red); font-size: clamp(3rem, 7.5vw, 6rem); line-height: 1; margin-bottom: .15em; text-shadow: 0 4px 0 rgba(0, 0, 0, .35); letter-spacing: .01em; }
.home-hero h1 .ink { display: block; }
.home-hero__tag { font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: .6em; }
.home-hero__lead { font-size: 1.12rem; color: #eaf2f4; max-width: 640px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.4em 0 0; }
.hero-badges li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 7px 14px; border-radius: 999px; font-size: .9rem; display: flex; gap: .45em; align-items: center; backdrop-filter: blur(4px); }
.hero-badges .ic { color: #3ddc84; }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); position: relative; }
.hero-card::before { content: ""; position: absolute; left: 50%; top: -34px; width: 70px; height: 36px; transform: translateX(-50%); background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero-card h2 { color: var(--ink); font-size: 1.45rem; margin-bottom: .3em; }
.hero-card > p { color: var(--muted); font-size: .95rem; }
.weather-toggle { position: absolute; right: 20px; bottom: 96px; z-index: 3; display: flex; gap: 6px; background: rgba(0, 0, 0, .35); padding: 6px; border-radius: 999px; backdrop-filter: blur(6px); }
.weather-toggle button { border: 0; background: transparent; color: #fff; padding: 8px 12px; border-radius: 999px; cursor: pointer; font: 600 .82rem var(--font); display: flex; gap: .4em; align-items: center; }
.weather-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.weather { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lightning { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 1; mix-blend-mode: overlay; }
.lightning.flash { animation: flash .9s ease-out; }
@keyframes flash { 0% { opacity: 0 } 8% { opacity: .85 } 16% { opacity: .1 } 24% { opacity: .7 } 100% { opacity: 0 } }

/* Roof-peak divider */
.roof-divider { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--paper); clip-path: polygon(0 100%, 0 70%, 50% 0, 100% 70%, 100% 100%); z-index: 2; }
.roof-divider::before { content: ""; position: absolute; inset: 0; }
.section--cream + .roof-divider, .roof-divider.is-cream { background: var(--cream); }

/* Interior hero */
.page-hero { position: relative; color: #fff; background: #1b2a30 var(--hero-img) center/cover no-repeat; padding: 50px 0 140px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15, 40, 48, .92), rgba(20, 20, 20, .7)); z-index: -1; }
.page-hero__inner { position: relative; z-index: 2; max-width: 900px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); margin-bottom: .35em; }
.page-hero .eyebrow { color: #ff8a8a; }
.page-hero__lead { font-size: 1.15rem; color: #e3eef1; max-width: 760px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; color: #cfe0e4; font-size: .92rem; }
.page-hero__meta span { display: flex; gap: .4em; align-items: center; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.crumbs li { color: #cfe0e4; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #8fb7c0; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

/* Sections --------------------------------------------------------------- */
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--charcoal) url('/wp-content/uploads/2025/12/Austin-Roofing-BG-2.webp') center/cover; color: #e7e7e7; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; inset: 0; background: rgba(40, 40, 40, .86); z-index: -1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--shingles { background-color: var(--cream); background-image: var(--shingle-bg); }
.section-title { text-align: center; }
.section-lead { text-align: center; max-width: 820px; margin: 0 auto 2.4em; font-size: 1.1rem; }
.section--dark .section-lead { color: #d5d5d5; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr .8fr; }
:root { --shingle-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.05' stroke-width='2'%3E%3Cpath d='M0 20h80M0 40h80M20 0v20M60 0v20M0 20v20M40 20v20M80 20v20'/%3E%3C/g%3E%3C/svg%3E"); }

/* Cards ------------------------------------------------------------------ */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; overflow: hidden; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; margin-bottom: 18px; position: relative; }
.card__icon .ic { width: 28px; height: 28px; }
.card__more { font-weight: 700; color: var(--red); margin-top: 6px; }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card--service::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card--service:hover::before { transform: scaleX(1); }
.section--dark .card--service { background: linear-gradient(160deg, rgba(30, 147, 171, .95), rgba(18, 98, 116, .95)); color: #fff; box-shadow: 8px 10px 0 #141414; }
.section--dark .card--service h3 { color: #fff; }
.section--dark .card--service p { color: #e7f3f6; }
.section--dark .card--service .card__icon { background: #fff; color: var(--teal); }
.section--dark .card--service .card__more { color: #fff; }
.cards--compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-bottom: 2em; }
.cards--compact .card { padding: 20px; }
.cards--compact .card p { font-size: .9rem; }
.card--tool { border: 2px solid transparent; }
.card--tool:hover { border-color: var(--teal); }
.card--tool .card__icon { background: linear-gradient(135deg, var(--red), #a11616); }
.card--post { padding: 0; }
.card--post__img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.card--post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card--post:hover .card--post__img img { transform: scale(1.06); }
.card--post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card--post h3 { font-size: 1.15rem; }
.card--post h3 a { color: var(--ink); text-decoration: none; }
.card--post h3 a:hover { color: var(--teal); }
.card__date { font-size: .82rem; color: var(--muted); margin-bottom: .4em; flex: 0 !important; }

/* Checklist / features */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { background: var(--cream); border-radius: 14px; padding: 14px 18px 14px 54px; position: relative; font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/16px no-repeat; }
.section--cream .checklist li { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.feature h3 { color: var(--teal); font-size: 1.15rem; display: flex; gap: .5em; align-items: center; }
.feature h3 .ic { color: var(--red); width: 1.4em; height: 1.4em; }
.feature p { margin: 0; color: var(--muted); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat { padding: 22px 10px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.stat__num { font-family: var(--display); font-size: 2.6rem; color: #fff; line-height: 1; }
.stat__label { color: #cfe0e4; font-size: .92rem; margin-top: 8px; }

/* Process steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 60px 22px 24px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; top: -22px; left: 22px; width: 58px; height: 52px; background: var(--red); color: #fff; font-family: var(--display); font-size: 1.5rem; display: grid; place-items: center; padding-top: 10px; clip-path: polygon(50% 0, 100% 38%, 100% 100%, 0 100%, 0 38%); }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Area chips */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.area-chip { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: .2s; }
.area-chip .ic { color: var(--red); width: 1.5em; height: 1.5em; }
.area-chip strong { display: block; }
.area-chip small { color: var(--muted); }
.area-chip:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }

/* Layout with sidebar ---------------------------------------------------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 22px; }
.sidebar__box { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.sidebar__box--quote { background: linear-gradient(170deg, var(--teal-deep), var(--charcoal-2)); color: #fff; }
.sidebar__box--quote .quote-form label { color: #e1edf0; }
.sidebar__title { font-weight: 800; font-size: 1.15rem; margin-bottom: .6em; }
.sidebar__phone { font-size: 1.15rem; font-weight: 700; }
.sidebar__phone a { color: #fff; text-decoration: none; }
.sidebar__links { list-style: none; padding: 0; margin: 0; }
.sidebar__links li { border-bottom: 1px solid var(--line); }
.sidebar__links li:last-child { border: 0; }
.sidebar__links a { display: flex; gap: 8px; align-items: center; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sidebar__links a .ic { color: var(--teal); }
.sidebar__links a:hover { color: var(--red); }

/* Prose ------------------------------------------------------------------ */
.prose { min-width: 0; }
.prose h2 { margin-top: 1.6em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--charcoal); scroll-margin-top: 110px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul.checklist { padding: 0; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 5px solid var(--red); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.08rem; }
.lead { font-size: 1.15rem; color: #333; }
.post-figure { margin: 0 0 28px; }
.post-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--line); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th { background: var(--teal); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.table-wrap td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:nth-child(even) td { background: #fafaf7; }
.callout { border-radius: var(--radius-sm); padding: 18px 22px 18px 58px; margin: 1.6em 0; background: #e8f5f8; border: 1px solid #c3e4ec; position: relative; }
.callout::before { content: "i"; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font: 700 15px/26px var(--font); text-align: center; }
.callout--warn { background: #fdeeee; border-color: #f6caca; }
.callout--warn::before { content: "!"; background: var(--red); }
.callout--tip { background: #e8f8ee; border-color: #bfe8cf; }
.callout--tip::before { content: "✓"; background: var(--green); }
.callout p:last-child { margin: 0; }
.takeaways { background: var(--charcoal); color: #eee; border-radius: var(--radius); padding: 26px 28px; margin: 0 0 2em; position: relative; overflow: hidden; }
.takeaways::after { content: ""; position: absolute; right: -30px; top: -30px; width: 140px; height: 90px; background: var(--red); opacity: .25; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.takeaways h2, .takeaways p.takeaways__title { color: #fff; font-size: 1.2rem; font-weight: 800; margin: 0 0 .6em; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-bottom: .4em; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 1.6em; }
.pros-cons > div { border-radius: var(--radius-sm); padding: 18px 22px; }
.pros-cons .pros { background: #e8f8ee; }
.pros-cons .cons { background: #fdeeee; }
.pros-cons h4 { margin: 0 0 .5em; }
.pros-cons ul { margin: 0; }
.toc { background: var(--cream); border-radius: var(--radius); padding: 20px 26px; margin: 0 0 2em; border-left: 5px solid var(--teal); }
.toc__title { font-weight: 800; margin-bottom: .4em; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 30px; font-size: .95rem; }
.toc li { break-inside: avoid; margin-bottom: .3em; }
.toc a { text-decoration: none; }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--cream); border-radius: var(--radius); padding: 22px; margin-top: 2.4em; }
.author-box img { border-radius: 50%; background: #fff; flex: none; }
.author-box p { margin: 0; font-size: .95rem; }

/* FAQ -------------------------------------------------------------------- */
.faq { margin-top: 2.4em; scroll-margin-top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 14px; margin-top: -7px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: transform .25s; transform: rotate(180deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 22px 18px; color: #333; }
.faq__a p:last-child { margin: 0; }
.faq-page .faq { margin-top: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; padding: 70px 0; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -40px; width: 420px; height: 240px; background: rgba(255, 255, 255, .07); clip-path: polygon(50% 0, 100% 100%, 0 100%); z-index: -1; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #e2f2f5; max-width: 640px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* Forms ------------------------------------------------------------------ */
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.quote-form--compact .quote-form__grid { grid-template-columns: 1fr; gap: 10px; }
.quote-form label { display: flex; flex-direction: column; gap: 5px; font-size: .88rem; font-weight: 700; color: var(--charcoal); }
.quote-form .span-2 { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea, .tool input, .tool select { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfcfcf; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus, .tool input:focus, .tool select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(30, 147, 171, .2); }
.quote-form__note { font-size: .82rem; text-align: center; margin: 10px 0 0; color: var(--muted); }
.sidebar__box--quote .quote-form__note { color: #c9dde2; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.form-alert--error { background: #fdeeee; color: #8a1414; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: .2s; }
.contact-card .ic { width: 34px; height: 34px; color: var(--red); }
.contact-card strong { font-size: 1.1rem; }
.contact-card span { color: var(--teal-dark); font-weight: 700; word-break: break-word; }
.contact-card:hover { transform: translateY(-4px); color: var(--ink); }

/* Tools ------------------------------------------------------------------ */
.tool-stage { margin-top: -70px; position: relative; z-index: 5; margin-bottom: 30px; }
.tool-stage__intro { max-width: 820px; margin: 90px auto 26px; text-align: center; }
.tool { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 30px; border-top: 6px solid var(--red); }
.tool__head { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.tool__head h3 { margin: 0; font-size: 1.35rem; }
.tool__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.tool__fields { display: grid; gap: 16px; }
.tool label, .tool .field-label { font-weight: 700; font-size: .92rem; display: flex; flex-direction: column; gap: 6px; color: var(--charcoal); }
.tool .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool input[type=range] { padding: 0; border: 0; box-shadow: none; accent-color: var(--red); height: 28px; }
.tool .range-val { font-weight: 800; color: var(--red); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1.5px solid #cfcfcf; background: #fff; padding: 9px 14px; border-radius: 999px; font: 600 .9rem var(--font); cursor: pointer; color: var(--ink); transition: .15s; }
.seg button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.seg button:hover { border-color: var(--teal); }
.tool__result { background: linear-gradient(160deg, #10424f, #1c2b30); color: #fff; border-radius: 18px; padding: 26px; position: relative; overflow: hidden; }
.tool__result::before { content: ""; position: absolute; right: -40px; top: -20px; width: 180px; height: 100px; background: rgba(255, 255, 255, .06); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tool__result h4 { color: #9fd7e3; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .5em; }
.big-num { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.05; color: #fff; }
.big-num small { font-family: var(--font); font-size: .95rem; color: #b8d6dd; font-weight: 600; display: block; margin-top: 6px; }
.result-rows { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.result-rows li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255, 255, 255, .18); padding-bottom: 7px; font-size: .95rem; }
.result-rows li span:last-child { font-weight: 800; color: #fff; text-align: right; }
.result-rows li span:first-child { color: #cfe3e8; }
.tool__note { font-size: .82rem; color: #a9c6cd; margin: 16px 0 0; }
.tool__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.tool__cta .btn { padding: 11px 18px; font-size: .92rem; }
.tool-embed { margin: 2.4em 0; }
.tool-embed .tool { box-shadow: var(--shadow); }
.tool-embed__more { text-align: right; font-weight: 700; margin-top: 10px; }
.pitch-svg, .roof-svg { width: 100%; height: auto; display: block; }
.gauge { width: 100%; max-width: 260px; display: block; margin: 0 auto 6px; }
.quiz__q { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts button { text-align: left; border: 1.5px solid #d7d7d7; background: #fff; padding: 14px 18px; border-radius: 12px; font: 600 1rem var(--font); cursor: pointer; transition: .15s; color: var(--ink); }
.quiz__opts button:hover { border-color: var(--teal); background: #f2fafc; transform: translateX(4px); }
.quiz__bar { height: 10px; background: #eee; border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.quiz__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--red)); width: 0; transition: width .35s; }
.quiz__step { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.hail-scale { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 6px 0 4px; }
.hail-scale button { border: 2px solid transparent; background: var(--cream); border-radius: 14px; padding: 10px 8px 8px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 .74rem var(--font); color: var(--charcoal); min-width: 66px; transition: .15s; }
.hail-scale button[aria-pressed="true"] { border-color: var(--red); background: #fff; box-shadow: var(--shadow); }
.hail-ball { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #d6eef5 45%, #9fc6d3); box-shadow: inset -2px -3px 4px rgba(0, 0, 0, .15); }
.sev { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.sev--0 { background: #2f8f57; } .sev--1 { background: #b88a00; } .sev--2 { background: #d4600f; } .sev--3 { background: var(--red); }
.hail-drop { animation: hailDrop .7s cubic-bezier(.5, 0, .75, 0) both; }
@keyframes hailDrop { 0% { transform: translateY(-60px); opacity: 0 } 70% { transform: translateY(4px); opacity: 1 } 85% { transform: translateY(-6px) } 100% { transform: translateY(0) } }

/* Home specifics --------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.roof-build { position: relative; }
.roof-build svg { width: 100%; height: auto; overflow: visible; }
.roof-build .shingle-row { opacity: 0; transform: translateY(-18px); transition: opacity .5s, transform .5s; }
.roof-build.is-visible .shingle-row { opacity: 1; transform: none; }
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.keyword-cloud a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: .92rem; }
.keyword-cloud a:hover { border-color: var(--red); color: var(--red); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare > div { border-radius: var(--radius); padding: 26px; }
.compare__bad { background: #fff; border: 2px dashed #e6b3b3; }
.compare__good { background: #fff; border: 2px solid var(--green); box-shadow: var(--shadow); }
.compare h3 { display: flex; gap: .5em; align-items: center; }
.compare ul { margin: 0; padding-left: 1.2em; }
.tools-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #1f1f1f; color: #cfcfcf; position: relative; padding-top: 90px; margin-top: 0; }
.footer-roofline { position: absolute; top: -1px; left: 0; right: 0; height: 60px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 10%, 50% 100%, 0 10%); }
.cta-band + .site-footer .footer-roofline { background: var(--teal); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer a { color: #e7e7e7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo img { background: #fff; border-radius: 12px; padding: 8px 12px; width: 190px; margin-bottom: 18px; }
.site-footer__brand p { font-size: .95rem; }
.site-footer__brand .ic { color: var(--red); }
.site-footer__phone { font-size: 1.2rem; font-weight: 700; }
.badge-247 { display: inline-flex; gap: .5em; align-items: center; background: var(--red); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.badge-247 .ic { color: #fff !important; }
.site-footer__title { color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .93rem; }
.site-footer__bottom { border-top: 1px solid #333; padding: 18px 0; font-size: .88rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer__bottom p { margin: 0; }
.mobile-cta { display: none; }

/* Reveal animations ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Sitemap & misc */
.sitemap-cols { columns: 3 260px; column-gap: 40px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 28px; }
.sitemap-cols h2 { font-size: 1.25rem; }
.legal h2 { font-size: 1.4rem; }
.not-found { text-align: center; padding: 60px 0 90px; }
.not-found__code { font-family: var(--display); font-size: clamp(5rem, 16vw, 10rem); color: var(--red); line-height: 1; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav > ul > li > a { padding: 10px 8px; font-size: .9rem; }
  .site-nav { gap: 12px; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 124px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; gap: 16px; }
  .site-nav.is-open { transform: none; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { font-size: 1.1rem; padding: 12px 6px; border-bottom: 1px solid #eee; border-radius: 0; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 6px 0 12px 10px; grid-template-columns: 1fr; border: 0; display: none; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega:hover .mega { transform: none; }
  .home-hero__inner, .intro-grid, .split, .split--wide-left, .tools-teaser { grid-template-columns: 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .tool__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { grid-template-columns: 1fr; }
  .weather-toggle { bottom: 100px; right: 50%; transform: translateX(50%); }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .site-header__inner { min-height: 68px; }
  .brand img { width: 116px; }
  .site-nav { inset: 112px 0 0 0; }
  .section { padding: 60px 0; }
  .home-hero__inner { padding: 50px 20px 150px; }
  .contact-cards, .compare, .pros-cons, .quote-form__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .tool { padding: 20px; }
  .tool .row2 { grid-template-columns: 1fr; }
  .roof-divider { height: 50px; }
  .page-hero { padding: 36px 0 90px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250; box-shadow: 0 -4px 20px rgba(0, 0, 0, .2); }
  .mobile-cta a { display: flex; gap: .5em; align-items: center; justify-content: center; padding: 16px; color: #fff; font-weight: 800; text-decoration: none; }
  .mobile-cta__call { background: var(--green); }
  .mobile-cta__quote { background: var(--red); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .weather { display: none; }
}
