/* ═══════════════════════════════════════════════════
   Roofers Pasadena CA · Homepage Sections
   ═══════════════════════════════════════════════════ */

/* ── Hero Section ── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 40%, #12181A 100%);
    padding: 9rem 0 5rem;
}

@media (max-width: 767px) {
    .hero {
        padding: 7.5rem 0 3rem;
    }
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
}

.hero-glow-1 {
    width: 420px;
    height: 420px;
    top: -10%;
    left: 8%;
    background: radial-gradient(circle, rgba(192, 118, 74, .18), transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 350px;
    height: 350px;
    bottom: -5%;
    right: 5%;
    background: radial-gradient(circle, rgba(212, 162, 89, .14), transparent 70%);
    animation: glowPulse 10s ease-in-out 3s infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-text {
    position: relative;
    z-index: 10;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: rgba(192, 118, 74, .12);
    border: 1px solid rgba(192, 118, 74, .3);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cta);
    box-shadow: 0 0 10px var(--cta);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hero H1 */
.hero h1 {
    color: #fff;
    font-size: clamp(1.85rem, 4.8vw, 3.15rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.hero h1 mark {
    background: linear-gradient(135deg, #D4956A 0%, var(--cta) 50%, #C0764A 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-color: transparent;
}

.hero-desc {
    color: rgba(255, 255, 255, .72);
    font-size: clamp(0.9rem, 1.7vw, 1.04rem);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 620px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 767px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta .btn {
        justify-content: center;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .hero-img-wrap img {
        min-height: 260px;
    }
}

/* Floating Badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    z-index: 5;
    animation: floatBadge 4s ease-in-out infinite;
}

.fb-1 { top: 12%; left: -8%; animation-delay: 0s; }
.fb-2 { bottom: 20%; right: -6%; animation-delay: 1.5s; }
.fb-3 { bottom: 5%; left: 5%; animation-delay: 3s; }

@media (max-width: 1023px) {
    .fb-1 { left: 3%; top: 8%; }
    .fb-2 { right: 3%; }
    .fb-3 { left: 3%; }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.float-badge-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
}

.float-badge-icon.bg-primary { background: var(--primary); }
.float-badge-icon.bg-accent { background: var(--accent); }
.float-badge-icon.bg-success { background: #6B8E5A; }
.float-badge-icon.bg-cta { background: var(--cta); }

.float-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.float-badge-text span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ── Section Shared ── */
.hp-section {
    padding: 5rem 0;
}

.hp-section-alt {
    padding: 5rem 0;
    background: var(--bg-alt);
}

@media (max-width: 767px) {
    .hp-section,
    .hp-section-alt {
        padding: 3.5rem 0;
    }
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--accent-soft);
    border: 1px solid rgba(192, 118, 74, .15);
    border-radius: 9999px;
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}

/* ── Why Choose Us Cards ── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cta));
    opacity: 0;
    transition: opacity 0.3s;
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 118, 74, .2);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid rgba(192, 118, 74, .12);
    border-radius: 0.75rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.why-card-icon svg {
    width: 22px;
    height: 22px;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-family: var(--font-body);
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── Services Grid ── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-xs);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 118, 74, .25);
}

.service-card-img {
    position: relative;
    width: 100%;
    height: 190px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(192, 118, 74, .12) 100%);
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 36, 38, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.625rem;
    color: var(--accent);
    box-shadow: var(--shadow-xs);
    z-index: 2;
}

.service-card-badge svg {
    width: 20px;
    height: 20px;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.35rem 1.5rem 1.5rem;
}

.service-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.service-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-family: var(--font-body);
}

.service-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.service-card-title-link:hover {
    color: var(--accent-dark);
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: none;
    transition: all 0.25s ease;
}

.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.service-card-link:hover {
    color: var(--primary);
}

.service-card-link:hover svg {
    transform: translateX(4px);
}

/* ── Systems Grid ── */
.systems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .systems-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .systems-grid { grid-template-columns: repeat(3, 1fr); }
}

.system-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
}

.system-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 118, 74, .15);
}

.system-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 0.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.system-card-icon svg {
    width: 18px;
    height: 18px;
}

.system-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
}

.system-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ── Process Timeline ── */
.process-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--cta), rgba(192, 118, 74, .15));
    border-radius: 3px;
}

.process-step {
    position: relative;
    margin-bottom: 2.5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-dot {
    position: absolute;
    left: -3rem;
    top: 0.25rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(192, 118, 74, .25);
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
    font-family: var(--font-body);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ── Portfolio / Recent Work ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.portfolio-card-img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-alt), rgba(192, 118, 74, .08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card-body {
    padding: 1.25rem;
}

.portfolio-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
}

.portfolio-card-body p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ── Image + Text Split ── */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .split-section { grid-template-columns: 1fr 1fr; }
    .split-section.reverse { direction: rtl; }
    .split-section.reverse > * { direction: ltr; }
}

.split-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 300px;
}

.split-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.split-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.split-content p:last-child {
    margin-bottom: 0;
}

/* ── Text Block ── */
.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block.text-center {
    text-align: center;
}

.text-block.text-center .section-eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.text-block h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.text-block h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-body);
}

.text-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.text-block ul {
    margin: 0.75rem 0 1rem 1.25rem;
    list-style: disc;
}

/* ── Materials Grid ── */
.materials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.material-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 118, 74, 0.25);
}

.material-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-soft), rgba(212, 162, 89, 0.08));
    border: 1px solid rgba(192, 118, 74, 0.15);
    border-radius: 0.75rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.material-card-icon svg {
    width: 24px;
    height: 24px;
}

.material-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    font-family: var(--font-body);
}

.material-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.65;
}

.materials-notice {
    background: linear-gradient(135deg, var(--card), var(--bg-alt));
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 1rem;
    padding: 1.25rem 1.75rem;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.materials-notice p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* ── Map Wrapper ── */
.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--card);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.text-block ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.35rem;
}

/* ── Sign Cards (Warning Signs) ── */
.sign-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .sign-grid { grid-template-columns: repeat(2, 1fr); }
}

.sign-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
}

.sign-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(180, 70, 50, .15);
}

.sign-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(180, 70, 50, .1);
    color: #B44632;
    border-radius: 50%;
    flex-shrink: 0;
}

.sign-icon svg {
    width: 20px;
    height: 20px;
}

.sign-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
}

.sign-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── Area Cards (Service Areas) ── */
.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(3, 1fr); }
}

.area-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.area-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 118, 74, .2);
}

.area-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 0.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.area-card-icon svg {
    width: 18px;
    height: 18px;
}

.area-card h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
}

.area-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ── Resource Cards ── */
.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .resources-grid { grid-template-columns: repeat(3, 1fr); }
}

.resource-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 118, 74, .2);
}

.resource-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid rgba(192, 118, 74, .12);
    border-radius: 0.75rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.resource-card-icon svg {
    width: 22px;
    height: 22px;
}

.resource-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-family: var(--font-body);
}

.resource-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── FAQ Accordion ── */
.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

@media (min-width: 768px) {
    .faq-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0;
    overflow: hidden;
    background: var(--card);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(192, 118, 74, .2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    gap: 1rem;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-dark);
}

.faq-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-alt);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-chevron svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.active .faq-chevron {
    background: var(--accent-soft);
}

.faq-item.active .faq-chevron svg {
    transform: rotate(180deg);
    stroke: var(--accent-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
}

.faq-answer-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ── CTA Block ── */
.cta-block {
    position: relative;
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 60%, #12181A 100%);
    border-radius: 1.5rem;
    overflow: hidden;
}

.cta-block .cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 118, 74, .2), transparent 70%);
    border-radius: 50%;
    top: -20%;
    right: -10%;
    filter: blur(60px);
    pointer-events: none;
}

.cta-block h2 {
    position: relative;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-block p {
    position: relative;
    color: rgba(255, 255, 255, .7);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ── ZIP Code Pills ── */
.zip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.zip-pill {
    display: inline-block;
    padding: 0.4rem 0.875rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.zip-pill:hover {
    background: var(--accent-soft);
    border-color: rgba(192, 118, 74, .2);
    color: var(--accent-dark);
}

/* ── Cost Section Split Grid ── */
.cost-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .cost-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.cost-info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.cost-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.cost-info p:last-child {
    margin-bottom: 0;
}

.cost-table-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cost-table-wrap .cost-table {
    margin-top: 0;
    margin-bottom: 1rem;
}

.cost-footnote {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Cost Table ── */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.cost-table th,
.cost-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.875rem;
}

.cost-table thead th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

.cost-table tbody tr {
    border-bottom: 1px solid var(--border);
}

.cost-table tbody tr:hover {
    background: var(--accent-soft);
}

.cost-table tbody td {
    color: var(--text-muted);
}

.cost-table tbody td:first-child {
    font-weight: 600;
    color: var(--text);
}

/* ── Relevance Card ── */
.relevance-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 1.25rem;
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.relevance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 118, 74, .15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.relevance-card h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 1rem;
    position: relative;
}

.relevance-card p {
    color: rgba(255, 255, 255, .75);
    font-size: 0.95rem;
    line-height: 1.75;
    position: relative;
    margin-bottom: 1rem;
}

.relevance-card p:last-child {
    margin-bottom: 0;
}

/* ── Internal Links Bar ── */
.internal-links-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 1.5rem;
    background: var(--accent-soft);
    border: 1px solid rgba(192, 118, 74, .08);
    border-radius: var(--radius);
}

.internal-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    background: var(--card);
    border: 1px solid rgba(45, 52, 54, .1);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-dark);
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.internal-link-pill:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 118, 74, .2);
}

.internal-link-pill svg {
    width: 14px;
    height: 14px;
}

/* ── Equipment Grid ── */
.equip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .equip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .equip-grid { grid-template-columns: repeat(3, 1fr); }
}

.equip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.equip-item:hover {
    border-color: rgba(192, 118, 74, .2);
    background: var(--accent-soft);
}

.equip-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ── Print ── */
@media print {
    .hero,
    .cta-block,
    .float-badge,
    .internal-links-bar {
        display: none;
    }
}

/* ── Permits & Codes Section ── */
.permits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .permits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.permit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 12px);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
}

.permit-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(192, 118, 74, 0.12);
}

.permit-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.permit-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.permit-card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.permit-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.permit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.permit-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.permits-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-alt);
    border: 1px solid rgba(192, 118, 74, 0.25);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius, 8px);
    padding: 1.25rem 1.5rem;
}

.permits-notice-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.permits-notice-icon svg {
    width: 24px;
    height: 24px;
}

.permits-notice-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

.permits-notice-text strong {
    color: var(--primary);
}
