/* =========================================================
 * 頂皜環衛 The Top - Static Site
 * ========================================================= */

:root {
    --brand-blue: #0d62a8;
    --brand-blue-dark: #094a82;
    --brand-grey: #4a4a4a;
    --brand-light: #f5f8fb;
    --accent: #15b76b;
    --line-green: #06c755;
    --text: #222;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 14px;
    --shadow-sm: 0 2px 8px rgba(13, 98, 168, .06);
    --shadow-md: 0 8px 24px rgba(13, 98, 168, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-blue-dark); }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top utility bar ---------- */
.utility-bar {
    background: var(--brand-blue-dark);
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    padding: 8px 0;
}
.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.utility-bar a { color: #fff; }
.utility-bar a:hover { color: #ffe082; }
.utility-bar .badge {
    background: var(--accent);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: 600;
    margin-right: 8px;
    font-size: 12px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.logo img {
    width: clamp(228px, 20.4vw, 300px);
    max-height: 83px;
    height: auto;
    object-fit: contain;
}

nav.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
}
nav.main-nav > ul > li { position: relative; }
nav.main-nav a {
    color: var(--text);
    padding: 10px 12px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    font-size: 15px;
}
nav.main-nav a:hover,
nav.main-nav a.active {
    color: var(--brand-blue);
    background: var(--brand-light);
}
nav.main-nav .caret { font-size: 11px; opacity: .65; margin-left: 2px; }

/* Dropdown menu */
nav.main-nav .dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 8px;
    list-style: none;
    margin: 6px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 60;
}
nav.main-nav .has-dropdown:hover .dropdown,
nav.main-nav .has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
nav.main-nav .dropdown li { margin: 0; }
nav.main-nav .dropdown a {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
nav.main-nav .dropdown a:hover {
    background: var(--brand-light);
    color: var(--brand-blue);
}

.line-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--line-green);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(6, 199, 85, .3);
}
.line-cta:hover { background: #04a548; color: #fff; }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    color: var(--brand-blue);
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 1100px) {
    .logo img { width: 198px; max-height: 58px; }
    nav.main-nav a { padding: 8px 7px; font-size: 13px; }
    .line-cta { padding: 8px 12px; font-size: 13px; }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 76px;
        padding: 9px 0;
    }
    .menu-toggle { display: inline-flex; }
    nav.main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: auto;
        transition: max-height .3s ease;
    }
    nav.main-nav.open { max-height: calc(100vh - 96px); }
    nav.main-nav ul { flex-direction: column; padding: 12px; gap: 0; }
    nav.main-nav a { padding: 12px 14px; border-radius: 6px; }
    nav.main-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        margin: 0 0 8px 12px;
        padding: 0 0 0 8px;
        border-left: 2px solid var(--border);
        border-radius: 0;
    }
    nav.main-nav .dropdown a { font-size: 14px; padding: 8px 12px; }
    .line-cta { display: none; }
    .logo img { width: 180px; max-height: 53px; }
}

@media (max-width: 480px) {
    .utility-bar { font-size: 12px; }
    .utility-bar .container {
        justify-content: center;
        gap: 6px;
    }
    .header-inner {
        min-height: 70px;
        gap: 10px;
        padding: 8px 0;
    }
    .logo img { width: min(171px, calc(100vw - 92px)); max-height: 50px; }
    .menu-toggle {
        width: 42px;
        height: 42px;
    }
}

/* ---------- Hero / Slider ---------- */
.hero {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: #0a2540;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 35, 68, .82) 0%, rgba(8, 35, 68, .35) 65%, rgba(8, 35, 68, .15) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-text {
    color: #fff;
    max-width: 640px;
}
.hero-text .tag {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, .25);
}
.hero-text h1 {
    font-size: 42px;
    margin: 0 0 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 1px;
}
.hero-text p {
    font-size: 18px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .9);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s, background .15s;
}
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-dark); color: #fff; transform: translateY(-1px); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #04a548; color: #fff; transform: translateY(-1px); }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    padding: 0;
}
.hero-dots button.active { background: #fff; width: 30px; border-radius: 6px; }

@media (max-width: 700px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
    .hero { height: 460px; }
    .hero-content .container,
    .hero-text {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .hero-text .tag {
        max-width: 100%;
        line-height: 1.6;
        letter-spacing: 1px;
        white-space: normal;
    }
    .hero-text h1 {
        font-size: 30px;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-all;
        line-break: anywhere;
    }
    .hero-text p { font-size: 16px; }
    .hero-actions {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

/* ---------- Page header (non-home) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff;
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
}
.page-hero h1 {
    font-size: 36px;
    margin: 0 0 8px;
    letter-spacing: 1px;
}
.page-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
}
.breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .8);
}
.breadcrumb a { color: rgba(255, 255, 255, .9); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.tight { padding: 48px 0; }
section.block.alt { background: var(--brand-light); }

.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title .eyebrow {
    color: var(--brand-blue);
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}
.section-title h2 {
    font-size: 30px;
    margin: 0 0 12px;
    color: var(--text);
}
.section-title p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Service cards (home) ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.services-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.services-grid.single-card-grid {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}
@media (max-width: 900px) {
    .services-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-grid.grid-3 { grid-template-columns: 1fr; }
    .services-grid.single-card-grid { grid-template-columns: 1fr; }
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-card .cover {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.service-card .cover .label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(13, 98, 168, .92);
    color: #fff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
}
.service-card .body {
    padding: 26px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}
.service-card p {
    color: var(--muted);
    margin: 0 0 18px;
    flex: 1;
}
.service-card ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}
.service-card ul li {
    padding: 4px 0 4px 22px;
    position: relative;
    color: #333;
    font-size: 14px;
}
.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.service-card .more {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 15px;
}
.service-card .more::after {
    content: " →";
    transition: margin-left .15s;
    display: inline-block;
}
.service-card:hover .more::after { margin-left: 4px; }

@media (max-width: 800px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Sub-service grid ---------- */
.subservice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.subservice {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    transition: border-color .2s, transform .2s;
}
.subservice:hover {
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.subservice .icon {
    width: 56px;
    height: 56px;
    background: var(--brand-light);
    color: var(--brand-blue);
    border-radius: 14px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
}
.subservice h4 { margin: 0 0 8px; font-size: 17px; }
.subservice p { color: var(--muted); margin: 0; font-size: 14px; }

@media (max-width: 800px) {
    .subservice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .subservice-grid { grid-template-columns: 1fr; }
}

/* ---------- Process steps ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step;
}
.process .step {
    background: #fff;
    border-radius: 12px;
    padding: 26px 20px;
    border-top: 4px solid var(--brand-blue);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.process .step::before {
    counter-increment: step;
    content: "0" counter(step);
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    opacity: .25;
    line-height: 1;
}
.process .step h4 { margin: 8px 0 6px; font-size: 17px; }
.process .step p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 800px) {
    .process { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Why us / trust ---------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item {
    text-align: center;
    padding: 12px;
}
.trust-item .num {
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 4px;
}
.trust-item h4 { margin: 0 0 6px; font-size: 16px; }
.trust-item p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 800px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Articles ---------- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.article-card .cover {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.article-card .body { padding: 22px; }
.article-card .meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}
.article-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--text);
}
.article-card p {
    color: var(--muted);
    margin: 0 0 14px;
    font-size: 14px;
}
.article-card .read {
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}
.cta-banner h3 {
    margin: 0 0 6px;
    font-size: 24px;
}
.cta-banner p { margin: 0; color: rgba(255, 255, 255, .85); }

@media (max-width: 700px) {
    .cta-banner { grid-template-columns: 1fr; text-align: center; }
}

/* ---------- About / content ---------- */
.content-block { line-height: 1.85; }
.content-block h2 {
    font-size: 26px;
    margin: 32px 0 12px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-blue);
}
.content-block p { color: #333; margin: 0 0 14px; }
.content-block ul { padding-left: 22px; }
.content-block ul li { margin-bottom: 6px; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}
.contact-info {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}
.contact-info .row {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
}
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .row .icn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}
.contact-info .row strong { display: block; margin-bottom: 2px; }
.contact-info .row .val { color: var(--muted); font-size: 15px; }

.qr-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}
.qr-card img { width: 220px; margin: 0 auto 14px; border-radius: 8px; }
.qr-card h4 { margin: 0 0 6px; }
.qr-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
    background: #0d2138;
    color: rgba(255, 255, 255, .8);
    padding: 56px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 16px;
    letter-spacing: 1px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 4px 0; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: #fff; }
.site-footer .brand-line { color: rgba(255, 255, 255, .65); font-size: 14px; line-height: 1.7; }
.site-footer .brand-line strong { color: #fff; font-size: 18px; display: block; margin-bottom: 8px; letter-spacing: 1px; }
.copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Floating LINE button ---------- */
.float-line {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--line-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(6, 199, 85, .4);
    font-weight: 700;
    z-index: 100;
    animation: pulse 2.4s infinite;
}
.float-line:hover { background: #04a548; color: #fff; transform: scale(1.05); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(6, 199, 85, .45); }
    50% { box-shadow: 0 6px 24px rgba(6, 199, 85, .85); }
}

/* ---------- Rich content (DB-imported HTML) ---------- */
.rich-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.85;
    color: #2a2a2a;
    font-size: 16px;
}
.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
    color: var(--text);
    line-height: 1.35;
    margin: 32px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--brand-blue);
    font-weight: 700;
}
.rich-content h2 { font-size: 24px; }
.rich-content h3 { font-size: 20px; }
.rich-content h4 { font-size: 17px; }
.rich-content p { margin: 0 0 14px; }
.rich-content strong { color: var(--text); }
.rich-content a { color: var(--brand-blue); text-decoration: underline; }
.rich-content a:hover { color: var(--brand-blue-dark); }
.rich-content ul,
.rich-content ol { padding-left: 24px; margin: 0 0 16px; }
.rich-content ul li,
.rich-content ol li { margin-bottom: 6px; }
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px auto;
    display: block;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
}
.rich-content blockquote {
    border-left: 4px solid var(--accent);
    margin: 20px 0;
    padding: 12px 18px;
    background: var(--brand-light);
    color: #444;
    border-radius: 0 8px 8px 0;
}
.rich-content hr {
    border: 0;
    border-top: 1px dashed var(--border);
    margin: 28px 0;
}
.rich-content table.rich-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.rich-content table.rich-table th,
.rich-content table.rich-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.rich-content table.rich-table th {
    background: var(--brand-light);
    color: var(--brand-blue-dark);
    font-weight: 700;
}
.rich-content table.rich-table tr:nth-child(even) td { background: #fafbfc; }

/* Article body (news article) */
.article-body img + img { margin-top: 8px; }
.article-back { margin-top: 32px; text-align: center; }

/* ---------- Embed responsive (YouTube etc.) ---------- */
.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 18px 0;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}
.embed-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Sibling services bar ---------- */
.siblings-bar {
    background: var(--brand-light);
    padding: 28px 0;
    margin-top: -24px;
    border-top: 1px solid var(--border);
}
.siblings-bar h4 {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--brand-blue);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.siblings-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sibling-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: border-color .15s, transform .15s, color .15s;
}
.sibling-card:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-1px);
}
.sibling-card .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-blue);
}
.sibling-card .arrow { color: var(--brand-blue); margin-left: 4px; }

/* ---------- Lightbox overlay ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 35, .92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 95vw;
    max-height: 92vh;
    border-radius: 8px;
    box-shadow: 0 12px 50px rgba(0, 0, 0, .6);
    cursor: default;
}
.lightbox .close {
    position: absolute;
    top: 18px; right: 22px;
    color: #fff;
    font-size: 32px;
    background: rgba(255,255,255,.1);
    border: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}

/* helpers */
.text-center { text-align: center; }
.mt40 { margin-top: 40px; }

/* =========================================================
 * Homepage: Marketing & SEO version
 * ========================================================= */

/* ---------- Promo bar (urgency) ---------- */
.promo-bar {
    background: linear-gradient(90deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.promo-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.promo-bar .promo-pulse {
    color: #ffeb3b;
    animation: pulse-dot 1.4s infinite;
    font-size: 10px;
}
@keyframes pulse-dot {
    0%, 100% { opacity: .3; }
    50% { opacity: 1; }
}
.promo-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}
.promo-bar a:hover { color: #ffeb3b; }
@media (max-width: 700px) {
    .promo-bar { font-size: 13px; padding: 8px 0; }
}

/* ---------- Hero (pro version) ---------- */
.hero-pro { height: 640px; }
.hero-pro .hero-text { max-width: 720px; }
.hero-pro .hero-text h1 {
    font-size: 46px;
    line-height: 1.2;
    letter-spacing: 0;
}
.hero-pro .hero-accent {
    display: inline-block;
    margin-top: 8px;
    color: #ffe082;
    font-size: 30px;
}
.hero-pro .hero-sub {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 26px;
}
.hero-pro .hero-sub strong { color: #ffe082; font-weight: 700; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; }
.hero-trust {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
}
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
@media (max-width: 700px) {
    .hero-pro { height: auto; min-height: 640px; }
    .hero-pro .hero-text { width: 100%; max-width: 100%; min-width: 0; }
    .hero-pro .hero-text h1 {
        font-size: 26px;
        line-height: 1.28;
        overflow-wrap: anywhere;
        word-break: break-all;
        line-break: anywhere;
    }
    .hero-pro .hero-accent {
        font-size: 20px;
        overflow-wrap: anywhere;
        word-break: break-all;
        line-break: anywhere;
    }
    .hero-pro .hero-sub { font-size: 15px; }
    .btn-lg { padding: 15px 20px; font-size: 15px; }
    .hero-trust {
        gap: 8px 12px;
        font-size: 13px;
    }
}

/* ---------- Stats strip ---------- */
.stats-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    margin-top: -1px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
}
.stat-num {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    letter-spacing: -1px;
}
.stat-num span {
    font-size: 22px;
    color: var(--accent);
    margin-left: 2px;
}
.stat-lbl {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 1px;
}
@media (max-width: 800px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
    .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
    .stat-num { font-size: 30px; }
}
@media (max-width: 600px) {
    .stats-strip { padding: 24px 0; }
    .stats-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }
    .stat { min-width: 0; }
    .stat-num { font-size: 30px; }
    .stat-lbl { font-size: 12px; }
    .stat:last-child {
        grid-column: 1 / -1;
        max-width: 160px;
        margin: 0 auto;
    }
}

/* ---------- Pain grid ---------- */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pain-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: transform .15s, box-shadow .15s, border-color .15s;
    border-top: 4px solid #c0392b;
}
.pain-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--brand-blue);
}
.pain-icon {
    font-size: 32px;
    margin-bottom: 10px;
}
.pain-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--text);
    line-height: 1.45;
}
.pain-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}
@media (max-width: 900px) {
    .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pain-grid { grid-template-columns: 1fr; }
}
.muted-line {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 15px;
}
.muted-line strong { color: #c0392b; }
.mt32 { margin-top: 32px; }

/* ---------- Reason / why us ---------- */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.reason-item {
    background: #fff;
    padding: 30px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}
.reason-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    opacity: .15;
    letter-spacing: 0;
}
.reason-item h3 {
    margin: 0 0 10px;
    font-size: 19px;
    color: var(--text);
    padding-right: 50px;
}
.reason-item p {
    color: var(--muted);
    margin: 0;
    line-height: 1.8;
}
@media (max-width: 800px) {
    .reason-grid { grid-template-columns: 1fr; }
}

/* ---------- Service card tags ---------- */
.card-tags {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.card-tags li {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-blue-dark);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- Service area pills ---------- */
.area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.area-pill {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}
.area-pill:last-child {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(21, 183, 107, 0.06);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-list details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: box-shadow .15s;
}
.faq-list details[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--brand-blue);
}
.faq-list summary {
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    list-style: none;
    position: relative;
    padding-right: 50px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--brand-blue);
    transition: transform .2s;
}
.faq-list details[open] summary::after {
    content: "−";
}
.faq-list details > div {
    padding: 0 24px 22px;
    color: #444;
    line-height: 1.85;
    font-size: 15px;
}
.faq-list strong { color: var(--brand-blue-dark); }

/* ---------- Final CTA section ---------- */
.cta-final {
    background: linear-gradient(135deg, #0d2138 0%, #094a82 50%, #0d62a8 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: "";
    position: absolute;
    right: -160px;
    top: -160px;
    width: 480px;
    height: 480px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
}
.cta-final::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    background: rgba(21, 183, 107, .08);
    border-radius: 50%;
}
.cta-final-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cta-final .eyebrow-light {
    display: inline-block;
    color: #ffe082;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-final h2 {
    font-size: 32px;
    margin: 0 0 14px;
    line-height: 1.3;
    letter-spacing: 1px;
}
.cta-final p {
    font-size: 17px;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 22px;
}
.cta-final p strong { color: #ffe082; }
.cta-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}
.cta-checks li {
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
}
.cta-final-qr {
    background: #fff;
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
}
.cta-final-qr img {
    width: 100%;
    border-radius: 8px;
}
.cta-final-qr p {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0 0;
}
@media (max-width: 800px) {
    .cta-final { padding: 60px 0; }
    .cta-final-inner { grid-template-columns: 1fr; gap: 30px; }
    .cta-final h2 { font-size: 24px; }
    .cta-checks { grid-template-columns: 1fr; }
    .cta-final-qr { max-width: 240px; margin: 0 auto; }
}

/* =========================================================
 * Sub-page upgrades: benefits, intro, TOC, mid-CTA, typography
 * ========================================================= */

/* ---------- Benefits strip (4 small icon cards) ---------- */
.benefits-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 0;
}
.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-light) 0%, #e3eef9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid var(--border);
}
.benefit-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.5; }
.benefit-text strong {
    color: var(--brand-blue-dark);
    font-size: 15px;
    font-weight: 700;
}
.benefit-text span { color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

/* ---------- Pain → Solution intro card ---------- */
.intro-card {
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff 0%, var(--brand-light) 100%);
    border: 1px solid var(--border);
    border-left: 6px solid var(--brand-blue);
    border-radius: var(--radius);
    padding: 36px 38px;
    box-shadow: var(--shadow-sm);
}
.intro-eyebrow {
    color: var(--brand-blue);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.intro-h {
    font-size: 26px;
    margin: 0 0 14px;
    line-height: 1.4;
    color: var(--text);
    border: 0;
    padding: 0;
}
.intro-p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 22px;
}
.intro-p strong {
    color: var(--brand-blue-dark);
    background: linear-gradient(180deg, transparent 60%, rgba(255, 224, 130, .55) 60%);
    padding: 0 2px;
    font-weight: 700;
}
@media (max-width: 700px) {
    .intro-card { padding: 28px 22px; }
    .intro-h { font-size: 22px; }
    .intro-p { font-size: 15px; line-height: 1.85; }
}

/* ---------- TOC chips ---------- */
.toc-wrapper {
    background: var(--brand-light);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 0 0 36px;
    border: 1px solid var(--border);
}
.toc-label {
    font-size: 13px;
    color: var(--brand-blue);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.toc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.toc-chip {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: all .15s;
    text-decoration: none;
}
.toc-chip:hover {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    transform: translateY(-1px);
}

/* ---------- Mid-content CTA ---------- */
.mid-cta {
    max-width: 900px;
    margin: 30px auto 0;
}
.mid-cta-inner {
    background: linear-gradient(135deg, #094a82 0%, #0d62a8 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    box-shadow: 0 8px 22px rgba(13, 98, 168, .2);
}
.mid-cta-icon {
    font-size: 32px;
    line-height: 1;
}
.mid-cta strong {
    display: block;
    font-size: 17px;
    color: #fff;
    margin-bottom: 4px;
}
.mid-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
}
@media (max-width: 700px) {
    .mid-cta-inner { grid-template-columns: 1fr; text-align: center; }
    .mid-cta-icon { margin: 0 auto; }
}

/* ---------- Rich content typography upgrades ---------- */
.rich-content {
    font-size: 17px;
    line-height: 1.95;
    letter-spacing: 0.02em;
}
.rich-content > p:first-of-type::first-letter,
.rich-content article > p:first-of-type::first-letter {
    /* Keep simple — no drop cap to avoid Chinese rendering issues */
}
.rich-content h2 {
    font-size: 25px;
    margin: 44px 0 18px;
    padding: 6px 0 6px 18px;
    border-left: 5px solid var(--brand-blue);
    background: linear-gradient(90deg, var(--brand-light) 0%, transparent 70%);
    border-radius: 0 8px 8px 0;
}
.rich-content h2:first-child { margin-top: 0; }
.rich-content h3 {
    font-size: 20px;
    margin: 32px 0 12px;
    color: var(--brand-blue-dark);
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}
.rich-content h4 {
    font-size: 17px;
    margin: 24px 0 10px;
    border-left: 0;
    padding-left: 0;
    color: var(--text);
}
.rich-content p { margin: 0 0 18px; }
.rich-content ul, .rich-content ol { padding-left: 26px; margin: 0 0 20px; }
.rich-content ul li, .rich-content ol li { margin-bottom: 8px; }
.rich-content ul li::marker { color: var(--accent); }
.rich-content img {
    margin: 22px auto;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(13, 98, 168, .12);
    transition: transform .2s, box-shadow .2s;
}
.rich-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 98, 168, .18);
}
.rich-content a {
    color: var(--brand-blue);
    text-decoration: none;
    border-bottom: 1px dashed var(--brand-blue);
    transition: background .15s, border-color .15s;
}
.rich-content a:hover {
    background: var(--brand-light);
    border-bottom-color: transparent;
    color: var(--brand-blue-dark);
}

/* Smooth-scroll padding for anchor jumps so sticky header doesn't cover h2 */
.rich-content h2[id] {
    scroll-margin-top: 100px;
}

/* ---------- Page hero (sub-page) refinement ---------- */
.page-hero h1 {
    font-size: 40px;
    line-height: 1.25;
}
.page-hero p {
    font-size: 17px;
    margin-top: 8px;
    line-height: 1.7;
    max-width: 760px;
}
@media (max-width: 700px) {
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 15px; }
}

/* ---------- Update FAQ list with subtle hover ---------- */
.faq-list summary:hover {
    color: var(--brand-blue);
}

/* =========================================================
 * Termite landing page (paid-traffic)
 * ========================================================= */

/* ---------- Termite Hero ---------- */
.termite-hero {
    position: relative;
    min-height: 620px;
    background-size: cover;
    background-position: center;
    background-color: #1a0a05;
    color: #fff;
    overflow: hidden;
    padding: 80px 0 70px;
    display: flex;
    align-items: center;
}
.termite-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
                rgba(20, 6, 0, .92) 0%,
                rgba(40, 14, 4, .82) 40%,
                rgba(70, 30, 8, .55) 75%,
                rgba(120, 50, 10, .25) 100%);
    z-index: 1;
}
.termite-hero .container { position: relative; z-index: 2; }
.termite-hero-text { max-width: 720px; }
.termite-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 87, 34, .92);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(255, 87, 34, .4);
}
.dot-pulse {
    width: 8px;
    height: 8px;
    background: #ffeb3b;
    border-radius: 50%;
    animation: pulse-dot 1.4s infinite;
}
.termite-hero h1 {
    font-size: 42px;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
}
.termite-hero h1 .hl {
    color: #ffeb3b;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 87, 34, .55) 60%);
    padding: 0 4px;
}
.termite-hero h1 strong { color: #ff5722; }
.termite-hero p {
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 28px;
}
.termite-hero p strong { color: #ffeb3b; }
.termite-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.termite-hero-trust {
    display: flex;
    gap: 8px 22px;
    flex-wrap: wrap;
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}
@media (max-width: 760px) {
    .termite-hero { min-height: 540px; padding: 60px 0; }
    .termite-hero h1 { font-size: 26px; }
    .termite-hero p { font-size: 15px; }
}

/* ---------- Season bar ---------- */
.season-bar {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-bottom: 2px solid #ffc107;
    padding: 28px 0;
}
.season-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}
.season-label { font-weight: 700; color: #b8530b; font-size: 15px; white-space: nowrap; }
.season-track { position: relative; height: 36px; }
.season-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 12px;
    background: linear-gradient(90deg, #4caf50 0%, #ffc107 35%, #ff5722 50%, #ff5722 60%, #ffc107 70%, #4caf50 100%);
    border-radius: 999px;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15);
}
.season-months {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    font-weight: 600;
}
.season-months .hi { color: #b8530b; font-weight: 800; }
.season-months .peak {
    color: #d32f2f;
    font-size: 13px;
    transform: scale(1.3);
}
.season-tag {
    background: #d32f2f;
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(211, 47, 47, .3);
    white-space: nowrap;
    animation: pulse-bg 2s infinite;
}
@keyframes pulse-bg {
    0%, 100% { box-shadow: 0 4px 10px rgba(211, 47, 47, .3); }
    50% { box-shadow: 0 4px 18px rgba(211, 47, 47, .65); }
}
.season-note {
    margin: 14px 0 0;
    font-size: 14px;
    color: #5d3a0a;
    text-align: center;
}
.season-note strong { color: #d32f2f; }
@media (max-width: 700px) {
    .season-row { grid-template-columns: 1fr; }
    .season-tag { justify-self: flex-end; }
}

/* ---------- Warning grid (5 signs) ---------- */
.warning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.warning-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}
.warning-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.warning-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    background-image: linear-gradient(135deg, #d7ccc8 0%, #a1887f 100%);
}
.warning-num {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(211, 47, 47, .92);
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.warning-card h3 {
    margin: 18px 22px 8px;
    font-size: 18px;
    color: var(--text);
    line-height: 1.4;
}
.warning-card p {
    margin: 0 22px 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.warning-card p strong { color: #d32f2f; }
.warning-card.warning-cta {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    border: 0;
}
.warning-cta-icon { font-size: 48px; margin-bottom: 8px; }
.warning-cta h3 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.warning-cta p { color: rgba(255, 255, 255, .9); margin: 0 0 20px; }
.warning-cta strong { color: #ffeb3b; }
.warning-cta .btn-line { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
@media (max-width: 900px) {
    .warning-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .warning-grid { grid-template-columns: 1fr; }
}

/* ---------- Termite vs Ant compare ---------- */
.compare-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.compare-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    background: #f5f5f5;
}
.compare-points { display: flex; flex-direction: column; gap: 18px; }
.compare-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    line-height: 1.75;
}
.compare-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: var(--brand-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.compare-row strong { color: var(--brand-blue-dark); margin-right: 8px; }
.compare-row u { text-decoration: none; background: linear-gradient(180deg, transparent 60%, rgba(255, 224, 130, .6) 60%); padding: 0 2px; }
.compare-tip {
    background: var(--brand-light);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--brand-blue-dark);
    margin-top: 10px;
}
.compare-tip strong { color: var(--brand-blue-dark); }
@media (max-width: 800px) {
    .compare-wrap { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- Damage 4 stages ---------- */
.damage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.damage-stage {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 220px 1fr;
}
.damage-img {
    height: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #efebe9;
}
.damage-info { padding: 24px 24px 26px; }
.damage-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.stage-1 .damage-tag { background: #e8f5e9; color: #2e7d32; }
.stage-2 .damage-tag { background: #fff8e1; color: #f57c00; }
.stage-3 .damage-tag { background: #fff3e0; color: #e65100; }
.stage-4 .damage-tag { background: #ffebee; color: #c62828; }
.damage-info h3 { margin: 4px 0 10px; font-size: 19px; }
.damage-info p { color: var(--muted); margin: 0 0 14px; line-height: 1.7; font-size: 14px; }
.damage-cost {
    background: var(--brand-light);
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--brand-blue-dark);
    font-size: 14px;
    border-left: 3px solid var(--brand-blue);
}
.damage-cost strong { color: var(--brand-blue-dark); font-size: 16px; }
@media (max-width: 800px) {
    .damage-grid { grid-template-columns: 1fr; }
    .damage-stage { grid-template-columns: 1fr; }
    .damage-img { min-height: 180px; }
}

/* ---------- Process timeline ---------- */
.process-line {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
    counter-reset: pstep;
}
.process-step {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.process-img {
    height: 100%;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--brand-light);
}
.process-info { padding: 22px 26px 24px; }
.step-num {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.process-info h4 { margin: 0 0 8px; font-size: 19px; }
.process-info p { color: var(--muted); margin: 0; line-height: 1.75; }
@media (max-width: 700px) {
    .process-step { grid-template-columns: 1fr; }
}

/* ---------- Before / After ---------- */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.ba-item {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ba-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    position: relative;
}
.ba-img.before { background-image: linear-gradient(135deg, #6d4c41 0%, #3e2723 100%); }
.ba-img.after { background-image: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%); }
.ba-img span {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.ba-img.after span { background: rgba(46, 125, 50, .9); }
.ba-text { padding: 18px 22px 22px; }
.ba-text h4 { margin: 0 0 6px; font-size: 16px; }
.ba-text p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 900px) {
    .ba-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

/* ---------- Warranty plans ---------- */
.warranty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
.warranty-card {
    background: #fff;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}
.warranty-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.warranty-card.featured {
    border-color: var(--brand-blue);
    background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%);
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(13, 98, 168, .15);
}
.warranty-card.premium {
    border-color: var(--accent);
    background: linear-gradient(180deg, #fff 0%, #e8f5e9 100%);
}
.warranty-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}
.warranty-name {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}
.warranty-period {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-blue);
    margin: 10px 0 18px;
}
.warranty-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.warranty-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
    color: var(--text);
}
.warranty-features li:last-child { border-bottom: 0; }
.warranty-fit {
    background: var(--brand-light);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--brand-blue-dark);
    font-weight: 600;
}
@media (max-width: 900px) {
    .warranty-grid { grid-template-columns: 1fr; }
    .warranty-card.featured { transform: none; }
}

/* ---------- Price transparency ---------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}
.price-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 26px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card.highlighted {
    background: linear-gradient(180deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
    color: #fff;
}
.price-card.highlighted .price-icon { filter: brightness(1.2); }
.price-icon { font-size: 40px; margin-bottom: 6px; }
.price-card h4 { margin: 0 0 10px; font-size: 17px; }
.price-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-blue);
    margin: 6px 0 10px;
    line-height: 1;
}
.price-card.highlighted .price-num { color: #ffe082; }
.price-num span { font-size: 14px; color: var(--muted); margin-left: 4px; font-weight: 600; }
.price-card.highlighted .price-num span { color: rgba(255, 255, 255, .8); }
.price-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.price-card.highlighted p { color: rgba(255, 255, 255, .9); }
.price-note {
    text-align: center;
    margin: 28px auto 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 14px;
    background: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px dashed var(--border);
}
.price-note strong { color: var(--brand-blue-dark); }
@media (max-width: 800px) {
    .price-grid { grid-template-columns: 1fr; }
}

/* ---------- Termite final CTA ---------- */
.cta-termite {
    background: linear-gradient(135deg, #6d2c0c 0%, #b8530b 50%, #d32f2f 100%);
}
.cta-termite::before { background: rgba(255, 235, 59, .08); }
.cta-termite::after { background: rgba(255, 87, 34, .12); }

/* =========================================================
 * Before/After feature (single split image) + extras gallery
 * ========================================================= */
.ba-feature {
    position: relative;
    margin: 0 auto;
    max-width: 1080px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(13, 33, 56, 0.18);
    background: #1a1a1a;
}
.ba-feature img {
    width: 100%;
    height: auto;
    display: block;
}
.ba-feat-label {
    position: absolute;
    top: 18px;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}
.ba-feat-before {
    left: 18px;
    background: rgba(198, 40, 40, .92);
    box-shadow: 0 4px 12px rgba(198, 40, 40, .4);
}
.ba-feat-after {
    right: 18px;
    background: rgba(46, 125, 50, .92);
    box-shadow: 0 4px 12px rgba(46, 125, 50, .4);
}
.ba-feat-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 0 12px rgba(0, 0, 0, .4);
    transform: translateX(-50%);
    pointer-events: none;
}
.ba-feature-caption {
    max-width: 1080px;
    margin: 22px auto 0;
    background: var(--brand-light);
    border-left: 4px solid var(--brand-blue);
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text);
}
.ba-feature-caption div { padding: 2px 0; }
.ba-feature-caption strong {
    color: var(--brand-blue-dark);
    margin-right: 4px;
    display: inline-block;
    min-width: 60px;
}

@media (max-width: 700px) {
    .ba-feat-label {
        top: 10px;
        padding: 5px 12px;
        font-size: 12px;
        letter-spacing: 1px;
    }
    .ba-feat-before { left: 10px; }
    .ba-feat-after { right: 10px; }
}

/* ---------- Extras gallery ---------- */
.ba-extras-block {
    max-width: 1080px;
    margin: 56px auto 0;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.ba-extras-title {
    text-align: center;
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--text);
    border: 0;
    padding: 0;
}
.ba-extras-sub {
    text-align: center;
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 14px;
}
.ba-extras {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ba-extra {
    margin: 0;
    background: var(--brand-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.ba-extra:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ba-extra img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.ba-extra figcaption {
    padding: 14px 16px 16px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    font-weight: 600;
}
.ba-extra figcaption span {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
@media (max-width: 800px) {
    .ba-extras { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* ---------- Price card: marketing label variant (no numbers) ---------- */
.price-tag {
    display: inline-block;
    margin: 6px 0 12px;
    padding: 8px 22px;
    border-radius: 999px;
    background: var(--brand-light);
    color: var(--brand-blue-dark);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}
.price-card.highlighted .price-tag {
    background: rgba(255, 224, 130, .25);
    color: #ffe082;
    box-shadow: inset 0 0 0 1px rgba(255, 224, 130, .4);
}
.price-card { position: relative; }
.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 3px 8px rgba(21, 183, 107, .35);
}
