@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #006D54;       /* Deep Medical Teal */
    --primary-light: #008D6E;      /* Lighter Teal */
    --primary-dark: #004D3B;       /* Deepest Forest Teal */
    --primary-bg: #E6F3F0;         /* Soft Teal Tint Background */
    --secondary-color: #2D3748;     /* Professional Slate Gray */
    --secondary-light: #4A5568;    /* Lighter Slate */
    --accent-color: #10B981;       /* Vibrant Mint for CTAs */
    --accent-hover: #059669;       /* Mint CTA Hover */
    --accent-bg: #D1FAE5;          /* Soft Mint Background */
    --background-light: #F7FAFA;   /* Very Light Grey-Teal Tint */
    --background-white: #FFFFFF;
    --text-dark: #1A202C;          /* High Contrast Body Text */
    --text-muted: #64748B;         /* Secondary/Muted Text */
    --text-white: #FFFFFF;
    
    --border-color: #E2E8F0;
    --border-focus: #006D54;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 20px 48px rgba(0, 109, 84, 0.13);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --max-width: 1180px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--background-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

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

h2.section-title.left::after {
    left: 0;
    transform: none;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

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

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

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

@media (min-width: 1025px) {
    body {
        min-width: 1180px;
    }
    .container {
        width: 1180px;
        min-width: 1180px;
        max-width: 1180px;
        padding-left: 0;
        padding-right: 0;
    }
}

.section {
    padding: 6rem 0;
}

.section-bg {
    background-color: var(--background-light);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

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

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

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

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

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

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

.btn-block {
    width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

header.scrolled nav {
    height: 64px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-cta {
    margin-left: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at 85% 15%, #F0F6F5 0%, #FFFFFF 60%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 109, 84, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    top: -10%;
    right: -10%;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 109, 84, 0.15);
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 0px;
}

/* Hero Specific Buttons */
.btn-hero-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-hero-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 109, 84, 0.2);
}

.btn-hero-secondary {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
    background-color: var(--background-light);
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

/* Bottom Badges */
.hero-divider {
    border-top: 1px solid var(--border-color);
    margin: 2.5rem 0 1.5rem;
}

.hero-bottom-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.badges-title {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
}

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

/* Postcode Checker Box */
.checker-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.checker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.checker-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.checker-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.checker-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checker-input {
    flex-grow: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.checker-input:focus {
    border-color: var(--border-focus);
}

.checker-result {
    font-size: 0.9375rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    width: 100%;
}

.checker-result:empty {
    display: none !important;
}

.result-success {
    background: linear-gradient(90deg, var(--primary-bg), #EAF6F3);
    border: 1px solid rgba(0, 109, 84, 0.2);
    color: var(--primary-dark);
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 8px rgba(0, 109, 84, 0.04);
}

.result-error {
    background: linear-gradient(90deg, #FEF2F2, #FFF5F5);
    border: 1px solid rgba(220, 38, 38, 0.15);
    color: #991B1B;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.04);
}

.checker-result .alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checker-result.result-success .alert-icon svg {
    color: var(--primary-color);
}

.checker-result.result-error .alert-icon svg {
    color: #DC2626;
}

.checker-result .alert-content {
    flex-grow: 1;
    line-height: 1.5;
}

.checker-result .alert-content strong {
    font-weight: 700;
}

.checker-result .alert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    background-color: var(--accent-color);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.checker-result .alert-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    color: #fff;
}

@media (max-width: 576px) {
    .checker-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .checker-result .alert-btn {
        width: 100%;
        text-align: center;
    }
}

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Pillars Cards */
.pillar-card {
    background-color: var(--background-white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-bg);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--primary-bg);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pillar-card:nth-child(even) .icon-wrapper {
    background-color: var(--accent-bg);
    color: var(--accent-hover);
}

.pillar-card h3 {
    margin-bottom: 1rem;
}

/* Specialties Grid / Carousel */

.specialty-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.specialty-image-wrapper {
    position: relative;
    height: 200px;
    background-color: var(--primary-bg);
    overflow: hidden;
}

.specialty-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.specialty-card:hover .specialty-image {
    transform: scale(1.05);
}

.specialty-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.specialty-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.specialty-content p {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.specialty-link {
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Interactive Rehab Funnel */
.funnel-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.funnel-container h2 {
    color: var(--text-white);
}

.funnel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.funnel-info h2 {
    margin-bottom: 1.5rem;
}

.funnel-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.funnel-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.funnel-bullet {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.funnel-bullet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.875rem;
}

.funnel-card {
    background-color: var(--background-white);
    color: var(--text-dark);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.funnel-step {
    display: none;
}

.funnel-step.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.funnel-step-indicator {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.funnel-step-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.funnel-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.funnel-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.funnel-option:hover {
    border-color: var(--primary-light);
    background-color: var(--primary-bg);
}

.funnel-option.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-bg);
    color: var(--primary-dark);
}

.funnel-option input[type="radio"] {
    display: none;
}

.option-dot {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.funnel-option.selected .option-dot {
    border-color: var(--primary-color);
}

.funnel-option.selected .option-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.funnel-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.rehab-plan-result {
    text-align: center;
}

.rehab-plan-result h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.rehab-plan-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.rehab-plan-summary {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

/* Timeline / How It Works (Horizontal Roadmap) */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1180px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    height: 4px;
    background-color: var(--border-color);
    top: 24px; /* Center of the 48px badge */
    left: 16.7%;
    right: 16.7%;
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--background-white), var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.timeline-content {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    flex-grow: 1;
    width: 100%;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-bg);
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* FAQs Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* arbitrary height to slide down */
}

/* Contact / Booking Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

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

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.info-item .icon-wrapper {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.info-item h4 {
    margin-bottom: 0.25rem;
}

/* Multi-step Form */
.step-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.step-bar::after {
    content: '';
    position: absolute;
    height: 4px;
    background-color: var(--border-color);
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 0;
}

.form-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-white);
    border: 4px solid var(--border-color);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-muted);
    transition: var(--transition);
}

.form-step-dot.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.form-step-dot.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeInUp 0.4s ease forwards;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--border-focus);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input {
    margin-top: 0.25rem;
}

.checkbox-group span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

/* Success Screen */
.booking-success {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--accent-bg);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
}

.booking-success h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.booking-success p {
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Locations Page */
.locations-filter {
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
}

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

.location-column h3 {
    border-bottom: 2px solid var(--primary-bg);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    color: var(--primary-color);
}

.suburb-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.suburb-list li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.suburb-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* SEO Footer */
footer {
    background-color: #1A202C;
    color: #E2E8F0;
    padding: 5rem 0 2rem;
}

footer .container {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.875rem;
    color: #A0AEC0;
    margin-bottom: 1.5rem;
}

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

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #A0AEC0;
    font-size: 0.875rem;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #A0AEC0;
}

.footer-contact-item svg {
    color: var(--accent-color);
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: #718096;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: #718096;
}

.footer-legal-links a:hover {
    color: #A0AEC0;
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-image-panel {
        align-items: center;
        height: auto;
    }
    .hero-image-container {
        height: 480px;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .badges-row {
        justify-content: center;
    }
    .checker-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .funnel-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    nav {
        height: 70px;
    }
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--background-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links.active + .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-links.active + .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav-links.active + .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .timeline::after {
        display: none;
    }
    .timeline-item {
        text-align: center;
        align-items: center;
    }
    .timeline-badge {
        margin-bottom: 1rem;
    }
    .funnel-container {
        padding: 2.5rem 1.5rem;
    }
    .funnel-card {
        padding: 2rem 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Hero Image & Badge Overlays */
.hero-image-panel {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 100%;
    transition: var(--transition);
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* Same-day Floating Visit Badge */
.floating-visit-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--background-white);
    border-radius: var(--border-radius-sm);
    padding: 0.875rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 10;
    border: 1px solid var(--border-color);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.visit-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.visit-badge-text {
    display: flex;
    flex-direction: column;
}

.visit-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.visit-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Premium Side-by-Side Coverage Checker Layout */
.coverage-checker-section {
    background-color: var(--background-light);
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.checker-layout-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 3rem;
    align-items: stretch;
}

.ref-checker-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.ref-checker-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.ref-checker-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ref-checker-icon {
    stroke-width: 2.5px;
}

.ref-checker-titles h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}

.ref-checker-titles p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.ref-checker-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ref-checker-input {
    flex-grow: 1;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.ref-checker-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 109, 84, 0.1);
}

.ref-checker-btn {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.ref-checker-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.ref-checker-divider {
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.ref-checker-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.covered-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.covered-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.covered-pill {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary-light);
}

.pill-bold {
    font-weight: 700;
    color: var(--primary-color);
}

.expanding-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Dispatch Map Area */
.checker-map-column {
    display: flex;
}

.map-card-container {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
}

.map-state {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}

.map-state.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.map-state-icon {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    opacity: 0.55;
}

.map-state-text {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.5;
}

.active-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(4px);
    color: var(--text-white);
    padding: 0.875rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Google Reviews Card */
.review-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-bg);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0px;
}

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

.google-logo-icon {
    width: 18px;
    height: 18px;
}

.review-card .stars {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.review-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Footer Newsletter Form Styling */
.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.footer-newsletter-form input[type="email"] {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid #2D3748;
    background-color: #2D3748;
    color: var(--text-white);
    font-size: 0.875rem;
    outline: none;
    width: 100%;
    transition: var(--transition);
}

.footer-newsletter-form input[type="email"]:focus {
    border-color: var(--primary-color);
    background-color: #1A202C;
}

.footer-newsletter-form button {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
}

@media (max-width: 576px) {
    .ref-checker-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    .ref-checker-btn {
        width: 100%;
    }
}

/* ── Generic Page Hero (Collage Style) ── */
.page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* header height offset */
}
.page-hero-collage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr 0.9fr;
    grid-template-rows: 1fr;
    gap: 0;
    z-index: 0;
}
.page-hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 109, 84, 0.85) 0%,
        rgba(0, 77, 59, 0.75) 50%,
        rgba(0, 109, 84, 0.85) 100%
    );
    z-index: 1;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 1rem 5rem;
}
.page-hero-content .hero-tag {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    margin-bottom: 1.25rem;
}
.page-hero-content h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.page-hero-content p {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

