/*
Theme Name: M.I.A Pest Control Custom Theme
Theme URI: https://miapestcontrol.com.au/
Description: A premium, modern, conversion-focused custom theme for M.I.A Pest Control in Griffith, NSW.
Version: 1.0.0
Author: Antigravity
Author URI: https://deepmind.google/
Text Domain: mia-pest-control
*/

/* ==========================================================================
   1. DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0a2e5c;       /* Deep Navy Blue - Main Brand (Trust/Authority) */
    --color-primary-light: #164073; /* Lighter Navy */
    --color-primary-dark: #051d3b;  /* Darker Navy */
    
    --color-accent: #2a9d8f;        /* Safe Teal Accent - Eco-Safe Treatment */
    --color-accent-hover: #207a6f;
    --color-accent-light: #e8f5f3;
    
    --color-rating: #f4a261;        /* Golden Amber - Review Stars & Highlights */
    
    --color-text-dark: #1e293b;     /* Slate Dark - Body Text */
    --color-text-muted: #64748b;    /* Muted Slate - Secondary Text */
    --color-bg-light: #f8f9fa;      /* Off-White - General background */
    --color-bg-white: #ffffff;      /* Pure White */
    --color-border: #e2e8f0;        /* Light Grey Border */
    
    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Box Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(10, 46, 92, 0.06), 0 4px 6px -2px rgba(10, 46, 92, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(10, 46, 92, 0.1), 0 10px 10px -5px rgba(10, 46, 92, 0.04);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   3. REUSABLE UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--color-bg-light);
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.img-rounded {
    border-radius: 12px;
}

.shadow-large {
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.25);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 46, 92, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
    display: flex;
    justify-content: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item svg {
    color: var(--color-accent);
}

.top-bar-right {
    margin-left: auto;
}

.site-header {
    height: var(--header-height);
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

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

.site-logo .logo-link {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.logo-text-blue {
    color: var(--color-primary);
}

.logo-text-green {
    color: var(--color-accent);
}

.logo-text-white {
    color: var(--color-bg-white);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* ==========================================================================
   5. MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 46, 92, 0.4);
    z-index: 9999;
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-container {
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--color-bg-white);
    margin-left: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: auto;
}

.mobile-nav-list a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.mobile-menu-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.mobile-menu-footer p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    color: var(--color-bg-white);
    position: relative;
}

.hero-content {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.25rem;
    color: var(--color-bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   7. TRUST BAR
   ========================================================================== */
.trust-bar {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 1.75rem 0;
    border-top: 4px solid var(--color-accent);
}

.trust-bar-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 180px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-info h4 {
    font-size: 0.95rem;
    color: var(--color-bg-white);
    margin-bottom: 0.15rem;
}

.trust-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ==========================================================================
   8. SERVICES CARDS
   ========================================================================== */
.service-card {
    background-color: var(--color-bg-white);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-card-body {
    padding: 2.25rem 2rem;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon-floating {
    position: absolute;
    top: -28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(42, 157, 143, 0.3);
}

.service-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.service-card-body p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-accent);
}

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

/* ==========================================================================
   9. WHY CHOOSE US FEATURES
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background-color: var(--color-bg-white);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   10. ABOUT PREVIEW SECTION
   ========================================================================== */
.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
}

.badge-experience {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--color-bg-white);
    padding: 1.25rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
}

.badge-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.sub-label {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.about-preview-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.scotty-promises {
    margin: 1.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.promise-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ==========================================================================
   11. TIMELINE PROCESS
   ========================================================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    margin-top: 2rem;
}

.process-timeline::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    width: 70%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 4px solid var(--color-bg-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background-color: var(--color-accent);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 0 1rem;
}

/* ==========================================================================
   12. REVIEWS / TESTIMONIALS
   ========================================================================== */
.review-card {
    background-color: var(--color-bg-white);
    border-radius: 10px;
    padding: 2.25rem;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.stars {
    color: var(--color-rating);
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.review-platform {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.review-card p {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.review-author {
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
    margin-top: auto;
}

.review-author h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.testimonials-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-fast);
}

.accordion-item.active {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    cursor: pointer;
    text-align: left;
}

.accordion-arrow {
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   14. AJAX CONTACT & QUOTE FORMS
   ========================================================================== */
.quote-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.call-quote-direct {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1rem 2.25rem;
}

.quote-form-container {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.mia-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border-radius: 6px;
    border: 1.5px solid var(--color-border);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-response {
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.response-success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.response-error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   15. SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.45rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text-white {
    color: var(--color-bg-white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.license-info {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
}

.footer-heading {
    color: var(--color-bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info svg {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.seo-footer-text {
    max-width: 800px;
}

/* ==========================================================================
   16. MOBILE STICKY CTA BAR
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: none;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-bg-white);
}

.sticky-call {
    background-color: var(--color-primary);
}

.sticky-quote {
    background-color: var(--color-accent);
}

/* Adjust page padding for mobile sticky footer */
body {
    padding-bottom: 0;
}

/* ==========================================================================
   17. PAGE HEADERS
   ========================================================================== */
.page-header {
    padding: 5rem 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--color-bg-white);
}

.page-header h1 {
    font-size: 2.75rem;
    color: var(--color-bg-white);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
}

.checkmark-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem 0;
}

.checkmark-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkmark-list .check-icon {
    color: var(--color-accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   18. GENERAL PESTS PAGE GRID
   ========================================================================== */
.pests-checklist-container {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    padding: 3rem;
    margin: 2.5rem 0;
    border: 1px solid var(--color-border);
}

.pests-checklist-container h3 {
    font-size: 1.45rem;
    margin-bottom: 2rem;
    text-align: center;
}

.pests-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.pest-badge {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    border: 1.5px solid var(--color-border);
    font-weight: 700;
    font-size: 0.85rem;
}

.pest-badge-icon {
    font-size: 2rem;
}

.general-pest-process {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 3rem;
    border-radius: 12px;
}

.general-pest-info h4 {
    color: var(--color-bg-white);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.general-pest-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.btn-call-service {
    padding: 1rem 2rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* ==========================================================================
   19. ABOUT SCOTTY DETAILED
   ========================================================================== */
.bio-text blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-primary-light);
    margin: 2rem 0;
}

.credentials-box {
    background-color: var(--color-bg-light);
    border-radius: 10px;
    padding: 2.25rem;
    border: 1px solid var(--color-border);
    margin-top: 2rem;
}

.credentials-box h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.credentials-list .check-icon {
    color: var(--color-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.value-card {
    background-color: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   20. TESTIMONIALS MASONRY & SCORE
   ========================================================================== */
.rating-summary-card {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.summary-score-box {
    text-align: center;
    border-right: 1px solid var(--color-border);
    padding-right: 3rem;
}

.score-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.reviews-count {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-weight: 600;
}

.rating-bars-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid var(--color-border);
    padding-right: 3rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.star-label {
    width: 50px;
    text-align: right;
    font-weight: 600;
}

.bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: var(--color-bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--color-rating);
    border-radius: 4px;
}

.percentage {
    width: 35px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.summary-action-box {
    text-align: center;
}

.summary-action-box h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.summary-action-box p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.reviews-masonry {
    column-count: 3;
    column-gap: 2rem;
}

.detail-card {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.25rem;
    margin-top: auto;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
}

.review-user h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.review-user span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   21. CONTACT PAGE INTERACTIVE ELEMENTS
   ========================================================================== */
.contact-card-tel {
    background-color: var(--color-accent-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0 2.5rem 0;
    border-left: 4px solid var(--color-accent);
}

.contact-tel-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--color-accent);
}

.contact-tel-link:hover {
    color: var(--color-accent-hover);
}

.contact-info-rows {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-row {
    display: flex;
    gap: 1.25rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

.contact-map-mockup {
    height: 250px;
    background-color: #e3eaef;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-circle-outer {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: rgba(42, 157, 143, 0.15);
    border: 2px dashed var(--color-accent);
    animation: pulse 3s infinite linear;
}

.map-circle-inner {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(42, 157, 143, 0.2);
}

.map-pin {
    font-size: 2.5rem;
    position: relative;
    z-index: 5;
    animation: float 2s infinite ease-in-out;
}

.map-label {
    position: absolute;
    bottom: 15px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

@keyframes pulse {
    0% { transform: scale(0.85); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.4; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.contact-form-card {
    background-color: var(--color-bg-white);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

/* ==========================================================================
   22. ANIMATIONS & APPEARANCE
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   23. RESPONSIVE BREAKPOINTS & LAYOUT FIXES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .reverse-layout {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .process-timeline::after {
        display: none;
    }
    
    .process-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .process-step p {
        padding: 0;
    }
    
    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .rating-summary-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .summary-score-box {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 2rem;
    }
    
    .rating-bars-box {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 2rem;
    }
    
    .reviews-masonry {
        column-count: 2;
    }
    
    .pests-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .hero-section {
        padding: 5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.85rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-masonry {
        column-count: 1;
    }
    
    .pests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .general-pest-process {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    
    .btn-call-service {
        width: 100%;
    }
    
    .quote-form-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Enable Sticky Mobile Footer */
    .mobile-sticky-cta {
        display: flex;
    }
    
    body {
        padding-bottom: 60px; /* offset for sticky footer */
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

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