:root {
    /* Colors */
    --primary-red: #E31E24;
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --text-dark: #222222;
    --text-light: #555555;
    --text-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-white: #FFFFFF;
    --border-color: #E5E5E5;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.header {
    background-color: var(--bg-white);
    padding: 1rem 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header-nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.header-nav ul li a:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        border-top: 1px solid var(--border-color);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .header-nav.active {
        display: block;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .header-nav ul li a {
        font-size: 1.2rem;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        width: 44px;
        height: 44px;
        position: relative;
    }

    .hamburger {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: background 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-dark);
        position: absolute;
        transition: transform 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .menu-toggle.active .hamburger {
        background: transparent;
    }

    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
}



@media (max-width: 480px) {
    .cta-text {
        display: none;
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    /* Adjusted for the generated logo size */
    width: auto;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-red);
}

/* Button default */
.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

/* Top Hero Section */
.hero {
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero_main.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 3.5rem 0 2rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    font-weight: 500;
}

.btn-hero {
    background-color: var(--primary-red);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-hero:hover {
    background-color: #d1151a;
    transform: translateY(-2px);
}

.hero-rating {
    margin-bottom: 1.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.hero-features-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.h-feature {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.h-feature::before {
    content: "✓";
    font-weight: bold;
}

/* Main Content Styles */
.main-content {
    min-width: 0;
    border-right: 1px solid #e5e5e5;
    padding-right: 2rem;
}

/* Layout Grid */
.main-wrapper {
    padding: 3rem 0;
}

.container-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    /* Sidebar fixed width */
    gap: 3rem;
    align-items: start;
}

/* Typography Headings */
h2.section-title,
h2,
h3,
h4,
h5 {
    color: var(--text-dark);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.highlight-text {
    font-weight: 300;
    color: #777;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Lists */
.pest-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    margin: 1.5rem 0;
}

.pest-list-grid li {
    padding: 0.75rem 1rem;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    color: var(--primary-red);
    font-weight: 500;
    font-size: 0.9rem;
}

.steps-list {
    list-style: none;
    margin: 1.5rem 0;
}

.steps-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    /* Matches screenshot 1 step numbers? Or gray? using red for punch */
    line-height: 1;
}

.step-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.benefits-list-content {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.benefits-list-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Sticky Sidebar - Refined to match Screenshot 2 */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 0;
    text-align: center;
}

.sidebar-profile-header {
    background-color: transparent;
    padding-bottom: 1.5rem;
    position: relative;
}

.profile-img-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.sidebar-content-body {
    padding: 0 1rem;
}

.sidebar-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.sidebar-btn-red {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--primary-red);
    color: var(--text-white);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1;
    width: 100%;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    box-shadow: 0 4px 6px rgba(227, 30, 36, 0.2);
}

.sidebar-btn-red:hover {
    background-color: #d1151a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(227, 30, 36, 0.3);
}

.sidebar-btn-red svg {
    width: 28px;
    height: 28px;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: #888;
    padding: 4rem 0 2rem;
    font-size: 0.85rem;
}

.footer-top {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-brand {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.footer-tagline {
    color: #ccc;
    font-size: 1.5rem;
    font-weight: 300;
}

.footer-tagline a {
    color: var(--primary-red);
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr;
    gap: 4rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.footer-column h4 {
    color: white;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

/* Services Column */
.footer-services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 2rem;
}

.footer-services-list li {
    flex: none;
    /* Reset flex */
}

.footer-column ul li {
    margin-bottom: 0;
    /* Reset margin since we use gap */
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-services-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-column ul {
        justify-content: center;
    }

    .footer-services-list {
        grid-template-columns: 1fr;
    }
}

.footer-column ul li a {
    color: #888;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

@media (max-width: 1024px) {
    .container-layout {
        grid-template-columns: 1fr;
    }

    .sticky-sidebar {
        position: static;
        max-width: 400px;
        margin: 3rem auto 0;
    }
}

@media (max-width: 640px) {
    .pest-list-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    padding: 0.8rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(227, 30, 36, 0.3);
    transition: background-color 0.2s;
}

.mobile-call-btn:active {
    background-color: #b0151a;
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 80px;
    }
}


/* Responsive Typography */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    html {
        font-size: 15px;
        /* Slightly smaller base font */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
    }

    .footer-brand {
        font-size: 2rem;
    }

    .footer-tagline {
        font-size: 1.1rem;
    }

    .sidebar-title {
        font-size: 1.5rem;
    }

    .sidebar-btn-red {
        font-size: 1.2rem;
        padding: 0.8rem 1.2rem;
    }
}


@media (max-width: 1024px) {
    .main-content {
        border-right: none;
        padding-right: 0;
    }
}

/* --- Inner Pages (Legal, About, Contact) --- */
.page-header {
    background-color: #0f172a;
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 4px solid #dc2626;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    color: #cbd5e1;
}

.page-content {
    padding: 1rem 0 5rem;
}

.legal-content h2,
.content-wrapper h2 {
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.legal-content h2:first-of-type,
.content-wrapper h2:first-of-type {
    margin-top: 0;
}

.legal-content h3,
.content-wrapper h3 {
    color: #1e293b;
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.legal-content p,
.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #475569;
}

.content-list {
    margin-bottom: 2rem;
    padding-left: 1.2rem;
}

.content-list li {
    margin-bottom: 0.75rem;
    color: #475569;
    position: relative;
    list-style: none;
}

.content-list li::before {
    content: '✔';
    color: #dc2626;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.about-feature {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-feature h3 {
    margin-top: 0;
    color: #dc2626;
    font-size: 1.5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    border: 1px solid #f1f5f9;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-link {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.cta-box {
    background: #0f172a;
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }
}

/* Footer Logo Styling */
.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make it white for the dark footer */
}

/* Disclaimer Text Styling */
.footer-disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #666;
    text-align: left;
}