/* Pest Eradicators - rapid response branding */
:root {
    --blue: #001f5c;
    --blue-bright: #0044cc;
    --red: #b91c1c;
    --red-bright: #dc2626;
    --white: #ffffff;
    --off-white: #f4f6f9;
    --text: #1a1a1a;
    --muted: #4b5563;
    --border: #d1d5db;
    --font: 'Inter', system-ui, sans-serif;
    --max: 1140px;
    --stripe: repeating-linear-gradient(
        90deg,
        var(--blue) 0,
        var(--blue) 20px,
        var(--red) 20px,
        var(--red) 40px
    );
    --stripe-diag: repeating-linear-gradient(
        -45deg,
        var(--blue) 0,
        var(--blue) 14px,
        var(--red) 14px,
        var(--red) 28px
    );
}

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

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

body.no-scroll { overflow: hidden; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

a { color: var(--blue-bright); }
a:hover { color: var(--red); }

/* === Header === */
#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.header-bar {
    background: var(--stripe);
    height: 10px;
}

.header-bar-top { height: 8px; }
.header-bar-bottom { height: 6px; }

@media (min-width: 900px) {
    .header-bar-top { height: 10px; }
    .header-bar-bottom { height: 8px; }
}

/* Group + rapid meta row (on brand blue, no white band) */
.header-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-meta-rapid {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0.35rem;
    align-items: center;
}

/* A [W] Wolcroft Group Company — W is the brand mark */
.wolcroft-group-line {
    display: inline-flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.28rem;
    text-decoration: none;
    line-height: 1.2;
}

.wolcroft-group-line:hover .wg-name {
    color: #fde68a;
}

.wg-prefix,
.wg-name {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

@media (min-width: 900px) {
    .wg-prefix,
    .wg-name { font-size: 0.65rem; }
}

.wg-mark {
    background: var(--white);
    color: #1a1a1a;
    font-weight: 800;
    font-size: 0.68rem;
    line-height: 1;
    padding: 0.12rem 0.38rem;
    border-radius: 3px;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@media (min-width: 900px) {
    .wg-mark { font-size: 0.75rem; padding: 0.14rem 0.42rem; }
}


.rapid-tag {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.28);
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    white-space: nowrap;
}

@media (min-width: 900px) {
    .rapid-tag { font-size: 0.62rem; padding: 0.2rem 0.5rem; }
}

@media (max-width: 380px) {
    .header-meta-rapid .rapid-tag:first-child i { display: none; }
    .header-meta-rapid .rapid-tag:first-child {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }
}

.wg-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11rem;
}

@media (min-width: 400px) {
    .wg-name { max-width: none; }
}

.wolcroft-group-footer {
    margin-top: 1rem;
    padding: 0.5rem 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}

.rapid-tag-red {
    background: var(--red);
    border-color: #7f1d1d;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0;
}

@media (max-width: 899px) {
    .header-inner .logo {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 48%;
    }
}

@media (min-width: 900px) {
    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo phone"
            "nav nav";
        padding: 0.65rem 0;
        gap: 0.5rem 1rem;
        align-items: center;
    }

    .header-inner .logo { grid-area: logo; }
    .header-inner .header-phone-desktop { grid-area: phone; }
    .header-inner .desktop-nav { grid-area: nav; }
}

.logo {
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-img-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid var(--red);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    background: #fff;
    overflow: hidden;
}

@media (min-width: 900px) {
    .logo-img-wrap {
        width: 50px;
        height: 50px;
    }
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

@media (min-width: 900px) {
    .logo-text strong { font-size: 1.15rem; }
}

.logo-tagline {
    font-size: 0.62rem;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
}

@media (min-width: 900px) {
    .header-actions { display: none; }
}

.header-call-mobile {
    flex: 1;
    min-width: 0;
    max-width: 14rem;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.5rem;
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
    font-size: 0.78rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-call-num {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 900px) {
    .header-call-mobile { display: none; }
}

.header-phone {
    text-align: right;
}

.header-phone .label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.header-call-desktop {
    display: inline-block;
    color: var(--white);
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
}

.header-call-desktop:hover {
    color: var(--white);
}

/* Blue / red alarm pulse on call buttons */
@keyframes btn-alarm {
    0%, 100% {
        background-color: var(--red);
        box-shadow: 0 0 0 2px var(--blue-bright), 0 0 10px rgba(185, 28, 28, 0.55);
    }
    50% {
        background-color: var(--blue-bright);
        box-shadow: 0 0 0 2px var(--red), 0 0 14px rgba(0, 68, 204, 0.55);
    }
}

.btn-alarm {
    animation: btn-alarm 1.15s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .btn-alarm {
        animation: none;
        background-color: var(--red);
        box-shadow: 0 0 0 2px var(--blue-bright);
    }
}

.mobile-nav .header-phone-mobile a.btn-alarm {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
}

.desktop-nav { display: none; }

@media (min-width: 900px) {
    .desktop-nav { display: block; }
}

@media (max-width: 899px) {
    .header-phone-desktop,
    .desktop-nav { display: none !important; }
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.desktop-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: rgba(255,255,255,0.15);
}

.hamburger {
    background: transparent;
    border: 2px solid var(--white);
    border-radius: 6px;
    padding: 0.45rem 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
}

.mobile-nav {
    display: none;
    background: var(--blue);
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0 1.25rem;
}

.mobile-nav.is-open { display: block; }

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .header-phone-mobile {
    padding: 0.65rem 1.25rem 0;
}

.mobile-nav .header-phone-mobile a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--red);
    color: var(--white);
    font-weight: 800;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

/* === Hero === */
.hero {
    background: linear-gradient(160deg, #000814 0%, var(--blue) 45%, #1e3a8a 100%);
    color: var(--white);
    padding: 2.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-stripe-bg {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background: var(--stripe-diag);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--stripe);
}

.hero-kicker {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fde047;
    margin: 0 0 0.5rem;
}

.hero-status {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.btn-call-lg {
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-card-lead {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    font-weight: 800;
}

.hero-lead {
    font-size: 1.05rem;
    opacity: 0.95;
    margin: 0 0 1.25rem;
    max-width: 36rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pill {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pill-red {
    background: var(--red);
    border-color: var(--red);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-call {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 0 #7f1d1d;
}

.btn-call:hover {
    background: var(--red-bright);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
}

.btn-secondary:hover {
    background: var(--off-white);
}

.price-card {
    background: var(--white);
    color: var(--text);
    border-radius: 12px;
    padding: 1.5rem;
    border: 4px solid var(--red);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.price-card .tag {
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.price-card .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.price-card .amount small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.price-card ul {
    margin: 1rem 0 0;
    padding-left: 1.15rem;
    font-size: 0.92rem;
    color: var(--muted);
}

/* === Sections === */
section { padding: 3rem 0; }

section.alt { background: var(--off-white); }

.section-title {
    text-align: center;
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    color: var(--blue);
}

.section-sub {
    text-align: center;
    color: var(--muted);
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.grid-3 {
    display: grid;
    gap: 1.25rem;
}

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

.grid-2 {
    display: grid;
    gap: 1.25rem;
}

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

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.35rem;
    height: 100%;
}

.card h3 {
    margin: 0 0 0.5rem;
    color: var(--blue);
    font-size: 1.1rem;
}

.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue), var(--blue-bright));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.stripe-banner {
    background: var(--stripe);
    color: var(--white);
    text-align: center;
    padding: 1rem 1rem;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
}

.stripe-banner-pulse {
    animation: stripe-glow 2.5s ease-in-out infinite;
}

@keyframes stripe-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

.card-accent {
    border-top: 4px solid var(--red);
    border-left: 4px solid var(--blue);
}

.card-icon-red {
    background: linear-gradient(135deg, var(--red), #991b1b);
}

.footer-stripe {
    height: 10px;
    background: var(--stripe);
}

.bait-box {
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 6px solid var(--red);
}

.bait-box h3 {
    margin-top: 0;
    color: var(--white);
}

.content-narrow .bait-box p,
.bait-box p {
    color: rgba(255, 255, 255, 0.94);
    margin-top: 0.75rem;
}

.bait-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.bait-tags span {
    background: rgba(255,255,255,0.15);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.area-list {
    columns: 2;
    column-gap: 2rem;
    font-size: 0.95rem;
    color: var(--muted);
}

@media (min-width: 600px) {
    .area-list { columns: 3; }
}

/* === Page hero (inner) === */
.page-hero {
    background: var(--off-white);
    border-bottom: 6px solid var(--red);
    padding: 2rem 0;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--stripe);
}

.page-hero h1 {
    margin: 0;
    color: var(--blue);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.page-hero p {
    margin: 0.75rem 0 0;
    color: var(--muted);
    max-width: 42rem;
}

.page-hero.page-hero-blue {
    background: linear-gradient(135deg, var(--blue) 0%, #0f172a 100%);
    color: var(--white);
}

.page-hero.page-hero-blue h1 {
    color: var(--white);
}

.page-hero.page-hero-blue p:not(.hero-kicker) {
    color: rgba(255, 255, 255, 0.95);
}

.page-hero.page-hero-blue .hero-kicker {
    color: #fde047;
}

.inline-title {
    margin-top: 0;
    color: var(--blue);
}

.text-muted { color: var(--muted); }

.price-note {
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.contact-box-accent {
    border-left: 5px solid var(--red);
    border-top: 3px solid var(--blue);
}

.content-narrow {
    max-width: 720px;
    margin: 0 auto;
}

.content-narrow h2 {
    color: var(--blue);
    font-size: 1.25rem;
    margin-top: 2rem;
}

.content-narrow p, .content-narrow li {
    color: var(--muted);
}

.faq details {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.65rem;
    background: var(--white);
}

.faq summary {
    font-weight: 700;
    color: var(--blue);
    cursor: pointer;
}

.faq p {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
}

/* === Contact === */
.contact-box {
    background: var(--off-white);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.contact-box a.large {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--red);
    text-decoration: none;
}

/* === Footer === */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 0 1.5rem;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h4 {
    color: var(--white);
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
}

.site-footer a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

.header-phone-desktop {
    display: none;
}

@media (min-width: 900px) {
    .header-phone-desktop {
        display: block;
        text-align: right;
        margin-right: 0.75rem;
    }
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 0.35rem;
    vertical-align: middle;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
}
