/* Care Cleaning Co. - Premium Cleaning Website Styles */

/* ===== CSS Variables ===== */
:root {
    --color-primary: #0c251c; /* Deep Forest Green (Logo Background) */
    --color-primary-dark: #071610;
    --color-primary-light: #164030;
    --color-accent: #9cb1a0; /* Sage Green (Logo 'C') */
    --color-accent-light: #b8c8bc;
    --color-gold: #9cb1a0;
    --color-navy: #0c251c;
    --color-primary-glow: rgba(12, 37, 28, 0.15);
    --color-accent-glow: rgba(156, 177, 160, 0.2);
    --color-white: #ffffff;
    --color-gray-50: #fcfcfb; /* Warm Cream background */
    --color-gray-100: #f3f4f1;
    --color-gray-200: #e5e7e3;
    --color-gray-300: #d1d5d1;
    --color-gray-400: #9ca39e;
    --color-gray-500: #6b726d;
    --color-gray-600: #4b554f;
    --color-gray-700: #37413c;
    --color-gray-800: #1f2924;
    --color-gray-900: #111815;
    
    --font-primary: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif; /* Modern, premium geometric sans */
    
    --shadow-sm: 0 2px 4px 0 rgba(12, 37, 28, 0.05);
    --shadow-md: 0 4px 12px rgba(12, 37, 28, 0.08);
    --shadow-lg: 0 12px 24px -4px rgba(12, 37, 28, 0.12), 0 8px 16px -6px rgba(12, 37, 28, 0.08);
    --shadow-xl: 0 24px 48px -12px rgba(12, 37, 28, 0.18);
    
    --transition-fast: 150ms ease-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Global Smooth Transitions ===== */
/* Exclude elements that shouldn't transition */
input, textarea, select, button, a, .no-transition {
    transition: color 0.2s ease, 
                background-color 0.2s ease, 
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                transform 0.2s ease,
                opacity 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    animation: pageLoad 0.5s ease forwards;
    animation-delay: 0.1s;
    overflow-x: hidden;
    width: 100%;
}

body.loaded {
    opacity: 1;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray-500);
    font-size: 1.15rem;
    margin-bottom: 48px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    min-height: 44px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

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

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

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* ===== Header ===== */
/* Header: transparent over hero, solid white on scroll */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0);
    /* Respect notch on devices with Dynamic Island / status bar */
    padding-top: env(safe-area-inset-top, 0px);
}

.header.scrolled {
    background: rgba(252, 252, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(12, 37, 28, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Scrolled state: dark text */
.header.scrolled .logo { color: var(--color-gray-900); }
.header.scrolled .logo-care { color: var(--color-primary); }
.header.scrolled .nav-link { color: var(--color-gray-600); }
.header.scrolled .nav-link:hover { color: var(--color-primary); }
.header.scrolled .nav-link::after { background-color: var(--color-primary); }
.header.scrolled .mobile-menu-btn span { background-color: var(--color-gray-700); }
.header.scrolled .header-cta {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px var(--color-primary-glow);
}

.header.scrolled .header-cta:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Default state: white text over dark hero */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    transition: transform var(--transition-normal);
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-rc {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-accent);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
    position: relative;
    letter-spacing: -4px;
}

.logo-rc .r {
    color: var(--color-white);
    z-index: 2;
}

.logo-rc .c {
    color: var(--color-accent);
    z-index: 1;
    margin-left: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.1;
    color: var(--color-white);
}

.logo-sub {
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    line-height: 1.1;
}

/* Scrolled state header adjustments */
.header.scrolled .logo-rc .r { color: var(--color-primary); }
.header.scrolled .logo-main { color: var(--color-primary); }
.header.scrolled .logo-sub { color: var(--color-primary-light); }

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b8c8bc;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: #ffffff;
}

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

.header-cta {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.header-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(10, 28, 21, 0.92) 0%, rgba(12, 37, 28, 0.88) 100%), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1;
}

/* Subtle pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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.03'%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");
    z-index: 1;
}

/* Radial glow for depth */
.hero-overlay {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 100vw);
    height: min(600px, 60vw);
    background: radial-gradient(ellipse, rgba(156, 177, 160, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.hero-outline-btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
    backdrop-filter: blur(8px);
}

.hero-outline-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--color-white);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-slogan {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: #b8c8bc;
    font-style: italic;
    margin-bottom: 40px;
}

.hero .btn-primary {
    box-shadow: 0 4px 20px rgba(12, 37, 28, 0.35);
}

.hero .btn-primary:hover {
    box-shadow: 0 6px 30px rgba(12, 37, 28, 0.45);
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--color-white);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
    flex: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: var(--color-white);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-gray-50);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.step-card p {
    color: var(--color-gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    color: var(--color-gray-300);
    flex-shrink: 0;
    padding-top: 20px;
}

@media (max-width: 600px) {
    .steps-grid {
        flex-direction: column;
        gap: 8px;
    }
    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }
    .step-card {
        padding: 20px 16px;
    }
}

/* ===== Benefits Section ===== */
.benefits {
    padding: 100px 0;
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 40px 32px;
    border-radius: 16px;
    background-color: var(--color-gray-50);
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background-color: var(--color-white);
}

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

.benefit-card h3 {
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--color-gray-500);
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background-color: var(--color-gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Services Carousel */
.services-grid.services-carousel {
    display: block;
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.services-track-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 3%, 
        black 97%, 
        transparent 100%);
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 3%, 
        black 97%, 
        transparent 100%);
}

.services-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-carousel .service-card {
    flex: 0 0 calc(33.333% - 22px);
    margin: 0 11px;
    min-width: calc(33.333% - 22px);
}

@media (max-width: 1024px) {
    .services-carousel .service-card {
        flex: 0 0 calc(50% - 16px);
        min-width: calc(50% - 16px);
    }
}

@media (max-width: 768px) {
    .services-carousel .service-card {
        flex: 0 0 calc(100% - 16px);
        min-width: calc(100% - 16px);
    }

    .carousel-container {
        gap: 8px;
    }
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-200);
    background: var(--color-white);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-gray-50);
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: var(--color-gray-400);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.service-card {
    background-color: var(--color-white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-100);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-primary);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background-color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    margin-bottom: 24px;
    box-shadow: 0 4px 16px var(--color-primary-glow);
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    color: var(--color-gray-500);
    margin-bottom: 24px;
}

.service-link {
    color: var(--color-primary);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--color-primary-dark);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 48px;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.15;
    font-family: var(--font-accent);
    line-height: 1;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--color-gray-700);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    color: var(--color-gray-900);
}

.testimonial-author span {
    color: var(--color-gray-400);
    font-size: 0.875rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-200);
    background-color: var(--color-white);
    color: var(--color-gray-600);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
    /* Larger tap area without changing visual size */
    padding: 0;
    border: none;
    position: relative;
}

.carousel-dot::before {
    content: '';
    position: absolute;
    inset: -10px;
}

.carousel-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 100px 0;
    background-color: var(--color-gray-50);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter {
    padding: 10px 20px;
    min-height: 44px;
    border: 2px solid var(--color-gray-200);
    border-radius: 24px;
    background: var(--color-white);
    color: var(--color-gray-600);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.gallery-filter:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.gallery-filter.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* Grid layout — no columns reflow, fixed aspect ratios prevent jumping */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    background: var(--color-gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Skeleton shimmer while image loads */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, var(--color-gray-100) 30%, var(--color-gray-50) 50%, var(--color-gray-100) 70%);
    background-size: 200% 100%;
    animation: galleryShimmer 1.5s ease infinite;
    z-index: 0;
    border-radius: 12px;
}

@keyframes galleryShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
}

.gallery-item img.loaded {
    opacity: 1;
}

/* Hide shimmer once image loads */
.gallery-item:has(img.loaded)::before {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-caption {
    font-size: 0.875rem;
    font-weight: 600;
}

.gallery-item-category {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: capitalize;
}

.gallery-empty {
    text-align: center;
    color: var(--color-gray-400);
    font-size: 1.1rem;
    padding: 60px 0;
}

/* Masonry-style varied heights for visual interest */
.gallery-item:nth-child(4n+2) {
    aspect-ratio: 3 / 5;
}

.gallery-item:nth-child(4n+3) {
    aspect-ratio: 1 / 1;
}

.gallery-item:nth-child(7n) {
    aspect-ratio: 4 / 3;
}

/* Gallery Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 8px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 10001;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.lightbox-nav:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-caption {
    color: rgba(255,255,255,0.8);
    margin-top: 12px;
    font-size: 0.95rem;
}

/* Gallery Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    /* Normalize aspect ratios on mobile — no masonry gaps */
    .gallery-item,
    .gallery-item:nth-child(4n+2),
    .gallery-item:nth-child(4n+3),
    .gallery-item:nth-child(7n) {
        aspect-ratio: 3 / 4;
    }
    .gallery-item-overlay {
        opacity: 1;
        padding: 10px;
        background: linear-gradient(transparent 40%, rgba(0,0,0,0.55));
    }
    .gallery-item:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }
    .lightbox-nav {
        font-size: 2rem;
        padding: 6px 12px;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
    .gallery-filters {
        gap: 6px;
    }
    .gallery-filter {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-height: 44px;
    }
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background-color: var(--color-gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 48px 32px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-gray-100);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
    border-top: 3px solid var(--color-primary);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(12, 37, 28, 0.18), 0 0 0 4px var(--color-primary-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 16px 50px rgba(12, 37, 28, 0.22), 0 0 0 4px var(--color-primary-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-save {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

.save-badge {
    background: linear-gradient(135deg, var(--color-accent) 0%, #748b79 100%) !important;
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-header h3 {
    margin-bottom: 16px;
    font-size: 1.35rem;
    color: var(--color-gray-800);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1;
}

.period {
    color: var(--color-gray-500);
    font-size: 0.95rem;
}

.pricing-features {
    margin-bottom: 32px;
    flex-grow: 1;
    text-align: center;
}

.pricing-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-gray-100);
    color: var(--color-gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    list-style: none;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: auto;
}

/* ===== FAQ Section ===== */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--color-white);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-gray-300);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 2px 12px rgba(12, 37, 28, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    min-height: 44px;
    cursor: pointer;
    gap: 16px;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-800);
    font-family: inherit;
    line-height: 1.5;
}

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

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: var(--color-gray-400);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--color-gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

@media (max-width: 600px) {
    .faq-question {
        padding: 16px 18px;
        font-size: 0.925rem;
    }
    .faq-answer-inner {
        padding: 0 18px 16px;
        font-size: 0.9rem;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #065f46 0%, #0d7377 35%, #0e7490 65%, #155e75 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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.04'%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");
    pointer-events: none;
}

.cta-section h2,
.cta-section p,
.cta-section .btn,
.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background-color: var(--color-gray-100);
    border-color: var(--color-gray-100);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* CTA section title doesn't need the teal accent bar — use white */
.cta-section .section-title::after {
    background: rgba(255, 255, 255, 0.4);
}

/* ===== Multi-Step Form ===== */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 0 8px;
    counter-reset: step;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-gray-400);
    font-weight: 600;
    position: relative;
    flex: 1;
}

.progress-step span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-gray-200);
    color: var(--color-gray-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.progress-step.active span {
    background: var(--color-primary);
    color: var(--color-white);
}

.progress-step.active {
    color: var(--color-primary);
}

.progress-step.completed span {
    background: var(--color-primary);
    color: var(--color-white);
}

.progress-step.completed {
    color: var(--color-gray-600);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.form-step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 16px;
}

.form-step-nav .btn {
    min-width: 140px;
}

/* Price Estimate */
.price-estimate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f4f8f5, #ccfbf1);
    border-radius: 10px;
    margin-top: 8px;
    border: 1px solid rgba(12, 37, 28, 0.15);
}

.price-estimate-label {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

.price-estimate-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Google Places Autocomplete Dropdown */
.pac-container {
    border-radius: 10px;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    font-family: var(--font-primary), sans-serif;
    margin-top: 4px;
    z-index: 10000;
}

.pac-item {
    padding: 10px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    border-top: 1px solid var(--color-gray-100);
    line-height: 1.5;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: var(--color-gray-50);
}

.pac-item-selected {
    background-color: var(--color-primary-glow);
}

.pac-icon {
    display: none;
}

.pac-item-query {
    font-weight: 600;
    color: var(--color-gray-800);
}

/* Progress steps: hide labels on small phones, show on larger */
@media (max-width: 480px) {
    .form-progress {
        gap: 4px;
        padding: 0;
    }
    .progress-step {
        font-size: 0;
        justify-content: center;
        flex: 0 0 auto;
    }
    .progress-step span {
        font-size: 0.85rem;
        width: 36px;
        height: 36px;
    }
    .progress-step.active {
        font-size: 0;
    }
    .form-step-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .form-step-nav .btn {
        width: 100%;
        min-width: 0;
        padding: 16px;
        font-size: 1rem;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .progress-step {
        font-size: 0.75rem;
    }
}

/* ===== Trust Strip ===== */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: var(--color-gray-50);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-700);
    font-size: 0.9rem;
    font-weight: 600;
}

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

@media (max-width: 600px) {
    .trust-strip {
        gap: 16px;
        padding: 16px;
    }
    .trust-item {
        font-size: 0.8rem;
    }
}

/* ===== Booking Section ===== */
.booking {
    padding: 100px 0;
    background-color: var(--color-white);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: 16px; /* Prevents iOS auto-zoom */
    font-family: inherit;
    transition: all var(--transition-fast);
    background-color: var(--color-white);
    width: 100%;
    max-width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.booking-form .btn {
    width: 100%;
    margin-top: 16px;
}

.form-hint {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 12px;
}

/* Pets Options */
.pets-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 16px;
    min-height: 44px;
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.radio-option:hover {
    border-color: var(--color-gray-300);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: var(--color-primary);
    font-weight: 600;
}

.radio-option:has(input:checked) {
    border-color: var(--color-primary);
    background-color: var(--color-primary-glow);
}

/* Add-on Services */
.addon-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    min-height: 44px;
    border: 2px solid var(--color-gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon-item:hover {
    border-color: var(--color-gray-300);
}

.addon-item.selected {
    border-color: var(--color-primary);
    background-color: var(--color-primary-glow);
}

.addon-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.addon-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.addon-item.selected .addon-checkbox {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.addon-item.selected .addon-checkbox::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.addon-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 2px;
}

.addon-info p {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}

.addon-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .pets-options {
        flex-direction: column;
        gap: 10px;
    }

    .radio-option {
        width: 100%;
        min-height: 44px;
    }

    .addon-item {
        padding: 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .addon-item-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .addon-price {
        font-size: 0.95rem;
        width: 100%;
        text-align: right;
        padding-top: 4px;
        border-top: 1px solid var(--color-gray-100);
    }

    .addon-item.selected .addon-price {
        border-top-color: rgba(12, 37, 28, 0.15);
    }

    .addon-info h4 {
        font-size: 0.9rem;
    }
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background-color: var(--color-gray-50);
    border-radius: 16px;
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.form-success h3 {
    margin-bottom: 16px;
}

.form-success p {
    color: var(--color-gray-500);
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background-color: var(--color-gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info h3,
.service-areas h3 {
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--color-gray-500);
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gray-600);
}

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

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.areas-list li {
    color: var(--color-gray-600);
    padding-left: 20px;
    position: relative;
}

.areas-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Service Areas Map */
.service-areas-map {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-gray-200);
}

.map-caption {
    text-align: center;
    color: var(--color-gray-500);
    font-size: 0.875rem;
    margin-top: 12px;
}

/* Custom Leaflet styling to match site theme */
.leaflet-container {
    font-family: var(--font-primary);
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-size: 14px;
    color: var(--color-gray-700);
}

.leaflet-popup-content strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 4px;
}

.area-marker {
    background: var(--color-primary);
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ===== Sticky Mobile CTA ===== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    /* Respect notch/home indicator on iOS */
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}

.mobile-cta-btn {
    width: 100%;
    max-width: 400px;
    padding: 16px 24px !important;
    font-size: 1.05rem !important;
    min-height: 52px;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    /* Pad body so footer isn't hidden behind sticky CTA + safe area */
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}


/* ===== Footer ===== */
.footer {
    background-color: #0a0f1a;
    color: var(--color-gray-400);
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-care {
    color: var(--color-primary-light);
}

.footer-brand p {
    font-style: italic;
    margin-bottom: 24px;
}

.trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.875rem;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: 24px;
    font-size: 1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--color-gray-300);
    transition: color var(--transition-fast);
}

.contact-links a:hover {
    color: var(--color-primary-light);
}

.contact-links svg {
    flex-shrink: 0;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links a {
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(12, 37, 28, 0.2);
    text-align: center;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .benefits-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .pricing-card {
        padding: 40px 24px 32px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    * {
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Nav hidden by default on mobile — slide down when active */
    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: 0 24px;
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .nav.active {
        max-height: 480px;
        padding: 16px 24px 24px;
    }

    .nav .nav-list {
        flex-direction: column;
        gap: 0;
    }

    /* Mobile nav links always dark on white dropdown */
    .nav .nav-link {
        color: var(--color-gray-600);
        display: flex;
        align-items: center;
        padding: 12px 0;
        min-height: 44px;
        border-bottom: 1px solid var(--color-gray-100);
    }
    .nav .nav-list li:last-child .nav-link {
        border-bottom: none;
    }
    .nav .nav-link:hover {
        color: var(--color-primary);
    }
    .nav .nav-link::after {
        background-color: var(--color-primary);
    }
    
    .header-inner {
        height: 70px;
    }
    
    .logo {
        font-size: 1.25rem;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.5rem;
        padding-bottom: 16px;
    }
    
    .section-title::after {
        width: 36px;
        height: 2px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }
    
    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefit-card,
    .service-card {
        padding: 24px 20px;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
        padding: 0;
    }
    
    .pricing-card {
        padding: 28px 20px 24px;
    }
    
    .pricing-card:hover {
        border-top: 3px solid var(--color-primary);
        transform: none;
    }
    
    .pricing-card.featured {
        transform: none;
        box-shadow: 0 4px 20px rgba(12, 37, 28, 0.15);
    }
    
    .pricing-card.featured:hover {
        transform: none;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        padding: 24px 16px;
    }
    
    .testimonials-track {
        gap: 0;
    }
    
    .hero-content {
        padding: 90px 16px 50px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-slogan {
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
    }
    
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .booking-form {
        padding: 24px 16px;
    }
    
    .areas-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .service-areas-map {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
        width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .benefit-card,
    .service-card {
        padding: 24px 20px;
    }
    
    .pricing-card {
        padding: 28px 20px 24px;
    }
    
    .pricing-header h3 {
        font-size: 1.15rem;
    }
    
    .price {
        font-size: 1.85rem;
    }
    
    .pricing-features li {
        padding: 10px 0;
        font-size: 0.875rem;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    /* Mobile form improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }
    
    /* Mobile hero */
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-slogan {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 80px 16px 40px;
    }
    
    /* Section spacing */
    section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .section-title::after {
        width: 32px;
    }

    /* Contact section */
    .contact-grid {
        gap: 24px;
    }

    .contact-info h3 {
        font-size: 1.25rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }
    
    .footer-brand p {
        font-size: 0.875rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }
    
    .footer-links a,
    .contact-links a {
        font-size: 0.875rem;
    }
    
    /* Booking form */
    .booking-form {
        padding: 24px 16px;
    }
    
    .booking-form h3 {
        font-size: 1.25rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 24px 16px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    /* CTA Section */
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
    
    /* Mobile pricing */
    .pricing-amount .price {
        font-size: 2.5rem;
    }
    
    /* Mobile carousel buttons */
    .carousel-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 44px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Booking Calendar ===== */
.booking-calendar {
    background: var(--color-gray-50);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.booking-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.booking-calendar-header .calendar-month {
    font-size: 1.125rem;
    font-weight: 600;
}

.booking-calendar-header .calendar-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    background: var(--color-white);
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-calendar-header .calendar-nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.booking-calendar-grid .day-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gray-500);
    padding: 6px 0;
    text-transform: uppercase;
}

.booking-calendar-grid .day {
    aspect-ratio: 1;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--color-white);
    border: 2px solid transparent;
}

.booking-calendar-grid .day:hover:not(.disabled):not(.other-month) {
    border-color: var(--color-primary);
}

.booking-calendar-grid .day.other-month {
    color: var(--color-gray-300);
    background: transparent;
    cursor: default;
}

.booking-calendar-grid .day.today {
    border-color: var(--color-primary);
}

.booking-calendar-grid .day.selected {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.booking-calendar-grid .day.disabled {
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    cursor: not-allowed;
    text-decoration: line-through;
}

.booking-calendar-grid .day.past {
    color: var(--color-gray-300);
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .booking-calendar {
        padding: 14px;
    }
    .booking-calendar-grid {
        gap: 3px;
    }
    .booking-calendar-grid .day {
        font-size: 0.8rem;
        border-radius: 6px;
    }
    .booking-calendar-grid .day-header {
        font-size: 0.65rem;
        padding: 4px 0;
    }
    .booking-calendar-header .calendar-month {
        font-size: 1rem;
    }
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 12px 8px;
    min-height: 48px;
    text-align: center;
    border: 2px solid var(--color-gray-200);
    border-radius: 8px;
    background: var(--color-white);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot:hover:not(.unavailable) {
    border-color: var(--color-primary);
}

.time-slot.selected {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.time-slot.unavailable {
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slots-loading {
    text-align: center;
    padding: 24px;
    color: var(--color-gray-500);
}

.time-slots-empty {
    text-align: center;
    padding: 24px;
    color: var(--color-gray-500);
    background: var(--color-gray-50);
    border-radius: 8px;
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .time-slot {
        font-size: 0.85rem;
        padding: 10px 4px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .time-slots {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Duration Display */
.duration-display {
    padding: 14px 16px;
    background: var(--color-gray-50);
    border-radius: 8px;
    color: var(--color-gray-600);
    font-weight: 500;
}

/* Booking Summary */
.booking-summary {
    background: var(--color-gray-50);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.booking-summary h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.summary-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item .label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
}

.summary-item .value {
    font-weight: 600;
    color: var(--color-gray-900);
    word-break: break-word;
}

@media (max-width: 600px) {
    .summary-details {
        grid-template-columns: 1fr;
    }
    .booking-summary {
        padding: 16px;
    }
}

/* ===== Utility Classes ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Dynamic Content Loading Transitions ===== */

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Content sections fade in when loaded */
.hero.loaded .hero-content {
    animation: fadeIn 0.6s ease-out;
}

.services-grid.loaded .service-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.services-grid.loaded .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid.loaded .service-card:nth-child(2) { animation-delay: 0.2s; }
.services-grid.loaded .service-card:nth-child(3) { animation-delay: 0.3s; }
.services-grid.loaded .service-card:nth-child(4) { animation-delay: 0.4s; }

.pricing-grid.loaded .pricing-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.pricing-grid.loaded .pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-grid.loaded .pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-grid.loaded .pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-grid.loaded .pricing-card:nth-child(4) { animation-delay: 0.4s; }

.testimonials-carousel.loaded .testimonial-card {
    animation: fadeIn 0.5s ease-out;
}

/* Skeleton loading placeholders */
.skeleton {
    background: linear-gradient(90deg, var(--color-gray-100) 25%, var(--color-gray-200) 50%, var(--color-gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: 4px;
}

.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }
.skeleton-text.long { width: 100%; }

.skeleton-card {
    height: 200px;
    border-radius: 12px;
}

/* Smooth transitions for dynamic content */
.service-card,
.pricing-card,
.testimonial-card,
.benefit-card {
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

/* Price number transition */
.pricing-amount .price {
    transition: all 0.4s ease;
}

/* Hero content transitions */
.hero {
    transition: background 0.6s ease;
}

.hero h1,
.hero .hero-subtitle,
.hero .hero-slogan,
.hero .btn {
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease, background-color 0.4s ease;
}

/* Primary color element transitions */
.btn,
.btn-primary,
.btn-outline,
.nav-link,
.service-card-icon,
.pricing-card,
.pricing-badge,
.footer a,
.contact-item svg,
.benefit-icon {
    transition: all 0.4s ease;
}

/* Smooth color transitions for all interactive elements */
a, button, input, select, textarea {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

/* Section backgrounds */
section {
    transition: background-color 0.5s ease;
}

/* ===== Legal Modal ===== */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.legal-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    background-color: var(--color-white);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.legal-modal-overlay.active .legal-modal {
    transform: translateY(0);
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-gray-200);
}

.legal-modal-header h2 {
    font-size: 1.5rem;
    color: var(--color-gray-800);
    margin: 0;
}

.legal-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--color-gray-500);
    transition: all 0.2s ease;
}

.legal-modal-close:hover {
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
}

.legal-modal-content {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.7;
    color: var(--color-gray-600);
}

.legal-modal-content h2 {
    font-size: 1.25rem;
    color: var(--color-gray-800);
    margin: 0 0 16px 0;
}

.legal-modal-content h3 {
    font-size: 1.1rem;
    color: var(--color-gray-800);
    margin: 24px 0 12px 0;
}

.legal-modal-content p {
    margin-bottom: 16px;
}

.legal-modal-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-modal-content li {
    margin-bottom: 8px;
}

.legal-modal-content strong {
    color: var(--color-gray-700);
}

@media (max-width: 600px) {
    .legal-modal {
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .legal-modal-header {
        padding: 20px 24px;
    }
    
    .legal-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .legal-modal-content {
        padding: 24px;
    }
}

/* ===== Payment Modal ===== */
#paymentModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

#paymentModal.active {
    display: flex;
}

.payment-modal {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.payment-modal .modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.payment-modal .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.payment-modal .modal-body {
    padding: 24px;
}

.payment-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.payment-breakdown {
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.payment-breakdown .breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.payment-breakdown .breakdown-item span:first-child {
    color: #374151;
}

.payment-breakdown .breakdown-item.subtotal {
    font-weight: 600;
    color: #111827;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px dotted #e5e7eb;
}

.payment-breakdown .breakdown-item.subtotal span {
    color: #111827;
}

.payment-breakdown .breakdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0;
}

.payment-breakdown .breakdown-item.addon-header {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-breakdown .breakdown-item.addon-header span:first-child {
    color: var(--color-primary);
}

.payment-breakdown .breakdown-item.addon {
    padding-left: 8px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.payment-row.total {
    font-weight: 600;
    font-size: 1.1rem;
    color: #111827;
}

.payment-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 12px 0;
}

.payment-row.deposit {
    color: var(--color-primary);
    font-weight: 600;
}

.payment-row.remaining {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ─── Cleaner Selection ──────────────────────────────────────────────────── */

.cleaner-selection-header {
    margin-bottom: 16px;
}

.cleaner-selection-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}

.cleaner-selection-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.cleaner-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cleaner-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, opacity 0.15s;
    position: relative;
    text-align: left;
    width: 100%;
}

.cleaner-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(13,148,136,0.1);
}

.cleaner-card.selected {
    border-color: var(--color-primary);
    background: #f4f8f5;
    box-shadow: 0 2px 12px rgba(13,148,136,0.15);
}

.cleaner-card.dimmed {
    opacity: 0.5;
}

/* Selected tick badge */
.cleaner-card-tick {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.cleaner-card.selected .cleaner-card-tick {
    display: flex;
}

.cleaner-card-tick svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}

/* Avatar */
.cleaner-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0f2f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cleaner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card body */
.cleaner-card-body {
    flex: 1;
    min-width: 0;
}

.cleaner-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 3px;
    padding-right: 28px; /* space for tick */
}

.cleaner-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.cleaner-card-stars {
    color: #f59e0b;
    letter-spacing: 1px;
    font-size: 0.75rem;
}

.cleaner-card-bio {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.45;
    margin: 0 0 7px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cleaner-card-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 7px;
}

.cleaner-area-tag {
    font-size: 0.72rem;
    background: #f3f4f6;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 20px;
}

.cleaner-reviews-toggle {
    font-size: 0.78rem;
    color: var(--color-primary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cleaner-reviews-toggle:hover {
    color: var(--color-primary-dark);
}

/* Inline reviews */
.cleaner-reviews-list {
    display: none;
    margin-top: 10px;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
}

.cleaner-reviews-list.open {
    display: block;
}

.cleaner-review-item {
    font-size: 0.8rem;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.4;
}

.cleaner-review-item:last-child {
    border-bottom: none;
}

.cleaner-review-stars {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-bottom: 2px;
}

/* Skeleton loading */
.cleaner-skeleton {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.skeleton-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

.skeleton-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 65%; }
.skeleton-line.long { width: 90%; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Desktop: 2-column grid */
@media (min-width: 640px) {
    .cleaner-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cleaner-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}

/* ─── Account creation panel ─────────────────────────────────────────────── */

.account-creation-panel {
    background: #f4f8f5;
    border: 1px solid #b8c8bc;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.account-creation-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.account-creation-panel-header svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.account-creation-panel-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.account-creation-panel p {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0 0 14px;
}

.account-existing-notice {
    font-size: 0.82rem;
    color: var(--color-primary-dark);
    background: #ccfbf1;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-overlay p {
    margin-top: 16px;
    font-size: 1.1rem;
    color: #374151;
    font-weight: 500;
}

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

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

.payment-info {
    background: #eff6ff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.payment-info p {
    margin: 0 0 8px 0;
    color: #1e40af;
}

.payment-info ul {
    margin: 0;
    padding-left: 20px;
    color: #3b82f6;
}

.payment-info li {
    margin-bottom: 4px;
}

.stripe-form {
    margin-bottom: 20px;
}

.stripe-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.stripe-card-element {
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    transition: border-color 0.2s;
}

.stripe-card-element:focus-within {
    border-color: var(--color-primary);
}

.stripe-errors {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 8px;
    min-height: 20px;
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

.payment-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: #6b7280;
}

.payment-secure svg {
    color: #10b981;
}

#paymentSubmitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =============================================
   RECURRING BOOKING PREVIEW
   ============================================= */

.recurring-info-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e40af;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.recurring-info-banner svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.recurring-dates-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.recurring-date-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
}

.recurring-date-first {
    background: #f0fdf4;
    border-color: #86efac;
}

.recurring-date-ok {
    background: #fafafa;
    border-color: #e5e7eb;
}

.recurring-date-conflict {
    background: #fef2f2;
    border-color: #fecaca;
}

.recurring-date-text {
    font-weight: 500;
    color: #374151;
}

.recurring-date-status {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.recurring-date-first .recurring-date-status {
    color: #16a34a;
}

.recurring-date-ok .recurring-date-status {
    color: #6b7280;
}

.recurring-date-conflict .recurring-date-status {
    color: #dc2626;
}


/* ===== Premium Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }


/* ===== Phase 3 Premium Enhancements ===== */

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background-color: var(--color-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.pulse-logo {
    animation: pulseLogo 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulseLogo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(0.95); }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatWhatsApp 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
}
@keyframes floatWhatsApp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Before & After Slider */
.before-after-section {
    padding: 100px 0;
    background-color: var(--color-white);
}
.ba-slider-container {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(12, 37, 28, 0.15);
}
.ba-image-before, .ba-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ba-image-before img, .ba-image-after img {
    width: 900px; /* Force same width as container */
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba-image-before {
    width: 50%; /* Initial state */
    z-index: 2;
    overflow: hidden;
}
.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    z-index: 4;
    cursor: ew-resize;
}
.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 4px;
    height: 500px;
    background: transparent;
}
.ba-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.ba-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    color: var(--color-primary);
}
.ba-slider-button svg {
    width: 20px;
    margin: -2px;
}
@media (max-width: 900px) {
    .ba-image-before img, .ba-image-after img {
        width: 100vw;
    }
}

/* Cursor-Tracking Glow for Cards */
.service-card, .pricing-card {
    position: relative;
}
.service-card::before, .pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        var(--color-primary-glow),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}
.service-card:hover::before, .pricing-card:hover::before {
    opacity: 1;
}
.service-card > *, .pricing-card > * {
    position: relative;
    z-index: 1;
}

/* ===== Hero Postcode Form ===== */
.hero-postcode-form {
    margin: 28px auto 0;
    max-width: 560px;
}

.hero-postcode-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.97);
    transition: box-shadow 0.3s ease;
}

.hero-postcode-input {
    flex: 1;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-family: var(--font-primary);
    border: none;
    outline: none;
    background: transparent;
    color: var(--color-gray-800);
    min-width: 0;
    border-radius: 11px;
}

.hero-postcode-input::placeholder {
    color: var(--color-gray-400);
}

.hero-postcode-btn {
    border-radius: 11px;
    padding: 14px 24px;
    font-size: 1rem;
    white-space: nowrap;
    border: none;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.hero-postcode-hint {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 10px;
    text-align: center;
}

.hero-postcode-result {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    animation: fadeInUp 0.3s ease;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-postcode-result.success {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-postcode-result.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

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

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.hero-badge svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hero-postcode-input-wrap {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
        border-radius: 16px;
    }
    .hero-postcode-btn {
        border-radius: 11px;
        width: 100%;
    }
    .hero-postcode-input {
        border-radius: 11px;
        width: 100%;
        text-align: center;
    }
    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ===== Trust & Safety Section ===== */
.trust-safety {
    padding: 100px 0;
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.trust-safety::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(156, 177, 160, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.trust-safety .section-title {
    color: var(--color-white);
}

.trust-safety .section-title::after {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.trust-safety-content {
    max-width: 1000px;
    margin: 0 auto;
}

.trust-safety-desc {
    text-align: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 300;
}

.trust-safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.trust-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-normal);
}

.trust-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.trust-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(156, 177, 160, 0.15);
    color: var(--color-accent);
}

.trust-feature-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.trust-feature-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .trust-safety-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trust-safety {
        padding: 64px 0;
    }
}

/* ===== Example Pricing Card ===== */
.pricing-example {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.pricing-example-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 32px;
    max-width: 380px;
    width: 100%;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.pricing-example-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-gray-100);
}

.pricing-example-details {
    margin-bottom: 20px;
}

.pricing-example-row {
    padding: 8px 0;
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.pricing-example-row + .pricing-example-row {
    border-top: 1px dashed var(--color-gray-100);
}

.pricing-example-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 2px solid var(--color-gray-200);
    margin-bottom: 16px;
}

.pricing-example-total-label {
    font-weight: 600;
    color: var(--color-gray-700);
    font-size: 1rem;
}

.pricing-example-total-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-accent);
}

.pricing-example-note {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    line-height: 1.4;
}

/* ===== Cookie Consent ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 16px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-text {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

.cookie-banner-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

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

.cookie-btn-accept:hover {
    background: var(--color-primary-dark);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--color-gray-600);
    border-color: var(--color-gray-200);
}

.cookie-btn-reject:hover {
    background: var(--color-gray-50);
}

.cookie-btn-manage {
    background: transparent;
    color: var(--color-primary);
    border-color: transparent;
    text-decoration: underline;
}

.cookie-btn-manage:hover {
    color: var(--color-primary-dark);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: var(--color-white);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 32px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.cookie-modal-desc {
    color: var(--color-gray-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.cookie-category {
    padding: 16px 0;
    border-top: 1px solid var(--color-gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gray-800);
}

.cookie-category-info p {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    margin-top: 2px;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--color-gray-200);
    border-radius: 24px;
    transition: background 0.3s;
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-btns {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-100);
}

@media (max-width: 480px) {
    .cookie-banner-btns {
        flex-direction: column;
    }
    .cookie-modal-btns {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════
   SOCIAL PROOF BAR
   ═══════════════════════════════════════════════════ */

.social-proof-bar {
    background: #0c251c;
    padding: 20px 0;
    border-bottom: 1px solid rgba(156, 177, 160, 0.15);
}

.social-proof-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.social-proof-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #9cb1a0;
    letter-spacing: -0.03em;
}

.social-proof-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.social-proof-divider {
    width: 1px;
    height: 32px;
    background: rgba(156, 177, 160, 0.2);
}

@media (max-width: 640px) {
    .social-proof-inner {
        gap: 16px;
    }
    .social-proof-num {
        font-size: 1.3rem;
    }
    .social-proof-label {
        font-size: 0.75rem;
    }
    .social-proof-item {
        flex-direction: column;
        gap: 2px;
    }
}

/* ═══════════════════════════════════════════════════
   CLEANER PROFILES PREVIEW
   ═══════════════════════════════════════════════════ */

.cleaner-profiles {
    padding: 80px 0;
    background: var(--color-gray-50);
}

.cleaner-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.cleaner-profile-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray-100);
}

.cleaner-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.cleaner-profile-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--color-gray-100);
}

.cleaner-profile-photo-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0c251c 0%, #1a3d2f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #9cb1a0;
}

.cleaner-profile-body {
    padding: 20px;
}

.cleaner-profile-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.cleaner-profile-areas {
    font-size: 0.82rem;
    color: var(--color-gray-500);
    margin-bottom: 10px;
}

.cleaner-profile-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.cleaner-profile-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cleaner-profile-score {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

.cleaner-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #065f46;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 999px;
}

.cleaner-profile-badge svg {
    width: 12px;
    height: 12px;
}

/* ═══════════════════════════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════════════════════════ */

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.mobile-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    /* Add bottom padding to body so content is not hidden behind sticky CTA */
    body {
        padding-bottom: 72px;
    }
    /* Adjust WhatsApp float position above the sticky bar */
    .whatsapp-float {
        bottom: 84px;
    }
}

@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   MICRO-ANIMATIONS AND POLISH
   ═══════════════════════════════════════════════════ */

/* Card hover lift effect */
.service-card,
.benefit-card,
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.benefit-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Trust feature hover glow */
.trust-feature {
    transition: transform 0.25s ease, background 0.25s ease;
}

.trust-feature:hover {
    transform: translateX(4px);
    background: rgba(156, 177, 160, 0.08);
    border-radius: 12px;
}

/* Hero postcode focus glow moves to the whole bar for a smooth, unified look */
.hero-postcode-input:focus {
    box-shadow: none;
}

/* Smooth number count-up animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.social-proof-num {
    animation: countUp 0.6s ease-out;
}

/* Step card subtle entrance */
.step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* FAQ accordion hover */
.faq-item {
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-primary-light);
}

/* Pulsing hero badge dots */
.hero-badge svg {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Typing cursor animation on postcode placeholder */
.hero-postcode-input::placeholder {
    animation: placeholderFade 4s ease-in-out infinite;
}

@keyframes placeholderFade {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* ── Introductory Offer ribbon on pricing cards ───────────────────────── */
.intro-offer-banner {
    text-align: center;
    margin: -8px auto 28px;
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.pricing-card .intro-offer-wrap { text-align: center; }

/* ── Promo code in checkout ───────────────────────────────────────────── */
.payment-promo {
    margin: 16px 0;
    padding: 14px 0 4px;
    border-top: 1px dashed var(--color-gray-300, #d1d5db);
}
.promo-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gray-700, #374151);
    margin-bottom: 8px;
}
.promo-row { display: flex; gap: 8px; }
.promo-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--color-gray-300, #d1d5db);
    border-radius: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    outline: none;
}
.promo-row input:focus { border-color: var(--color-primary, #0d9488); }
.promo-row button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: var(--color-primary, #0d9488);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}
.promo-row button:disabled { opacity: 0.6; cursor: default; }
.promo-feedback { margin-top: 8px; font-size: 0.85rem; font-weight: 600; }
.promo-feedback.promo-ok { color: #047857; }
.promo-feedback.promo-err { color: #dc2626; }
.payment-row.discount-row { color: #047857; font-weight: 600; }

/* ════════════════════════════════════════════════════════════════
   PREMIUM REFRESH — BRAND EDITION
   Brand palette only: deep forest green, white, sage (from the logo).
   Elegant serif display type to match the logo monogram.
   Additive layer — overrides earlier rules via the cascade.
   ════════════════════════════════════════════════════════════════ */

:root {
    /* Brand sage accent, taken from the ReadyClean logo */
    --gold: #9cb1a0;          /* brand sage (var name kept for compatibility) */
    --gold-light: #b8c8bc;    /* sage light */
    --gold-dark: #5d7565;     /* deep sage for text accents */
    --gradient-gold: linear-gradient(135deg, #b8c8bc 0%, #9cb1a0 55%, #748b79 100%);
    --gradient-green: linear-gradient(135deg, #164030 0%, #0c251c 100%);
    --shadow-soft: 0 10px 30px -12px rgba(12, 37, 28, 0.18);
    --shadow-float: 0 24px 60px -24px rgba(12, 37, 28, 0.35);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: 'Playfair Display', Georgia, serif; /* matches logo serif */
}

/* ---- Typography: elegant serif display, matching the logo ---- */
h1, h2,
.section-title,
.hero h1,
.cta-section h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}
h3 {
    font-family: var(--font-accent);
    letter-spacing: -0.02em;
}
h1, .hero h1 { letter-spacing: -0.015em; line-height: 1.12; }
.section-subtitle { font-weight: 400; }

/* Refined section accent bar → gold */
.section-title::after {
    width: 56px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 99px;
}

/* Reusable eyebrow label above section titles */
.section-eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

/* ---- Buttons: softer radius, premium depth & motion ---- */
.btn {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.005em;
    transition: transform 0.25s var(--ease-premium), box-shadow 0.25s var(--ease-premium), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
    background: var(--gradient-green);
    border-color: transparent;
    box-shadow: 0 8px 22px -10px rgba(12, 37, 28, 0.55);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -12px rgba(12, 37, 28, 0.6);
}

/* Gold CTA helper — the single highest-intent action pops */
.btn-gold,
.hero .btn-primary.btn-large,
.cta-section .btn-primary {
    background: var(--gradient-gold) !important;
    color: #0c251c !important;
    border-color: transparent !important;
    box-shadow: 0 12px 30px -10px rgba(56, 76, 62, 0.6) !important;
}
.btn-gold:hover,
.hero .btn-primary.btn-large:hover,
.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(56, 76, 62, 0.75) !important;
    color: #071610 !important;
}

/* ---- Hero: trust eyebrow + tighter, richer composition ---- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(184, 200, 188, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeInUp 0.7s var(--ease-premium) both;
}
.hero-eyebrow-stars {
    color: var(--gold-light);
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.hero-eyebrow-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.hero-subtitle {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero postcode → one smooth, unified search bar with an inset button */
.hero-postcode-input-wrap {
    border-radius: 16px;
    box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.hero-postcode-input-wrap:focus-within {
    box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--gold);
}
.hero-postcode-btn {
    background: var(--gradient-gold) !important;
    color: #0c251c !important;
    border-color: transparent !important;
    font-weight: 700;
    transition: transform 0.2s var(--ease-premium), filter 0.2s ease;
}
.hero-postcode-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ---- Cards: refined borders + premium float on hover ---- */
.service-card,
.benefit-card,
.pricing-card,
.cleaner-profile-card,
.step-card {
    border-radius: 18px;
    transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.25s ease;
}
.service-card,
.benefit-card {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-soft);
}
.service-card:hover,
.benefit-card:hover,
.pricing-card:hover,
.cleaner-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
}

/* Icon chips get a touch of warmth */
.service-icon,
.step-icon {
    transition: transform 0.35s var(--ease-premium), color 0.25s ease;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); color: var(--gold-dark); }

/* Featured pricing card: gold halo, the premium tier */
.pricing-card.featured {
    border: 2px solid var(--gold);
    box-shadow: 0 18px 50px -18px rgba(56, 76, 62, 0.45), 0 0 0 4px rgba(156, 177, 160, 0.12);
}
.pricing-card.featured:hover {
    box-shadow: 0 26px 64px -20px rgba(56, 76, 62, 0.55), 0 0 0 4px rgba(156, 177, 160, 0.16);
}
.pricing-card.featured .pricing-badge { background: var(--gradient-gold); color: #0c251c; }
.pricing-card.featured .price { color: var(--color-primary); }
.pricing-card.featured .btn-primary {
    background: var(--gradient-gold) !important;
    color: #0c251c !important;
    box-shadow: 0 12px 30px -10px rgba(56, 76, 62, 0.6) !important;
}

/* ---- Social proof bar: subtle gold hairline ---- */
.social-proof-bar {
    background: var(--gradient-green);
    border-bottom: 1px solid rgba(156, 177, 160, 0.25);
}
.social-proof-bar .social-proof-label { color: rgba(255,255,255,0.82) !important; }

/* ---- CTA band: harmonise to brand green (was off-brand teal) ---- */
.cta-section {
    background: var(--gradient-green);
}

/* ---- Booking: calmer, more inviting surface + clear progress ---- */
.booking {
    background: linear-gradient(180deg, var(--color-gray-50) 0%, #fff 100%);
}
.booking-form {
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 22px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
}
.progress-step.active span,
.progress-step.completed span {
    background: var(--gradient-green);
    box-shadow: 0 4px 12px -4px rgba(12, 37, 28, 0.5);
}
.progress-step.active { color: var(--color-primary); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(156, 177, 160, 0.18);
}
.trust-strip {
    background: linear-gradient(135deg, #f7f6f2 0%, #f1efe7 100%);
    border: 1px solid var(--color-gray-200);
}
.trust-item svg { color: var(--gold-dark); }

@media (max-width: 600px) {
    .booking-form { padding: 22px 16px; }
}

/* ---- Mobile sticky CTA: dual call + book ---- */
.mobile-sticky-cta {
    display: none;
    gap: 10px;
    align-items: stretch;
    background: rgba(255,255,255,0.96);
}
.mobile-cta-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex: 0 0 64px;
    border-radius: 12px;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
}
.mobile-cta-call svg { stroke: var(--color-primary); }
.mobile-cta-btn {
    flex: 1;
    background: var(--gradient-gold) !important;
    color: #0c251c !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px -10px rgba(56, 76, 62, 0.7) !important;
}
@media (max-width: 768px) {
    .mobile-sticky-cta { display: flex; }
    body { padding-bottom: 78px; }
}

/* ---- Animated stat strip (social-proof bar) ---- */
.social-proof-bar { padding: 30px 0; }
.stat-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 36px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    padding: 4px 6px;
}
.stat-item .stat-num,
.stat-item .stat-prefix,
.stat-item .stat-suffix {
    font-family: var(--font-accent);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat-item .stat-num,
.stat-item .stat-prefix { display: inline; }
.stat-suffix { color: var(--gold-light); }
.stat-suffix.stat-star { color: var(--gold-light); }
.stat-label {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}
.stat-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, transparent, rgba(156,177,160,0.4), transparent);
}
.stat-tagline {
    text-align: center;
    margin-top: 22px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    font-weight: 500;
}
@media (max-width: 640px) {
    .stat-strip { gap: 6px 14px; }
    .stat-divider { display: none; }
    .stat-item { flex: 0 0 calc(50% - 14px); }
    .stat-label { font-size: 0.68rem; }
    .stat-tagline { font-size: 0.85rem; padding: 0 8px; }
}

/* ---- Comparison section: the competition-destroyer ---- */
.compare {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, var(--color-gray-50) 100%);
}
.compare-wrap {
    max-width: 920px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-gray-200);
    background: #fff;
}
.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}
.compare-table th,
.compare-table td {
    padding: 16px 18px;
    text-align: center;
    border-bottom: 1px solid var(--color-gray-100);
}
.compare-table thead th {
    font-family: var(--font-accent);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-gray-500);
    background: var(--color-gray-50);
    border-bottom: 2px solid var(--color-gray-200);
    vertical-align: bottom;
    white-space: nowrap;
}
.compare-table .compare-feature-head,
.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--color-gray-800);
    white-space: normal;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(156,177,160,0.05); }

/* Highlighted ReadyClean column */
.compare-table th.compare-us {
    color: var(--color-primary);
    font-size: 1.05rem;
    background: linear-gradient(180deg, rgba(156,177,160,0.16), rgba(156,177,160,0.06));
    border-bottom: 2px solid var(--gold);
}
.compare-table td.compare-us {
    background: rgba(156,177,160,0.07);
    border-left: 1px solid rgba(156,177,160,0.25);
    border-right: 1px solid rgba(156,177,160,0.25);
}
.compare-table tbody tr:last-child td.compare-us { border-bottom: 2px solid var(--gold); }
.compare-us-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--gradient-green);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -1px;
    margin-right: 8px;
    vertical-align: middle;
}
.compare-us-logo .r { color: #fff; }
.compare-us-logo .c { color: var(--gold-light); }

.ci {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
}
.ci.yes { background: rgba(22,64,48,0.12); color: #166040; }
.ci.no  { background: rgba(220,38,38,0.10); color: #c0392b; }
.ci.maybe { background: rgba(156,177,160,0.18); color: var(--gold-dark); }
.compare-us .ci.yes { background: var(--gradient-green); color: #fff; box-shadow: 0 4px 10px -4px rgba(12,37,28,0.5); }
.compare-legend {
    text-align: center;
    margin-top: 18px;
    color: var(--color-gray-500);
    font-size: 0.85rem;
}
.compare-legend .ci { width: 20px; height: 20px; font-size: 0.7rem; vertical-align: middle; }

/* ---- Guarantee band ---- */
.guarantee-band {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 920px;
    margin: 48px auto 0;
    padding: 32px 36px;
    border-radius: 20px;
    background: var(--gradient-green);
    box-shadow: var(--shadow-float);
    position: relative;
    overflow: hidden;
}
.guarantee-band::after {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(156,177,160,0.22), transparent 70%);
    pointer-events: none;
}
.guarantee-seal {
    flex-shrink: 0;
    width: 96px; height: 96px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: #0c251c;
    box-shadow: 0 10px 30px -8px rgba(56,76,62,0.7);
    border: 3px solid rgba(255,255,255,0.5);
    position: relative;
    z-index: 1;
}
.guarantee-seal-pct { font-family: var(--font-accent); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.guarantee-seal-sub { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.guarantee-text { flex: 1; position: relative; z-index: 1; }
.guarantee-text h3 { color: #fff; font-family: var(--font-display); margin-bottom: 6px; }
.guarantee-text p { color: rgba(255,255,255,0.82); font-size: 0.98rem; line-height: 1.55; }
.guarantee-cta { flex-shrink: 0; position: relative; z-index: 1; }

@media (max-width: 760px) {
    .guarantee-band { flex-direction: column; text-align: center; padding: 28px 22px; gap: 18px; }
    .guarantee-cta { width: 100%; }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .hero-badge svg,
    .hero-postcode-input::placeholder,
    .social-proof-num,
    .hero-eyebrow { animation: none !important; }
    .btn:hover,
    .service-card:hover,
    .benefit-card:hover,
    .pricing-card:hover,
    .cleaner-profile-card:hover { transform: none !important; }
}

/* ---- Hero: cinematic, faster, brand-warm ---- */
.hero {
    background:
        radial-gradient(120% 75% at 50% 0%, rgba(22, 64, 48, 0.55), transparent 60%),
        linear-gradient(180deg, rgba(7, 22, 16, 0.55) 0%, rgba(10, 28, 21, 0.82) 55%, rgba(7, 22, 16, 0.95) 100%),
        url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?q=80&w=1600&auto=format&fit=crop');
    background-size: cover, cover, cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; /* mobile-safe default */
}
/* Subtle parallax only on larger screens that handle it well */
@media (min-width: 1025px) {
    .hero { background-attachment: fixed, fixed, fixed; }
}
.hero h1 {
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}
.hero-overlay {
    background: radial-gradient(ellipse, rgba(156, 177, 160, 0.16) 0%, transparent 70%);
}

/* ════════════════════════════════════════════════════════════════
   LOCATION PAGES — premium, shared (replaces per-page inline styles)
   ════════════════════════════════════════════════════════════════ */
.loc-hero {
    position: relative;
    padding: 150px 0 80px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(22, 64, 48, 0.6), transparent 60%),
        linear-gradient(135deg, #164030 0%, #0c251c 100%);
}
.loc-hero::before {
    content: '';
    position: absolute;
    top: -30%; left: 50%;
    width: min(720px, 100%); height: 440px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(156, 177, 160, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.loc-hero .container { position: relative; z-index: 1; }
.loc-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}
.loc-hero .loc-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.loc-hero .loc-postcode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(184, 200, 188, 0.4);
    color: var(--gold-light);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
}
.loc-hero .btn-primary,
.loc-cta .btn-primary {
    background: var(--gradient-gold) !important;
    color: #0c251c !important;
    border-color: transparent !important;
    box-shadow: 0 12px 30px -10px rgba(56, 76, 62, 0.6) !important;
}
.loc-hero .btn-primary:hover,
.loc-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(56, 76, 62, 0.75) !important;
}

.loc-features { padding: 80px 0; background: linear-gradient(180deg, var(--color-gray-50) 0%, #fff 100%); }
.loc-features .section-title { margin-bottom: 40px; }
.loc-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 8px;
}
.loc-feature-card {
    background: #fff;
    padding: 30px 28px;
    border-radius: 18px;
    border: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
    position: relative;
}
.loc-feature-card::before {
    content: '';
    display: block;
    width: 40px; height: 3px;
    border-radius: 99px;
    background: var(--gradient-gold);
    margin-bottom: 16px;
}
.loc-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.loc-feature-card h3 { font-family: var(--font-accent); font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; color: var(--color-gray-900); }
.loc-feature-card p { font-size: 0.92rem; color: var(--color-gray-600); line-height: 1.6; }

.loc-cta { padding: 80px 0; text-align: center; color: #fff; background: var(--gradient-green); position: relative; overflow: hidden; }
.loc-cta::after {
    content: '';
    position: absolute; top: -40%; right: -5%;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(156, 177, 160, 0.2), transparent 70%);
    pointer-events: none;
}
.loc-cta .container { position: relative; z-index: 1; }
.loc-cta h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; color: #fff; margin-bottom: 12px; }
.loc-cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 26px; font-size: 1.05rem; }

/* Localized FAQ (native <details> — no JS required) */
.loc-faq { padding: 72px 0; background: #fff; }
.loc-faq .faq-list { max-width: 760px; margin: 0 auto; }
.loc-faq details {
    border: 1px solid var(--color-gray-200);
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.loc-faq details[open] { border-color: var(--gold); box-shadow: 0 6px 20px -10px rgba(56, 76, 62, 0.4); }
.loc-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--color-gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.loc-faq summary::-webkit-details-marker { display: none; }
.loc-faq summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold-dark);
    transition: transform 0.25s ease;
    line-height: 1;
}
.loc-faq details[open] summary::after { transform: rotate(45deg); }
.loc-faq details p { padding: 0 22px 20px; color: var(--color-gray-600); line-height: 1.65; font-size: 0.96rem; }

.loc-areas { padding: 56px 0; text-align: center; background: var(--color-gray-50); }
.loc-areas h3 { font-family: var(--font-accent); font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; color: var(--color-gray-900); }
.loc-areas-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.loc-areas-list a {
    display: inline-block;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 99px;
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.loc-areas-list a:hover { border-color: var(--gold); color: var(--color-primary); transform: translateY(-1px); }
.loc-areas-list a.current { background: var(--gradient-green); border-color: transparent; color: #fff; }

.loc-back { text-align: center; padding: 28px 0 48px; background: var(--color-gray-50); }
.loc-back a { color: var(--color-primary); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.loc-back a:hover { color: var(--gold-dark); text-decoration: underline; }

@media (max-width: 640px) {
    .loc-hero { padding: 120px 20px 56px; }
}

/* ════════════════════════════════════════════════════════════════
   BOOKING FUNNEL — clearer feedback + premium controls
   ════════════════════════════════════════════════════════════════ */

/* Inline step error message */
.form-step-error {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 8px 0 4px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 600;
}
.form-step-error::before {
    content: '!';
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}
.form-step-error.shake { animation: fieldShake 0.4s ease; }
@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Errored fields */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #dc2626 !important;
    background: #fff7f7;
}

/* Live price estimate → on-brand, more prominent */
.price-estimate {
    background: linear-gradient(135deg, #f4f8f5 0%, #eaf2ec 100%);
    border: 1px solid rgba(22, 64, 48, 0.18);
    border-left: 4px solid var(--gold);
    border-radius: 14px;
    padding: 18px 22px;
}
.price-estimate-value { color: var(--color-primary); font-family: var(--font-accent); }

/* Duration chip */
.duration-display {
    background: var(--color-gray-50);
    border: 1px dashed var(--color-gray-300);
    border-radius: 10px;
}

/* Calendar polish */
.booking-calendar { border: 1px solid var(--color-gray-200); background: #fff; }
.booking-calendar-header .calendar-nav-btn { border-radius: 10px; }
.booking-calendar-header .calendar-nav-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.booking-calendar-grid .day { background: var(--color-gray-50); }
.booking-calendar-grid .day:hover:not(.disabled):not(.other-month):not(.selected) {
    border-color: var(--gold);
    color: var(--color-primary);
}
.booking-calendar-grid .day.today:not(.selected) { border-color: var(--gold); color: var(--gold-dark); font-weight: 700; }
.booking-calendar-grid .day.selected {
    background: var(--gradient-green);
    border-color: transparent;
    box-shadow: 0 6px 16px -6px rgba(12, 37, 28, 0.5);
}

/* Time slots polish */
.time-slot { border-radius: 10px; }
.time-slot:hover:not(.unavailable):not(.selected) { border-color: var(--gold); color: var(--color-primary); }
.time-slot.selected {
    background: var(--gradient-green);
    border-color: transparent;
    box-shadow: 0 6px 16px -6px rgba(12, 37, 28, 0.5);
}

/* Booking summary → premium card */
.booking-summary {
    background: linear-gradient(135deg, #f7f6f2 0%, #f1efe7 100%);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
}
.booking-summary h4 { font-family: var(--font-accent); }

/* Selected add-on / radio polish */
.radio-option:has(input:checked) { border-color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   BRAND LOGO — serif monogram + two-tone wordmark (matches logo file)
   ════════════════════════════════════════════════════════════════ */
.logo-rc {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.4rem;
    letter-spacing: 0;
}
.logo-rc .c {
    display: inline-block;
    margin-left: -0.28em;
    transform: translateY(0.09em);
}
.logo-main {
    letter-spacing: 0.18em;
    font-weight: 600;
}
.logo-main .logo-clean { color: var(--color-accent); }
.header.scrolled .logo-main .logo-ready { color: var(--color-primary); }
.header.scrolled .logo-main .logo-clean { color: #748b79; }
.logo-sub {
    letter-spacing: 0.34em;
    color: var(--color-accent);
}
