/* =====================================================
   Malcolm Bowen Plumbing - Styles
   Theme: Blue and White
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Blue */
    --primary-dark: #1a4b7c;
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-lighter: #60a5fa;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent */
    --accent: #0ea5e9;
    --accent-light: #38bdf8;

    /* Semantic */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 5rem;
    --section-padding-mobile: 3rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* =====================================================
   Reset & Base Styles
   ===================================================== */

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

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
}

ul {
    list-style: none;
}

/* =====================================================
   Utility Classes
   ===================================================== */

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

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* =====================================================
   Buttons
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Nav button - smaller than default */
.nav-menu .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

/* =====================================================
   Header
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.125rem;
}

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

.logo img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    object-fit: contain;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: block;
    }
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    left: 0;
    transition: transform var(--transition-normal);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    display: none;
    flex-direction: column;
}

.nav-menu.active {
    display: flex;
}

.nav-menu li {
    border-bottom: 1px solid var(--gray-100);
}

.nav-menu li:last-child {
    border-bottom: none;
    padding: 0.5rem 1.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary);
    background-color: var(--gray-50);
}

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

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-menu li {
        border-bottom: none;
    }

    .nav-menu li:last-child {
        padding: 0;
        display: flex;
        align-items: center;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
    }

    .nav-menu .btn {
        line-height: 1.2;
    }
}

/* Header Phone */
.phone-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    padding: 0.5rem 1rem;
    background-color: var(--gray-50);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.phone-header:hover {
    background-color: var(--primary);
    color: var(--white);
}

.phone-header span {
    display: none;
}

@media (min-width: 640px) {
    .phone-header span {
        display: block;
    }
}

/* =====================================================
   Hero Section
   ===================================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: calc(var(--section-padding) + 70px) 0 var(--section-padding);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Hero Reviews Badge */
.hero-reviews {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.hero-reviews:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-reviews-stars {
    display: flex;
    gap: 0.125rem;
    color: #fbbf24;
}

.hero-reviews-text {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

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

.hero .btn-primary:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* =====================================================
   Trust Bar
   ===================================================== */

.trust-bar {
    background-color: var(--gray-50);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    color: var(--gray-700);
}

.trust-item svg {
    color: var(--primary);
}

.trust-item span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* =====================================================
   Services Section
   ===================================================== */

.services {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .services {
        padding: var(--section-padding-mobile) 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lighter);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* =====================================================
   Service Areas Section
   ===================================================== */

.areas {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

@media (max-width: 768px) {
    .areas {
        padding: var(--section-padding-mobile) 0;
    }
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.area-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.area-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.area-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.area-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.area-primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

@media (min-width: 1024px) {
    .area-primary {
        grid-column: span 2;
    }
}

.area-primary h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.area-primary p {
    color: rgba(255, 255, 255, 0.9);
}

.areas-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Area card as link */
.area-card-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.area-card-link:hover {
    color: inherit;
}

.area-card-link:not(.area-primary):hover h3 {
    color: var(--primary-dark);
}

/* =====================================================
   Reviews Section
   ===================================================== */

.reviews {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .reviews {
        padding: var(--section-padding-mobile) 0;
    }
}

.reviews-summary {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.reviews-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
}

.reviews-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.reviews-count {
    color: var(--gray-600);
    font-size: 1rem;
}

.reviews-count a {
    color: var(--primary);
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

.review-card {
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.review-meta {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.review-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9375rem;
}

.review-location {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.review-stars {
    display: flex;
    gap: 0.125rem;
    color: #fbbf24;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
    font-style: italic;
    flex-grow: 1;
}

.review-service {
    font-size: 0.75rem;
    color: var(--primary);
    background-color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    align-self: flex-start;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

.reviews-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* =====================================================
   About Section
   ===================================================== */

.about {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .about {
        padding: var(--section-padding-mobile) 0;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 2fr 1fr;
    }
}

.about-text .section-title {
    text-align: left;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.about-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.about-cta {
    position: sticky;
    top: 90px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    width: 100%;
}

.cta-box .btn-primary:hover {
    background-color: var(--gray-100);
}

/* =====================================================
   Contact Section
   ===================================================== */

.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

@media (max-width: 768px) {
    .contact {
        padding: var(--section-padding-mobile) 0;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.contact-item a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* Email reveal with Turnstile */
#email-reveal-container {
    margin-top: 0.25rem;
}

#email-placeholder {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

/* When verified, hide placeholder and Turnstile, show email */
#email-reveal-container.verified #email-placeholder,
#email-reveal-container.verified .cf-turnstile {
    display: none !important;
}

#email-reveal-container.verified #email-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

#email-reveal-container.verified #email-link:hover {
    color: var(--primary-dark);
}

.cf-turnstile {
    margin-top: 0.5rem;
}

.contact-cta {
    display: flex;
    justify-content: center;
}

.big-phone {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary);
}

.big-phone-label {
    display: block;
    font-size: 1rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.big-phone-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.big-phone-number:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}

@media (min-width: 640px) {
    .big-phone-number {
        font-size: 2.5rem;
    }
}

/* =====================================================
   Footer
   ===================================================== */

.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-brand {
        justify-content: flex-start;
    }
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background-color: var(--white);
    padding: 4px;
}

.footer-brand span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

.footer-info {
    text-align: center;
}

.footer-info a {
    color: var(--primary-lighter);
    font-size: 1.25rem;
    font-weight: 700;
}

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

.footer-areas {
    text-align: center;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-areas {
        text-align: right;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-700);
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* =====================================================
   Mobile Call Button (Floating)
   ===================================================== */

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    transition: all var(--transition-normal);
}

.mobile-call-btn:hover {
    transform: scale(1.05);
    color: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

/* =====================================================
   Animations
   ===================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.area-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Stagger animation for service cards */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

/* =====================================================
   Print Styles
   ===================================================== */

@media print {
    .header,
    .mobile-call-btn,
    .nav-toggle {
        display: none !important;
    }

    .hero {
        padding-top: 2rem;
        min-height: auto;
        background: var(--gray-100) !important;
        color: var(--gray-900) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .hero h1,
    .hero p {
        color: var(--gray-900) !important;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}

/* =====================================================
   Accessibility
   ===================================================== */

/* Focus styles */
a:focus,
button:focus {
    outline: 3px solid var(--primary-lighter);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =====================================================
   Location Pages
   ===================================================== */

.hero-location {
    min-height: 50vh;
}

.location-content {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

@media (max-width: 768px) {
    .location-content {
        padding: var(--section-padding-mobile) 0;
    }
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }
}

.location-main h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.location-main h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.location-main p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.location-suburbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

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

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

.location-suburbs li {
    position: relative;
    padding-left: 1rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.location-suburbs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

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

.service-list-item {
    background-color: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.service-list-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.service-list-item p {
    font-size: 0.9375rem;
    margin-bottom: 0;
    color: var(--gray-600);
}

.benefits-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.location-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.other-areas {
    background-color: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.other-areas h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.other-areas ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.other-areas li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--primary);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.other-areas li:last-child a {
    border-bottom: none;
}

.other-areas li a:hover {
    color: var(--primary-dark);
    padding-left: 0.5rem;
}

/* Footer area links */
.footer-areas a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

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