/* ==========================================================================
   German Cockroach Treatment Page Stylesheet
   Call and Relief - The Best for Your Pest
   ========================================================================== */

/* --- Page Base & Theme Variables --- */
:root {
    --roach-navy: #081a2c;
    --roach-navy-light: #0d2844;
    --roach-green: #76b72a;
    --roach-green-hover: #86ce30;
    --roach-green-light: #eaf7ed;
    --roach-mint: #f4fbf5;
    --roach-mint-border: #d4ebd7;
    --roach-text-dark: #0d233a;
    --roach-text-muted: #556877;
    --roach-radius: 18px;
    --roach-shadow-soft: 0 10px 30px rgba(8, 26, 44, 0.06);
    --roach-shadow-hover: 0 16px 36px rgba(8, 26, 44, 0.12);
}

body.roach-page {
    font-family: 'Inter', sans-serif;
    color: var(--roach-text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Ensure fail-safe visibility on all elements */
.roach-page .roach-hero,
.roach-page .roach-section,
.roach-page .mint-card,
.roach-page .media-card-wrapper,
.roach-page .target-graphic-card,
.roach-page .roach-cta-banner,
.roach-page .footer-section {
    opacity: 1 !important;
    visibility: visible !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.roach-hero {
    position: relative;
    background-color: var(--roach-navy);
    min-height: 580px;
    padding: 70px 0 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Split Background: Professional technician treating kitchen cabinets on the right */
.roach-hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.roach-hero-bg-img {
    width: 100%;
    height: 100%;
    background-image: url('roach-hero.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    transform: scale(1.02);
    transition: transform 7s ease;
}

.roach-hero:hover .roach-hero-bg-img {
    transform: scale(1.05);
}

/* Seamless blend from navy on left across to image on right */
.roach-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        #081a2c 0%,
        rgba(8, 26, 44, 0.82) 14%,
        rgba(8, 26, 44, 0.30) 32%,
        rgba(8, 26, 44, 0.04) 52%,
        transparent 100%
    );
    z-index: 2;
}

.roach-hero-container {
    position: relative;
    z-index: 2;
}

.roach-hero-content {
    max-width: 620px;
}

/* Eyebrow tag */
.roach-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.roach-tag-line {
    display: inline-block;
    width: 22px;
    height: 2px;
    background-color: var(--roach-green);
}

.roach-tag-text {
    color: var(--roach-green);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Main title */
.roach-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
}

.roach-hero-title .title-white {
    color: #ffffff;
}

.roach-hero-title .title-green {
    color: var(--roach-green);
}

/* Subtitle description */
.roach-hero-desc {
    color: #c0d3e5;
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 530px;
}

/* 3 Circular Icon Badges */
.roach-hero-badges {
    display: flex;
    align-items: flex-start;
    gap: 34px;
}

.hero-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.hero-badge-item .badge-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--roach-green);
    background: rgba(8, 26, 44, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--roach-green);
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-badge-item:hover .badge-circle {
    background: var(--roach-green);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(118, 183, 42, 0.4);
}

.hero-badge-item .badge-label {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* Wave bottom transition */
.roach-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.roach-wave-divider svg {
    width: 100%;
    height: 70px;
    display: block;
}

/* --------------------------------------------------------------------------
   COMMON SECTION & GRID ARCHITECTURE
   -------------------------------------------------------------------------- */
.roach-section {
    padding: 65px 0;
    position: relative;
}

.section-grid-3 {
    display: grid;
    grid-template-columns: 1.15fr 1.05fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Rounded Media Cards */
.media-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: var(--roach-radius);
    overflow: hidden;
    box-shadow: var(--roach-shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.media-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--roach-shadow-hover);
}

.roach-rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--roach-radius);
    transition: transform 0.5s ease;
}

.media-card-wrapper:hover .roach-rounded-img {
    transform: scale(1.03);
}

/* Mint Rounded Cards */
.mint-card {
    background-color: var(--roach-mint);
    border: 1px solid var(--roach-mint-border);
    border-radius: var(--roach-radius);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 18px rgba(8, 26, 44, 0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mint-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--roach-shadow-hover);
}

.mint-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.mint-header-icon {
    font-size: 22px;
    color: var(--roach-green);
    line-height: 1;
}

.mint-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--roach-navy);
    margin: 0;
}

.card-intro-text {
    font-size: 13.5px;
    color: var(--roach-text-muted);
    font-weight: 500;
    margin: 0 0 14px;
}

.mint-body-text {
    color: var(--roach-text-dark);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.mint-body-text:last-child {
    margin-bottom: 0;
}

.mint-divider {
    width: 32px;
    height: 2px;
    background-color: var(--roach-green);
    border: none;
    margin: 16px 0;
}

/* Green Checkmark Lists */
.roach-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roach-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--roach-text-dark);
    line-height: 1.45;
}

.roach-checklist li i {
    color: var(--roach-green);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION 1: WHY GERMAN COCKROACH TREATMENT?
   -------------------------------------------------------------------------- */
.section-why {
    background-color: #ffffff;
    padding-top: 40px;
    padding-bottom: 50px;
}

.section-subtitle-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.section-subtitle-pill .pill-line {
    display: inline-block;
    width: 18px;
    height: 2px;
    background-color: var(--roach-green);
}

.section-subtitle-pill .pill-text {
    color: var(--roach-green);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.section-heading-dark {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--roach-navy);
    line-height: 1.2;
    margin: 0 0 16px;
}

.section-lead-text {
    color: var(--roach-text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 2: WHERE WE TREAT & HOW WE TREAT (4 COLUMNS)
   -------------------------------------------------------------------------- */
.section-treatment {
    background-color: #fdfdfd;
    padding: 50px 0 65px;
}

.section-header-area {
    margin-bottom: 28px;
}

.treatment-grid-4 {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

.treat-areas-card .roach-checklist {
    gap: 8px;
}

.treat-areas-card .roach-checklist li {
    font-size: 13px;
}

.treat-media-col .media-card-wrapper {
    min-height: 320px;
}

/* Control card feature points */
.control-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.control-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--roach-navy);
}

.control-feature-item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--roach-green-light);
    color: var(--roach-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION 3: CUSTOMER PREPARATION & FOLLOW-UP
   -------------------------------------------------------------------------- */
.section-prep {
    padding: 50px 0 70px;
    background-color: #ffffff;
}

.prep-grid {
    grid-template-columns: 1fr 1.15fr 1.05fr;
    align-items: stretch;
}

.card-footer-note {
    font-size: 13px;
    color: var(--roach-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Follow-up column with card and target graphic below */
.follow-up-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.follow-up-card {
    flex: 1;
}

/* Target cockroach graphic box with green reticle overlay */
.target-graphic-card {
    position: relative;
    width: 100%;
    height: 135px;
    border-radius: var(--roach-radius);
    overflow: hidden;
    box-shadow: var(--roach-shadow-soft);
    background-color: #000000;
}

.roach-target-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.4s ease;
}

.target-graphic-card:hover .roach-target-img {
    transform: scale(1.04);
}

.crosshair-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.crosshair-svg {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 6px rgba(118, 183, 42, 0.8));
    animation: reticle-pulse 3s ease-in-out infinite;
}

@keyframes reticle-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   PRE-FOOTER CTA BANNER
   -------------------------------------------------------------------------- */
.roach-cta-banner {
    background-color: var(--roach-navy);
    position: relative;
    padding: 48px 0;
    overflow: hidden;
}

.cta-banner-bg-leaves {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(circle at 10% 20%, #76b72a 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, #76b72a 0%, transparent 40%);
    pointer-events: none;
}

.cta-banner-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-text-area {
    flex: 1.2;
}

.cta-eyebrow {
    color: var(--roach-green);
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-dash {
    display: inline-block;
    width: 16px;
    height: 2px;
    background-color: var(--roach-green);
}

.cta-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
}

.cta-highlight-green {
    color: var(--roach-green);
}

.cta-badges-area {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.cta-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.cta-badge-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--roach-green);
    background: rgba(8, 26, 44, 0.7);
    color: var(--roach-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: all 0.3s ease;
}

.cta-badge-item:hover .cta-badge-circle {
    background: var(--roach-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(118, 183, 42, 0.4);
}

.cta-badge-text {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.25;
}

.cta-action-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0.9;
    text-align: center;
}

.cta-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--roach-green);
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(118, 183, 42, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.cta-phone-btn:hover {
    background-color: var(--roach-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(118, 183, 42, 0.5);
    color: #ffffff !important;
}

.cta-action-subtext {
    color: #92b1cf;
    font-size: 12px;
    font-weight: 500;
    margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .treatment-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
}

@media (max-width: 1100px) {
    .cta-banner-container {
        flex-wrap: wrap;
        gap: 24px;
    }
    .cta-text-area {
        flex: 100%;
        text-align: center;
    }
    .cta-eyebrow {
        justify-content: center;
    }
    .cta-badges-area {
        flex: 1;
        justify-content: center;
    }
    .cta-action-area {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .roach-hero {
        padding: 50px 0 90px;
        min-height: 500px;
    }
    .roach-hero-bg-img {
        width: 100%;
        opacity: 0.35;
    }
    .roach-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(8, 26, 44, 0.95) 0%,
            rgba(8, 26, 44, 0.85) 60%,
            rgba(8, 26, 44, 0.98) 100%
        );
    }
    .roach-hero-content {
        max-width: 100%;
        text-align: center;
    }
    .roach-tag {
        justify-content: center;
    }
    .roach-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .roach-hero-badges {
        justify-content: center;
    }
    
    .section-grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .treatment-grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .media-card-wrapper {
        min-height: 300px;
        max-height: 380px;
    }
}

@media (max-width: 768px) {
    .roach-hero-title {
        font-size: 34px;
    }
    .section-heading-dark {
        font-size: 28px;
    }
    .roach-hero-badges {
        gap: 18px;
    }
    .hero-badge-item .badge-circle {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
    .cta-badges-area {
        flex-direction: row;
        gap: 14px;
    }
    .cta-badge-circle {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .cta-heading {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .roach-hero-title {
        font-size: 28px;
    }
    .roach-hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .hero-badge-item {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }
    .cta-badges-area {
        flex-direction: column;
        gap: 14px;
    }
    .cta-badge-item {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }
    .mint-card {
        padding: 22px 18px;
    }
    .cta-phone-btn {
        width: 100%;
        font-size: 16px;
        padding: 12px 20px;
    }
}
