/*
Theme Name: Allstar
Theme URI: https://allstarroofingandrepair.com
Description: Allstar Roofing & Repair custom theme — Industrial Authority brand system.
Author: Allstar Roofing & Repair
Version: 0.3.2
Text Domain: allstar
*/

/* ==========================================================================
   BRAND TOKENS — per Brand System Amendment v1.0
   ========================================================================== */
:root {
    --navy: #111111;
    --navy-mid: #1F1F1F;
    --orange: #E30613;
    --orange-light: #FF1F2E;
    --concrete: #2C2C2C;
    --white: #FFFFFF;
    --cream: #F7F3EE;
    --warm-gray: #EDE8E1;
    --text: #1A1A1A;
    --muted: #5A6470;

    --radius-button: 2px;
    --radius-card: 6px;

    --shadow-card: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-float: 0 24px 64px rgba(0,0,0,0.18);

    --font-display: "Barlow Condensed", Impact, sans-serif;
    --font-sub: "Barlow", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 0.4em;
    color: var(--navy);
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a { color: var(--orange); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--orange-light); }

ul, ol { padding-left: 1.25rem; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sub);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--orange);
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.6rem;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-button);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 150ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-light); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--orange); }
.btn-white { background: var(--white); color: var(--orange); }
.btn-white:hover { background: var(--cream); color: var(--orange); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.allstar-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.allstar-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1.5rem;
}

.allstar-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.allstar-logo img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
}
.allstar-footer .allstar-logo img { height: 60px; }
@media (max-width: 720px) {
    .allstar-logo img { height: 42px; }
}

.allstar-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.75rem;
}
.allstar-nav-list a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    text-transform: none;
}
.allstar-nav-list a:hover { color: var(--white); }

.allstar-header-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.allstar-header-phone {
    font-family: var(--font-sub);
    font-weight: 700;
    color: var(--orange);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}
.allstar-header-phone:hover { color: var(--orange-light); }

@media (max-width: 960px) {
    .allstar-nav { display: none; }
    .allstar-header-phone { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0, rgba(255,255,255,0.028) 1px, transparent 1px, transparent 22px);
    pointer-events: none;
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
@media (max-width: 960px) {
    .hero .container { grid-template-columns: 1fr; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--orange);
    border-radius: 999px;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--orange);
    margin-bottom: 1.8rem;
}
.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(232, 119, 34, 0.18);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    margin: 0 0 1.3rem;
    letter-spacing: -0.015em;
}
.hero h1 .accent { color: var(--orange); display: block; }

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 0 2.2rem;
}
.hero-sub strong { color: var(--white); }

.hero-cta {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-cta .phone {
    font-family: var(--font-sub);
    font-weight: 700;
    color: var(--orange);
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.75rem;
    max-width: 560px;
}
.hero-proof > div {
    padding: 0 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-proof > div:first-child { padding-left: 0; }
.hero-proof > div:last-child { border-right: none; }
.hero-proof .stat {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--orange);
    margin-bottom: 0.35rem;
}
.hero-proof .label {
    font-family: var(--font-sub);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.65);
    line-height: 1.3;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    background: linear-gradient(145deg, var(--navy-mid), var(--navy));
    border-radius: var(--radius-card);
    border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 30% 20%, rgba(232, 119, 34, 0.15), transparent 45%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 40px);
}
.hero-visual .giant-star {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    color: var(--orange);
    opacity: 0.5;
    filter: drop-shadow(0 0 60px rgba(232, 119, 34, 0.35));
}

.float-card {
    position: absolute;
    background: var(--white);
    color: var(--text);
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-float);
    max-width: 260px;
}
.float-card.gaf { left: -24px; bottom: 32px; }
.float-card.review { right: -24px; top: 32px; }
.float-card .mini-label {
    font-family: var(--font-sub);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 0.35rem;
}
.float-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 0.35rem;
}
.float-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}
.float-card .stars {
    color: var(--orange);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
@media (max-width: 960px) {
    .hero-visual { min-height: 380px; margin-top: 1rem; }
    .float-card.gaf { left: 16px; }
    .float-card.review { right: 16px; }
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background: var(--orange);
    color: var(--white);
    padding: 1.25rem 0;
    overflow-x: auto;
}
.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   USP
   ========================================================================== */
.usp { background: var(--cream); padding: clamp(4rem, 8vw, 7rem) 0; position: relative; overflow: hidden; }
.usp .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
    position: relative;
}
@media (max-width: 960px) { .usp .container { grid-template-columns: 1fr; } }

.usp-big-number {
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(14rem, 26vw, 24rem);
    line-height: 0.8;
    color: var(--warm-gray);
    z-index: 0;
    pointer-events: none;
}

.usp-card {
    position: relative;
    z-index: 1;
    background: var(--navy);
    color: var(--white);
    padding: 2.75rem 2.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.usp-card h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.usp-card p { color: rgba(255,255,255,0.78); font-size: 1rem; margin-bottom: 2rem; }

.usp-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1.5rem;
}
.usp-mini-stats strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--orange);
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.usp-mini-stats span {
    font-family: var(--font-sub);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
}

.usp-points h2 { margin-bottom: 1.5rem; }

.usp-point {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--warm-gray);
}
.usp-point:last-child { border-bottom: none; }
.usp-point .num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--orange);
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.5rem;
}
.usp-point h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
    color: var(--navy);
}
.usp-point p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--white); }
.services-grid .header-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}
.services-grid .header-row h2 { max-width: 600px; margin: 0; }
.services-grid .header-row a { font-family: var(--font-sub); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 860px) { .services-cards { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1100px) { .services-cards { grid-template-columns: repeat(2, 1fr); } }

.service-card {
    background: var(--white);
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-card);
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: var(--text);
    transition: all 200ms ease;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}
.service-card:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
}
.service-card:hover h3 { color: var(--white); }
.service-card:hover .service-icon { color: var(--orange-light); }

.service-card .service-icon { width: 40px; height: 40px; color: var(--orange); margin-bottom: 1rem; }
.service-card h3 {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--navy);
    transition: color 200ms ease;
}
.service-card p {
    flex-grow: 1;
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: inherit;
    opacity: 0.75;
}
.service-card .learn-more {
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { background: var(--orange); color: var(--white); padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-banner .container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 860px) { .cta-banner .container { grid-template-columns: 1fr; } }

.cta-banner h2 { color: var(--white); margin: 0 0 0.5rem; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.05; }
.cta-banner p { margin: 0; font-size: 1.05rem; opacity: 0.95; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-banner-actions { justify-content: flex-start; } }

/* ==========================================================================
   PROCESS (5 steps)
   ========================================================================== */
.process { background: var(--navy); color: var(--white); padding: clamp(4rem, 8vw, 7rem) 0; }
.process h2 { color: var(--white); margin-bottom: 1rem; }
.process-intro { color: rgba(255,255,255,0.55); max-width: 620px; margin-bottom: 3rem; font-size: 1.05rem; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    position: relative;
}
.process-steps::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: rgba(255,255,255,0.15);
    z-index: 0;
}
@media (max-width: 900px) {
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
}

.process-step { position: relative; z-index: 1; text-align: left; }
.process-step .num-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    background: var(--navy);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}
.process-step h4 {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}
.process-step p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews { background: var(--cream); padding: clamp(4rem, 8vw, 7rem) 0; }
.reviews .header-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.reviews .rating-widget { text-align: right; }
.reviews .rating-widget .big {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}
.reviews .rating-widget .stars { color: var(--orange); font-size: 1.2rem; letter-spacing: 0.08em; }
.reviews .rating-widget .count { font-size: 0.85rem; color: var(--muted); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
    background: var(--white);
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-card);
    padding: 1.75rem;
}
.review-card .stars { color: var(--orange); font-size: 1rem; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.review-card blockquote {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
    font-style: italic;
}
.review-card cite {
    font-style: normal;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy);
    display: block;
}
.review-card cite span { display: block; color: var(--muted); font-weight: 500; font-size: 0.78rem; margin-top: 0.15rem; }

/* ==========================================================================
   SERVICE AREAS CHIPS
   ========================================================================== */
.service-areas { background: var(--white); padding: clamp(4rem, 8vw, 7rem) 0; }
.service-areas-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.service-areas-media { position: relative; }
.service-areas-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}
.service-areas-media-tag {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-sub);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-button);
}
.chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}
@media (max-width: 980px) {
    .service-areas-inner { grid-template-columns: 1fr; }
    .service-areas-media { max-width: 560px; }
}
@media (max-width: 560px) { .chip-grid { grid-template-columns: repeat(2, 1fr); } }

.chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-card);
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 200ms ease;
    text-align: center;
}
.chip:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.service-areas-footer { margin-top: 2rem; color: var(--muted); font-size: 0.95rem; }

/* Materials / Roofing Systems */
.materials { background: var(--cream); padding: clamp(4rem, 8vw, 7rem) 0; }
.materials-intro { color: var(--muted); max-width: 640px; margin-top: 1rem; font-size: 1.05rem; }
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.material-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.material-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--navy);
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.material-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.material-media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
    color: rgba(255,255,255,0.85);
}
.material-media-placeholder svg { width: 46px; height: 46px; color: var(--orange); }
.material-media-placeholder .material-name {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.15rem;
    color: var(--white);
}
.material-media-placeholder small {
    font-family: var(--font-sub);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
}
.material-body { padding: 1.5rem; }
.material-body h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.material-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 980px) { .materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .materials-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FINAL FORM SECTION
   ========================================================================== */
.final-cta { background: var(--navy); color: var(--white); padding: clamp(4rem, 8vw, 7rem) 0; }
.final-cta h2 { color: var(--white); }
.final-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 860px) { .final-cta .container { grid-template-columns: 1fr; } }

.lead-form {
    background: var(--white);
    color: var(--text);
    padding: 2.25rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.lead-form h3 {
    color: var(--navy);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.6rem;
    margin: 0 0 1.25rem;
}
.lead-form label {
    display: block;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.lead-form input, .lead-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--warm-gray);
    border-radius: var(--radius-button);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    background: var(--cream);
    color: var(--text);
}
.lead-form input:focus, .lead-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
}
.lead-form textarea { min-height: 90px; resize: vertical; }

.contact-info h3 { color: var(--white); }
.contact-info .contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info .contact-item:last-child { border-bottom: none; }
.contact-info .contact-item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 4px; }
.contact-info .contact-item strong {
    display: block;
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 0.25rem;
}
.contact-info .contact-item p { margin: 0; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   PAGE TEMPLATES
   ========================================================================== */
.page-hero {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0, rgba(255,255,255,0.028) 1px, transparent 1px, transparent 22px);
    pointer-events: none;
}
.page-hero .container { position: relative; max-width: 900px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; }
.page-hero .lede {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin-bottom: 2rem;
}

.page-body { padding: clamp(3rem, 6vw, 5rem) 0; }
.page-body .container { max-width: 820px; }
.page-body h2 { margin-top: 2.5rem; }
.page-body h3 { margin-top: 2rem; font-family: var(--font-sub); font-weight: 600; text-transform: none; }
.page-body p, .page-body li { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.page-body ul li { margin-bottom: 0.5rem; }

.page-body a { border-bottom: 1px solid var(--orange); }
.page-body a:hover { border-bottom-color: var(--orange-light); }

/* ==========================================================================
   3-COLUMN FEATURE CARDS (used by service/landing pages)
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 1.75rem;
}
.feature-card svg { width: 36px; height: 36px; color: var(--orange); margin-bottom: 1rem; }
.feature-card h4 {
    color: var(--navy);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
}
.feature-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.allstar-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 1.5rem;
    font-size: 0.9rem;
}
.allstar-footer h4 {
    font-family: var(--font-sub);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    margin: 0 0 1rem;
}
.allstar-footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}
@media (max-width: 860px) { .allstar-footer .container { grid-template-columns: 1fr 1fr; } }
.allstar-footer a { color: rgba(255,255,255,0.7); }
.allstar-footer a:hover { color: var(--orange); }
.allstar-footer ul { list-style: none; padding: 0; margin: 0; }
.allstar-footer li { margin-bottom: 0.5rem; }

.footer-gaf-card {
    border: 1px solid rgba(255,255,255,0.12);
    padding: 1.25rem;
    border-radius: var(--radius-card);
    background: rgba(255,255,255,0.02);
}
.footer-gaf-card svg { width: 32px; height: 32px; color: var(--orange); margin-bottom: 0.5rem; }
.footer-gaf-card strong {
    display: block;
    color: var(--orange);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.78rem;
    display: flex !important;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    grid-template-columns: 1fr !important;
}

/* ==========================================================================
   FLOATING PHONE BUTTON (mobile)
   ========================================================================== */
.floating-phone {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-float);
    z-index: 200;
}
.floating-phone svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .floating-phone { display: flex; } }

/* ==========================================================================
   ACCORDIONS / FAQ
   ========================================================================== */
.faq-list { margin: 2rem 0; }
.faq-item {
    border-bottom: 1px solid var(--warm-gray);
    padding: 1.25rem 0;
}
.faq-item summary {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    color: var(--orange);
    font-size: 1.6rem;
    font-weight: 700;
    margin-left: 1rem;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ==========================================================================
   UTILITY
   ========================================================================== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.max-640 { max-width: 640px; }
