﻿:root {
    --primary-navy: #0A2342; /* Deep modern blue matching the logo swoosh */
    --primary-blue: #00BFFF; /* Bright Cyan matching "Roberts" text */
    --action-blue: #007BFF; /* Rich blue matching "Care" text */
    --accent-gold: #FFC107; /* Keeping gold for minor accents, or use action-blue */
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-grey: #F0F2F5;
    
    --font-sans: 'Poppins', 'Segoe UI', sans-serif; /* Modern clean rounded sans */
    --font-serif: 'DM Serif Display', serif; /* Elegant heading serif */
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Typography Enhancements */
h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

h1 i {
    font-family: var(--font-serif);
    font-weight: 600;
    font-style: italic;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Primary Branding Blue Button */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #067bb5;
}

/* Vibrant Action Blue Phone Button */
.btn-call {
    background-color: var(--action-blue);
    color: var(--text-light);
    border-radius: 50px; /* highly rounded pill shape */
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 10px rgba(33, 136, 255, 0.3);
}

.btn-call:hover {
    background-color: #4040FC;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(83, 83, 255, 0.4);
}

.btn-call .icon {
    margin-right: 0.5rem;
}

/* Two-tier Header Layout */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.05rem 5%;
    border-bottom: 1px solid #eaeaea;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
}

.logo img {
    height: 76px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(10, 35, 66, 0.12));
}

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

/* Navigation & Mega Menu */
.desktop-nav {
    display: none;
}
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(10, 35, 66, 0.1);
    border-radius: 999px;
    background: #eef5ff;
    color: var(--primary-navy);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(10, 35, 66, 0.06);
}

.hamburger {
    font-size: 1.45rem;
    line-height: 1;
}
@media (min-width: 900px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .menu-toggle {
        display: none;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.desktop-nav > .nav-link,
.dropdown-toggle,
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.82rem 1.6rem;
    border-radius: 999px;
    background: #edf5ff;
    border: 1px solid rgba(10, 35, 66, 0.06);
    box-shadow: 0 4px 10px rgba(10, 35, 66, 0.03);
    color: var(--primary-navy);
}

.desktop-nav > .nav-link:hover,
.dropdown-toggle:hover,
.nav-btn:hover {
    background: #dcecff;
    color: var(--action-blue);
    border-color: rgba(0, 123, 255, 0.12);
    transform: translateY(-1px);
}

.nav-item {
    position: static;
}
.main-header {
    position: relative;
}

.dropdown-toggle {
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    gap: 0.38rem;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    margin-left: 0.18rem;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--primary-navy);
    transform: translateY(1px);
}

.dropdown-toggle.is-open {
    background: #d7ebff;
    color: var(--action-blue);
    box-shadow: inset 0 0 0 1px rgba(0, 123, 255, 0.12);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background:
        linear-gradient(180deg, rgba(244, 248, 254, 0.96) 0%, rgba(233, 242, 255, 0.94) 52%, rgba(238, 244, 251, 0.96) 100%),
        radial-gradient(circle at top left, rgba(0, 191, 255, 0.12), transparent 24%);
    background-size: auto, auto, cover;
    background-position: center, top left;
    box-shadow: 0 18px 38px rgba(10, 35, 66, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
}
.mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 899px) {
    body.nav-open {
        overflow: hidden;
    }

    .top-bar {
        position: relative;
        padding: 0.9rem 5%;
    }

    .logo img {
        height: 58px;
    }

    .desktop-nav.mobile-open {
        display: flex;
        position: absolute;
        top: calc(100% + 0.7rem);
        left: 5%;
        right: 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(10, 35, 66, 0.08);
        border-radius: 24px;
        box-shadow: 0 24px 44px rgba(10, 35, 66, 0.16);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        z-index: 1200;
    }

    .desktop-nav.mobile-open > .nav-link,
    .desktop-nav.mobile-open .dropdown-toggle,
    .desktop-nav.mobile-open .nav-btn {
        width: 100%;
        justify-content: space-between;
        min-height: 50px;
        padding: 0.9rem 1rem;
    }

    .desktop-nav.mobile-open .nav-item {
        width: 100%;
    }

    .desktop-nav.mobile-open .mega-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-radius: 18px;
        margin-top: 0;
        transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
    }

    .desktop-nav.mobile-open .mega-menu.open {
        opacity: 1;
        visibility: visible;
        max-height: 1200px;
        margin-top: 0.2rem;
    }

    .desktop-nav.mobile-open .mega-menu-container,
    .desktop-nav.mobile-open #types-of-care .mega-menu-container,
    .desktop-nav.mobile-open #why-us .mega-menu-container {
        padding: 1rem;
    }

    .desktop-nav.mobile-open #types-of-care .mega-menu-container::before,
    .desktop-nav.mobile-open #why-us .mega-menu-container::before {
        inset: 0;
        border-radius: 18px;
    }

    .desktop-nav.mobile-open .mega-menu h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .desktop-nav.mobile-open .mega-grid,
    .desktop-nav.mobile-open .mega-grid-services,
    .desktop-nav.mobile-open .services-menu-groups,
    .desktop-nav.mobile-open .why-us-menu-groups {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .desktop-nav.mobile-open .services-menu-card,
    .desktop-nav.mobile-open .services-menu-card-wide,
    .desktop-nav.mobile-open .why-us-feature-card,
    .desktop-nav.mobile-open .why-us-links-card {
        padding: 1rem;
    }

    .desktop-nav.mobile-open .mega-links {
        grid-template-columns: 1fr;
    }
}

.mega-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
}

#types-of-care .mega-menu-container {
    position: relative;
}

#types-of-care .mega-menu-container::before {
    content: "";
    position: absolute;
    inset: 1rem 0 0.9rem;
    border-radius: 38px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72)),
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(10,35,66,0.02));
    border: 1px solid rgba(10, 35, 66, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 24px 50px rgba(10, 35, 66, 0.06);
    pointer-events: none;
}

#types-of-care .mega-menu h3,
#types-of-care .mega-grid-services {
    position: relative;
    z-index: 1;
}

#types-of-care .mega-menu h3 {
    color: #000000;
}

#types-of-care .services-menu-title,
#types-of-care .services-menu-title i {
    color: #000000 !important;
    text-shadow: none !important;
    position: relative;
    z-index: 2;
}

#why-us .mega-menu-container {
    position: relative;
}

#why-us .mega-menu-container::before {
    content: "";
    position: absolute;
    inset: 1rem 0 0.9rem;
    border-radius: 38px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72)),
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(10,35,66,0.02));
    border: 1px solid rgba(10, 35, 66, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        0 24px 50px rgba(10, 35, 66, 0.06);
    pointer-events: none;
}

#why-us .why-us-menu-title,
#why-us .why-us-menu-title i,
#why-us .services-menu-groups {
    position: relative;
    z-index: 1;
}

#why-us .why-us-menu-title,
#why-us .why-us-menu-title i {
    color: var(--primary-navy);
}

.why-us-menu-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-us-feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.why-us-feature-card .btn-outline {
    margin-top: 0.75rem;
    border-radius: 999px;
    background: #eef5ff;
    border-color: rgba(10, 35, 66, 0.08);
}

.why-us-links-card h4 {
    margin-bottom: 1rem;
}

.mega-menu h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--primary-navy);
}

.mega-menu h3 i {
    font-family: var(--font-serif);
    font-weight: 600;
    font-style: italic;
}

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

.mega-grid-services {
    display: block;
}

.services-menu-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.services-menu-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, #ffffff 100%);
    border-radius: 28px;
    border: 1px solid rgba(10, 35, 66, 0.08);
    padding: 1.6rem 1.45rem 1.4rem;
    box-shadow: 0 18px 36px rgba(10, 35, 66, 0.065);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.services-menu-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.45rem;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--action-blue), var(--primary-blue));
}

.services-menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(10, 35, 66, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
}

.services-menu-card.services-menu-card-wide {
    grid-column: 1 / -1;
}

.services-menu-card h4 {
    margin-top: 0.45rem;
    margin-bottom: 0.7rem;
    font-size: 1.28rem;
}

.services-menu-card p {
    margin-bottom: 1.1rem;
    color: #5a6a7a;
    line-height: 1.6;
    font-size: 0.95rem;
}

.services-menu-card .mega-links {
    display: grid;
    gap: 0.55rem;
}

.services-menu-card .mega-links li {
    margin-bottom: 0;
}

.services-menu-card .mega-links a {
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    background: #f7fbff;
    color: var(--primary-navy);
    font-weight: 500;
    border: 1px solid rgba(10, 35, 66, 0.05);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.services-menu-card .mega-links a:hover {
    background: #eef6ff;
    color: var(--action-blue);
    border-color: rgba(0, 123, 255, 0.16);
    transform: translateX(4px);
}

.services-menu-card .mega-links .arrow {
    order: 2;
    flex-shrink: 0;
}

/* Two-column layout for Why Us */
.mega-split {
    display: flex;
    gap: 5rem;
}

.mega-split-left {
    flex: 1;
    max-width: 400px;
}

.mega-split-left h3 {
    margin-bottom: 1.5rem;
}

.mega-split-left p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.mega-split-left .btn-outline {
    margin-top: 0;
}

.mega-split-right {
    flex: 2;
    padding-top: 1rem;
}

.mega-split-right .mega-links li {
    margin-bottom: 1.5rem;
}

.mega-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    font-weight: 600;
}

.mega-col p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mega-links {
    list-style: none;
}
.mega-links li {
    margin-bottom: 0.8rem;
}
.mega-links a, .mega-view-all {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.mega-links a:hover, .mega-view-all:hover {
    color: var(--action-blue);
}

.arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.8rem;
}

.mega-divider {
    height: 1px;
    background-color: #e0d5c8;
    margin: 1.5rem 0 1.2rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--primary-navy);
    border-radius: 50px;
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 600;
    margin-top: 3rem;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--bg-white);
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    background-color: var(--bg-light);
}

.branch-name {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.1rem;
}

/* Deep Navy Hero Section */
.hero {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 7rem 5%;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(135deg, rgba(18,26,63,0.9) 0%, rgba(0,75,152,0.85) 100%), url('https://images.unsplash.com/photo-1576766125468-a4d1f274a1cb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Services and Pills Layout */
.services {
    padding: 5rem 5%;
    background-color: var(--bg-white);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.pill-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pill {
    padding: 0.6rem 2rem;
    border: 1px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pill.active, .pill:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

/* Cards Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.05rem;
}

.card .link {
    color: var(--action-blue);
    font-weight: 600;
    text-decoration: none;
}

/* Vibrant Floating Chat */
.floating-chat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--action-blue);
    color: var(--text-light);
    border: none;
    padding: 1.2rem 1.8rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(33, 136, 255, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-chat:hover {
    transform: scale(1.05);
    background-color: #1765c4;
}

/* Deep Navy Footer with Accent Gold */
.main-footer {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--text-light);
}

.gold-accent-line {
    height: 4px;
    width: 60px;
    background-color: var(--accent-gold);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: #a0aec0;
}

/* ========================================= */
/* Help & Guidance Page Specific Styles      */
/* ========================================= */

.page-hero {
    position: relative;
    padding: 8rem 5%;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Dark gradient over image to match the provided layout */
    background: linear-gradient(135deg, rgba(0,38,77,0.85) 0%, rgba(0,38,77,0.3) 100%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.breadcrumb {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
}

.page-hero h1 {
    font-size: 3.8rem;
    color: var(--text-light);
    line-height: 1.1;
}

.guidance-page-hero {
    padding: 7rem 5% 6.25rem;
    background-position: center 32%;
}

.guidance-page-hero-content {
    max-width: 640px;
    padding-left: 1.5rem;
}

.guidance-page-hero .breadcrumb {
    display: inline-block;
    margin-bottom: 1.1rem;
}

.guidance-page-hero h1 {
    max-width: 10ch;
}

/* Main Content Area */
.bg-navy {
    background-color: var(--primary-navy);
    color: var(--text-light);
}

.guidance-section {
    padding: 5.5rem 5% 6.5rem;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.08) 0, transparent 28%),
        linear-gradient(180deg, #102a4f 0%, #0d2444 100%);
}

.container-flex {
    display: flex;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.guidance-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 120px; /* offset for sticky header */
    padding: 2rem 1.75rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 36px rgba(5, 18, 36, 0.25);
}

.guidance-sidebar-label {
    display: inline-block;
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
}

.guidance-sidebar h2 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.guidance-sidebar h2 i {
    font-family: var(--font-serif);
    font-weight: 400;
}

.guidance-sidebar p {
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 1.65rem;
}

.vertical-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tab-btn {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--primary-navy);
    padding: 1rem 1.2rem;
    border-radius: 18px;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tab-btn.active {
    background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
    box-shadow: 0 12px 22px rgba(3, 18, 43, 0.14);
}

.tab-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tab-btn.active .tab-icon {
    background: var(--primary-blue);
    color: var(--text-light);
}

.guidance-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-top: 0.4rem;
}

.guidance-group {
    display: grid;
    grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.24fr);
    gap: 2.4rem;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
}

.guidance-group:last-child {
    border-bottom: none;
}

.group-header {
    padding-right: 0.4rem;
}

.group-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.58);
    margin-bottom: 0.9rem;
}

.group-header h3 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.group-header p {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
    max-width: 34ch;
}

.btn-outline-light {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border: 1px solid var(--text-light);
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.3s, color 0.3s;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-navy);
}

.group-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
    align-content: start;
}

.group-links a {
    position: relative;
    padding: 1.15rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    background: rgba(255,255,255,0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 78px;
    transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.group-links a:hover {
    transform: translateY(-2px);
    color: var(--primary-blue);
    border-color: rgba(8, 155, 225, 0.38);
    background: rgba(255,255,255,0.05);
}

.arrow-light {
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}

.group-links a:hover .arrow-light {
    border-color: var(--primary-blue);
    background: rgba(8, 155, 225, 0.16);
    color: #ffffff;
    transform: translateX(2px);
}

@media (max-width: 1100px) {
    .container-flex {
        flex-direction: column;
    }
    .guidance-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 3rem;
    }
    .guidance-group {
        grid-template-columns: 1fr;
    }
    .group-header {
        padding-right: 0;
    }
}

/* ========================================= */
/* Global Comprehensive Footer               */
/* ========================================= */
.global-footer {
    background-color: #102a4f;
    color: var(--text-light);
    padding: 3.2rem 5% 1.2rem;
}

.footer-top-heading {
    font-size: clamp(2.2rem, 3.8vw, 3.95rem);
    color: var(--text-light);
    margin-bottom: 2.4rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -0.03em;
    text-align: left;
}

.footer-top-heading i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.global-footer-grid {
    display: grid;
    grid-template-columns: minmax(170px, 0.6fr) minmax(360px, 1.15fr) minmax(320px, 0.95fr);
    gap: 2.6rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-col,
.footer-brand-col {
    display: flex;
    align-items: flex-start;
}

.footer-logo-large {
    max-width: 215px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.footer-logo-large img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

.footer-newsletter-col {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.footer-newsletter-col h4,
.footer-links-col h4 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: min(100%, 540px);
    padding: 0.22rem;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 999px;
}

.footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.95rem 1.15rem;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.85);
}

.footer-newsletter-form button {
    border: 0;
    border-radius: 999px;
    background: #1f7be8;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.92rem 1.65rem;
    cursor: pointer;
}

.footer-newsletter-note {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
}

.footer-newsletter-note a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-social-row {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.footer-social-link {
    min-width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.footer-social-link:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.36);
    transform: translateY(-1px);
}

.footer-links-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 2rem;
}

.footer.nav-link.dropdown-toggle .caret {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

.nav-btn {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 0.4rem;
    margin-left: 0.5rem;
}

.nav-btn-grey {
    background: #eef5ff;
}

.nav-btn-cyan {
    background: #eef5ff;
}

.external-icon {
    font-size: 1rem;
    line-height: 1;
}
.footer-links-col ul {
    list-style: none;
    padding: 0;
}

.footer-links-col ul li {
    margin-bottom: 0.45rem;
}

.footer-links-col ul li a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s;
}

.footer-links-col ul li a:hover {
    color: var(--primary-blue);
}

.global-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.9rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.82);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    text-align: center;
}

@media (max-width: 900px) {
    .global-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .footer-links-wrap {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-newsletter-form {
        width: 100%;
        flex-direction: column;
        border-radius: 24px;
        padding: 0.8rem;
        align-items: stretch;
    }

    .footer-newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .global-footer-bottom {
        justify-content: center;
    }
}

@media (max-width: 1100px) {
    .detail-page-refined .related-container {
        grid-template-columns: 1fr;
    }

    .detail-page-refined .related-title-col,
    .detail-page-refined .related-middle-col,
    .detail-page-refined .related-links-col {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .detail-page-refined .hc-trust-strip {
        padding: 2.75rem 6% 3rem;
    }

    .detail-page-refined .hc-trust-text {
        font-size: 1.45rem;
        text-align: left;
    }

    .detail-page-refined .hc-related-services {
        padding: 3rem 6% 4rem;
    }
}

/* ========================================= */
/* Enquiries Page Specific Styles            */
/* ========================================= */

.enquiries-hero {
    background-color: #F8F8FE; /* Match Roberts theme off-white */
    padding: 6rem 5% 4rem;
}

.enquiries-hero .label {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.enquiries-hero h1 {
    color: var(--primary-navy);
    font-size: 3.5rem;
    max-width: 800px;
    line-height: 1.2;
}

.enquiries-page-hero {
    padding: 7.5rem 5% 6.5rem;
    background-position: center 22%;
}

.enquiries-page-hero .hero-overlay {
    background:
        linear-gradient(90deg, rgba(18, 42, 79, 0.88) 0%, rgba(18, 42, 79, 0.56) 46%, rgba(18, 42, 79, 0.2) 100%);
}

.enquiries-page-hero-content {
    max-width: 760px;
    padding-left: 1.5rem;
}

.enquiries-page-hero h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 5vw, 4.6rem);
}

.enquiry-intro-section {
    background: #ffffff;
    padding: 5rem 5% 4.25rem;
}

.enquiry-intro-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.enquiry-intro-wrap p {
    max-width: 780px;
    margin: 0 auto;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.55;
    color: #14253f;
    text-align: center;
}

.enquiry-main-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f4ed 100%);
    padding: 1rem 5% 5.5rem;
}

.enquiry-main-grid {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(10, 35, 66, 0.08);
}

.enquiry-form-panel {
    background: #f5efe7;
    padding: 3.5rem 3.5rem 3.25rem;
    border-radius: 0;
    box-shadow: none;
    order: 2;
}

.enquiry-sidebar-panel {
    background: #ffffff;
    padding: 3.5rem 2.8rem 3.25rem;
    border-radius: 0;
    box-shadow: none;
    border-right: 1px solid rgba(18, 42, 79, 0.08);
    order: 1;
}

.enquiry-form-panel h2,
.enquiry-sidebar-panel h2 {
    margin-bottom: 2rem;
    font-size: clamp(2.4rem, 3.5vw, 3.3rem);
}

.enquiry-panel-intro {
    margin: -0.7rem 0 2rem;
    max-width: 680px;
    color: #51647d;
    line-height: 1.75;
    font-size: 1.02rem;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.9rem;
}

.enquiry-field-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.enquiry-field-block label,
.enquiry-legend {
    font-weight: 600;
    color: #122a4f;
    font-size: 1.02rem;
}

.enquiry-form select,
.enquiry-form input,
.enquiry-form textarea {
    width: 100%;
    border: 1.5px solid #1d4382;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #122a4f;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.enquiry-form textarea {
    min-height: 180px;
    border-radius: 28px;
    resize: vertical;
}

.enquiry-form select:focus,
.enquiry-form input:focus,
.enquiry-form textarea:focus {
    border-color: #00b8ff;
    box-shadow: 0 0 0 4px rgba(0, 184, 255, 0.12);
}

.enquiry-fields-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    max-width: 760px;
}

.enquiry-pill-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.enquiry-pill-option {
    position: relative;
    cursor: pointer;
}

.enquiry-pill-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.enquiry-pill-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1.5px solid #d7e5f7;
    font-weight: 600;
    color: #122a4f;
    transition: all 0.25s ease;
}

.enquiry-pill-option input:checked + span {
    background: #eaf6ff;
    border-color: #00b8ff;
    box-shadow: inset 0 0 0 1px rgba(0, 184, 255, 0.3);
}

.enquiry-privacy-note {
    margin: 0;
    color: #55657c;
    font-size: 0.98rem;
}

.enquiry-privacy-note a {
    color: #145bbb;
}

.enquiry-submit-btn {
    align-self: flex-start;
    padding: 1rem 1.7rem;
    font-size: 1rem;
    margin-top: 0.35rem;
}

.enquiry-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.enquiry-contact-list-secondary {
    margin-top: 2.2rem;
    margin-bottom: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(18, 42, 79, 0.08);
}

.enquiry-contact-item {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    color: #145bbb;
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 91, 187, 0.25);
    color: #145bbb;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.enquiry-sidebar-block {
    margin-top: 2.2rem;
}

.enquiry-sidebar-block h3,
.enquiry-existing-customers h3 {
    font-size: 1.7rem;
    color: #102a4f;
    margin-bottom: 1rem;
}

.enquiry-sidebar-block p,
.enquiry-existing-customers p {
    color: #536277;
    line-height: 1.7;
}

.enquiry-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: #145bbb;
    text-decoration: none;
    font-weight: 600;
}

.opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.opening-hours-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #324661;
    border-bottom: 1px solid rgba(18, 42, 79, 0.08);
    padding-bottom: 0.75rem;
}

.opening-hours-list div span:first-child {
    font-weight: 600;
    color: #102a4f;
}

.enquiry-map-card {
    margin-top: 2rem;
    border-radius: 22px;
    overflow: hidden;
    min-height: 240px;
    background: #dfe9f6;
}

.enquiry-map-card iframe {
    width: 100%;
    height: 240px;
    border: 0;
    display: block;
}

.enquiry-social-band {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%),
        #145bbb;
    padding: 4.5rem 5%;
    position: relative;
    overflow: hidden;
}

.enquiry-social-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24px 24px, rgba(255,255,255,0.13) 0 3px, transparent 4px),
        radial-gradient(circle at 72px 72px, rgba(255,255,255,0.12) 0 3px, transparent 4px),
        linear-gradient(135deg, transparent 0 47%, rgba(255,255,255,0.1) 47% 48%, transparent 48% 100%);
    background-size: 144px 144px, 144px 144px, 144px 144px;
    opacity: 0.6;
}

.enquiry-social-wrap {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.enquiry-social-copy .section-label {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.9rem;
}

.enquiry-social-copy h2 {
    color: #ffffff;
    font-size: clamp(2.3rem, 4vw, 3.7rem);
    margin: 0;
}

.enquiry-social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.enquiry-social-icons {
    display: flex;
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 999px;
    background: #20225f;
}

.enquiry-social-icons a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.18);
}

.map-banner-section {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 6rem 5% 0;
    position: relative;
    overflow: hidden;
}

/* Pseudo-element for the dotted map background */
.map-banner-section::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 3px, transparent 3px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}

.map-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.map-banner-text h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

.map-banner-text h2 i {
    font-family: var(--font-serif);
    font-weight: normal;
}

.map-banner-text p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Continuous scrolling ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--text-light);
}

.ticker-item::before {
    content: '•';
    margin-right: 4rem;
    color: var(--text-light);
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* National Office Section */
.national-office-section {
    background-color: #F8F8FE;
    padding: 6rem 5%;
}

.national-top {
    margin-bottom: 4rem;
}

.national-top h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.national-top h2 {
    font-size: 3rem;
    color: var(--primary-navy);
    line-height: 1.2;
    max-width: 500px;
}

.national-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.national-col {
    flex: 1;
}

.national-col:first-child {
    flex: 1.5;
}

.national-col h4 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.national-col p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.national-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.national-link::before {
    content: '→';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--primary-blue);
    font-size: 0.8rem;
    color: var(--primary-blue);
}

/* Feature Cards Grid */
.feature-cards-section {
    background-color: #F8F8FE;
    padding: 0 5% 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 3rem;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: linear-gradient(to bottom, rgba(0,38,77,0.3) 0%, rgba(0,38,77,0.85) 100%);
    z-index: 1;
}

.feature-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card .card-label {
    font-weight: 600;
    font-size: 1.3rem;
}

.feature-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

@media (max-width: 900px) {
    .feature-cards-section {
        grid-template-columns: 1fr;
    }
    .national-grid {
        flex-direction: column;
    }
}

.reviews-strip-section {
    background-color: #f6faff !important;
    background-image: radial-gradient(rgba(19, 60, 130, 0.08) 2px, transparent 2px);
    background-size: 22px 22px;
}

/* Video Feature Section */
.video-feature {
    display: block;
    background-color: var(--primary-navy);
    position: relative;
    overflow: hidden;
    padding: 4.5rem 5% 5.5rem;
}

.video-wrapper {
    width: min(780px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    border: 8px solid rgba(255,255,255,0.24);
    animation: videoFloat 8s ease-in-out infinite;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 12%, rgba(255,255,255,0.28) 24%, transparent 38%);
    transform: translateX(-140%);
    z-index: 4;
    pointer-events: none;
}

.video-feature.is-visible .video-wrapper {
    animation: crestRise 8s ease-in-out infinite, framePulse 8s ease-in-out infinite;
}

.video-feature.is-visible .video-wrapper::before {
    animation: logoSheen 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.video-note {
    text-align: center;
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 2;
}

.video-thumbnail {
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    cursor: pointer;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.92), rgba(18, 18, 18, 0.88)),
        url('/images/video-wallpaper-roberts.png');
    background-size: cover;
    background-position: center;
}

.video-thumbnail-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
    z-index: 2;
}

.video-thumbnail-copy {
    max-width: 420px;
}

.video-thumbnail-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.92);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.video-thumbnail-copy h3 {
    margin: 0;
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1.1;
    font-family: var(--font-serif);
    font-weight: 400;
    text-shadow: 0 8px 24px rgba(0,0,0,0.36);
}

.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    border: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    z-index: 3;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.wavy-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -47%);
    width: min(980px, calc(100% + 80px));
    height: 600px;
    border-radius: 36px;
    background-color: #0c2248;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,191,255,0.05)),
        url('/images/video-wallpaper-roberts.png');
    background-size: 100% 100%, cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 30px 60px rgba(0,0,0,0.18);
    z-index: 1;
    pointer-events: none;
}

@keyframes logoSheen {
    0% {
        transform: translateX(-140%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateX(170%);
        opacity: 0;
    }
}

/* Types of Care Cards Section */
.care-types-grid {
    background-color: var(--primary-navy);
    padding: 5rem 5% 8rem;
}

.care-types-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 3rem;
}

.section-label-light {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.care-types-header h2 {
    color: white;
    font-size: 2.5rem;
    line-height: 1.2;
    max-width: 800px;
    font-family: var(--font-sans);
}

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

.care-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-inner {
    padding: 3rem;
    flex: 1;
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-title-row h3 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    font-family: var(--font-sans);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: var(--font-serif);
}

.card-top p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.card-links {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.card-links li a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
}

.card-links li a span {
    border: 1px solid var(--primary-blue);
    border-radius: 50%;
    width: 22px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.card-bottom {
    padding: 2rem 3rem;
}

.card-btn {
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.card-btn:hover {
    opacity: 0.9;
}

@media (max-width: 1000px) {
    .video-feature {
        flex-direction: column;
    }
    .video-wrapper, .wavy-bg {
        width: 100%;
    }
    .wavy-bg {
        height: 420px;
        transform: translate(-50%, -43%);
    }
    .care-types-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cards-container {
        grid-template-columns: 1fr;
    }
    .card-links {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================= */
/* HOMEPAGE LAYOUT (HERO) */
/* ========================================================================= */

.home-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background-image:
        linear-gradient(90deg, rgba(0,25,80,0.88) 0%, rgba(0,25,80,0.64) 38%, rgba(0,25,80,0.18) 62%, rgba(255,255,255,0) 82%),
        linear-gradient(90deg, rgba(255,255,255,0) 56%, rgba(255,255,255,0.12) 72%, rgba(255,255,255,0.22) 100%),
        url('/images/home-hero-custom-3.png');
    background-size: cover;
    background-position: 42% top;
    color: white;
}

.home-hero-content {
    max-width: 650px;
    z-index: 2;
    margin-top: -5vh; /* Slight vertical lift */
}

.home-hero h1 {
    font-size: 5.5rem;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.home-hero h1 i {
    font-style: italic;
    font-family: var(--font-serif);
}

.home-hero-content p {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 3rem;
    font-family: var(--font-sans);
    max-width: 550px;
    color: white;
}

/* Search Pill Component */
.hero-search-pill {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
    padding: 0;
    width: auto;
    max-width: none;
    box-shadow: none;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 0.5rem 0 1.5rem;
    border-right: 1px solid #e0e0e0;
}

.search-input-group input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: var(--font-sans);
    color: var(--primary-navy);
}

.search-select-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    position: relative;
}

.search-select-group select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: var(--font-sans);
    color: var(--primary-navy);
    background: transparent;
    cursor: pointer;
    appearance: none;
}

/* Custom dropdown chevron for select */
.search-select-group::after {
    content: "▼";
    font-size: 0.7rem;
    color: var(--primary-navy);
    position: absolute;
    right: 1.5rem;
    pointer-events: none;
}

.search-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.search-btn:hover {
    background: #007bb5;
}

.hero-trust {
    position: absolute;
    bottom: 2rem;
    left: 5%;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-trust strong {
    font-weight: 700;
}
.trust-star {
    color: #00b67a; /* Trustpilot green */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.3rem;
}

/* ========================================================================= */
/* HOMEPAGE LAYOUT (STAGE 3) */
/* ========================================================================= */

.stats-banner-section {
    background-color: #13224b; /* very dark navy */
    color: white;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
}

.stats-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-bottom: 6rem;
}

.stats-left h2 {
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    color: white;
}

.stats-left h2 i {
    font-style: italic;
    font-family: var(--font-serif);
}

.stats-left p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 4rem;
}

.stats-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.circle-btn:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.stats-divider {
    width: 2px;
    height: 150px;
    background-color: var(--primary-blue);
    margin: 0 3rem;
}

.stats-right {
    flex: 1;
    padding-left: 2rem;
}

.stats-number-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stats-number {
    font-size: 9rem;
    font-weight: 600;
    line-height: 1;
    font-family: var(--font-sans);
}

.stats-dots {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stats-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
}

.stats-dots .dot.active {
    background-color: var(--primary-blue);
}

.stats-right p {
    font-size: 1.2rem;
    font-weight: 500;
    max-width: 260px;
    color: rgba(255,255,255,0.82);
}

.stats-wave-bg {
    width: 100%;
    height: 120px;
    background-color: #0b1a40;
    background-image: repeating-radial-gradient( circle at 0 0, transparent 0, #133c82 10px, transparent 11px, transparent 25px );
    opacity: 0.9;
}

@media (max-width: 1000px) {
    .stats-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    .stats-divider {
        width: 100%;
        height: 2px;
        margin: 0;
    }
    .stats-number {
        font-size: 6rem;
    }
}

.review-nav-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}
.review-nav-btn:hover {
    background: #f0f0f0;
    color: black;
}

@media (max-width: 900px) {
    .reviews-container {
        flex-direction: column;
    }
    .reviews-track {
        flex-direction: column;
    }
}

/* Our Stories Section */
.btn-outline-dark {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-navy);
    background: transparent;
    color: var(--primary-navy);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-outline-dark:hover {
    background: var(--primary-navy);
    color: white;
}

.stories-section {
    background-color: var(--bg-white);
    padding: 7rem 5%;
}

.stories-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.stories-left {
    flex: 0 0 35%;
}

.stories-left .section-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: block;
}

.stories-left h2 {
    font-size: 3rem;
    line-height: 1.15;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-family: var(--font-sans);
}

.stories-left p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.stories-right {
    flex: 1;
    min-width: 0; /* allows flex children to shrink */
}

.stories-carousel-track {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.story-card {
    flex: 1;
    height: 500px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,25,80,0.85) 100%);
    z-index: 1;
}

.card-badge {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    background: white;
    color: var(--primary-navy);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.story-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
}

.story-card-content h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 500;
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-arrow-btn {
    width: 45px; height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.6);
    background: transparent;
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-arrow-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

.carousel-progress {
    width: 100%;
    padding: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 40%;
    background-color: var(--primary-blue);
}

@media (max-width: 900px) {
    .stories-container {
        flex-direction: column;
    }
    .stories-left {
        flex: none;
        width: 100%;
    }
    .stories-carousel-track {
        flex-direction: column;
    }
}

/* Trust Badges */
.trust-badges {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 5%;
    flex-wrap: wrap;
    border-bottom: 1px solid #f0f0f0;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    line-height: 1.1;
    width: 198px;
    height: 136px;
}

.badge-item .icon {
    font-size: 2rem;
    color: #7CA1CC;
}

.badge-item .text {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1.1rem;
    color: #7CA1CC;
}

.bubbles-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 1.1rem 1.2rem;
    background: #f8fbff;
    border: 1px solid #e1ebf7;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(10, 35, 66, 0.05);
}

.bubbles-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.15rem;
}

.bubble {
    border-radius: 50%;
    background: #7CA1CC;
}

.bubble.small { width: 14px; height: 14px; margin-bottom: 2px;}
.bubble.large { width: 22px; height: 22px; }
.bubble.medium { width: 16px; height: 16px; margin-bottom: 3px;}

.badge-logo-card {
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e1ebf7;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(10, 35, 66, 0.05);
}

.badge-logo-card img {
    width: 100%;
    max-width: 166px;
    max-height: 92px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #f4f8ff;
    padding: 7rem 5%;
}

.why-us-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.why-us-left {
    max-width: 520px;
}

.why-us-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.why-us-left .section-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    display: block;
}

.why-us-left h2 {
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

.why-us-left p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-outline-dark {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border: 1px solid var(--primary-navy);
    border-radius: 50px;
    color: var(--primary-navy);
    background: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

.why-us-right {
    border-left: none;
    padding-left: 0;
}

.why-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    row-gap: 2rem;
}

.why-feature h4 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.why-feature p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .why-us-container {
        grid-template-columns: 1fr;
    }
    .why-us-right {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--primary-blue);
        padding-top: 4rem;
    }
    .trust-badges {
        gap: 3rem;
    }
}
@media (max-width: 600px) {
    .why-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Help & Real Care Split Section */
.help-real-care-section {
    display: flex;
    width: 100%;
}

.split-left {
    flex: 1;
    background-color: #f7f5ed; /* Beige */
    padding: 7rem 4rem 7rem 8%;
    display: flex;
    gap: 3rem;
}

.help-intro {
    flex: 0 0 40%;
}

.help-intro h2 {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    line-height: 1.1;
    color: var(--primary-navy);
    margin-bottom: 2rem;
}

.help-intro h2 i {
    font-style: italic;
    font-family: var(--font-serif);
}

.help-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.help-links {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.help-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--primary-navy);
}

.help-link-item:first-child {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.link-category {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: block;
}

.help-link-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.link-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.help-link-item:hover .link-arrow {
    background-color: var(--primary-blue);
    color: white;
}

.split-right {
    flex: 1;
    background-color: #c0beb1; /* Greyish taupe */
    padding: 7rem 8% 7rem 4rem;
    color: var(--primary-navy);
    display: flex;
    flex-direction: column;
}

.split-right h2 {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    line-height: 1.1;
    margin-bottom: 3.5rem;
}

.split-right h2 i {
    font-style: italic;
    font-family: var(--font-serif);
}

.quote-block {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.quote-pagination {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.quote-pagination .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background-color: white;
}

.quote-pagination .dot.active {
    background-color: var(--primary-blue);
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto;
}

.author-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.signature {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-location {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-controls {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.circle-btn-dark {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.3);
    background: transparent;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.circle-btn-dark:hover {
    border-color: var(--primary-navy);
    background: rgba(0,0,0,0.05);
}

@media (max-width: 1200px) {
    .help-real-care-section {
        flex-direction: column;
    }
    .split-left, .split-right {
        padding: 4rem 5%;
    }
    .split-left {
        flex-direction: column;
    }
}

/* ========================================================================= */
/* STAGE 4: MODERN ANIMATIONS & MICRO-INTERACTIONS */
/* ========================================================================= */

@keyframes heroSweepUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 26px, 0) scale(0.985);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroGlideIn {
    0% {
        opacity: 0;
        transform: translate3d(-28px, 10px, 0);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: translate3d(0, 28px, 0) scale(0.985);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes sideSweepLeft {
    0% {
        opacity: 0;
        transform: translate3d(-44px, 0, 0);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes sideSweepRight {
    0% {
        opacity: 0;
        transform: translate3d(44px, 0, 0);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes crestRise {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.003);
    }
}

@keyframes framePulse {
    0%, 100% {
        box-shadow: 0 18px 44px rgba(0,0,0,0.20);
    }
    50% {
        box-shadow: 0 24px 50px rgba(0,191,255,0.10);
    }
}

.animate-on-load {
    animation: heroSweepUp 0.95s cubic-bezier(0.22, 0.78, 0.2, 1) forwards;
    opacity: 0;
    will-change: transform, opacity, filter;
}

.home-hero-content p.animate-on-load,
.hero-search-pill.animate-on-load {
    animation-name: heroGlideIn;
}

.animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(0.97);
    filter: blur(8px);
    transition: none;
    will-change: transform, opacity, filter;
}

.animate-on-scroll.is-visible {
    animation: cinematicReveal 0.82s cubic-bezier(0.22, 0.78, 0.2, 1) forwards;
}

.animate-on-scroll.from-left.is-visible {
    animation: sideSweepLeft 0.82s cubic-bezier(0.22, 0.78, 0.2, 1) forwards;
}

.animate-on-scroll.from-right.is-visible {
    animation: sideSweepRight 0.82s cubic-bezier(0.22, 0.78, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.trust-badges.is-visible .badge-item:nth-child(1),
.why-choose-us.is-visible .why-feature:nth-child(1),
.care-pillars-section.is-visible .pillar-card:nth-child(1),
.reviews-strip-section.is-visible .review-card:nth-child(1) {
    animation-delay: 0.05s;
}

.trust-badges.is-visible .badge-item:nth-child(2),
.why-choose-us.is-visible .why-feature:nth-child(2),
.care-pillars-section.is-visible .pillar-card:nth-child(2),
.reviews-strip-section.is-visible .review-card:nth-child(2) {
    animation-delay: 0.16s;
}

.trust-badges.is-visible .badge-item:nth-child(3),
.why-choose-us.is-visible .why-feature:nth-child(3),
.care-pillars-section.is-visible .pillar-card:nth-child(3),
.reviews-strip-section.is-visible .review-card:nth-child(3) {
    animation-delay: 0.27s;
}

.why-choose-us.is-visible .why-feature:nth-child(4),
.care-pillars-section.is-visible .pillar-card:nth-child(4),
.reviews-strip-section.is-visible .review-card:nth-child(4) {
    animation-delay: 0.38s;
}

/* Interactive Hover States for Modern Feel */
.care-card, .review-card, .why-feature, .national-office-card {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.care-card:hover, .review-card:hover, .national-office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(10, 35, 66, 0.15) !important;
}

.why-feature:hover {
    transform: translateY(-5px);
}

.btn, .btn-outline, .btn-outline-light, .btn-outline-dark, 
.card-btn, .circle-btn, .circle-btn-dark, .story-arrow-btn, .play-btn {
    transition: all 0.3s ease;
}

.btn:hover, .card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.25);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.4);
}

.story-card {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.story-card:hover {
    transform: scale(1.02);
}

.help-link-item {
    transition: padding-left 0.3s ease;
}

.help-link-item:hover {
    padding-left: 10px;
    background-color: rgba(255,255,255,0.4);
}

/* ========================================================================= */
/* REDESIGNED PILLARS OF CARE SECTION (2x2 GRID)                             */
/* ========================================================================= */

.care-pillars-section {
    background-color: var(--primary-navy);
    color: white;
    padding: 7rem 5%;
}

.home-accreditation-strip {
    background: #ffffff;
    padding: 2.8rem 5%;
}

.home-accreditation-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.3rem;
}

.home-accreditation-card {
    min-height: 118px;
    border-radius: 22px;
    border: 1px solid #dce8f5;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    box-shadow: 0 12px 24px rgba(16, 42, 79, 0.05);
}

.home-accreditation-card img {
    width: 100%;
    max-width: 146px;
    max-height: 64px;
    object-fit: contain;
    display: block;
}

.accreditation-wordmark-card {
    flex-direction: column;
    gap: 0.75rem;
}

.accreditation-wordmark-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.accreditation-wordmark-dots span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #7ba3d9;
}

.accreditation-wordmark-dots span:nth-child(2) {
    width: 22px;
    height: 22px;
    background: #6d97cf;
}

.accreditation-wordmark-text {
    font-size: 0.98rem;
    font-weight: 600;
    color: #6f94c6;
    letter-spacing: 0.01em;
}

.pillars-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pillars-header h2 {
    font-size: 2.6rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.pillars-header p {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-card {
    background: transparent;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--primary-navy);
    box-shadow: 0 14px 36px rgba(0,0,0,0.14);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-card-top {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    padding: 2.4rem;
    flex: 1;
    border: 1px solid rgba(0, 191, 255, 0.12);
}

.pillar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.pillar-card-top p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 0;
    line-height: 1.5;
}

.pillar-mobile-toggle {
    display: none;
}

.pillar-card-approach h3 {
    font-size: 1.55rem;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pillar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e9f4ff;
    color: var(--action-blue);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
}

.contact-home-section {
    background: #f4f8ff;
    padding: 6rem 5%;
}

.welcome-video-section {
    margin-top: 0;
}

.welcome-assurance-section,
.welcome-difference-section {
    background: #f7fbff;
    padding: 5.5rem 5%;
}

.welcome-section-header {
    max-width: 880px;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.welcome-section-header h2 {
    font-size: clamp(2.35rem, 4vw, 4rem);
    color: var(--primary-navy);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.welcome-section-header p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 1.06rem;
}

.welcome-assurance-grid,
.welcome-difference-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.welcome-assurance-card,
.welcome-difference-item {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid rgba(19, 60, 130, 0.08);
    box-shadow: 0 20px 45px rgba(8, 37, 77, 0.06);
    padding: 2rem 2rem 1.9rem;
}

.welcome-card-number {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #eef6ff;
    color: #0f7bdc;
    font-weight: 700;
    margin-bottom: 1rem;
}

.welcome-assurance-card h3,
.welcome-difference-item h3 {
    color: var(--primary-navy);
    font-size: 1.48rem;
    line-height: 1.24;
    margin-bottom: 0.95rem;
}

.welcome-assurance-card p,
.welcome-difference-item p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.welcome-feel {
    color: #0a2342;
    font-weight: 600;
    margin-bottom: 0;
}

.welcome-split-section {
    margin-top: 5.5rem;
}

.welcome-next-step-section {
    padding: 0 5% 6rem;
    background: #ffffff;
}

.welcome-next-step-card {
    max-width: 1240px;
    margin: 0 auto;
    background: linear-gradient(135deg, #123764, #0a2342);
    color: #ffffff;
    border-radius: 36px;
    padding: 3rem;
    box-shadow: 0 24px 55px rgba(10, 35, 66, 0.18);
}

.welcome-next-step-card h2 {
    font-size: clamp(2.3rem, 3.8vw, 3.8rem);
    color: #ffffff;
    margin-bottom: 1rem;
}

.welcome-next-step-card p {
    max-width: 760px;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin-bottom: 1.6rem;
}

.welcome-next-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.areas-we-cover-section {
    background: #ffffff;
    padding: 5.75rem 5% 5.5rem;
    border-top: 1px solid #edf2f8;
    border-bottom: 1px solid #edf2f8;
}

.areas-we-cover-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.2fr);
    align-items: stretch;
    gap: 3.2rem;
}

.areas-we-cover-copy {
    padding: 1rem 0;
}

.areas-we-cover-copy h2 {
    font-size: clamp(2.5rem, 4vw, 4.3rem);
    line-height: 1.08;
    color: #0f1115;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    max-width: 9ch;
}

.areas-we-cover-copy h2 i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.areas-we-cover-copy p {
    font-size: 1.18rem;
    line-height: 1.72;
    color: #5a6270;
    max-width: 28rem;
    margin-bottom: 2.25rem;
}

.areas-we-cover-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 2.2rem;
    max-width: 28rem;
}

.areas-we-cover-list ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.areas-we-cover-list li {
    color: #5f6877;
    font-size: 1.05rem;
    line-height: 1.9;
    padding-left: 0.35rem;
}

.areas-we-cover-map {
    min-height: 680px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 40, 78, 0.08);
}

.areas-we-cover-map iframe {
    width: 100%;
    height: 100%;
    min-height: 680px;
    border: 0;
    display: block;
}

.contact-home-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-form-card,
.business-details-card {
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 18px 40px rgba(10, 35, 66, 0.07);
    border: 1px solid rgba(10, 35, 66, 0.06);
}

.contact-form-card {
    background: #ffffff;
}

.business-details-card {
    background: #ffffff;
}

.contact-form-card .section-label,
.business-details-card .section-label {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1.25rem;
}

.contact-form-card h2,
.business-details-card h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--primary-navy);
}

.contact-form-card p {
    color: #5a6778;
    margin-bottom: 2rem;
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.65;
}

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

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

.contact-home-form input,
.contact-home-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c8d7e8;
    border-radius: 0;
    padding: 1rem 1.1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--primary-navy);
    background: transparent;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-home-form input:focus,
.contact-home-form textarea:focus {
    border-color: var(--primary-blue);
    background-color: rgba(255,255,255,0.45);
    box-shadow: none;
}

.contact-home-form textarea {
    min-height: 150px;
    resize: vertical;
}

.business-details-card h3 {
    font-size: 1.2rem;
    margin: 1.8rem 0 1rem;
    color: var(--primary-navy);
    font-family: var(--font-sans);
}

.business-detail-block p {
    margin-bottom: 0.6rem;
    color: #4c5e73;
}

.business-detail-block a {
    color: var(--action-blue);
    text-decoration: none;
}

.business-map-wrap {
    margin-top: 1.8rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #cfe0f2;
    box-shadow: 0 12px 26px rgba(10, 35, 66, 0.06);
}

.business-map-wrap iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .contact-home-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .welcome-assurance-grid,
    .welcome-difference-grid {
        grid-template-columns: 1fr;
    }

    .welcome-next-step-card {
        padding: 2rem 1.5rem;
        border-radius: 28px;
    }

    .welcome-next-step-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ========================================================================= */
/* HOME CARE SPECIFIC PAGE STYLES                                            */
/* ========================================================================= */

/* Local Office Sub Nav (Header) */
.local-office-bar {
    background-color: #f7f3ed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    border-bottom: 1px solid #e0dfd9;
}

.local-office-bar .branch-info {
    font-weight: 500;
}

.local-office-bar .branch-change {
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.2rem;
    cursor: pointer;
}

.local-office-bar .sub-nav {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
}

.sub-nav a {
    text-decoration: none;
    color: var(--primary-navy);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.square-btn {
    border-radius: 0;
    padding: 1.2rem 2.8rem;
    font-weight: 600;
}

/* Specific Active Link Styling for Mega Menu */
.mega-links .active-link {
    color: var(--primary-blue);
    font-weight: 600;
}
.active-arrow {
    background-color: var(--primary-blue) !important;
    color: white !important;
    border-color: var(--primary-blue) !important;
}

/* Home Care Hero */
.hc-hero {
    height: 70vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hc-hero::before {
    content: '';
    position: absolute;
    top:0; left:0; width: 60%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hc-hero-overlay {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    width: 100%;
}

.hc-hero-label {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.hc-hero-overlay h1 {
    color: white;
    font-family: var(--font-sans);
    font-size: 3.8rem;
    line-height: 1.15;
    max-width: 650px;
    font-weight: 600;
    margin-bottom: 3.5rem;
}

.hc-hero-actions {
    margin-top: 1.5rem;
}

.pill-location {
    background: white;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pill-location span {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05rem;
}

.check-circle {
    background-color: var(--primary-blue);
    color: white;
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Brand Trust Strip */
.hc-trust-strip {
    background-color: white;
    padding: 4rem 10%;
    border-bottom: 1px solid #f0f0f0;
}

.hc-trust-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
}

.hc-logo-block {
    width: 80px; height: 80px;
    background-color: var(--primary-blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 15px;
}

.hc-logo-block img {
    width: 100%; height: auto;
    filter: brightness(0) invert(1);
}

.hc-trust-text {
    font-size: 1.8rem;
    color: #666;
    line-height: 1.35;
    font-weight: 300;
}

.detail-page-refined .hc-hero-overlay .pill-location {
    display: none;
}

.detail-page-refined .hc-hero-overlay h1 {
    max-width: 760px;
}

.detail-page-refined .hc-trust-strip {
    padding: 3.5rem 10% 3.75rem;
    background:
        linear-gradient(135deg, rgba(238, 246, 255, 0.95), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at top right, rgba(33, 176, 237, 0.12), transparent 45%);
}

.detail-page-refined .hc-trust-container {
    max-width: 980px;
    justify-content: center;
}

.detail-page-refined .hc-trust-text {
    font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    line-height: 1.28;
    color: #50555c;
    text-align: left;
    font-weight: 300;
    letter-spacing: -0.02em;
}

/* Split Content */
.hc-split-container {
    display: flex;
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 5%;
    gap: 15%;
}

.hc-sidebar {
    flex: 0 0 15%;
}

.sticky-title {
    position: sticky;
    top: 150px;
    border-left: 3px solid var(--primary-blue);
    padding-left: 1.5rem;
}

.sticky-title h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-sans);
}

.hc-main-content {
    flex: 1;
    max-width: 800px;
}

.hc-main-content h3 {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    margin-top: 4rem;
    font-weight: 500;
}

.hc-main-content h3:first-child {
    margin-top: 0;
}

.hc-main-content p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.hc-custom-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 3rem 0;
}

.hc-custom-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.4rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

.hc-custom-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #888;
    font-size: 1.5rem;
    line-height: 1;
}

.hc-inline-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 4rem 0;
}

/* Blue Banner See Care */
.hc-blue-banner {
    background-color: var(--primary-navy);
    color: white;
    padding: 6rem 10%;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Dot map pattern overlay */
.hc-blue-banner::before {
    content: '';
    position: absolute;
    right: 5%; top: -20%;
    width: 50%; height: 140%;
    background-image: radial-gradient(rgba(255,255,255,0.15) 3px, transparent 3px);
    background-size: 20px 20px;
    opacity: 0.8;
    pointer-events: none;
    border-radius: 50%;
}

.hc-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.banner-left h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: white;
    line-height: 1.1;
    margin: 0;
    font-weight: 400;
}

.banner-left h2 i {
    font-family: var(--font-serif);
    font-style: italic;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.change-office {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.btn-primary.border-radius-btn {
    border-radius: 50px;
    background-color: var(--primary-blue);
    border: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.btn-primary.border-radius-btn:hover {
    background-color: #0b60b7;
}

/* ========================================= */
/* Related Care Services Section             */
/* ========================================= */

.hc-related-services {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 6rem 5%;
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: stretch;
}

.related-title-col {
    flex: 1;
}

.related-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.related-subtitle {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    color: var(--text-light);
}

.related-middle-col {
    flex: 1.2;
    padding-left: 3rem;
    border-left: 1px solid rgba(255,255,255,0.15);
}

.service-logo-box {
    width: 65px;
    height: 65px;
    background-color: var(--action-blue);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.logo-b {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin-top: -6px;
    margin-left: -5px;
}

.logo-r {
    font-size: 1rem;
    align-self: flex-start;
    margin-top: 10px;
}

.hc-service-card h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hc-service-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #cbd5e1;
}

.related-links-col {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-page-refined .hc-related-services {
    padding: 4rem 5% 5rem;
}

.detail-page-refined .related-container {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.15fr) minmax(320px, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.detail-page-refined .related-title-col {
    padding-top: 0.5rem;
}

.detail-page-refined .related-middle-col {
    padding-left: 0;
    border-left: 0;
}

.detail-page-refined .hc-service-card {
    min-height: 100%;
    padding: 2rem 2rem 2.1rem;
}

.detail-page-refined .hc-service-card h4 {
    margin-top: 0;
}

.detail-page-refined .related-links-col {
    gap: 0.75rem;
}

.detail-page-refined .related-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.detail-page-refined .related-link:hover,
.detail-page-refined .related-link.active {
    background: rgba(255, 255, 255, 0.14);
}

.related-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.related-link:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.arrow-circle {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.related-link:hover .arrow-circle,
.related-link.active .arrow-circle {
    background-color: var(--action-blue);
    border-color: var(--action-blue);
}

.related-link:hover, .related-link.active {
    color: var(--text-light);
}

/* ========================================= */
/* FAQ Section                               */
/* ========================================= */

.hc-faq-section {
    background-color: var(--bg-white);
    padding: 7rem 5%;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header-container {
    margin-bottom: 4rem;
}

.faq-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-navy);
    display: block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.faq-main-title {
    font-size: 3.5rem;
    color: var(--primary-navy);
    line-height: 1.2;
    margin: 0;
}

.faq-main-title i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-item:first-child {
    border-top: 1px solid #eaeaea;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 1.8rem 0;
    font-size: 1.15rem;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--primary-navy);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

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

.faq-toggle-icon {
    width: 30px;
    height: 30px;
    border: 1px solid #ccd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-navy);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    border-color: var(--action-blue);
    color: var(--action-blue);
}

.faq-answer {
    padding: 0 1rem 1.8rem 0;
    display: none;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .home-accreditation-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .areas-we-cover-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .areas-we-cover-copy {
        padding: 0;
    }

    .areas-we-cover-map,
    .areas-we-cover-map iframe {
        min-height: 420px;
    }

    .container-flex {
        flex-direction: column;
        gap: 2rem;
    }

    .guidance-sidebar {
        width: 100%;
        position: static;
        top: auto;
    }

    .guidance-content {
        width: 100%;
    }

    .guidance-group {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        padding: 1.5rem;
    }

    .group-links {
        grid-template-columns: 1fr;
    }

    .hc-split-container {
        flex-direction: column;
        gap: 3rem;
    }

    .mega-grid-services {
        display: block;
    }

    .services-menu-groups {
        grid-template-columns: 1fr;
    }

    .sticky-title {
        position: static;
        border-left: none;
        border-bottom: 3px solid var(--primary-blue);
        padding-left: 0;
        padding-bottom: 1rem;
    }
    .hc-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
}

@media (max-width: 1080px) {
    .enquiry-main-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-sidebar-panel {
        border-right: none;
        border-top: 1px solid rgba(18, 42, 79, 0.08);
    }

    .enquiry-social-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .enquiries-page-hero {
        padding: 6rem 5% 5rem;
        background-position: center;
    }

    .enquiries-page-hero-content {
        padding-left: 0;
    }

    .enquiry-form-panel,
    .enquiry-sidebar-panel {
        padding: 2.25rem 1.4rem;
    }

    .enquiry-fields-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-pill-group {
        flex-direction: column;
    }

    .enquiry-pill-option span {
        width: 100%;
    }

    .opening-hours-list div {
        flex-direction: column;
        gap: 0.35rem;
    }

    .enquiry-social-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-accreditation-inner {
        grid-template-columns: 1fr;
    }

    .areas-we-cover-section {
        padding: 4.4rem 5% 4.2rem;
    }

    .areas-we-cover-copy h2 {
        max-width: 100%;
    }

    .areas-we-cover-copy p {
        max-width: 100%;
        font-size: 1.05rem;
    }

    .areas-we-cover-list {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

.areas-we-cover-map,
.areas-we-cover-map iframe {
        min-height: 340px;
    }
}

/* Final shared detail-page refinements */
.hc-hero::before {
    width: 100%;
    background: linear-gradient(135deg, rgba(7, 41, 83, 0.82) 0%, rgba(7, 41, 83, 0.74) 52%, rgba(7, 41, 83, 0.68) 100%);
}

.detail-page-refined .hc-trust-strip {
    padding: 4.5rem 8% 4.75rem;
}

.detail-page-refined .hc-trust-container {
    max-width: 1080px;
    margin: 0 auto;
    justify-content: center;
}

.detail-page-refined .hc-trust-text {
    position: relative;
    max-width: 30ch;
    margin: 0 auto;
    text-align: center;
    color: #59616a;
    font-size: clamp(1.55rem, 2.15vw, 2.45rem);
    line-height: 1.22;
    text-wrap: balance;
}

.detail-page-refined .hc-trust-text::before,
.detail-page-refined .hc-trust-text::after {
    color: rgba(28, 92, 165, 0.25);
    font-family: var(--font-serif);
    font-size: 1.15em;
    line-height: 0;
}

.detail-page-refined .hc-trust-text::before {
    content: '"';
    margin-right: 0.08em;
}

.detail-page-refined .hc-trust-text::after {
    content: '"';
    margin-left: 0.08em;
}

.detail-page-refined .hc-inline-img,
.detail-page-refined .trustpilot-carousel-section {
    display: none !important;
}

.roberts-reviews-section {
    padding: 5.6rem 5% 5.3rem;
}

.roberts-reviews-wrap {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.2rem;
}

.roberts-review-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(113, 156, 217, 0.18);
    border-radius: 28px;
    padding: 2.35rem 2.15rem 2rem;
    box-shadow: 0 18px 42px rgba(13, 45, 89, 0.08);
}

.roberts-stars {
    font-size: 1.65rem;
    letter-spacing: 0.14em;
    color: #1f69ea;
    margin-bottom: 1.4rem;
}

.roberts-review-card p {
    color: #2866df;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0 0 1.3rem;
}

.roberts-review-copy {
    overflow: hidden;
}

.roberts-review-toggle {
    display: none;
    margin: 0.2rem 0 1rem;
    padding: 0.72rem 1.1rem;
    border: 1px solid rgba(40, 102, 223, 0.22);
    border-radius: 999px;
    background: #f4f8ff;
    color: #2866df;
    font-family: var(--font-sans);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.home-prices-section {
    background:
        linear-gradient(180deg, #ffffff, #f7fbff);
    padding: 4.5rem 5% 4.8rem;
    border-top: 1px solid rgba(40, 102, 223, 0.08);
    border-bottom: 1px solid rgba(40, 102, 223, 0.08);
}

.home-prices-wrap {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(380px, 1fr) minmax(260px, 0.7fr);
    gap: 2.9rem;
    align-items: center;
}

.home-prices-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--action-blue);
}

.home-prices-intro h2 {
    margin: 0;
    color: #0f1115;
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 4vw, 4.3rem);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 8.5ch;
}

.home-prices-intro h2 i {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.home-prices-copy {
    justify-self: start;
}

.home-prices-copy p {
    margin: 0 0 1.6rem;
    color: #5a6270;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.72;
    max-width: 24ch;
}

.home-prices-rate {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    text-align: center;
}

.home-prices-rate span {
    display: inline-block;
    color: #111111;
    font-family: var(--font-sans);
    font-size: clamp(3.2rem, 4.5vw, 4.8rem);
    line-height: 1;
    font-weight: 400;
    white-space: normal;
    letter-spacing: -0.03em;
    max-width: 5.2ch;
}

.prices-trust-strip {
    background:
        linear-gradient(135deg, rgba(238, 246, 255, 0.95), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at top right, rgba(33, 176, 237, 0.12), transparent 45%);
}

.prices-split-container {
    align-items: flex-start;
}

.prices-inline-card {
    margin-bottom: 3rem;
    padding: 0 0 1rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr);
    gap: 2.75rem;
    align-items: center;
}

.prices-inline-card h3 {
    margin: 0 0 1.4rem;
    color: var(--primary-navy);
    font-family: var(--font-sans);
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.prices-inline-copy p {
    color: #666;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 0 1.35rem;
    max-width: 42ch;
}

.prices-inline-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.prices-inline-rate {
    margin: 0 0 1.3rem;
    color: #111111;
    font-family: var(--font-sans);
    font-size: clamp(4.2rem, 7vw, 6rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -0.04em;
    text-align: center;
}

.prices-inline-btn {
    min-width: 210px;
    justify-content: center;
}

.prices-detail-page .hc-main-content > h3 {
    margin-top: 2.2rem;
}

.prices-detail-page .hc-main-content > h3,
.prices-detail-page .hc-main-content > p,
.prices-detail-page .hc-custom-list li {
    font-family: var(--font-sans);
}

.roberts-review-name {
    display: inline-block;
    margin-top: 0.5rem;
    color: #2866df;
    font-size: 1.1rem;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

@media (max-width: 980px) {
    .roberts-reviews-wrap {
        grid-template-columns: 1fr;
    }

    .detail-page-refined .hc-trust-text {
        max-width: 100%;
    }

    .home-prices-wrap,
    .prices-inline-card {
        grid-template-columns: 1fr;
    }

    .home-prices-intro h2,
    .home-prices-copy p {
        max-width: 100%;
    }

    .home-prices-wrap {
        gap: 1.4rem;
    }

    .home-prices-rate,
    .prices-inline-aside {
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .prices-inline-rate {
        text-align: left;
    }
}

.sitemap-page-hero {
    background-position: center 28%;
}

.sitemap-page-main {
    background: #ffffff;
}

.sitemap-areas-section {
    padding: 5.5rem 5% 5.75rem;
}

.sitemap-areas-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.15fr);
    gap: 3rem;
    align-items: stretch;
}

.sitemap-areas-copy {
    padding: 1.2rem 0;
}

.sitemap-areas-copy h2 {
    font-size: clamp(3rem, 4.5vw, 4.6rem);
    line-height: 0.98;
    margin-bottom: 1.5rem;
    color: #121821;
    max-width: 8.5ch;
}

.sitemap-areas-copy h2 i {
    font-family: var(--font-serif);
}

.sitemap-areas-copy p {
    max-width: 20ch;
    font-size: 1.15rem;
    color: #55606d;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.sitemap-area-selector {
    margin-bottom: 2rem;
}

.sitemap-area-selector label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--primary-navy);
}

.sitemap-area-selector select {
    width: 100%;
    max-width: 340px;
    min-height: 62px;
    padding: 0.95rem 3.25rem 0.95rem 1.15rem;
    border: 2px solid rgba(10, 35, 66, 0.9);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(239, 246, 255, 0.98));
    color: var(--primary-navy);
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 500;
    box-shadow: 0 12px 28px rgba(10, 35, 66, 0.08);
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(239, 246, 255, 0.98)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230A2342' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, calc(100% - 1.1rem) 50%;
    background-size: auto, 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sitemap-area-selector select:hover,
.sitemap-area-selector select:focus {
    outline: none;
    border-color: var(--action-blue);
    box-shadow: 0 16px 34px rgba(10, 35, 66, 0.12);
    transform: translateY(-1px);
}

.sitemap-area-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.sitemap-area-status p {
    margin: 0;
    max-width: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b5ed7;
}

.sitemap-map-panel {
    display: flex;
    align-items: stretch;
}

.sitemap-map-card {
    width: 100%;
    background: #f7fbff;
    border: 1px solid rgba(10, 35, 66, 0.08);
    border-radius: 28px;
    padding: 1rem;
    box-shadow: 0 18px 44px rgba(10, 35, 66, 0.08);
}

.sitemap-map-label {
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(10, 35, 66, 0.08);
    border-radius: 18px;
    color: var(--primary-navy);
}

.sitemap-map-label span {
    color: #5f6773;
    font-size: 0.95rem;
}

.sitemap-map-card iframe {
    width: 100%;
    min-height: 620px;
    border: 0;
    border-radius: 22px;
}

@media (max-width: 767px) {
    .home-hero {
        min-height: 68vh;
        padding: 4rem 5% 4.5rem;
        background-position: 64% center;
    }

    .home-hero-content {
        max-width: 100%;
        margin-top: 0;
    }

    .home-hero h1 {
        font-size: clamp(2.95rem, 11vw, 4.15rem);
        line-height: 1.02;
        margin-bottom: 1rem;
    }

    .home-hero-content p {
        font-size: 1.05rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-search-pill {
        width: 100%;
        max-width: 260px;
    }

    .home-prices-section {
        padding: 3.6rem 5% 3.8rem;
    }

    .home-prices-wrap {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .home-prices-intro h2,
    .home-prices-copy p,
    .home-prices-rate {
        max-width: 100%;
        text-align: left;
    }

    .home-prices-rate span {
        font-size: clamp(3.2rem, 16vw, 4.3rem);
    }

    .prices-inline-card {
        padding: 0 0 1rem;
    }

    .hc-hero {
        min-height: 420px;
        height: auto;
        padding: 4.5rem 0 4rem;
        background-position: center;
    }

    .hc-hero-overlay {
        padding: 0 6%;
    }

    .hc-hero-overlay h1 {
        font-size: clamp(2.3rem, 9vw, 3.3rem);
        line-height: 1.08;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .detail-page-refined .hc-trust-strip {
        padding: 2.8rem 6% 3rem;
    }

    .detail-page-refined .hc-trust-text {
        font-size: 1.3rem;
        line-height: 1.32;
    }

    .hc-split-container {
        margin: 3.2rem auto;
        padding: 0 6%;
        gap: 2.2rem;
    }

    .sticky-title h2,
    .hc-main-content h3 {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .hc-main-content p,
    .hc-custom-list li {
        font-size: 1rem;
    }

    .detail-page-refined .related-container,
    .related-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .detail-page-refined .related-title-col,
    .detail-page-refined .related-middle-col,
    .detail-page-refined .related-links-col,
    .related-title-col,
    .related-middle-col,
    .related-links-col {
        width: 100%;
        max-width: 100%;
    }

    .detail-page-refined .related-middle-col,
    .related-middle-col {
        padding-left: 0;
        border-left: 0;
    }

    .detail-page-refined .related-links-col,
    .related-links-col {
        gap: 0.85rem;
    }

    .detail-page-refined .related-link,
    .related-link {
        width: 100%;
    }

    .faq-main-title {
        font-size: 2rem;
        line-height: 1.12;
    }

    .faq-question {
        font-size: 1rem;
        gap: 1rem;
    }

    .guidance-section .container-flex {
        gap: 2rem;
    }

    .guidance-sidebar h2,
    .group-header h3 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .group-links {
        grid-template-columns: 1fr;
    }

    .group-links a {
        min-height: 72px;
    }

    .enquiries-page-hero,
    .page-hero {
        min-height: 360px;
        padding: 4.5rem 6% 4rem;
        background-position: center;
    }

    .page-hero-content h1,
    .enquiries-page-hero-content h1 {
        font-size: clamp(2.35rem, 9vw, 3.3rem);
        line-height: 1.06;
        max-width: 100%;
    }

    .enquiry-main-grid,
    .contact-home-grid,
    .areas-we-cover-grid {
        grid-template-columns: 1fr;
    }

    .enquiry-form-panel,
    .enquiry-sidebar-panel,
    .contact-form-card,
    .business-details-card {
        padding: 1.6rem;
    }

    .enquiry-fields-grid,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .areas-we-cover-map,
    .areas-we-cover-map iframe,
    .business-map-wrap iframe,
    .enquiry-map-card iframe {
        min-height: 280px;
    }

    .global-footer-grid {
        gap: 1.25rem;
    }

    .global-footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .care-pillars-section {
        padding: 4.2rem 5%;
    }

    .pillars-grid {
        gap: 1.25rem;
    }

    .trust-badges {
        gap: 1rem;
        padding: 2.4rem 5% 2.6rem;
        justify-content: center;
    }

    .badge-item {
        width: min(100%, 320px);
        height: 150px;
        padding: 1rem;
        border-radius: 26px;
    }

    .badge-logo-card img {
        max-width: 196px;
        max-height: 104px;
    }

    .bubbles-logo .text {
        font-size: 1.25rem;
    }

    .pillar-card {
        border-radius: 24px;
    }

    .pillar-card-top {
        padding: 1.5rem 1.2rem 1.25rem;
    }

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

    .pillar-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .pillar-mobile-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--primary-navy);
        font-family: var(--font-sans);
        font-size: 1.25rem;
        font-weight: 600;
        text-align: left;
        line-height: 1.25;
        cursor: pointer;
    }

    .pillar-card-approach h3 {
        display: none;
    }

    .pillar-mobile-arrow {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #eef5ff;
        color: var(--action-blue);
        font-size: 1.2rem;
        transition: transform 0.25s ease, background 0.25s ease;
    }

    .pillar-card-body {
        display: none;
        padding-top: 1rem;
    }

    .pillar-card.mobile-open .pillar-card-body {
        display: block;
    }

    .pillar-card.mobile-open .pillar-mobile-arrow {
        transform: rotate(180deg);
        background: #dcebff;
    }

    .sitemap-areas-section {
        padding: 4rem 5% 4.4rem;
    }

    .sitemap-areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sitemap-areas-copy h2 {
        max-width: 100%;
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }

    .sitemap-areas-copy p,
    .sitemap-area-list,
    .sitemap-area-selector select {
        max-width: 100%;
    }

    .sitemap-area-list {
        grid-template-columns: 1fr;
    }

    .sitemap-map-card iframe {
        min-height: 360px;
    }

    .stats-content-wrapper {
        gap: 2rem;
    }

    .stats-right {
        width: 100%;
        padding-left: 0;
    }

    .stats-number-block {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "number controls"
            "description controls"
            "dots dots";
        align-items: start;
        gap: 1rem 0.9rem;
        margin-bottom: 0;
    }

    .stats-number {
        grid-area: number;
        min-width: 0 !important;
        font-size: clamp(4.3rem, 18vw, 6.6rem);
        line-height: 0.95;
        margin: 0;
    }

    .stats-controls {
        grid-area: controls;
        display: flex;
        flex-direction: row;
        gap: 0.7rem;
        align-items: center;
        justify-content: flex-end;
        margin-right: 0.15rem;
        align-self: start;
    }

    .circle-btn {
        width: 42px;
        height: 42px;
        font-size: 1.12rem;
        border-width: 1.5px;
        background: rgba(255, 255, 255, 0.12);
    }

    #stats-up-btn,
    #stats-down-btn {
        font-size: 0;
        line-height: 1;
    }

    #stats-up-btn::before,
    #stats-down-btn::before {
        font-size: 1.12rem;
        font-weight: 600;
    }

    #stats-up-btn::before {
        content: '←';
    }

    #stats-down-btn::before {
        content: '→';
    }

    .stats-dots {
        grid-area: dots;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.65rem;
        margin-top: 0.35rem;
    }

    #stats-description-val {
        grid-area: description;
        margin: 0;
        max-width: 12ch;
        margin-top: -0.1rem;
        margin-bottom: 0.25rem;
    }

    .roberts-review-card {
        padding: 2rem 1.55rem 1.7rem;
    }

    .roberts-review-copy {
        max-height: 285px;
        transition: max-height 0.28s ease;
    }

    .roberts-review-card.review-open .roberts-review-copy {
        max-height: 900px;
    }

    .roberts-review-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

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

    .detail-page-refined .hc-trust-text {
        font-size: clamp(1.7rem, 2.4vw, 2.5rem);
    }

    .sticky-title h2,
    .hc-main-content h3 {
        font-size: 2.2rem;
    }

    .page-hero-content h1 {
        font-size: 3.8rem;
    }

    .enquiries-page-hero-content h1 {
        font-size: clamp(3.2rem, 5vw, 4.6rem);
    }
}

