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

:root {
    --primary: #0f3948;
    --primary-dark: #092535;
    --primary-light: #1a5f7a;
    --accent: #c98f83;
    --accent-light: #deb9af;
    --accent-bright: #d29b8e;
    --success: #48bb78;
    --success-light: #68d391;
    --warning: #e8b24e;
    --secondary: #3d95b8;
    --secondary-light: #6db3a0;
    --text-dark: #0f2835;
    --text-gray: #5a6b77;
    --text-light: #7fa3b0;
    --bg-light: #f8fafb;
    --bg-lighter: #ffffff;
    --white: #ffffff;
    --border: #e0e4e8;
    --border-light: #eef1f5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* Fallback icons when Font Awesome is unavailable */
.fa-fallback i.fa-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    font-style: normal;
    line-height: 1;
    font-weight: 700;
}

.fa-fallback i.fa-solid::before {
    content: '\2022';
    font-family: inherit;
}

.fa-fallback i.fa-phone::before { content: '\260E'; }
.fa-fallback i.fa-clock::before { content: '\25F7'; }
.fa-fallback i.fa-briefcase-medical::before { content: '\271A'; }
.fa-fallback i.fa-bars::before { content: '\2630'; }
.fa-fallback i.fa-arrow-up::before { content: '\2191'; }
.fa-fallback i.fa-circle-check::before { content: '\2713'; }
.fa-fallback i.fa-laptop::before { content: '\2328'; }
.fa-fallback i.fa-shield-halved::before { content: '\25A3'; }
.fa-fallback i.fa-check::before { content: '\2713'; }
.fa-fallback i.fa-envelope::before { content: '\2709'; }
.fa-fallback i.fa-location-dot::before { content: '\25CF'; }
.fa-fallback i.fa-circle-question::before { content: '?'; }
.fa-fallback i.fa-file-medical::before { content: '\25A6'; }
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 12px;
    transition: all 0.3s ease;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    max-height: 0;
    overflow: hidden auto;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: calc(100vh - 88px);
    -webkit-overflow-scrolling: touch;
}

.mobile-nav ul {
    list-style: none;
    padding: 16px 20px;
}

.mobile-nav li {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    margin: 0 -16px;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: block;
    transition: all 0.2s;
}

.mobile-nav a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    font-size: 13px;
    animation: slideInDown 0.5s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.top-bar-content div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-bar-content i {
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    width: 100%;
}

.header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    animation: fadeIn 0.8s ease;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(233, 74, 73, 0.35);
    transition: all 0.3s ease;
}

.logo-icon i {
    display: none;
}

.logo-icon::before {
    content: 'RH';
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.4px;
    color: white;
}

.logo-container:hover .logo-icon {
    transform: scale(1.05) rotate(-5deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
}

.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    white-space: nowrap;
}

.logo-tagline {
    font-size: 11px;
    color: #475569;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
    margin-left: auto;
    flex-wrap: wrap;
}

.nav-links li:last-child {
    margin-left: 8px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-links a.nav-link-active {
    color: var(--accent);
}

.nav-links a.nav-link-active::after {
    width: 100%;
}

.mobile-nav a.nav-link-active {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mobile-cta {
    display: block;
    text-align: center;
}

.btn-full {
    width: 100%;
}

.link-clean {
    color: inherit;
    text-decoration: none;
}

.btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    max-width: 100%;
    text-align: center;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(5, 191, 219, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Hero */
.hero {
    position: relative;
    height: 700px;
    background: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)),
                url('../images/img-05.jpg') center/cover;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Page-specific hero images */
.hero-home { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-05.jpg'); }
.hero-about { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-09.jpg'); }
.hero-services { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-03.jpg'); }
.hero-how { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-01.jpg'); }
.hero-contact { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-01.jpg'); }
.hero-insurance { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-04.jpg'); }
.hero-faq { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-02.jpg'); }
.hero-receive-referral { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-06.jpg'); }
.hero-schedule-appointment { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-08.jpg'); }
.hero-begin-treatment { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-03.jpg'); }
.hero-psychiatric-evaluation { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-03.jpg'); }
.hero-medication-management { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-07.jpg'); }
.hero-individual-therapy { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-06.jpg'); }
.hero-anxiety-depression { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-04.jpg'); }
.hero-ongoing-support { background-image: linear-gradient(rgba(10, 77, 104, 0.78), rgba(10, 77, 104, 0.78)), url('../images/img-02.jpg'); }

.hero-compact {
    min-height: 360px;
    height: 400px;
}

.hero-compact h1 {
    font-size: clamp(36px, 5vw, 52px);
}

.hero-compact .hero-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(circle at 70% 30%, rgba(5, 191, 219, 0.2) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(4, 36, 51, 0.35) 0%, rgba(4, 36, 51, 0.35) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 5.4vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    max-width: 800px;
    animation: slideInLeft 1s ease;
    letter-spacing: -1px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    font-size: clamp(17px, 2.1vw, 20px);
    margin-bottom: 40px;
    max-width: 700px;
    opacity: 0.95;
    line-height: 1.7;
    animation: slideInLeft 1s ease 0.2s both;
    font-weight: 500;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1s ease 0.4s both;
    flex-wrap: wrap;
}

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

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

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Info Cards */
.info-cards {
    background: white;
    padding: 0 20px;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.info-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    background: white;
    padding: 44px 32px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease both;
    border: 1px solid rgba(10, 77, 104, 0.08);
    border-top: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(5, 191, 219, 0.1) 0%, transparent 70%);
    border-radius: 50% 0 0 50%;
    pointer-events: none;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

.info-card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 20px 56px rgba(10, 77, 104, 0.18);
    border-color: rgba(5, 191, 219, 0.4);
}

.info-card-icon {
    font-size: 56px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
    color: var(--primary);
}

.info-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
}

/* Section */
.section {
    padding: 120px 24px;
}

.section-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.section-cta .cta-title {
    color: white;
    margin-bottom: 20px;
}

.section-cta .cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

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

/* Conversion strip */
.conversion-strip {
    padding: 56px 24px;
    background: linear-gradient(135deg, #E8F8FF 0%, #F6FBFF 100%);
    border-top: 1px solid #D8ECF7;
    border-bottom: 1px solid #D8ECF7;
}

.conversion-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.conversion-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 90px;
}

.conversion-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    flex-shrink: 0;
}

.conversion-icon i {
    font-size: clamp(16px, 2vw, 20px);
}

.conversion-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.conversion-label {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.conversion-value {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease;
}

.section-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(10, 77, 104, 0.08);
    border-radius: 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 19px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-grid.about-grid-provider {
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 64px;
}

.about-image {
    width: 100%;
    height: 560px;
    background: url('../images/img-09.jpg') center/cover no-repeat;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 1s ease;
    overflow: hidden;
    position: relative;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #fff;
    border-radius: 16px;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22%;
    background: linear-gradient(to top, rgba(10, 77, 104, 0.34), rgba(10, 77, 104, 0));
    pointer-events: none;
}

.about-image.about-image-provider {
    max-width: 380px;
    height: 460px;
    padding: 14px;
    background: linear-gradient(180deg, #edf7fc 0%, #e3f1f8 100%);
    margin-inline: auto;
}

.about-content {
    animation: slideInRight 1s ease;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 28px;
    line-height: 1.3;
}

.about-content p {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.9;
}

.provider-verify {
    margin-top: 6px;
    margin-bottom: 26px;
}

.btn-provider-verify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(10, 77, 104, 0.1);
    border: 1px solid rgba(10, 77, 104, 0.2);
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-provider-verify:hover {
    background: rgba(10, 77, 104, 0.16);
    border-color: rgba(10, 77, 104, 0.3);
    transform: translateY(-1px);
}

.credentials {
    background: linear-gradient(135deg, var(--bg-light) 0%, #E0F2FE 100%);
    padding: 36px;
    border-radius: 16px;
    margin-top: 36px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.credentials h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--primary);
}

.credentials-list {
    list-style: none;
}

.credentials-list li {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    transition: all 0.3s ease;
}

.credentials-list li:hover {
    padding-left: 8px;
}

.credentials-list li:last-child {
    border-bottom: none;
}

.check {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* How It Works */
.how-it-works {
    background: linear-gradient(180deg, #F0F9FF 0%, var(--bg-light) 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
}

.step {
    text-align: center;
    animation: fadeInUp 0.8s ease both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0 auto 28px;
    box-shadow: 0 8px 24px rgba(10, 77, 104, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step h3 a {
    color: inherit;
    text-decoration: none;
}

.step h3 a:hover {
    color: var(--primary);
}

.step p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-step {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(10, 77, 104, 0.25);
    min-height: 44px;
    padding: 10px 18px;
    font-size: 15px;
}

.btn-step::before {
    display: none;
}

.btn-step:hover {
    color: var(--white);
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(10, 77, 104, 0.2);
}

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

.service-card {
    background: white;
    border: 1px solid rgba(10, 77, 104, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease both;
    box-shadow: 0 4px 16px rgba(10, 77, 104, 0.06);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    box-shadow: 0 24px 60px rgba(10, 77, 104, 0.18);
    transform: translateY(-12px);
    border-color: var(--accent);
}

.service-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 77, 104, 0.3) 100%);
    transition: opacity 0.3s;
}

.service-card:hover .service-image::after {
    opacity: 0.5;
}

.service-1 { background-image: url('../images/img-03.jpg'); }
.service-2 { background-image: url('../images/img-07.jpg'); }
.service-3 { background-image: url('../images/img-06.jpg'); }
.service-4 { background-image: url('../images/img-04.jpg'); }
.service-5 { background-image: url('../images/img-08.jpg'); }
.service-6 { background-image: url('../images/img-02.jpg'); }

.service-content {
    padding: 32px 28px;
}

.service-card h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.service-card h3 a {
    color: inherit;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: var(--primary);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* Insurance */
.insurance {
    background: white;
    padding: 100px 24px;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.insurance-card {
    background: white;
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    border: 1.5px solid rgba(10, 77, 104, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    aspect-ratio: 5 / 2;
    box-shadow: 0 2px 8px rgba(10, 77, 104, 0.05);
}

.insurance-card:nth-child(1) { animation-delay: 0.1s; }
.insurance-card:nth-child(2) { animation-delay: 0.15s; }
.insurance-card:nth-child(3) { animation-delay: 0.2s; }
.insurance-card:nth-child(4) { animation-delay: 0.25s; }
.insurance-card:nth-child(5) { animation-delay: 0.3s; }
.insurance-card:nth-child(6) { animation-delay: 0.35s; }

.insurance-card:hover {
    background: white;
    border-color: var(--accent);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(10, 77, 104, 0.15);
}

.provider-logo {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: contain;
    display: block;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, #053347 100%);
    color: white;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 191, 219, 0.2) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat {
    animation: fadeInUp 0.8s ease both;
}

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

.stat-number {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 17px;
    opacity: 0.9;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-image {
    height: 650px;
    background: url('../images/img-01.jpg') center/cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 1s ease;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: slideInRight 1s ease;
}

.contact-method {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    gap: 24px;
    align-items: start;
    transition: all 0.3s ease;
    border: 2px solid var(--border);
    min-height: 100px;
}

.contact-method:hover {
    background: white;
    box-shadow: 0 12px 32px rgba(10, 77, 104, 0.12);
    border-color: var(--accent);
    transform: translateX(8px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(10, 77, 104, 0.2);
    transition: all 0.3s ease;
}

/* Icon scaling */
.top-bar-content i,
.mobile-menu-btn i,
.info-card-icon i,
.contact-icon i,
.scroll-top i,
.check i {
    font-size: clamp(14px, 2.2vw, 22px);
    line-height: 1;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.contact-method-info h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.contact-method-info p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 48px;
    border-radius: 20px;
    border: 2px solid var(--border);
    margin-top: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 1s ease 0.2s both;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-item h3 i {
    color: var(--accent);
    margin-right: 10px;
}

/* Legal */
.legal-page {
    padding-top: 40px;
}

.legal-container {
    max-width: 900px;
}

.legal-title {
    font-size: 42px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.legal-date {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-content {
    line-height: 1.8;
    color: var(--text-gray);
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
    margin-top: 30px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-contact-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 77, 104, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

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

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

.form-feedback {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    font-size: 14px;
    font-weight: 600;
}

.form-feedback.error {
    background: #FEF2F2;
    color: #991B1B;
    border-color: #FECACA;
}

.th-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Auth */
.auth-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: start;
}

.auth-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.auth-grid .contact-form {
    margin-top: 0;
}

.auth-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-card p {
    color: var(--text-gray);
    margin-bottom: 14px;
}

.mfa-setup-panel {
    margin-top: 18px;
    border-style: dashed;
}

.mfa-setup-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
}

.mfa-qr-image {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 6px;
}

.mfa-setup-meta p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.mfa-manual-key {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    font-size: 13px;
    letter-spacing: 0.5px;
    overflow-wrap: anywhere;
}

.auth-note {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-dark);
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 16px;
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.inline-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.inline-check input {
    width: 18px;
    height: 18px;
}

.inline-check label {
    margin: 0;
    font-size: 14px;
    color: var(--text-dark);
}

.auth-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.auth-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 14px;
}

.auth-list li:last-child {
    border-bottom: none;
}

/* Admin dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.dashboard-grid > * {
    min-width: 0;
}

.dashboard-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    min-width: 0;
}

.dashboard-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.data-table th,
.data-table td {
    border-bottom: 1px solid var(--border);
    text-align: left;
    padding: 12px 10px;
    font-size: 14px;
}

.data-table th {
    color: var(--text-gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #E0F2FE;
    color: #075985;
}

.pill.is-received {
    background: #E0F2FE;
    color: #075985;
}

.pill.is-intake-review {
    background: #FEF3C7;
    color: #92400E;
}

.pill.is-scheduled {
    background: #DBEAFE;
    color: #1E40AF;
}

.pill.is-in-progress,
.pill.is-treatment-planning,
.pill.is-active-treatment,
.pill.is-follow-up {
    background: #DCFCE7;
    color: #166534;
}

.pill.is-completed {
    background: #D1FAE5;
    color: #065F46;
}

.pill.is-on-hold {
    background: #FEE2E2;
    color: #991B1B;
}

.table-action-form {
    display: grid;
    gap: 6px;
    min-width: 230px;
}

.table-action-form label {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
}

.table-action-form input,
.table-action-form select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
}

.btn-compact {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 14px;
}

.table-feedback {
    margin-top: 6px;
}

/* Footer */
.footer {
    background: #0F1419;
    color: white;
    padding: 42px 20px 14px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 18px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    font-size: 13px;
}

.footer h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer ul li {
    margin-bottom: 6px;
    line-height: 1.35;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.74);
}

.footer ul li:last-child {
    margin-bottom: 0;
}

.footer ul li strong {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 13px;
    line-height: 1.3;
}

.footer ul a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.global-site-announcement {
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.announcement-title {
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 600;
    letter-spacing: 0.1px;
    line-height: 1.3;
}

.announcement-disclaimer {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
    line-height: 1.35;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, #0a7fa4 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(5, 191, 219, 0.35);
    font-size: 18px;
    z-index: 999;
}
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(10, 77, 104, 0.25);
    z-index: 1000;
    border: none;
    min-width: 56px;
    min-height: 56px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10, 77, 104, 0.35);
}

.scroll-top:active {
    transform: translateY(-2px);
}

/* Cookie consent */
.cookie-banner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1400;
    background: #F5F4F3;
    border-top: 1px solid #DDD8D4;
    border-radius: 14px;
    box-shadow: 0 -10px 24px rgba(2, 26, 38, 0.12);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner.is-hiding {
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
}

.cookie-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-banner-text {
    margin: 0;
    color: #224354;
    font-size: 14px;
    line-height: 1.35;
    max-width: 920px;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border-radius: 999px;
    min-height: 40px;
    min-width: 118px;
    padding: 8px 14px;
    border: 2px solid transparent;
    background: #fff;
    color: #122333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cookie-btn-manage {
    background: #D5AAA3;
    color: #FFFFFF;
    border-color: #D5AAA3;
}

.cookie-btn-decline {
    border-color: #2e4e5b;
    color: #2e4e5b;
}

.cookie-btn-accept {
    background: #29586A;
    color: #FFFFFF;
    border-color: #29586A;
}

.cookie-btn-hide {
    background: transparent;
    border-color: #C7D2D9;
    color: #35576A;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(12, 34, 49, 0.16);
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 23, 32, 0.55);
    z-index: 1500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.24s ease;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal.is-active {
    opacity: 1;
}

.cookie-modal-card {
    width: min(720px, 100%);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #DCE3E7;
    box-shadow: 0 20px 40px rgba(2, 26, 38, 0.2);
    padding: 24px;
    transform: translateY(18px) scale(0.98);
    transition: transform 0.24s ease;
}

.cookie-modal.is-active .cookie-modal-card {
    transform: translateY(0) scale(1);
}

.cookie-modal-card h3 {
    margin: 0 0 6px;
    color: var(--primary-dark);
}

.cookie-modal-subtitle {
    margin: 0 0 18px;
    color: var(--text-gray);
    font-size: 14px;
}

.cookie-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.cookie-option h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--text-dark);
}

.cookie-option p {
    margin: 0;
    font-size: 13px;
    color: var(--text-gray);
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.cookie-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-settings-trigger {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1350;
    border: 1px solid #B7C5CD;
    background: #FFFFFF;
    color: #16394B;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(8, 23, 32, 0.18);
}

.cookie-settings-trigger:hover {
    background: #EEF5F8;
}

.cookie-banner-visible .cookie-settings-trigger {
    bottom: 86px;
}

/* Accessibility + Enhancements */
.skip-link {
    position: fixed;
    left: 16px;
    top: -56px;
    z-index: 2500;
    background: var(--primary);
    color: #FFFFFF;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 14px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(5, 191, 219, 0.45);
    outline-offset: 2px;
}

.mobile-sticky-cta {
    display: none !important;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    z-index: 1450;
    width: min(96%, 520px);
    background: rgba(9, 29, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 8px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    box-shadow: 0 14px 30px rgba(2, 12, 18, 0.35);
    backdrop-filter: blur(6px);
}

.mobile-sticky-cta-btn {
    color: #FFFFFF;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
}

body.has-mobile-sticky-cta {
    padding-bottom: 0 !important;
}

.mobile-sticky-cta-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.cookie-banner-visible .mobile-sticky-cta {
    bottom: 96px;
}

.trust-chip-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

.trust-chip-link {
    text-decoration: none;
}

.trust-chip-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.faq-search-wrap {
    margin-bottom: 24px;
}

.faq-search-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.faq-search-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 15px;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5, 191, 219, 0.18);
}

.faq-toggle {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--primary);
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.faq-toggle-icon {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.faq-item.is-open .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 10px;
}

.schedule-funnel {
    margin-top: 36px;
}

.schedule-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.schedule-step {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.service-enhancement {
    background: linear-gradient(180deg, #F7FCFF 0%, #FFFFFF 100%);
}

.service-enhancement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-enhancement-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.service-enhancement-card h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-enhancement-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-gray);
    line-height: 1.7;
}

.empty-state-note {
    margin-top: 14px;
    font-size: 14px;
    color: var(--primary-dark);
    background: #EEF9FF;
    border: 1px solid #D2EAF7;
    border-radius: 10px;
    padding: 10px 12px;
}

/* Homepage spacing tune */
.home-page .hero {
    height: auto;
    min-height: 640px;
    padding: 84px 0 130px;
    align-items: flex-start;
}

.home-page .hero-content-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    gap: 28px;
    align-items: start;
}

.home-page .hero-copy {
    max-width: 720px;
}

.home-page .hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.home-page .hero-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.96);
    font-size: 13px;
    font-weight: 700;
}

.home-page .hero-note {
    margin-top: 14px;
    padding-left: 12px;
    border-left: 3px solid rgba(5, 191, 219, 0.7);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 600;
}

.home-page .hero-quick-panel {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(94, 126, 151, 0.72) 0%, rgba(88, 119, 144, 0.72) 100%);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    padding: 18px;
    align-self: start;
}

.home-page .hero-quick-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    margin-bottom: 12px;
}

.home-page .hero-quick-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.home-page .hero-quick-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(119, 146, 168, 0.36);
    padding: 14px 14px 6px;
    margin-bottom: 12px;
}

.home-page .hero-quick-panel h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.home-page .hero-quick-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .hero-quick-item:last-of-type {
    margin-bottom: 12px;
}

.home-page .hero-quick-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.home-page .hero-quick-value {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    text-align: right;
}

.home-page .hero-quick-value a {
    color: #fff;
    text-decoration: none;
}

.home-page .hero-quick-cta {
    width: 100%;
    margin-top: 2px;
    background: linear-gradient(135deg, #2f5f83 0%, #4d9bb0 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-page .hero-quick-cta:hover {
    color: #fff;
}

.home-page .hero-quick-note {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.home-page .info-cards {
    margin-top: -58px;
}

.home-page .section {
    padding: 92px 24px;
}

.home-page .section-header {
    margin-bottom: 52px;
}

.home-page .about-grid {
    gap: 72px;
}

.home-page .about-grid.about-grid-provider {
    gap: 48px;
}

.home-page .steps-grid {
    gap: 30px;
    margin-top: 34px;
}

.home-page .services-grid {
    gap: 24px;
}

.home-page .insurance,
.home-page .stats {
    padding: 76px 24px;
}

.home-page .stats-grid {
    gap: 36px;
}

.home-page .contact-grid {
    gap: 48px;
}

.home-page .contact-form {
    margin-top: 24px;
}

.home-page .conversion-strip {
    padding: 44px 24px;
}

/* Tide-inspired redesign */
.tide-redesign .calm-hero {
    height: auto;
    min-height: 560px;
    padding: 120px 0 96px;
    background:
        linear-gradient(135deg, rgba(7, 44, 64, 0.88) 0%, rgba(16, 67, 94, 0.84) 58%, rgba(42, 104, 137, 0.78) 100%),
        url('../images/img-04.jpg') center/cover no-repeat;
}

.tide-redesign .hero .hero-content {
    max-width: 1160px;
}

.tide-redesign .hero h1 {
    max-width: 860px;
    letter-spacing: -0.6px;
}

.tide-redesign .hero-subtitle {
    max-width: 760px;
}

.tide-redesign .soft-section {
    background: linear-gradient(180deg, #f5fbff 0%, #f9fcff 100%);
}

.tide-redesign .tide-section-header {
    margin-bottom: 52px;
}

.tide-redesign .condition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tide-redesign .condition-card {
    background: #fff;
    border: 1px solid #d9e9f3;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(7, 44, 64, 0.07);
}

.tide-redesign .condition-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.tide-redesign .condition-card p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.75;
    font-size: 15px;
}

.tide-redesign .split-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    gap: 36px;
    align-items: center;
}

.tide-redesign .split-feature-image {
    border-radius: 18px;
    min-height: 420px;
    border: 1px solid #d2e4ef;
    box-shadow: 0 14px 36px rgba(7, 44, 64, 0.12);
}

.tide-redesign .split-feature-image-home {
    background:
        linear-gradient(180deg, rgba(7, 44, 64, 0.08) 0%, rgba(7, 44, 64, 0.18) 100%),
        url('../images/img-06.jpg') center/cover no-repeat;
}

.tide-redesign .split-feature-image-services {
    background:
        linear-gradient(180deg, rgba(7, 44, 64, 0.08) 0%, rgba(7, 44, 64, 0.18) 100%),
        url('../images/img-08.jpg') center/cover no-repeat;
}

.tide-redesign .split-feature-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

.tide-redesign .tide-bullet-list {
    margin: 18px 0 28px;
    padding-left: 18px;
    color: var(--text-gray);
    line-height: 1.8;
}

.tide-redesign .tide-bullet-list li {
    margin-bottom: 8px;
}

.tide-redesign .pricing-insurance {
    background: #f8fbfe;
}

.tide-redesign .pricing-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tide-redesign .pricing-table-card {
    background: #fff;
    border: 1px solid #d2e4ef;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 26px rgba(7, 44, 64, 0.08);
}

.tide-redesign .pricing-table-card h3 {
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-size: 24px;
}

.tide-redesign .pricing-table,
.tide-redesign .insurance-table {
    width: 100%;
    border-collapse: collapse;
}

.tide-redesign .pricing-table th,
.tide-redesign .pricing-table td,
.tide-redesign .insurance-table td {
    border-bottom: 1px solid #e1edf5;
    padding: 12px 8px;
    text-align: left;
    vertical-align: top;
}

.tide-redesign .pricing-table th {
    color: var(--text-dark);
    width: 62%;
}

.tide-redesign .pricing-table td {
    color: var(--text-gray);
}

.tide-redesign .insurance-table td {
    color: var(--text-dark);
    width: 50%;
}

.tide-redesign .pricing-note {
    margin: 14px 0 0;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 14px;
}

.tide-redesign .about-intro-copy {
    max-width: 960px;
    display: grid;
    gap: 16px;
}

.tide-redesign .about-intro-copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-gray);
}

.tide-redesign .nature-hero {
    background-image:
        linear-gradient(rgba(10, 77, 104, 0.72), rgba(10, 77, 104, 0.72)),
        url('../images/img-06.jpg');
}

.tide-redesign .provider-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tide-redesign .provider-card-modern {
    background: #fff;
    border: 1px solid #d4e6f2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(7, 44, 64, 0.08);
}

.tide-redesign .provider-card-photo {
    min-height: 220px;
}

.tide-redesign .provider-card-photo-one {
    background:
        linear-gradient(180deg, rgba(7, 44, 64, 0.12) 0%, rgba(7, 44, 64, 0.18) 100%),
        url('../images/img-09.jpg') center/cover no-repeat;
}

.tide-redesign .provider-card-photo-two {
    background:
        linear-gradient(180deg, rgba(7, 44, 64, 0.12) 0%, rgba(7, 44, 64, 0.18) 100%),
        url('../images/img-05.jpg') center/cover no-repeat;
}

.tide-redesign .provider-card-body {
    padding: 22px;
}

.tide-redesign .provider-card-body h3 {
    margin: 0 0 10px;
    font-size: 26px;
    color: var(--primary-dark);
}

.tide-redesign .provider-card-body p {
    margin: 0 0 12px;
    color: var(--text-gray);
    line-height: 1.78;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }

    .info-cards-container,
    .services-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-grid.about-grid-provider {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .conversion-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-enhancement-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }

    .home-page .hero {
        height: auto;
        min-height: 0;
        padding: 72px 0 96px;
    }

    .home-page .hero-content-home {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-page .hero-quick-panel {
        max-width: 520px;
    }

    .home-page .section {
        padding: 76px 20px;
    }

    .home-page .section-header {
        margin-bottom: 44px;
    }

    .home-page .about-grid,
    .home-page .about-grid.about-grid-provider,
    .home-page .contact-grid {
        gap: 40px;
    }

    .home-page .stats-grid {
        gap: 30px;
    }

    .tide-redesign .condition-grid,
    .tide-redesign .pricing-layout,
    .tide-redesign .provider-grid-modern {
        grid-template-columns: 1fr;
    }

    .tide-redesign .split-feature {
        grid-template-columns: 1fr;
    }

    .tide-redesign .split-feature-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .mobile-nav {
        display: block;
    }

    .mobile-sticky-cta {
        display: grid;
    }

    body.has-mobile-sticky-cta {
        padding-bottom: 88px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 11px;
        padding: 10px 15px;
    }

    .top-bar-content div {
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
        min-width: 0;
    }

    .nav {
        padding: 14px 15px;
        gap: 12px;
        justify-content: space-between;
    }

    .logo-container {
        gap: 10px;
        min-width: 0;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .logo-icon::before {
        font-size: 16px;
    }

    .logo-text {
        display: flex;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-tagline {
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .hero {
        height: 440px;
    }

    .hero-compact {
        min-height: 280px;
        height: 300px;
    }

    .hero h1 {
        font-size: 34px;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-buttons {
        gap: 12px;
        flex-direction: column;
    }

    .btn {
        width: auto;
        padding: 14px 20px;
        font-size: 16px;
        min-height: 52px;
    }

    .hero-buttons .btn,
    .mobile-nav .btn,
    .contact-form .btn,
    .conversion-action .btn,
    .btn-full,
    .btn-white,
    .btn-outline {
        width: 100%;
    }

    .conversion-strip {
        padding: 42px 16px;
    }

    .conversion-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .conversion-item {
        min-height: 76px;
        padding: 16px;
        align-items: flex-start;
    }

    .conversion-action .btn {
        width: 100%;
    }

    .section {
        padding: 70px 16px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 1.7;
    }

    .legal-title {
        font-size: 34px;
    }

    .faq-item {
        padding: 24px 20px;
    }

    .info-cards {
        padding: 0 16px;
        margin-top: -80px;
    }

    .info-card {
        padding: 32px 20px;
        border-radius: 14px;
        gap: 16px;
    }

    .info-card-icon {
        font-size: 44px;
        margin-bottom: 16px;
    }

    .info-card h3 {
        font-size: 19px;
    }

    .info-card p {
        font-size: 14px;
    }

    .service-card {
        border-radius: 14px;
    }

    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 20px;
    }

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

    .insurance-card {
        padding: 8px;
        border-radius: 10px;
        min-height: 0;
        aspect-ratio: 5 / 2;
    }

    .provider-logo {
        width: 100%;
        height: 100%;
    }

    .contact-grid {
        gap: 40px;
    }

    .contact-image {
        height: 240px;
        border-radius: 14px;
    }

    .contact-method {
        padding: 24px;
        gap: 16px;
        border-radius: 12px;
    }

    .contact-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
        border-radius: 10px;
    }

    .contact-method-info h4 {
        font-size: 11px;
    }

    .contact-method-info p {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .contact-form {
        padding: 32px 20px;
        border-radius: 14px;
        margin-top: 30px;
    }

    .home-page .hero {
        height: auto;
        min-height: 0;
        padding: 56px 0 86px;
    }

    .home-page .hero-content-home {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-page .section {
        padding: 64px 16px;
    }

    .home-page .section-header {
        margin-bottom: 34px;
    }

    .home-page .info-cards {
        margin-top: -34px;
    }

    .home-page .steps-grid {
        margin-top: 26px;
        gap: 24px;
    }

    .home-page .insurance,
    .home-page .stats,
    .home-page .conversion-strip {
        padding: 38px 16px;
    }

    .home-page .contact-form {
        margin-top: 18px;
    }

    .home-page .hero-trust-chip {
        font-size: 12px;
        padding: 8px 10px;
    }

    .home-page .hero-quick-item {
        gap: 8px;
    }

    .home-page .hero-quick-label {
        font-size: 11px;
    }

    .home-page .hero-quick-value {
        font-size: 13px;
    }

    .tide-redesign .calm-hero {
        min-height: 0;
        padding: 84px 0 64px;
    }

    .tide-redesign .condition-card,
    .tide-redesign .pricing-table-card,
    .tide-redesign .provider-card-body {
        padding: 18px;
    }

    .tide-redesign .provider-card-body h3 {
        font-size: 22px;
    }

    .tide-redesign .about-intro-copy p {
        font-size: 16px;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .table-action-form {
        min-width: 200px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .mfa-setup-grid {
        grid-template-columns: 1fr;
    }

    .mfa-qr-image {
        width: 140px;
        height: 140px;
    }

    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        max-height: 48vh;
        overflow-y: auto;
        border-radius: 12px;
    }

    .cookie-banner-content {
        padding: 10px 12px 12px;
    }

    .cookie-banner-text {
        font-size: 13px;
    }

    .cookie-banner-actions {
        width: 100%;
        gap: 10px;
    }

    .cookie-btn {
        flex: 1 1 calc(50% - 6px);
        width: auto;
        min-height: 40px;
        font-size: 13px;
    }

    .cookie-modal-card {
        padding: 18px;
        border-radius: 14px;
    }

    .cookie-modal-actions {
        justify-content: stretch;
    }

    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }

    .auth-links {
        gap: 10px 14px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .form-group label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 8px;
        min-height: 44px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .stats-grid,
    .insurance-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 52px;
    }

    .stat-label {
        font-size: 16px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 20px;
    }

    .step h3 {
        font-size: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer {
        padding: 30px 14px 12px;
    }

    .footer h3 {
        font-size: 16px;
    }

    .footer h4 {
        font-size: 11px;
    }

    .footer p,
    .footer ul a,
    .footer ul li {
        font-size: 12px;
        line-height: 1.35;
    }

    .global-site-announcement {
        font-size: 11px;
        line-height: 1.4;
    }

    .announcement-title {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .announcement-disclaimer {
        font-size: 10px;
    }

    .scroll-top {
        width: 52px;
        height: 52px;
        bottom: 86px;
        right: 20px;
        font-size: 20px;
        min-width: 52px;
        min-height: 52px;
    }

    .about-image {
        height: 300px;
        border-radius: 14px;
    }

    .about-image.about-image-provider {
        max-width: 320px;
        height: 280px;
        padding: 10px;
    }

    .about-photo {
        border-radius: 12px;
    }

    .about-content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .about-content p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .provider-verify {
        margin-bottom: 20px;
    }

    .btn-provider-verify {
        font-size: 13px;
        padding: 9px 12px;
    }

    .credentials {
        padding: 24px;
        border-radius: 12px;
        margin-top: 24px;
    }

    .credentials h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .credentials-list li {
        padding: 12px 0;
        font-size: 14px;
        gap: 12px;
    }

    .check {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .how-it-works {
        background: linear-gradient(180deg, #F0F9FF 0%, var(--bg-light) 100%);
    }

    .steps-grid {
        gap: 32px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .btn {
        font-size: 15px;
        min-height: 48px;
        padding: 12px 16px;
    }

    .logo-name {
        font-size: 15px;
    }

    .logo-tagline {
        display: none;
        font-size: 9px;
        letter-spacing: 0.2px;
    }

    .top-bar {
        font-size: 12px;
    }

    .top-bar-content {
        padding: 10px 12px;
    }

    .top-bar-content div {
        flex-wrap: wrap;
        justify-content: center;
        line-height: 1.45;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-compact {
        min-height: 240px;
        height: 260px;
    }

    .service-image {
        height: 160px;
    }

    .contact-image {
        height: 200px;
    }

    .about-image {
        height: 240px;
    }

    .about-image.about-image-provider {
        max-width: 260px;
        padding: 8px;
    }

    .about-photo {
        border-radius: 10px;
    }

    .legal-title {
        font-size: 28px;
    }

    .section-cta .cta-subtitle {
        font-size: 16px;
    }

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

    .auth-note {
        font-size: 13px;
    }

    .cookie-settings-trigger {
        left: 12px;
        bottom: 12px;
        padding: 7px 11px;
        font-size: 11px;
    }

    .cookie-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .trust-chip {
        font-size: 12px;
        padding: 7px 10px;
    }

    .faq-toggle {
        font-size: 18px;
    }

    .schedule-progress {
        grid-template-columns: 1fr;
    }

    .home-page .hero {
        height: auto;
        min-height: 0;
        padding: 48px 0 70px;
    }

    .home-page .section {
        padding: 56px 14px;
    }

    .home-page .section-header {
        margin-bottom: 30px;
    }

    .home-page .info-cards {
        margin-top: -20px;
    }

    .home-page .steps-grid {
        margin-top: 20px;
        gap: 18px;
    }

    .home-page .insurance,
    .home-page .stats,
    .home-page .conversion-strip {
        padding: 32px 14px;
    }

    .home-page .contact-form {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Tide mirror redesign (public pages only) */
body.tide-mirror {
    font-family: 'Questrial', sans-serif;
    background: #f4f0eb;
    color: #163746;
}

body.tide-mirror h1,
body.tide-mirror h2,
body.tide-mirror h3,
body.tide-mirror h4,
body.tide-mirror .logo-name {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.01em;
}

.tide-mirror .th-primary-btn,
.tide-mirror .btn.th-primary-btn {
    background: #0f3948;
    border: 1px solid #0f3948;
    color: #f6f2ed;
    border-radius: 999px;
    padding: 12px 22px;
    min-height: 46px;
    box-shadow: none;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tide-mirror .th-primary-btn::before,
.tide-mirror .th-secondary-btn::before,
.tide-mirror .th-ghost-btn::before {
    display: none;
}

.tide-mirror .th-primary-btn:hover,
.tide-mirror .th-secondary-btn:hover,
.tide-mirror .th-ghost-btn:hover {
    transform: none;
    box-shadow: none;
}

.tide-mirror .th-secondary-btn,
.tide-mirror .btn.th-secondary-btn {
    background: transparent;
    border: 1px solid rgba(246, 242, 237, 0.8);
    color: #f6f2ed;
    border-radius: 999px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tide-mirror .th-ghost-btn,
.tide-mirror .btn.th-ghost-btn {
    background: transparent;
    border: 1px solid rgba(15, 57, 72, 0.35);
    color: #183949;
    border-radius: 999px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tide-mirror .th-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 26px;
}

.tide-mirror .centered {
    text-align: center;
}

.tide-mirror .th-eyebrow {
    font-family: 'Questrial', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0 0 12px;
    color: #2d5a6c;
}

.tide-mirror .th-hero {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 45, 59, 0.72), rgba(10, 45, 59, 0.84)), url('../images/img-04.jpg') center/cover no-repeat;
    min-height: 630px;
    display: flex;
    align-items: center;
    padding: 70px 0 92px;
}

.tide-mirror .th-hero-shell {
    width: min(900px, calc(100vw - 52px));
    margin: 0 auto;
}

.tide-mirror .th-hero-card {
    border: 14px solid rgba(246, 242, 237, 0.88);
    border-radius: 34px;
    background: rgba(21, 67, 83, 0.66);
    backdrop-filter: blur(1px);
    color: #f6f2ed;
    text-align: center;
    padding: clamp(38px, 7vw, 72px) clamp(20px, 6vw, 78px);
}

.tide-mirror .th-hero-card .th-eyebrow {
    color: rgba(246, 242, 237, 0.85);
}

.tide-mirror .th-hero-card h1 {
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 600;
    line-height: 1.04;
    margin: 0 0 16px;
}

.tide-mirror .th-hero-card p {
    margin: 0 auto 28px;
    max-width: 720px;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(246, 242, 237, 0.92);
}

.tide-mirror .th-page-hero {
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 70px 0;
    color: #f6f2ed;
    background-size: cover;
    background-position: center;
}

.tide-mirror .th-page-hero-card {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.tide-mirror .th-page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    margin: 0 0 14px;
    line-height: 1.06;
}

.tide-mirror .th-page-hero p {
    max-width: 840px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.6;
}

/* About hero: direct background-image, tall enough to show above the wave */
.tide-mirror .th-about-hero {
    position: relative;
    min-height: clamp(180px, 22vw, 300px);
    padding: 0;
    background-image: url('../images/home/cta-shell-texture.jpg');
    background-size: cover;
    background-position: center top;
    margin-bottom: 0;
}
/* Remove the generic dark overlay â€” hero shows the texture as-is */
.tide-mirror .th-about-hero::before {
    display: none;
}
.tide-mirror .th-about-hero .th-hero-shell {
    display: none;
}
.tide-mirror .th-about-hero .th-page-hero-card {
    display: none;
}

/* About page: hero fills from top so nav floats inside the image */
.tide-mirror.about-page main {
    padding-top: 0;
}

/* â”€â”€ About Page Layout (Tide-style) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* provider split sections sit above the wave */
.tide-mirror .th-about-provider {
    background: #f5f1ea;
    padding: clamp(56px, 8vw, 100px) 0;
    position: relative;
    z-index: 3;
}
.tide-mirror .th-about-provider:nth-child(even),
.tide-mirror .th-about-provider.th-ap-flip {
    background: #eae3d8;
}
.tide-mirror .th-ap-split {
    display: grid;
    grid-template-columns: 44fr 56fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
/* flip: image goes right on desktop */
.tide-mirror .th-ap-flip .th-ap-split {
    grid-template-columns: 56fr 44fr;
}
.tide-mirror .th-ap-flip .th-ap-split .th-ap-img {
    order: 2;
}
.tide-mirror .th-ap-flip .th-ap-split .th-ap-body {
    order: 1;
}

/* provider image */
.tide-mirror .th-ap-img {
    width: 100%;
    aspect-ratio: 5 / 6;
    border-radius: 22px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f1dfd6;
    box-shadow: 0 8px 40px rgba(10,45,59,0.13);
}
.tide-mirror .th-ap-img.th-provider-one {
    background-image: url('../images/ChiChi.jpg');
    background-position: center 4%;
    background-size: 112% auto;
}
.tide-mirror .th-ap-img.th-provider-two {
    background-image: url('../images/Anthony.jpg');
    background-position: center 5%;
    background-size: 109% auto;
}

/* provider text */
.tide-mirror .th-ap-body h2 {
    font-size: clamp(30px, 3.8vw, 50px);
    line-height: 1.08;
    color: #173f4f;
    margin: 0 0 20px;
}
.tide-mirror .th-ap-body p {
    font-size: 17px;
    line-height: 1.78;
    color: #264b5b;
    margin: 0 0 16px;
}
.tide-mirror .th-ap-body .btn {
    margin-top: 10px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}

/* "A Different Approach" blush section */
.tide-mirror .th-about-approach {
    position: relative;
    background: #e8d5cc;
    padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
    overflow: hidden;
}
.tide-mirror .th-about-approach h2 {
    font-size: clamp(28px, 3.4vw, 48px);
    text-align: center;
    color: #173f4f;
    margin: 0 auto 44px;
    max-width: 900px;
    line-height: 1.1;
    white-space: normal;
    text-wrap: balance;
}
.tide-mirror .th-ap-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 64px);
}
.tide-mirror .th-ap-two-col p {
    font-size: 17px;
    line-height: 1.8;
    color: #2b3e47;
    margin: 0 0 20px;
}
.tide-mirror .th-outline-ap-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 34px;
    border: 2px solid #173f4f;
    border-radius: 999px;
    color: #173f4f;
    background: transparent;
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.tide-mirror .th-outline-ap-btn:hover {
    background: #173f4f;
    color: #f6f2ed;
}
/* About responsive */
@media (max-width: 860px) {
    .tide-mirror .th-ap-split,
    .tide-mirror .th-ap-flip .th-ap-split { grid-template-columns: 1fr; }
    .tide-mirror .th-ap-flip .th-ap-split .th-ap-img { order: 0; }
    .tide-mirror .th-ap-flip .th-ap-split .th-ap-body { order: 0; }
    .tide-mirror .th-ap-img { aspect-ratio: 4 / 5; max-height: 420px; }
    .tide-mirror .th-ap-two-col { grid-template-columns: 1fr; gap: 0; }
}
/* â”€â”€ end About Page Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tide-mirror .th-services-hero {
    background-image: linear-gradient(180deg, rgba(10, 45, 59, 0.62), rgba(10, 45, 59, 0.76)), url('https://images.unsplash.com/photo-1484788984921-03950022c9ef?w=2000&q=80');
}

/* =====================================================
   SERVICES PAGE â€” sv-* components (Tide Health mirror)
   ===================================================== */

/* --- Hero: split image left / text right --- */
.tide-mirror .sv-hero {
    display: grid;
    grid-template-columns: 46fr 54fr;
    min-height: calc((100vh - 118px) * 0.7);
    background: #f5f1ea;
    padding: 32px 5% 32px 5%;
    gap: 0;
}

.tide-mirror .sv-hero-img {
    overflow: hidden;
    border-radius: 20px;
}

.tide-mirror .sv-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tide-mirror .sv-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 6% 48px 7%;
    background: #f5f1ea;
}

.tide-mirror .sv-hero-text .th-eyebrow {
    color: #0a3142;
    margin-bottom: 18px;
}

.tide-mirror .sv-hero-text h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.06;
    color: #0a3142;
    margin: 0 0 22px;
}

.tide-mirror .sv-hero-text > p {
    font-size: 17px;
    line-height: 1.72;
    color: #3a5a6a;
    max-width: 520px;
    margin: 0 0 36px;
}

/* Hero quick stats */
.tide-mirror .sv-hero-stats {
    display: flex;
    gap: 32px;
    margin: 0 0 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(10, 49, 66, 0.1);
    border-bottom: 1px solid rgba(10, 49, 66, 0.1);
}
.tide-mirror .sv-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tide-mirror .sv-hero-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: #0a3142;
    line-height: 1.1;
}
.tide-mirror .sv-hero-stat-lbl {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5d7986;
}

/* coral/blush CTA button matching Tide Health */
.tide-mirror .sv-coral-btn {
    background: #c9897e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 32px;
    font-size: 15px;
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    transition: background .2s;
    text-decoration: none;
    align-self: flex-start;
}

.tide-mirror .sv-coral-btn:hover {
    background: #b87267 !important;
    color: #fff;
}

/* --- What We Treat: dark teal + wave top + carousel --- */
.tide-mirror .sv-treat {
    background: #1a5068;
    padding: 0 0 80px;
    position: relative;
    overflow: hidden;
}

.tide-mirror .sv-treat-intro {
    text-align: center;
    padding-top: 64px;
    padding-bottom: 52px;
    color: #fff;
}

.tide-mirror .sv-light-eyebrow {
    color: rgba(255,255,255,.75) !important;
    letter-spacing: .12em;
}

.tide-mirror .sv-treat-intro h2 {
    font-size: clamp(34px, 5vw, 62px);
    color: #fff;
    margin: 10px 0 20px;
    line-height: 1.1;
}

.tide-mirror .sv-treat-intro p {
    font-size: 17px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 12px;
}

/* Carousel */
.tide-mirror .sv-carousel-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 48px;
    max-width: 1480px;
    margin: 0 auto;
}

.tide-mirror .sv-carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 4px 28px;
    flex: 1;
}

.tide-mirror .sv-carousel::-webkit-scrollbar { display: none; }

.tide-mirror .sv-ccard {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 260px;
    background: #f5f1ea;
    border-radius: 24px;
    padding: 40px 32px;
    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: default;
}

.tide-mirror .sv-ccard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10, 49, 66, 0.18);
}

/* Carousel card icon */
.tide-mirror .sv-ccard-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(10, 49, 66, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
    color: #1a5068;
    transition: background .25s ease, transform .25s ease;
}
.tide-mirror .sv-ccard:hover .sv-ccard-icon {
    background: rgba(10, 49, 66, 0.14);
    transform: scale(1.08);
}

.tide-mirror .sv-ccard h3 {
    font-size: clamp(24px, 2.4vw, 34px);
    color: #0a3142;
    margin: 0 0 14px;
    line-height: 1.1;
    font-family: 'Cormorant Garamond', serif;
}

.tide-mirror .sv-ccard p {
    font-size: 15px;
    line-height: 1.72;
    color: #3a5a6a;
    margin: 0;
}

/* Arrow buttons */
.tide-mirror .sv-arr {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 241, 234, 0.18);
    border: 2px solid rgba(245, 241, 234, 0.65);
    color: #f5f1ea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background .2s, opacity .2s, transform .15s;
    z-index: 2;
    position: relative;
}

.tide-mirror .sv-arr:hover {
    background: rgba(245, 241, 234, 0.35);
    transform: scale(1.08);
}

.tide-mirror .sv-arr:disabled,
.tide-mirror .sv-arr[aria-disabled="true"] {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* Dot indicators */
.tide-mirror .sv-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding-bottom: 8px;
}

.tide-mirror .sv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(245, 241, 234, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.tide-mirror .sv-dot.active {
    background: #f5f1ea;
    transform: scale(1.35);
}

/* --- What We Do v2: cards + image layout --- */
.tide-mirror .sv-wwd-v2 {
    background: #f5f1ea;
    padding: clamp(64px, 9vw, 110px) 0;
}
.tide-mirror .sv-wwd-v2 .th-eyebrow {
    text-align: center;
    color: #2d5a6c;
}
.tide-mirror .sv-wwd-v2-heading {
    font-size: clamp(30px, 4vw, 52px);
    text-align: center;
    color: #0a3142;
    margin: 10px auto 16px;
    max-width: 720px;
    line-height: 1.08;
}
.tide-mirror .sv-wwd-v2-sub {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #3a5a6a;
    max-width: 600px;
    margin: 0 auto 52px;
}

/* Split: 2×2 cards left + photo right */
.tide-mirror .sv-wwd-v2-layout {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: clamp(24px, 3vw, 40px);
    align-items: stretch;
}
.tide-mirror .sv-wwd-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 22px);
}
.tide-mirror .sv-wwd-v2-photo {
    border-radius: 22px;
    overflow: hidden;
    min-height: 420px;
}
.tide-mirror .sv-wwd-v2-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 22px;
}

.tide-mirror .sv-wwd-v2-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(10, 49, 66, 0.07);
    border-radius: 22px;
    padding: 32px 28px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tide-mirror .sv-wwd-v2-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(10, 49, 66, 0.1);
    border-color: rgba(201, 143, 131, 0.3);
}
.tide-mirror .sv-wwd-v2-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    transition: transform .3s ease;
}
.tide-mirror .sv-wwd-v2-card:hover .sv-wwd-v2-icon {
    transform: scale(1.1) rotate(-4deg);
}
.tide-mirror .sv-icon-rose { background: #e7cfc7; color: #7a3e32; }
.tide-mirror .sv-icon-teal { background: #c8dedd; color: #1a5068; }
.tide-mirror .sv-icon-sage { background: #bfd5c6; color: #2a4f3a; }
.tide-mirror .sv-icon-warm { background: #eadfcc; color: #6b4e2a; }

.tide-mirror .sv-wwd-v2-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2.2vw, 28px);
    color: #0a3142;
    margin: 0 0 10px;
    line-height: 1.12;
}
.tide-mirror .sv-wwd-v2-card p {
    font-size: 15px;
    line-height: 1.72;
    color: #3a5a6a;
    margin: 0;
}

@media (max-width: 900px) {
    .tide-mirror .sv-wwd-v2-layout { grid-template-columns: 1fr; }
    .tide-mirror .sv-wwd-v2-photo { min-height: 300px; max-height: 400px; }
}
@media (max-width: 640px) {
    .tide-mirror .sv-wwd-v2-grid { grid-template-columns: 1fr; }
    .tide-mirror .sv-wwd-v2-card { padding: 28px 24px; }
}

/* --- Our Approach: 3-pillar section --- */
.tide-mirror .sv-approach {
    background: #eae3d8;
    padding: clamp(64px, 9vw, 110px) 0;
}
.tide-mirror .sv-approach .th-eyebrow {
    text-align: center;
    color: #2d5a6c;
}
.tide-mirror .sv-approach-heading {
    font-size: clamp(30px, 4vw, 52px);
    text-align: center;
    color: #0a3142;
    margin: 10px auto 16px;
    max-width: 700px;
    line-height: 1.08;
}
.tide-mirror .sv-approach-sub {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #3a5a6a;
    max-width: 620px;
    margin: 0 auto 52px;
}
.tide-mirror .sv-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}
.tide-mirror .sv-approach-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(10, 49, 66, 0.08);
    border-radius: 22px;
    padding: 36px 30px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.tide-mirror .sv-approach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10, 49, 66, 0.1);
}
.tide-mirror .sv-approach-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    color: #c98f83;
    line-height: 1;
    margin-bottom: 16px;
}
.tide-mirror .sv-approach-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 2.4vw, 30px);
    color: #0a3142;
    margin: 0 0 12px;
    line-height: 1.12;
}
.tide-mirror .sv-approach-card p {
    font-size: 15px;
    line-height: 1.72;
    color: #3a5a6a;
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .tide-mirror .sv-approach-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .tide-mirror .sv-hero-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 900px) {
    .tide-mirror .sv-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        margin-top: 0;
    }
    .tide-mirror .sv-hero-img { height: 56vw; min-height: 280px; }
    .tide-mirror .sv-hero-text { padding: 52px 28px; }
}

@media (max-width: 900px) {
    .tide-mirror .sv-ccard { flex: 0 0 calc(50% - 12px); min-width: 240px; }
    .tide-mirror .sv-carousel-outer { padding: 0 36px; }
}

@media (max-width: 600px) {
    .tide-mirror .sv-carousel-outer {
        display: block;
        padding: 0;
    }
    .tide-mirror .sv-carousel {
        display: grid;
        gap: 16px;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }
    .tide-mirror .sv-ccard {
        flex: none;
        width: 100%;
        min-width: 0;
        padding: 32px 22px;
    }
    .tide-mirror .sv-arr,
    .tide-mirror .sv-dots {
        display: none;
    }
    .tide-mirror .sv-arr { width: 38px; height: 38px; font-size: 13px; }
}


.tide-mirror .th-contact-hero {
    background-image: linear-gradient(180deg, rgba(10, 45, 59, 0.7), rgba(10, 45, 59, 0.82)), url('../images/img-01.jpg');
}

.tide-mirror .th-contact-main {
    padding-top: 0;
}

/* â”€â”€ NEW contact page hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tide-mirror .th-contact-hero-new {
    position: relative;
    min-height: 380px;
    background: none;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tide-mirror .th-contact-hero-new::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=85') center/cover no-repeat;
    filter: blur(6px) brightness(0.88);
    z-index: 0;
}

/* -- Contact body -- */
.tide-mirror .th-contact-body {
    background: #f5f1ea;
    padding: clamp(56px, 7vw, 96px) 0;
}

.tide-mirror .th-contact-heading {
    font-size: clamp(36px, 4.5vw, 60px);
    color: #0a3142;
    margin: 10px auto 14px;
    line-height: 1.08;
}
.tide-mirror .th-contact-sub {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #3a5a6a;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* Quick-connect cards */
.tide-mirror .ct-quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 20px);
    margin-bottom: 48px;
}
.tide-mirror .ct-qcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 28px 20px;
    border: 1px solid rgba(10, 49, 66, 0.07);
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tide-mirror .ct-qcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(10, 49, 66, 0.1);
    border-color: rgba(201, 143, 131, 0.3);
}
.tide-mirror .ct-qcard-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.tide-mirror .ct-qcard h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: #0a3142;
    margin: 0;
    line-height: 1.15;
}
.tide-mirror .ct-qcard p {
    font-size: 14px;
    color: #3a5a6a;
    margin: 0;
    line-height: 1.5;
}

.tide-mirror .th-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Left info column */
.tide-mirror .th-contact-side {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tide-mirror .ct-side-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 2.5vw, 32px);
    color: #0a3142;
    margin: 0 0 4px;
    line-height: 1.1;
}

.tide-mirror .th-cinfo-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tide-mirror .th-cinfo-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1a5068;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    margin-top: 2px;
}
/* Colored icon variants */
.tide-mirror .ct-icon-teal { background: #c8dedd; color: #1a5068; }
.tide-mirror .ct-icon-rose { background: #e7cfc7; color: #7a3e32; }
.tide-mirror .ct-icon-sage { background: #bfd5c6; color: #2a4f3a; }

/* Map */
.tide-mirror .ct-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 6px;
}

.tide-mirror .th-cinfo-label {
    font-family: 'Questrial', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a5068;
    margin: 0 0 4px;
}

.tide-mirror .th-cinfo-val {
    font-size: 16px;
    line-height: 1.65;
    color: #264b5b;
    margin: 0;
}

.tide-mirror .th-cinfo-val a {
    color: #264b5b;
    text-decoration: none;
}

.tide-mirror .th-cinfo-val a:hover {
    text-decoration: underline;
}
.tide-mirror .th-cinfo-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(26, 80, 104, 0.08);
    border-left: 3px solid #1a5068;
    border-radius: 0 10px 10px 0;
    padding: 16px 18px;
    margin-top: 4px;
}

.tide-mirror .th-cinfo-note i {
    flex-shrink: 0;
    color: #1a5068;
    font-size: 16px;
    margin-top: 2px;
}

.tide-mirror .th-cinfo-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #264b5b;
}

/* Right form column */
.tide-mirror .th-contact-form-wrap {
    background: #c8dedd;
    border-radius: 22px;
    padding: 44px 48px;
    box-shadow: none;
}

.tide-mirror .ct-form-heading {
    font-size: clamp(28px, 3vw, 40px);
    color: #0a3142;
    margin: 0 0 8px;
}
.tide-mirror .ct-form-sub {
    font-size: 15px;
    line-height: 1.65;
    color: #264b5b;
    margin: 0 0 28px;
}

.tide-mirror .th-cform-label {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0a3142;
    margin: 0 0 10px;
}

.tide-mirror .th-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tide-mirror .req {
    color: #4e6570;
    font-weight: 400;
    font-size: 12px;
}

/* â”€â”€ Form fields shared â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tide-mirror .th-contact-form-wrap .form-group {
    margin-bottom: 20px;
}

.tide-mirror .th-contact-form-wrap .form-group label {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #264b5b;
    font-family: 'Questrial', sans-serif;
}

.tide-mirror .th-contact-form-wrap input,
.tide-mirror .th-contact-form-wrap textarea {
    background: #fff;
    border: 1.5px solid rgba(10, 49, 66, 0.12);
    border-radius: 8px;
}

.tide-mirror .th-contact-form-wrap input:focus,
.tide-mirror .th-contact-form-wrap textarea:focus {
    background: #fff;
    border-color: #1a5068;
    box-shadow: 0 0 0 3px rgba(26, 80, 104, 0.12);
}
@media (max-width: 900px) {
    .tide-mirror .th-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tide-mirror .ct-quick-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tide-mirror .ct-qcard {
        flex-direction: row;
        text-align: left;
        padding: 18px 22px;
        gap: 14px;
    }
    .tide-mirror .th-contact-form-wrap {
        padding: 32px 24px;
    }
    .tide-mirror .th-contact-hero-new {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .tide-mirror .th-form-row {
        grid-template-columns: 1fr;
    }
    .tide-mirror .th-contact-hero-new {
        min-height: 200px;
    }
}

/* â”€â”€ Schedule page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tide-mirror .th-schedule-main {
    padding-top: 0;
}

.tide-mirror .th-sched-hero {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tide-mirror .th-sched-hero::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1600&q=85') center/cover no-repeat;
    filter: blur(5px) brightness(0.9);
    z-index: 0;
}

/* Two-column body */
.tide-mirror .th-sched-body {
    background: #f5f1ea;
    padding: clamp(56px, 7vw, 96px) 0;
}

.tide-mirror .th-sched-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: center;
}

.tide-mirror .th-sched-left h1 {
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1.05;
    color: #0a3142;
    margin: 0;
    text-align: center;
}

/* Blush checklist card */
.tide-mirror .th-sched-checklist {
    background: #e8cfc8;
    border-radius: 20px;
    padding: 38px 42px;
}

.tide-mirror .th-sched-checklist p {
    font-size: 16px;
    line-height: 1.7;
    color: #2a3c44;
    margin: 0 0 18px;
}

.tide-mirror .th-sched-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tide-mirror .th-sched-checklist li {
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.65;
    color: #2a3c44;
}

.tide-mirror .th-sched-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    background: #1a5068;
    border-radius: 50%;
}

.tide-mirror .th-sched-checklist strong {
    color: #0a3142;
}

@media (max-width: 860px) {
    .tide-mirror .th-sched-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tide-mirror .th-sched-left h1 {
        text-align: left;
    }
    .tide-mirror .th-sched-hero {
        min-height: 240px;
    }
}

/* ===== FAQ SECTION â€” two-column card layout ===== */
.tide-mirror .th-faq-section {
    padding: 140px 0 0;
    background: linear-gradient(180deg, #f7f3ee 0%, #f0ebe4 100%);
}

.tide-mirror .th-faq-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tide-mirror .th-faq-grid {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    gap: 60px;
    background: rgba(241, 237, 231, 0.6);
    border-radius: 28px;
    padding: 72px 64px 80px;
    border: 1px solid rgba(23, 63, 79, 0.06);
}

.tide-mirror .th-faq-intro {
    position: sticky;
    top: 140px;
    align-self: start;
    text-align: left;
}

.tide-mirror .th-faq-intro h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 4.4vw, 58px);
    line-height: 1.06;
    color: #1c3f50;
    letter-spacing: -0.024em;
    font-weight: 500;
}

.tide-mirror .th-faq-intro p {
    margin: 0;
    max-width: 380px;
    font-size: 16px;
    line-height: 1.72;
    color: #4a6e7d;
    font-weight: 400;
}

.tide-mirror .th-faq-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #c89b90 0%, #b8877c 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 6px 18px rgba(184, 135, 124, 0.25);
    transition: all 0.3s ease;
}

.tide-mirror .th-faq-cta:hover {
    background: linear-gradient(135deg, #b8877c 0%, #a6766c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(184, 135, 124, 0.35);
    color: #fff;
}

.tide-mirror .th-faq-stack {
    max-width: none;
    margin: 0;
}

.tide-mirror .th-faq-item {
    border-bottom: 1px solid rgba(23, 63, 79, 0.12);
}

.tide-mirror .th-faq-item:first-child {
    border-top: 1px solid rgba(23, 63, 79, 0.12);
}

.tide-mirror .th-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
}

.tide-mirror .th-faq-item summary::-webkit-details-marker {
    display: none;
}

.tide-mirror .th-faq-q {
    flex: 1;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.4;
    color: #1c3f50;
    font-weight: 500;
    transition: color 0.25s ease;
}

.tide-mirror .th-faq-item summary:hover .th-faq-q {
    color: #2b7a99;
}

.tide-mirror .th-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(23, 63, 79, 0.18);
    position: relative;
    transition: all 0.3s ease;
}

.tide-mirror .th-faq-icon::before,
.tide-mirror .th-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #506d78;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.tide-mirror .th-faq-icon::before {
    width: 11px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.tide-mirror .th-faq-icon::after {
    width: 1.5px;
    height: 11px;
    transform: translate(-50%, -50%);
}

.tide-mirror .th-faq-item[open] .th-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.tide-mirror .th-faq-body {
    padding: 0 0 26px;
    animation: faqFadeIn 0.3s ease;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tide-mirror .th-faq-item p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.72;
    color: #4a6e7d;
}

.tide-mirror .th-faq-link {
    display: inline-block;
    margin-top: 6px;
    color: #1c3f50;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(28, 63, 80, 0.4);
    transition: all 0.25s ease;
}

.tide-mirror .th-faq-link:hover {
    color: #2b7a99;
    text-decoration-color: #2b7a99;
}

/* Quick-facts sidebar cards */
.tide-mirror .fq-quick-facts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}
.tide-mirror .fq-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(26, 80, 104, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
}
.tide-mirror .fq-fact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.tide-mirror .fq-fact span {
    font-size: 14px;
    font-weight: 500;
    color: #1c3f50;
}

/* Category icon on accordion summary */
.tide-mirror .fq-cat-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 980px) {
    .tide-mirror .fq-quick-facts {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .tide-mirror .fq-fact {
        flex: 0 1 auto;
    }
    .tide-mirror .th-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 52px 40px 56px;
    }
    .tide-mirror .th-faq-intro {
        position: static;
        text-align: center;
    }
    .tide-mirror .th-faq-intro p {
        max-width: 520px;
        margin: 0 auto;
    }
    .tide-mirror .th-faq-cta {
        margin-top: 24px;
    }
}

@media (max-width: 640px) {
    .tide-mirror .th-faq-section {
        padding-top: 120px;
    }
    .tide-mirror .th-faq-grid {
        padding: 36px 24px 40px;
        border-radius: 20px;
        gap: 32px;
    }
    .tide-mirror .th-faq-intro h1 {
        font-size: clamp(32px, 9vw, 44px);
    }
}

.tide-mirror .th-schedule-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: end;
}

.tide-mirror .th-schedule-hero-copy h1 {
    margin: 0;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;
    color: #f6f2ed;
}

.tide-mirror .th-schedule-checklist-panel {
    background: #e3cec7;
    border-color: rgba(23, 63, 79, 0.1);
}

.tide-mirror .th-schedule-checklist-panel p,
.tide-mirror .th-schedule-checklist-panel li {
    color: #1f2225;
}

.tide-mirror .th-schedule-notice-band {
    background: #336979;
    color: #fff5ee;
    padding: 30px 0;
}

.tide-mirror .th-schedule-notice-band p {
    margin: 0;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}

.tide-mirror .th-booking-panel {
    max-width: 920px;
    margin: 0 auto;
    background: #f4f1ec;
    border: 1px solid rgba(23, 63, 79, 0.12);
    border-radius: 8px;
    padding: 22px 22px 10px;
}

.tide-mirror .th-booking-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(23, 63, 79, 0.12);
}

.tide-mirror .th-booking-panel-head h2 {
    margin: 0;
    font-family: 'Questrial', sans-serif;
    font-size: clamp(28px, 3vw, 38px);
    color: #2e3133;
}

.tide-mirror .th-booking-panel-head a {
    color: #2a4f76;
    text-decoration: none;
}

.tide-mirror .th-booking-note {
    margin: 12px 0 0;
    color: #52626b;
    font-size: 16px;
    line-height: 1.6;
}

.tide-mirror .th-booking-table-head,
.tide-mirror .th-booking-row {
    display: grid;
    grid-template-columns: minmax(320px, 1.45fr) 110px 110px 140px;
    gap: 12px;
    align-items: start;
}

.tide-mirror .th-booking-table-head {
    padding: 16px 12px 12px;
    color: #303437;
    font-weight: 600;
}

.tide-mirror .th-booking-row {
    padding: 18px 12px;
    border-top: 1px solid rgba(23, 63, 79, 0.12);
}

.tide-mirror .th-booking-service strong,
.tide-mirror .th-booking-meta {
    display: block;
    color: #303437;
    font-size: 18px;
}

.tide-mirror .th-booking-service span {
    display: block;
    margin-top: 8px;
    color: #303437;
    font-size: 16px;
    line-height: 1.5;
}

.tide-mirror .th-book-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    padding: 12px 18px;
    border-radius: 4px;
    background: #c98f83;
    color: #fff !important;
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.tide-mirror .th-book-now-btn:hover {
    background: #b5756a;
}

.tide-mirror .th-booking-helper {
    margin: 22px 12px 8px;
    color: #52626b;
    font-size: 15px;
    line-height: 1.7;
}

.tide-mirror .th-direct-book-grid {
    margin: 10px 12px 18px;
}

.tide-mirror .th-direct-book-card {
    text-decoration: none;
    color: inherit;
}

.tide-mirror .th-direct-book-card:disabled {
    opacity: 0.7;
    cursor: wait;
}

.tide-mirror .th-direct-book-meta {
    font-size: 13px;
    color: #7a5c56;
    font-weight: 600;
    white-space: nowrap;
}

.tide-mirror .th-booking-capture-card {
    margin-top: 24px;
    margin-bottom: 18px;
}

.tide-mirror .th-booking-capture-form {
    margin-bottom: 12px;
}

/* â”€â”€ Booking Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.th-bm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 30, 40, 0.60);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 16px 60px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.th-bm-panel {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    padding: 48px 52px 44px;
    box-shadow: 0 24px 64px rgba(10, 30, 40, 0.22);
    overflow-y: auto;
}

.th-bm-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #6a7a88;
    line-height: 1;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.15s;
}
.th-bm-close:hover { background: #f0f0f0; }

.th-bm-title {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 400;
    color: #2e3133;
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.th-bm-title i { color: #0a3142; font-size: 1em; }

/* service summary card */
.th-bm-svc-card {
    background: #f5f1ea;
    border: 1px solid #e5e0d9;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.th-bm-svc-card strong { font-size: 16px; color: #2e3133; }
.th-bm-svc-card span  { font-size: 14px; color: #5f7580; }

/* calendar */
.th-bm-cal-wrap {
    border: 1px solid #d8d5d0;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 8px;
}

.th-bm-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.th-bm-month-label {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2e3133;
}
.th-bm-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #0a3142;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.15s;
}
.th-bm-nav-btn:hover { background: #f0f4f7; }

.th-bm-cal-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
}
.th-bm-cal-head span {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #7fa3b0;
    padding: 4px 0;
}

.th-bm-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.th-bm-day {
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    color: #2e3133;
    padding: 7px 4px;
    text-align: center;
    transition: background 0.12s, color 0.12s;
}
.th-bm-day:hover:not(:disabled) { background: #e8f0f5; }
.th-bm-day-unavail, .th-bm-day[disabled] { color: #c7d2d9; cursor: default; }
.th-bm-day-blank { pointer-events: none; }
.th-bm-day-today { color: #2b7a99; font-weight: 700; }
.th-bm-day-sel {
    background: #0a3142 !important;
    color: #fff !important;
    font-weight: 700;
}

.th-bm-tz {
    font-size: 13px;
    color: #c9897e;
    font-weight: 600;
    margin: 10px 0 14px;
}

/* time slots */
.th-bm-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 20px;
    margin-bottom: 6px;
}
.th-bm-slot {
    padding: 9px 18px;
    border: 1.5px solid #0a3142;
    border-radius: 4px;
    background: #fff;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #0a3142;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.th-bm-slot:hover { background: #e8f0f5; }
.th-bm-slot-sel {
    background: #0a3142 !important;
    color: #fff !important;
}

/* confirm step */
.th-bm-confirm-card {
    background: #f8f6f3;
    border-radius: 10px;
    padding: 22px 24px;
    margin-bottom: 28px;
}
.th-bm-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #ede9e2;
    font-size: 15px;
}
.th-bm-confirm-row:last-child { border-bottom: none; }
.th-bm-confirm-row span { color: #5f7580; }
.th-bm-confirm-row strong { color: #2e3133; text-align: right; max-width: 65%; }

/* contact form inside modal */
.th-bm-form { margin-top: 0; }
.th-bm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.th-bm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.th-bm-field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4e6570;
}
.th-bm-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #7fa3b0; font-size: 11px; }
.th-bm-field input,
.th-bm-field textarea {
    padding: 11px 14px;
    border: 1.5px solid #d8d5d0;
    border-radius: 6px;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #2e3133;
    background: #faf9f7;
    transition: border-color 0.15s;
    resize: vertical;
}
.th-bm-field input:focus,
.th-bm-field textarea:focus {
    outline: none;
    border-color: #0a3142;
}

.th-bm-step-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px;
}
.th-bm-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #0a3142;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.th-bm-back-btn:hover { color: #336979; }

/* success step */
.th-bm-success {
    text-align: center;
    padding: 20px 0 10px;
}
.th-bm-success-icon {
    font-size: 56px;
    color: #336979;
    margin-bottom: 18px;
    line-height: 1;
}
.th-bm-success h2 {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    color: #0a3142;
    margin: 0 0 14px;
}
.th-bm-success p {
    font-size: 16px;
    color: #4e6570;
    max-width: 420px;
    margin: 0 auto 12px;
    line-height: 1.7;
}
.th-bm-success-detail {
    font-weight: 600 !important;
    color: #336979 !important;
}
.th-bm-success .btn { margin-top: 22px; }

/* responsive */
@media (max-width: 600px) {
    .th-bm-panel { padding: 36px 22px 32px; }
    .th-bm-form-row { grid-template-columns: 1fr; gap: 0; }
}
/* â”€â”€ end Booking Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€ Inline Booking Flow â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* selected row highlight */
.tide-mirror .th-booking-row.ib-row-active {
    background: #f0f6fa;
    border-left: 3px solid #0a3142;
}

/* the expanding inline panel */
.tide-mirror .th-inline-book {
    border-top: 2px solid #0a3142;
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 36px 40px 40px;
    animation: ibFadeIn 0.25s ease;
}
@keyframes ibFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* top bar (title + close/back) */
.tide-mirror .ib-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tide-mirror .ib-title {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 400;
    color: #2e3133;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tide-mirror .ib-title i { color: #0a3142; }
.tide-mirror .ib-close-btn,
.tide-mirror .ib-back-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    color: #0a3142;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}
.tide-mirror .ib-close-btn:hover,
.tide-mirror .ib-back-btn:hover { color: #336979; }

/* service summary card */
.tide-mirror .ib-svc-card {
    background: #f5f1ea;
    border: 1px solid #e5e0d9;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.tide-mirror .ib-svc-card strong { font-size: 15px; color: #2e3133; }
.tide-mirror .ib-svc-card span   { font-size: 13px; color: #5f7580; }

/* two-column body: calendar left, slots right */
.tide-mirror .ib-body {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 28px;
    align-items: start;
}

/* calendar */
.tide-mirror .ib-cal-wrap {
    border: 1px solid #d8d5d0;
    border-radius: 8px;
    padding: 16px 18px;
}
.tide-mirror .ib-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.tide-mirror .ib-month-lbl {
    font-size: 15px;
    font-weight: 700;
    color: #2e3133;
}
.tide-mirror .ib-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: #0a3142;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}
.tide-mirror .ib-nav-btn:hover { background: #f0f4f7; }
.tide-mirror .ib-cal-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}
.tide-mirror .ib-cal-head span {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #7fa3b0;
    padding: 3px 0;
}
.tide-mirror .ib-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.tide-mirror .ib-day {
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Questrial', sans-serif;
    font-size: 13px;
    color: #2e3133;
    padding: 7px 3px;
    text-align: center;
    transition: background 0.12s;
}
.tide-mirror .ib-day:hover:not(:disabled) { background: #e8f0f5; }
.tide-mirror .ib-day:disabled { color: #c7d2d9; cursor: default; }
.tide-mirror .ib-day-blank   { pointer-events: none; }
.tide-mirror .ib-day-today   { color: #2b7a99; font-weight: 700; }
.tide-mirror .ib-day-sel     { background: #0a3142 !important; color: #fff !important; font-weight: 700; }

/* time slots column */
.tide-mirror .ib-time-col { padding-top: 4px; }
.tide-mirror .ib-tz {
    font-size: 12px;
    color: #c9897e;
    font-weight: 600;
    margin-bottom: 12px;
}
.tide-mirror .ib-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tide-mirror .ib-slots-hint {
    font-size: 13px;
    color: #7fa3b0;
    font-style: italic;
}
.tide-mirror .ib-slot {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #0a3142;
    border-radius: 4px;
    background: #fff;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #0a3142;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, color 0.15s;
}
.tide-mirror .ib-slot:hover { background: #e8f0f5; }
.tide-mirror .ib-slot-sel   { background: #0a3142 !important; color: #fff !important; }

/* confirm summary card */
.tide-mirror .ib-confirm-card {
    background: #f8f6f3;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 24px;
}
.tide-mirror .ib-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #ede9e2;
    font-size: 14px;
}
.tide-mirror .ib-sum-row:last-child { border-bottom: none; }
.tide-mirror .ib-sum-row span    { color: #5f7580; }
.tide-mirror .ib-sum-row strong  { color: #2e3133; text-align: right; max-width: 65%; }

/* form */
.tide-mirror .ib-form { margin-top: 4px; }
.tide-mirror .ib-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tide-mirror .ib-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.tide-mirror .ib-field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4e6570;
}
.tide-mirror .ib-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #7fa3b0; }
.tide-mirror .ib-field input,
.tide-mirror .ib-field textarea,
.tide-mirror .ib-field select {
    padding: 10px 13px;
    border: 1.5px solid #d8d5d0;
    border-radius: 6px;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    color: #2e3133;
    background: #faf9f7;
    transition: border-color 0.15s;
    resize: vertical;
}
.tide-mirror .ib-field input:focus,
.tide-mirror .ib-field textarea:focus,
.tide-mirror .ib-field select:focus { outline: none; border-color: #0a3142; }

.tide-mirror .ib-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    gap: 12px;
}
.tide-mirror .ib-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    background: #c9897e;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.tide-mirror .ib-submit:hover { background: #b5756a; }

/* success */
.tide-mirror .ib-success {
    text-align: center;
    padding: 20px 0 10px;
}
.tide-mirror .ib-success-icon {
    font-size: 54px;
    color: #336979;
    margin-bottom: 16px;
    line-height: 1;
}
.tide-mirror .ib-success h3 {
    font-family: 'Questrial', sans-serif;
    font-size: clamp(20px, 2.8vw, 28px);
    color: #0a3142;
    margin-bottom: 12px;
}
.tide-mirror .ib-success p {
    font-size: 16px;
    color: #4e6570;
    max-width: 400px;
    margin: 0 auto 10px;
    line-height: 1.7;
}
.tide-mirror .ib-success-detail { font-weight: 600 !important; color: #336979 !important; }
.tide-mirror .ib-done-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    background: #c9897e;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}
.tide-mirror .ib-done-btn:hover { background: #b5756a; }

/* responsive */
@media (max-width: 700px) {
    .tide-mirror .ib-body { grid-template-columns: 1fr; }
    .tide-mirror .ib-time-col { padding-top: 0; }
    .tide-mirror .ib-slots { flex-direction: row; flex-wrap: wrap; }
    .tide-mirror .ib-slot { width: auto; flex: 1 1 100px; }
    .tide-mirror .ib-form-row { grid-template-columns: 1fr; gap: 0; }
    .tide-mirror .th-inline-book { padding: 24px 18px 28px; }
}

/* â”€â”€ Inline Booking: Provider Picker â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tide-mirror .ib-provider-pick {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}
.tide-mirror .ib-prov-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border: 1.5px solid #d6d0c8;
    border-radius: 12px;
    background: #faf9f7;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    font-family: 'Questrial', sans-serif;
}
.tide-mirror .ib-prov-card:hover {
    border-color: #0a3142;
    background: #f0f5f8;
    box-shadow: 0 4px 18px rgba(10,45,59,0.10);
}
.tide-mirror .ib-prov-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center top;
    border: 3px solid #e0d8cf;
}
.tide-mirror .ib-prov-img-one {
    background-image: url('../images/ChiChi.jpg');
}
.tide-mirror .ib-prov-img-two {
    background-image: url('../images/Anthony.jpg');
}
.tide-mirror .ib-prov-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.tide-mirror .ib-prov-info strong {
    font-size: 17px;
    color: #173f4f;
    display: block;
}
.tide-mirror .ib-prov-cred {
    font-size: 13px;
    color: #336979;
    font-weight: 600;
}
.tide-mirror .ib-prov-tag {
    font-size: 13px;
    color: #5f7580;
}
.tide-mirror .ib-prov-arrow {
    color: #0a3142;
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.5;
}
.tide-mirror .ib-prov-card:hover .ib-prov-arrow { opacity: 1; }
/* â”€â”€ end Inline Booking Flow â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */





.tide-mirror .th-schedule-help-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    min-height: 420px;
}

.tide-mirror .th-schedule-help-section::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80') center/cover no-repeat;
    filter: blur(6px) brightness(0.85);
    z-index: 0;
}

.tide-mirror .th-schedule-help-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 24px;
    padding: 56px 72px;
    max-width: min(760px, 88vw);
    width: 100%;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 32px rgba(10, 49, 66, 0.10);
}

.tide-mirror .th-schedule-help-card h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3.2vw, 48px);
    line-height: 1.1;
    color: #0a3142;
}

.tide-mirror .th-schedule-help-card p {
    margin: 0 0 10px;
    color: #3a5a6a;
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .tide-mirror .th-sched-body {
        padding: 40px 0;
    }

    .tide-mirror .th-sched-left h1 {
        font-size: clamp(34px, 9vw, 50px);
        text-align: left;
    }

    .tide-mirror .th-sched-checklist {
        padding: 26px 22px;
        border-radius: 16px;
    }

    .tide-mirror .th-booking-panel {
        padding: 18px 16px 14px;
        border-radius: 18px;
    }

    .tide-mirror .th-booking-panel-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 14px;
    }

    .tide-mirror .th-booking-table {
        overflow: visible;
    }

    .tide-mirror .th-booking-table-head {
        display: none;
    }

    .tide-mirror .th-booking-row {
        grid-template-columns: 1fr;
        min-width: 0;
        gap: 10px;
        margin-bottom: 12px;
        padding: 16px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 10px 24px rgba(10, 45, 59, 0.08);
    }

    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(2),
    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(3) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        font-size: 15px;
    }

    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(2)::before {
        content: 'Duration';
        font-size: 12px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #5f7380;
    }

    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(3)::before {
        content: 'Price';
        font-size: 12px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #5f7380;
    }

    .tide-mirror .th-booking-action,
    .tide-mirror .th-book-now-btn {
        width: 100%;
        min-width: 0;
    }

    .tide-mirror .th-booking-helper {
        margin-left: 0;
        margin-right: 0;
    }

    .tide-mirror .th-direct-book-grid {
        margin-left: 0;
        margin-right: 0;
    }

    .tide-mirror .ib-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tide-mirror .ib-prov-card {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 16px;
    }

    .tide-mirror .ib-prov-info {
        min-width: 0;
    }

    .tide-mirror .th-direct-book-meta {
        width: 100%;
        white-space: normal;
        order: 4;
    }

    .tide-mirror .ib-prov-arrow {
        margin-left: auto;
    }

    .tide-mirror .th-schedule-help-card {
        padding: 28px 22px;
        border-radius: 18px;
    }
}

@media (max-width: 560px) {
    .tide-mirror .th-sched-hero {
        min-height: 180px;
    }

    .tide-mirror .th-sched-left h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .tide-mirror .th-schedule-notice-band p,
    .tide-mirror .th-booking-note,
    .tide-mirror .th-booking-helper,
    .tide-mirror .th-schedule-help-card p {
        font-size: 15px;
    }

    .tide-mirror .ib-prov-img {
        width: 60px;
        height: 60px;
    }
}

.tide-mirror .th-section {
    padding: clamp(70px, 8vw, 110px) 0;
}

.tide-mirror .th-section-light {
    background: #f6f2ed;
}

.tide-mirror .th-section-soft {
    background: #e8ddd2;
}

.tide-mirror .th-section-blush {
    background: #e7d3cb;
}

.tide-mirror .th-section-dark {
    background: linear-gradient(180deg, #173f4f 0%, #123444 100%);
    color: #f6f2ed;
}

.tide-mirror .th-team-callout .th-container {
    max-width: 980px;
}

.tide-mirror .th-team-callout h2 {
    margin: 0 0 12px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    max-width: 760px;
}

.tide-mirror .th-team-callout p {
    color: #2b5060;
    font-size: 18px;
    line-height: 1.72;
    max-width: 650px;
}

.tide-mirror .th-team-callout .btn {
    margin-top: 22px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}

.tide-mirror .th-provider-feature-grid {
    max-width: 760px;
    margin: 20px auto 0;
    text-align: center;
}

.tide-mirror .th-provider-feature-image {
    min-height: 250px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(13, 42, 55, 0.12), rgba(13, 42, 55, 0.12)), url('../images/img-09.jpg') center/cover no-repeat;
    border: 1px solid rgba(22, 55, 70, 0.18);
}

.tide-mirror .th-provider-feature h2 {
    margin: 0 0 12px;
    font-size: clamp(38px, 4.4vw, 54px);
    line-height: 1.05;
}

.tide-mirror .th-provider-feature p {
    margin: 0;
    color: #2b5060;
    font-size: 17px;
    line-height: 1.72;
}

.tide-mirror .th-provider-feature .btn {
    margin-top: 18px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}

.tide-mirror .th-home-cta .th-container {
    max-width: 760px;
}

.tide-mirror .th-home-cta h2 {
    margin: 0 0 10px;
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1.08;
}

.tide-mirror .th-home-cta p {
    margin: 0;
    color: #2d5060;
    font-size: 18px;
}

.tide-mirror .th-home-cta .btn {
    margin-top: 20px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}

.tide-mirror .th-home-process .th-intro {
    margin-bottom: 24px;
}

.tide-mirror .th-home-process .th-steps h3 {
    font-size: clamp(30px, 3vw, 38px);
}

.tide-mirror .th-home-process .centered .btn {
    margin-top: 18px;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
}

.tide-mirror .th-intro {
    max-width: 980px;
    margin: 0 auto 40px;
}

.tide-mirror .th-intro h2 {
    margin: 0 0 12px;
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 1.08;
}

.tide-mirror .th-intro p {
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.72;
}

.tide-mirror .th-section-dark .th-intro .th-eyebrow,
.tide-mirror .th-section-dark .th-intro p {
    color: rgba(246, 242, 237, 0.9);
}

.tide-mirror .th-section-dark .th-intro h2 {
    color: #fff;
}

.tide-mirror .th-accordion-wrap {
    max-width: 920px;
    margin: 34px auto 0;
}

.tide-mirror .th-accordion {
    background: #ead8c6;
    border-radius: 28px;
    padding: 12px 26px;
    border: 1px solid rgba(22, 55, 70, 0.2);
}

.tide-mirror .th-accordion details {
    border-bottom: 1px solid rgba(22, 55, 70, 0.2);
    padding: 18px 0;
}

.tide-mirror .th-accordion details:last-child {
    border-bottom: none;
}

.tide-mirror .th-accordion summary {
    list-style: none;
    cursor: pointer;
    font-size: clamp(24px, 3vw, 34px);
    font-family: 'Cormorant Garamond', serif;
    color: #173f4f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tide-mirror .th-accordion summary::-webkit-details-marker {
    display: none;
}

.tide-mirror .th-accordion summary::after {
    content: '+';
    font-family: 'Questrial', sans-serif;
    font-size: 26px;
}

.tide-mirror .th-accordion details[open] summary::after {
    content: '-';
}

.tide-mirror .th-accordion div {
    padding-top: 12px;
}

.tide-mirror .th-accordion p {
    color: #264b5b;
    margin: 0;
    line-height: 1.7;
    font-size: 17px;
}

.tide-mirror .th-accordion a {
    display: inline-block;
    margin-top: 10px;
    color: #173f4f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tide-mirror .th-about-preview {
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

.tide-mirror .th-image-card {
    min-height: 480px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15, 57, 72, 0.16), rgba(15, 57, 72, 0.16)), url('../images/img-09.jpg') center/cover no-repeat;
    border: 1px solid rgba(22, 55, 70, 0.14);
}

.tide-mirror .th-service-image {
    background-image: linear-gradient(180deg, rgba(15, 57, 72, 0.08), rgba(15, 57, 72, 0.08)), url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1000&q=85');
    background-size: cover;
    background-position: center top;
    min-height: 620px;
    position: sticky;
    top: 100px;
}

.tide-mirror .th-service-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}

.tide-mirror .th-service-photo {
    /* sticky handled on inner image card */
}

.tide-mirror .th-service-content {
    padding: 10px 0;
}

.tide-mirror .th-service-content h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: #0a3142;
}

.tide-mirror .th-service-content > p {
    font-size: 17px;
    line-height: 1.72;
    color: #264b5b;
    margin: 0 0 24px;
}

.tide-mirror .th-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tide-mirror .th-feature-item {
    background: #f6f2ed;
    border: 1px solid rgba(22, 55, 70, 0.13);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
}

.tide-mirror .th-feature-item h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #173f4f;
    font-family: 'Questrial', sans-serif;
    font-weight: 600;
}

.tide-mirror .th-feature-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #3a5a6a;
}

@media (max-width: 900px) {
    .tide-mirror .th-service-wrap {
        grid-template-columns: 1fr;
    }
    .tide-mirror .th-service-image {
        min-height: 320px;
        position: static;
    }
}

@media (max-width: 600px) {
    .tide-mirror .th-features-grid {
        grid-template-columns: 1fr;
    }
}

.tide-mirror .th-about-preview h2 {
    font-size: clamp(36px, 4.8vw, 58px);
    line-height: 1.08;
    margin: 0 0 14px;
}

.tide-mirror .th-about-preview p,
.tide-mirror .th-about-preview li {
    font-size: 18px;
    line-height: 1.7;
    color: #264b5b;
}

.tide-mirror .th-list {
    margin: 18px 0 0;
    padding-left: 20px;
}

.tide-mirror .th-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.tide-mirror .th-steps article {
    background: #f6f2ed;
    border: 1px solid rgba(22, 55, 70, 0.12);
    border-radius: 22px;
    padding: 26px;
}

.tide-mirror .th-steps span {
    font-family: 'Questrial', sans-serif;
    color: #2d5a6c;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 12px;
}

.tide-mirror .th-steps h3 {
    margin: 8px 0 10px;
    font-size: 34px;
    line-height: 1.1;
    color: #173f4f;
}

.tide-mirror .th-steps p {
    margin: 0;
    color: #264b5b;
    line-height: 1.7;
}
/* -- Pricing & Insurance (redesigned) -- */

/* -- Pricing tier cards -- */
.tide-mirror .sv-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    margin-top: 48px;
}
.tide-mirror .sv-pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 2px 20px rgba(10, 49, 66, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.tide-mirror .sv-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(10, 49, 66, 0.12);
}
.tide-mirror .sv-pricing-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}
.tide-mirror .sv-pricing-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2vw, 26px);
    color: #0a3142;
    margin: 0 0 14px;
    line-height: 1.15;
}
.tide-mirror .sv-pricing-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.tide-mirror .sv-pricing-duration {
    font-size: 13px;
    color: #3a5a6a;
    background: rgba(10, 49, 66, 0.06);
    padding: 3px 12px;
    border-radius: 20px;
}
.tide-mirror .sv-pricing-amount {
    font-size: 22px;
    font-weight: 700;
    color: #1a5068;
    font-family: 'Cormorant Garamond', serif;
}
.tide-mirror .sv-pricing-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #3a5a6a;
    margin: 0;
    flex: 1;
}
.tide-mirror .sv-pricing-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #1a5068;
    border-radius: 28px;
    text-decoration: none;
    text-align: center;
    transition: background .3s ease, transform .2s ease;
    align-self: flex-start;
}
.tide-mirror .sv-pricing-btn:hover {
    background: #0f3948;
    transform: translateY(-2px);
}

/* -- Insurance panel -- */
.tide-mirror .sv-insurance-panel {
    background: #fff;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 2px 20px rgba(10, 49, 66, 0.07);
    margin-top: clamp(16px, 2.5vw, 24px);
}
.tide-mirror .sv-insurance-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.tide-mirror .sv-insurance-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #c8dedd;
    color: #1a5068;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.tide-mirror .sv-insurance-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 2.2vw, 28px);
    color: #0a3142;
    margin: 0 0 2px;
    line-height: 1.15;
}
.tide-mirror .sv-insurance-header p {
    font-size: 15px;
    color: #3a5a6a;
    margin: 0;
}
.tide-mirror .sv-insurance-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.8vw, 18px);
    margin-bottom: 28px;
}
.tide-mirror .sv-ins-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f7f4ef;
    border: 1px solid rgba(10, 49, 66, 0.07);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    min-height: 100px;
}
.tide-mirror .sv-ins-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 49, 66, 0.08);
    border-color: rgba(201, 143, 131, 0.3);
}
.tide-mirror .sv-ins-card img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
}
.tide-mirror .sv-ins-card span {
    font-size: 13px;
    font-weight: 600;
    color: #1a5068;
    line-height: 1.3;
}
.tide-mirror .sv-insurance-notes {
    border-top: 1px solid rgba(10, 49, 66, 0.10);
    padding-top: 20px;
}
.tide-mirror .sv-insurance-notes p {
    font-size: 14px;
    line-height: 1.65;
    color: #4e6570;
    margin: 0 0 8px;
}
.tide-mirror .sv-insurance-notes a {
    color: #1a5f7a;
    text-decoration: underline;
}

@media (max-width: 860px) {
    .tide-mirror .sv-pricing-cards { grid-template-columns: 1fr; }
    .tide-mirror .sv-insurance-logos { grid-template-columns: repeat(2, 1fr); }
    .tide-mirror .sv-insurance-panel { padding: 28px 24px; }
    .tide-mirror .sv-pricing-card { padding: 28px 24px; }
    .tide-mirror .sv-pricing-btn { width: 100%; text-align: center; }
}
@media (max-width: 520px) {
    .tide-mirror .sv-insurance-logos { grid-template-columns: 1fr 1fr; }
    .tide-mirror .sv-ins-card { padding: 14px 12px; min-height: 80px; }
    .tide-mirror .sv-ins-card span { font-size: 12px; }
}
}
/* â”€â”€ legacy grid (kept for other pages) â”€â”€â”€â”€â”€ */
.tide-mirror .th-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tide-mirror .th-panel {
    background: #f6f2ed;
    border: 1px solid rgba(22, 55, 70, 0.14);
    border-radius: 22px;
    padding: 26px;
}

.tide-mirror .th-panel h3 {
    margin: 0 0 14px;
    font-size: 38px;
    color: #173f4f;
}

.tide-mirror .th-contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
}

.tide-mirror .th-contact-info p {
    margin: 0 0 18px;
    color: #264b5b;
    font-size: 17px;
    line-height: 1.7;
}

.tide-mirror .th-contact-info a {
    color: #173f4f;
    text-decoration: none;
}

.tide-mirror .th-contact-info strong {
    color: #173f4f;
}

.tide-mirror .th-provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.tide-mirror .th-provider-card {
    background: #f6f2ed;
    border: 1px solid rgba(22, 55, 70, 0.14);
    border-radius: 22px;
    overflow: hidden;
}

.tide-mirror .th-provider-image {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f1dfd6;
}

.tide-mirror .th-provider-one {
    background-image: linear-gradient(180deg, rgba(10, 45, 59, 0.2), rgba(10, 45, 59, 0.2)), url('../images/ChiChi.jpg');
    background-position: center, center 4%;
    background-size: cover, 112% auto;
}

.tide-mirror .th-provider-two {
    background-image: linear-gradient(180deg, rgba(10, 45, 59, 0.2), rgba(10, 45, 59, 0.2)), url('../images/Anthony.jpg');
    background-position: center, center 5%;
    background-size: cover, 109% auto;
}

.tide-mirror .th-provider-body {
    padding: 22px;
}

.tide-mirror .th-provider-body h3 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.1;
    color: #173f4f;
}

.tide-mirror .th-provider-body p {
    margin: 0 0 12px;
    color: #264b5b;
    line-height: 1.75;
    font-size: 17px;
}

.tide-mirror .th-support-panel .btn {
    margin-top: 12px;
}

.tide-mirror .th-schedule-key-list {
    margin-top: 18px;
}

.tide-mirror .th-schedule-key-list li {
    margin-bottom: 10px;
}

.tide-mirror .th-important-notice {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(23, 63, 79, 0.06);
    border: 1px solid rgba(23, 63, 79, 0.14);
    color: #264b5b;
    line-height: 1.7;
    font-size: 16px;
}

.tide-mirror .th-important-notice strong {
    color: #173f4f;
}

.tide-mirror .th-form-panel form {
    margin-top: 12px;
}

.tide-mirror .th-schedule-request-layout {
    align-items: start;
    margin-top: 24px;
}

.tide-mirror .th-faq-link-set {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 8px;
}

.tide-mirror .pricing-table,
.tide-mirror .insurance-table {
    width: 100%;
    border-collapse: collapse;
}

.tide-mirror .pricing-table th,
.tide-mirror .pricing-table td,
.tide-mirror .insurance-table td {
    border-bottom: 1px solid rgba(22, 55, 70, 0.12);
    text-align: left;
    padding: 12px 8px;
    vertical-align: top;
    color: #264b5b;
}

.tide-mirror .pricing-table th {
    width: 64%;
    color: #173f4f;
}

.tide-mirror .pricing-note {
    margin: 12px 0 0;
    color: #2f5160;
    line-height: 1.65;
    font-size: 15px;
}

.tide-mirror .th-contact-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    padding-top: calc(clamp(50px, 7vw, 100px) + 60px);
    min-height: 420px;
    overflow: hidden;
}

.th-contact-band-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.th-contact-band-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.th-contact-band-image {
    filter: sepia(.15) saturate(.8) brightness(.95);
}

.tide-mirror .th-contact-card,
.tide-mirror .th-cta-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 24px 64px rgba(10, 49, 66, .22);
    border: 1px solid rgba(255,255,255,.7);
    transition: transform .4s ease, box-shadow .4s ease;
}
.tide-mirror .th-contact-card:hover,
.tide-mirror .th-cta-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 80px rgba(10, 49, 66, .28);
}

.tide-mirror .th-contact-band h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #0a3142;
    margin: 0 0 1rem;
    font-weight: 700;
}

.tide-mirror .th-contact-band p {
    font-size: 17px;
    line-height: 1.7;
    color: #3a5a6a;
    margin: 0 0 2rem;
}

.tide-mirror .th-contact-band a {
    color: #fff;
}

.th-pink-btn {
    display: inline-block;
    background: linear-gradient(135deg, #d29b8e 0%, #c28478 100%);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: .85rem;
    letter-spacing: .06em;
    font-weight: 600;
    border-radius: 50px;
    transition: all .4s ease;
    box-shadow: 0 8px 20px rgba(194, 132, 120, .28);
    text-decoration: none;
}
.th-pink-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(194, 132, 120, .38);
}

@media (max-width: 768px) {
    .tide-mirror .th-contact-card,
    .tide-mirror .th-cta-card { padding: 2.5rem 1.5rem; margin: 0 1rem; }
    .tide-mirror .th-contact-band { padding: 60px 5%; min-height: 340px; }
}

.tide-mirror .th-footer,
.legacy-public .th-footer {
    background: #326877;
    color: rgba(255, 246, 239, 0.9);
    padding: 4.7rem 0 0;
}

.tide-mirror .th-footer-grid,
.legacy-public .th-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(260px, 0.9fr);
    gap: 4rem;
    align-items: start;
}

.tide-mirror .th-footer-brand,
.legacy-public .th-footer-brand {
    max-width: 30rem;
}

.tide-mirror .th-footer-logo,
.legacy-public .th-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff5ee;
    text-decoration: none !important;
    margin-bottom: 1.35rem;
}

.tide-mirror .th-footer-logo-icon,
.legacy-public .th-footer-logo-icon {
    width: 4.5rem;
    height: 4.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.35rem;
    background: rgba(255, 245, 238, 0.1);
    border: 1px solid rgba(255, 245, 238, 0.18);
    font-family: 'Questrial', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff5ee;
    box-shadow: inset 0 0 0 1px rgba(255, 245, 238, 0.05);
}

.tide-mirror .th-footer-logo-text,
.legacy-public .th-footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.tide-mirror .th-footer-logo-name,
.legacy-public .th-footer-logo-name {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.45rem, 4vw, 4rem);
    line-height: 0.92;
    color: #fff5ee;
    letter-spacing: -0.02em;
}

.tide-mirror .th-footer-logo-subtitle,
.legacy-public .th-footer-logo-subtitle {
    display: block;
    font-family: 'Questrial', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: #e2b2a0;
    margin-top: 0.2rem;
}

.tide-mirror .th-footer h4,
.legacy-public .th-footer h4 {
    color: #fff5ee;
    font-size: 1.1rem;
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.tide-mirror .th-footer-tagline,
.legacy-public .th-footer-tagline {
    font-size: 1.05rem;
    max-width: 24rem;
    margin-bottom: 1.8rem;
    color: rgba(255, 245, 238, 0.92);
    line-height: 1.55;
}

.tide-mirror .th-footer p,
.legacy-public .th-footer p {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    color: rgba(255, 245, 238, 0.9);
    line-height: 1.55;
}

.tide-mirror .th-footer a,
.legacy-public .th-footer a {
    color: rgba(255, 245, 238, 0.95);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 245, 238, 0.38);
    transition: color var(--transition), text-decoration-color var(--transition);
}

.tide-mirror .th-footer a:hover,
.legacy-public .th-footer a:hover {
    color: #fff5ee;
    text-decoration-color: #fff5ee;
}

.tide-mirror .th-footer-links-group,
.legacy-public .th-footer-links-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.tide-mirror .th-footer-links p,
.legacy-public .th-footer-links p {
    margin-bottom: 0.85rem;
}

.tide-mirror .th-footer-links-secondary,
.legacy-public .th-footer-links-secondary {
    padding-top: 2.45rem;
}

.tide-mirror .th-footer-links-secondary h4,
.legacy-public .th-footer-links-secondary h4 {
    display: none;
}

.tide-mirror .th-footer-contact,
.legacy-public .th-footer-contact {
    max-width: 18rem;
}

.tide-mirror .th-footer-social,
.legacy-public .th-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.4rem;
}

.tide-mirror .th-footer-social a,
.legacy-public .th-footer-social a {
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 245, 238, 0.9);
    font-size: 1.15rem;
    transition: all var(--transition);
    text-decoration: none !important;
    border: 0;
}

.tide-mirror .th-footer-social a:hover,
.legacy-public .th-footer-social a:hover {
    color: #fff5ee;
    background: transparent;
    text-decoration: none;
    transform: translateY(-1px);
}

.tide-mirror .th-footer-rule,
.legacy-public .th-footer-rule {
    height: 1px;
    background: rgba(255, 245, 238, 0.3);
    margin: 3rem 1.5rem 0;
}

.tide-mirror .th-contact-phone,
.legacy-public .th-contact-phone {
    margin-top: 0.75rem;
}

.tide-mirror .th-footer-bottom,
.legacy-public .th-footer-bottom {
    text-align: center;
    padding: 1.9rem 1.5rem 2.25rem;
    font-size: 0.8rem;
    color: rgba(255, 245, 238, 0.68);
    margin-top: 0;
}

.tide-mirror .th-footer-bottom p,
.legacy-public .th-footer-bottom p {
    margin-bottom: 0.55rem;
    font-size: inherit;
    color: inherit;
}

.tide-mirror .th-disclaimer,
.legacy-public .th-disclaimer {
    font-size: 0.72rem;
    max-width: 64rem;
    margin: 0.85rem auto 0;
    line-height: 1.65;
    color: inherit;
}

@media (max-width: 1100px) {
    .tide-mirror .th-nav-links {
        gap: 16px;
    }

    .tide-mirror .th-provider-grid,
    .tide-mirror .th-pricing-grid,
    .tide-mirror .th-steps,
    .tide-mirror .th-contact-layout,
    .tide-mirror .th-about-preview,
    .tide-mirror .th-provider-feature-grid,
    .tide-mirror .th-schedule-hero-shell {
        grid-template-columns: 1fr;
    }

    .tide-mirror .th-image-card {
        min-height: 340px;
    }
}

@media (max-width: 900px) {
    .tide-mirror .th-footer-grid,
    .legacy-public .th-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .tide-mirror .th-footer-brand,
    .legacy-public .th-footer-brand {
        grid-column: 1 / -1;
        max-width: 38rem;
    }

    .tide-mirror .th-footer-contact,
    .legacy-public .th-footer-contact {
        max-width: none;
    }
}

@media (max-width: 980px) {
    .tide-mirror .th-nav-links,
    .tide-mirror .th-home-nav-cta {
        display: none;
    }

    .tide-mirror .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .tide-mirror .th-nav {
        padding: 14px 14px;
    }

    .tide-mirror .logo-name {
        font-size: 30px;
    }

    .tide-mirror .th-hero {
        min-height: 520px;
        padding: 54px 0 64px;
    }

    .tide-mirror .th-hero-shell {
        width: calc(100vw - 28px);
    }

    .tide-mirror .th-hero-card {
        padding: 34px 14px;
        border-width: 8px;
        border-radius: 24px;
    }

    .tide-mirror .th-intro p,
    .tide-mirror .th-team-callout p,
    .tide-mirror .th-about-preview p,
    .tide-mirror .th-provider-feature p,
    .tide-mirror .th-provider-body p,
    .tide-mirror .th-accordion p,
    .tide-mirror .th-contact-band p {
        font-size: 16px;
    }

    .tide-mirror .th-cta-card {
        padding: 40px 28px;
    }

    .tide-mirror .th-provider-feature-image {
        min-height: 220px;
    }

    .tide-mirror .th-provider-card {
        border-radius: 20px;
    }

    .tide-mirror .th-provider-image {
        min-height: 260px;
        background-position: center;
    }

    .tide-mirror .th-provider-body {
        padding: 18px 18px 20px;
    }

    .tide-mirror .th-provider-body h3 {
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.08;
        margin-bottom: 8px;
    }

    .tide-mirror .th-panel {
        padding: 18px;
    }

    .tide-mirror .th-booking-table-head,
    .tide-mirror .th-booking-row {
        grid-template-columns: minmax(220px, 1.5fr) 82px 82px 110px;
    }

    .tide-mirror .th-footer-grid,
    .legacy-public .th-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        text-align: center;
    }

    .tide-mirror .th-footer,
    .legacy-public .th-footer {
        padding-top: 3.6rem;
    }

    .tide-mirror .th-footer-links-group,
    .legacy-public .th-footer-links-group {
        grid-template-columns: 1fr 1fr;
        gap: 1.6rem;
    }

    .tide-mirror .th-footer-links-secondary,
    .legacy-public .th-footer-links-secondary {
        padding-top: 0;
    }

    .tide-mirror .th-footer-logo,
    .legacy-public .th-footer-logo {
        justify-content: center;
    }

    .tide-mirror .th-footer-contact,
    .tide-mirror .th-footer-brand,
    .legacy-public .th-footer-contact,
    .legacy-public .th-footer-brand {
        max-width: none;
    }

    .tide-mirror .th-footer-social,
    .legacy-public .th-footer-social {
        justify-content: center;
    }

    .tide-mirror .th-footer-grid,
    .legacy-public .th-footer-grid {
        gap: 2rem;
    }

    .tide-mirror .th-footer-logo-icon,
    .legacy-public .th-footer-logo-icon {
        width: 3.8rem;
        height: 3.8rem;
        border-radius: 1.1rem;
        font-size: 1.2rem;
    }

    .tide-mirror .th-footer-logo-name,
    .legacy-public .th-footer-logo-name {
        font-size: clamp(2.1rem, 10vw, 2.9rem);
    }

    .tide-mirror .th-footer-logo-subtitle,
    .legacy-public .th-footer-logo-subtitle {
        font-size: 0.74rem;
        letter-spacing: 0.18em;
    }

    .tide-mirror .th-footer-tagline,
    .legacy-public .th-footer-tagline {
        margin-bottom: 1.2rem;
        font-size: 0.97rem;
        max-width: 22rem;
    }

    .tide-mirror .th-footer p,
    .legacy-public .th-footer p {
        font-size: 0.95rem;
    }

    .tide-mirror .th-footer-social a,
    .legacy-public .th-footer-social a {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tide-mirror .th-footer-grid,
    .legacy-public .th-footer-grid {
        text-align: left;
    }

    .tide-mirror .th-faq-intro h1,
    .tide-mirror .th-schedule-hero-copy h1 {
        font-size: clamp(38px, 10vw, 56px);
    }

    .tide-mirror .th-booking-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tide-mirror .th-booking-table {
        overflow: visible;
    }

    .tide-mirror .th-booking-table-head {
        display: none;
    }

    .tide-mirror .th-booking-row {
        grid-template-columns: 1fr;
        min-width: 0;
        gap: 10px;
        margin-bottom: 12px;
        padding: 18px 16px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 26px rgba(10, 45, 59, 0.08);
    }

    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(2),
    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(3) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        font-size: 15px;
    }

    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(2)::before {
        content: 'Duration';
        font-size: 12px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #5f7380;
    }

    .tide-mirror .th-booking-row > .th-booking-meta:nth-child(3)::before {
        content: 'Price';
        font-size: 12px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #5f7380;
    }

    .tide-mirror .th-booking-action {
        width: 100%;
    }

    .tide-mirror .th-book-now-btn {
        width: 100%;
        min-width: 0;
    }

    .tide-mirror .th-footer-logo,
    .legacy-public .th-footer-logo {
        justify-content: flex-start;
    }

    .tide-mirror .th-provider-image {
        min-height: 220px;
    }

    .tide-mirror .th-provider-body {
        padding: 16px 16px 18px;
    }

    .tide-mirror .th-provider-body h3 {
        font-size: 24px;
        line-height: 1.1;
    }

    .tide-mirror .th-provider-body p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 10px;
    }

    .tide-mirror .th-footer-links-group,
    .legacy-public .th-footer-links-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        align-items: start;
    }

    .tide-mirror .th-footer-links-secondary,
    .legacy-public .th-footer-links-secondary {
        padding-top: 0;
    }

    .tide-mirror .th-footer-social,
    .legacy-public .th-footer-social {
        justify-content: flex-start;
    }

    .tide-mirror .th-footer-contact,
    .legacy-public .th-footer-contact {
        max-width: 100%;
    }

    .tide-mirror .th-footer-links p,
    .legacy-public .th-footer-links p {
        margin-bottom: 0.7rem;
    }

    .tide-mirror .th-footer a,
    .legacy-public .th-footer a {
        text-underline-offset: 3px;
    }

    .tide-mirror .th-footer-bottom,
    .legacy-public .th-footer-bottom {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tide-mirror .th-footer,
    .legacy-public .th-footer {
        padding-top: 3rem;
    }

    .tide-mirror .th-footer-grid,
    .legacy-public .th-footer-grid {
        gap: 1.75rem;
    }

    .tide-mirror .th-footer-logo,
    .legacy-public .th-footer-logo {
        gap: 0.75rem;
        margin-bottom: 0.9rem;
    }

    .tide-mirror .th-footer-logo-icon,
    .legacy-public .th-footer-logo-icon {
        width: 3.1rem;
        height: 3.1rem;
        border-radius: 0.95rem;
        font-size: 1rem;
    }

    .tide-mirror .th-footer-logo-name,
    .legacy-public .th-footer-logo-name {
        font-size: clamp(1.85rem, 10vw, 2.3rem);
    }

    .tide-mirror .th-footer-logo-subtitle,
    .legacy-public .th-footer-logo-subtitle {
        font-size: 0.66rem;
        letter-spacing: 0.14em;
    }

    .tide-mirror .th-footer-tagline,
    .legacy-public .th-footer-tagline {
        margin-bottom: 1rem;
        font-size: 0.92rem;
    }

    .tide-mirror .th-footer p,
    .legacy-public .th-footer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tide-mirror .th-footer-social a,
    .legacy-public .th-footer-social a {
        width: 2rem;
        height: 2rem;
        font-size: 0.95rem;
    }

    .tide-mirror .th-disclaimer,
    .legacy-public .th-disclaimer {
        font-size: 0.7rem;
        line-height: 1.6;
    }
}

/* ------------------------------------------------------------------
   Legacy Public Page Tide-Match Layer
   This keeps existing page content intact while aligning visual style.
------------------------------------------------------------------- */
.legacy-public {
    background: #f6f2ed;
    color: #264b5b;
    font-family: 'Questrial', 'Inter', -apple-system, sans-serif;
}

.legacy-public h1,
.legacy-public h2,
.legacy-public h3,
.legacy-public h4,
.legacy-public .logo-name,
.legacy-public .section-title,
.legacy-public .cta-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    color: #173f4f;
    letter-spacing: -0.01em;
}

.legacy-public a {
    color: #173f4f;
}

.legacy-public .top-bar {
    background: #0f3948;
    color: rgba(246, 242, 237, 0.92);
    box-shadow: none;
    border-bottom: 1px solid rgba(246, 242, 237, 0.15);
}

.legacy-public .top-bar-content {
    max-width: 1200px;
    padding: 10px 24px;
    gap: 22px;
}

.legacy-public .top-bar a {
    color: #f6f2ed;
}

.legacy-public .header {
    background: rgba(246, 242, 237, 0.98);
    border-bottom: 1px solid rgba(22, 55, 70, 0.14);
    box-shadow: none;
}

.legacy-public .header.scrolled {
    box-shadow: 0 12px 26px rgba(16, 42, 53, 0.09);
}

.legacy-public .nav {
    max-width: 1200px;
    padding: 14px 24px;
}

.legacy-public .logo-icon {
    background: #173f4f;
    border-radius: 999px;
    width: 46px;
    height: 46px;
    box-shadow: none;
}

.legacy-public .logo-icon::before {
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
}

.legacy-public .logo-name {
    font-size: 38px;
    line-height: 0.9;
}

.legacy-public .logo-tagline {
    font-family: 'Questrial', sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #446574;
}

.legacy-public .nav-links {
    gap: 26px;
}

.legacy-public .nav-links a {
    font-family: 'Questrial', sans-serif;
    color: #1d4354;
    font-size: 15px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.legacy-public .nav-links a::after {
    background: #1d4354;
    height: 1px;
}

.legacy-public .nav-link-active {
    font-weight: 700;
    color: #173f4f;
}

.legacy-public .mobile-nav {
    background: #f6f2ed;
    border-bottom: 1px solid rgba(22, 55, 70, 0.14);
}

.legacy-public .mobile-nav li {
    border-bottom-color: rgba(22, 55, 70, 0.15);
}

.legacy-public .mobile-nav a {
    color: #173f4f;
}

.legacy-public .mobile-menu-btn {
    color: #173f4f;
}

.legacy-public .btn,
.legacy-public .btn.btn-portal,
.legacy-public .btn.mobile-cta {
    border-radius: 999px;
    border: 1px solid transparent;
    background: #173f4f;
    color: #f6f2ed;
    font-family: 'Questrial', sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 11px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.legacy-public .btn:hover,
.legacy-public .btn.btn-portal:hover,
.legacy-public .btn.mobile-cta:hover {
    background: #0f3948;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 48, 61, 0.18);
}

.legacy-public .btn-light {
    background: transparent;
    border-color: rgba(246, 242, 237, 0.75);
    color: #f6f2ed;
}

.legacy-public .btn-outline {
    background: transparent;
    border-color: rgba(23, 63, 79, 0.45);
    color: #173f4f;
}

.legacy-public .hero {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
    padding: 110px 24px 84px;
}

.legacy-public .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 45, 59, 0.76), rgba(10, 45, 59, 0.84));
}

.legacy-public .hero-content {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    border: 10px solid rgba(246, 242, 237, 0.9);
    border-radius: 28px;
    padding: clamp(34px, 5vw, 64px);
    text-align: center;
    background: rgba(18, 56, 70, 0.36);
    backdrop-filter: blur(2px);
}

.legacy-public .hero h1 {
    color: #f6f2ed;
    font-size: clamp(42px, 6.1vw, 86px);
    line-height: 0.97;
    margin: 0 0 10px;
}

.legacy-public .hero-subtitle {
    color: rgba(246, 242, 237, 0.95);
    font-size: clamp(16px, 2.2vw, 24px);
    line-height: 1.5;
    margin: 0;
}

.legacy-public .section {
    padding: clamp(58px, 8vw, 96px) 0;
    background: #f6f2ed;
}

.legacy-public .section:nth-of-type(even) {
    background: #f1ebe4;
}

.legacy-public .section.section-cta {
    background: linear-gradient(180deg, rgba(10, 45, 59, 0.9), rgba(10, 45, 59, 0.82));
    color: #f6f2ed;
}

.legacy-public .section.section-cta .cta-title,
.legacy-public .section.section-cta .cta-subtitle {
    color: #f6f2ed;
}

.legacy-public .container {
    width: min(1200px, calc(100% - 44px));
}

.legacy-public .section-label {
    display: inline-block;
    font-family: 'Questrial', sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #325f71;
    font-size: 12px;
}

.legacy-public .section-title {
    font-size: clamp(40px, 5.2vw, 62px);
    line-height: 1.06;
    margin: 10px 0;
}

.legacy-public .section-subtitle {
    color: #2f5160;
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.75;
}

.legacy-public .faq-item,
.legacy-public .step,
.legacy-public .service-card,
.legacy-public .insurance-card,
.legacy-public .auth-card,
.legacy-public .contact-form,
.legacy-public .about-content,
.legacy-public .about-image,
.legacy-public .legal-content,
.legacy-public .portal-panel,
.legacy-public .portal-section,
.legacy-public .portal-feature,
.legacy-public .feature-item {
    background: #f6f2ed;
    border: 1px solid rgba(22, 55, 70, 0.14);
    border-radius: 22px;
    box-shadow: none;
}

.legacy-public .faq-item h3,
.legacy-public .step h3,
.legacy-public .service-card h3,
.legacy-public .auth-card h3 {
    color: #173f4f;
}

.legacy-public .faq-item p,
.legacy-public .step p,
.legacy-public .service-card p,
.legacy-public .auth-card p,
.legacy-public .credentials-list li,
.legacy-public .legal-content p,
.legacy-public .legal-content li,
.legacy-public .portal-panel p,
.legacy-public .portal-section p {
    color: #2c4f5f;
    line-height: 1.75;
}

.legacy-public .step-number {
    background: #173f4f;
    color: #f6f2ed;
    border: none;
}

.legacy-public .check {
    background: rgba(23, 63, 79, 0.12);
    color: #173f4f;
}

.legacy-public .conversion-strip {
    background: #0f3948;
    border-top: none;
    padding: 30px 24px;
}

.legacy-public .conversion-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.legacy-public .conversion-label {
    color: rgba(246, 242, 237, 0.7);
}

.legacy-public .conversion-value,
.legacy-public .conversion-value:visited {
    color: #f6f2ed;
}

.legacy-public .conversion-icon {
    background: rgba(246, 242, 237, 0.12);
    color: #f6f2ed;
}

.legacy-public .footer {
    background: #0f3948;
    color: rgba(246, 242, 237, 0.86);
    padding: 68px 0 32px;
}

.legacy-public .footer h3,
.legacy-public .footer h4 {
    color: #f6f2ed;
}

.legacy-public .footer h3 {
    font-size: 40px;
}

.legacy-public .footer h4 {
    font-size: 30px;
}

.legacy-public .footer p,
.legacy-public .footer li,
.legacy-public .footer a {
    color: rgba(246, 242, 237, 0.85);
}

.legacy-public .footer a:hover {
    color: #ffffff;
}

.legacy-public .footer-bottom {
    border-top: 1px solid rgba(246, 242, 237, 0.2);
    color: rgba(246, 242, 237, 0.72);
}

.legacy-public input,
.legacy-public select,
.legacy-public textarea {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(22, 55, 70, 0.24);
    border-radius: 14px;
    color: #173f4f;
}

.legacy-public input:focus,
.legacy-public select:focus,
.legacy-public textarea:focus {
    border-color: #2b5a6d;
    box-shadow: 0 0 0 3px rgba(30, 75, 93, 0.15);
}

@media (max-width: 1100px) {
    .legacy-public .nav-links {
        gap: 16px;
    }

    .legacy-public .logo-name {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .legacy-public .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .legacy-public .nav {
        padding: 14px;
    }

    .legacy-public .logo-name {
        font-size: 28px;
    }

    .legacy-public .hero {
        min-height: 420px;
        padding: 88px 14px 56px;
    }

    .legacy-public .hero-content {
        border-width: 7px;
        border-radius: 22px;
        padding: 30px 14px;
    }

    .legacy-public .section {
        padding: 52px 0;
    }

    .legacy-public .container {
        width: calc(100% - 28px);
    }
}

/* ------------------------------------------------------------------
   Shared Public Navbar: match homepage shell across all public pages
------------------------------------------------------------------- */
.tide-mirror .th-announcement,
.legacy-public .th-announcement {
    display: none;
}

.tide-mirror .th-announcement p,
.legacy-public .th-announcement p {
    display: none;
}

.tide-mirror .th-announcement a,
.legacy-public .th-announcement a {
    display: inline;
}

.tide-mirror .th-header,
.legacy-public .th-header {
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
}

.tide-mirror .th-header.scrolled,
.legacy-public .th-header.scrolled {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.tide-mirror main,
.legacy-public main {
    padding-top: 118px;
}

.tide-mirror .th-nav,
.legacy-public .th-nav {
    position: relative;
    z-index: 1001;
    width: calc(100% - 56px);
    max-width: 1720px;
    margin: 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(251, 248, 244, 0.95);
    border: 1px solid rgba(35, 69, 82, 0.09);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(18, 46, 58, 0.06);
    backdrop-filter: blur(8px);
}

.tide-mirror .logo-container,
.legacy-public .logo-container {
    gap: 10px;
}

.tide-mirror .logo-icon,
.legacy-public .logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #2b4f5f;
    border: none;
    color: #ffffff;
    box-shadow: none;
    transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.tide-mirror .logo-icon::before,
.legacy-public .logo-icon::before {
    content: 'RH';
    color: #ffffff;
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    font-weight: 800;
}

.tide-mirror .logo-name,
.legacy-public .logo-name {
    color: #315868;
    font-size: 33px;
    font-weight: 500;
    line-height: .94;
    letter-spacing: -0.028em;
    transition: color .24s ease, transform .24s ease;
}

.tide-mirror .logo-tagline,
.legacy-public .logo-tagline {
    display: block;
    font-family: 'Questrial', sans-serif;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #768d97;
    transition: color .24s ease;
}

.tide-mirror .logo-container:hover .logo-icon,
.tide-mirror .logo-container:focus-visible .logo-icon,
.legacy-public .logo-container:hover .logo-icon,
.legacy-public .logo-container:focus-visible .logo-icon {
    transform: translateY(-1px) scale(1.08) rotate(-6deg);
    background: #0f2e3d;
    box-shadow: 0 8px 18px rgba(15, 57, 72, 0.18);
}

.tide-mirror .logo-container:hover .logo-name,
.tide-mirror .logo-container:focus-visible .logo-name,
.legacy-public .logo-container:hover .logo-name,
.legacy-public .logo-container:focus-visible .logo-name {
    color: #0f2e3d;
    transform: translateX(1px);
}

.tide-mirror .logo-container:hover .logo-tagline,
.tide-mirror .logo-container:focus-visible .logo-tagline,
.legacy-public .logo-container:hover .logo-tagline,
.legacy-public .logo-container:focus-visible .logo-tagline {
    color: #406878;
}

.tide-mirror .th-nav-links,
.legacy-public .th-nav-links {
    margin: 0;
    justify-self: center;
    gap: 34px;
    align-items: center;
}

.tide-mirror .th-nav-links a,
.legacy-public .th-nav-links a {
    color: #315868;
    font-size: 15px;
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: none !important;
}

.tide-mirror .th-nav-links a::after,
.legacy-public .th-nav-links a::after {
    background: #315868;
    height: 1px;
    bottom: -4px;
}

.tide-mirror .th-nav-links a:hover,
.legacy-public .th-nav-links a:hover {
    color: #0f2e3d;
}

.tide-mirror .th-nav-links a.nav-link-active,
.legacy-public .th-nav-links a.nav-link-active {
    color: #315868;
    font-weight: 400;
}

.tide-mirror .th-nav-links a.nav-link-active::after,
.legacy-public .th-nav-links a.nav-link-active::after {
    width: 0;
}

.tide-mirror .mobile-nav a.nav-link-active,
.legacy-public .mobile-nav a.nav-link-active {
    color: #315868;
    text-decoration: none;
}

.tide-mirror .th-home-nav-cta,
.legacy-public .th-home-nav-cta {
    background: #355f70;
    border: 1px solid #355f70;
    color: #f7f2ed;
    font-size: 14px;
    font-family: 'Questrial', sans-serif;
    padding: 11px 28px;
    white-space: nowrap;
    letter-spacing: .01em;
    text-transform: none !important;
    font-weight: 500 !important;
    border-radius: 999px;
}

.tide-mirror .th-home-nav-cta:hover,
.legacy-public .th-home-nav-cta:hover {
    background: #284e5d;
    border-color: #284e5d;
    transform: none;
}

.tide-mirror .mobile-menu-btn,
.legacy-public .mobile-menu-btn {
    color: #1c3f50;
    background: transparent;
    border: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
}

.tide-mirror .mobile-menu-icon,
.legacy-public .mobile-menu-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 22px;
    height: 16px;
    position: relative;
    transition: width .26s ease, height .26s ease;
}

.tide-mirror .mobile-menu-icon span,
.legacy-public .mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    border-radius: 999px;
    background: #355f70;
    transition: transform .26s ease, width .26s ease;
}

.tide-mirror .mobile-menu-btn.is-open .mobile-menu-icon,
.legacy-public .mobile-menu-btn.is-open .mobile-menu-icon {
    width: 18px;
    height: 18px;
    gap: 0;
}

.tide-mirror .mobile-menu-btn.is-open .mobile-menu-icon span,
.legacy-public .mobile-menu-btn.is-open .mobile-menu-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform-origin: center;
}

.tide-mirror .mobile-menu-btn.is-open .mobile-menu-icon span:first-child,
.legacy-public .mobile-menu-btn.is-open .mobile-menu-icon span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tide-mirror .mobile-menu-btn.is-open .mobile-menu-icon span:last-child,
.legacy-public .mobile-menu-btn.is-open .mobile-menu-icon span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.tide-mirror.mobile-menu-open,
body.legacy-public.mobile-menu-open {
    overflow: hidden;
}

.tide-mirror .mobile-nav,
.legacy-public .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: #f6f2ed;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    max-height: none;
    overflow: hidden;
    border-bottom: none;
    box-shadow: none;
}

.tide-mirror .mobile-nav.open,
.legacy-public .mobile-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tide-mirror .mobile-nav ul,
.legacy-public .mobile-nav ul {
    position: relative;
    width: 100%;
    min-height: 100svh;
    padding: 132px 24px 28px;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.tide-mirror .mobile-nav li,
.legacy-public .mobile-nav li {
    margin: 0;
    padding: 0;
    border-bottom: none;
}

.tide-mirror .mobile-nav li:last-child,
.legacy-public .mobile-nav li:last-child {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: flex;
    justify-content: center;
}

.tide-mirror .mobile-nav a,
.legacy-public .mobile-nav a {
    color: #1c3f50;
    font-size: 27px;
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.12;
    display: block;
    transition: color .2s ease;
}

.tide-mirror .mobile-nav a:hover,
.legacy-public .mobile-nav a:hover {
    color: #0f2e3d;
    padding-left: 0;
}

.tide-mirror .mobile-nav .mobile-cta,
.legacy-public .mobile-nav .mobile-cta {
    width: min(100%, 322px);
    min-width: 0;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    padding: 16px 28px;
    font-size: 14px;
    font-family: 'Questrial', sans-serif;
    line-height: 1.1;
    box-shadow: none;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

@media (max-width: 1280px) {
    .tide-mirror .logo-name,
    .legacy-public .logo-name {
        font-size: 27px;
    }

    .tide-mirror .th-nav-links a,
    .legacy-public .th-nav-links a {
        font-size: 14px;
    }

    .tide-mirror .th-home-nav-cta,
    .legacy-public .th-home-nav-cta {
        font-size: 13px;
        padding: 11px 18px;
    }
}

@media (max-width: 980px) {
    .tide-mirror .th-header,
    .legacy-public .th-header {
        top: 12px;
    }

    .tide-mirror .th-nav,
    .legacy-public .th-nav {
        width: calc(100% - 22px);
        padding: 6px 12px;
        min-height: 50px;
    }

    .tide-mirror main,
    .legacy-public main {
        padding-top: 86px;
    }

    .tide-mirror .th-nav-links,
    .legacy-public .th-nav-links,
    .tide-mirror .th-home-nav-cta,
    .legacy-public .th-home-nav-cta {
        display: none;
    }

    .tide-mirror .mobile-menu-btn,
    .legacy-public .mobile-menu-btn {
        display: inline-flex;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        justify-self: end;
        color: #1c3f50;
    }

    .tide-mirror .logo-icon,
    .legacy-public .logo-icon {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .tide-mirror .logo-icon::before,
    .legacy-public .logo-icon::before {
        font-size: 12px;
    }

    .tide-mirror .logo-name,
    .legacy-public .logo-name {
        font-size: 17px;
        line-height: 1;
    }

    .tide-mirror .logo-tagline,
    .legacy-public .logo-tagline {
        display: none;
    }
}

@media (max-width: 420px) {
    .tide-mirror .th-header,
    .legacy-public .th-header {
        top: 16px;
    }

    .tide-mirror .th-nav,
    .legacy-public .th-nav {
        width: calc(100% - 24px);
        min-height: 48px;
        padding: 7px 11px;
    }

    .tide-mirror .logo-container,
    .legacy-public .logo-container {
        gap: 8px;
    }

    .tide-mirror .logo-icon,
    .legacy-public .logo-icon {
        width: 36px;
        height: 36px;
    }

    .tide-mirror .logo-icon::before,
    .legacy-public .logo-icon::before {
        font-size: 13px;
    }

    .tide-mirror .logo-name,
    .legacy-public .logo-name {
        font-size: 18px;
    }

    .tide-mirror .mobile-menu-btn,
    .legacy-public .mobile-menu-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }

    .tide-mirror main,
    .legacy-public main {
        padding-top: 84px;
    }

    .tide-mirror .mobile-menu-icon,
    .legacy-public .mobile-menu-icon {
        width: 20px;
        height: 15px;
        gap: 5px;
    }
}

/* ------------------------------------------------------------------
   Homepage match: Tide-style split hero + floating nav
------------------------------------------------------------------- */
.tide-mirror.home-page .th-header {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 80;
    background: transparent;
    box-shadow: none;
}

.tide-mirror.home-page .th-home-nav {
    width: calc(100% - 56px);
    max-width: 1720px;
    margin: 0 auto;
    padding: 8px 16px;
    background: rgba(250, 249, 247, 0.88);
    border: 1px solid rgba(20, 53, 66, 0.08);
    border-radius: 999px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(8px);
}

.tide-mirror.home-page .logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #0f3948;
    border: none;
    color: #fff;
    box-shadow: none;
}

.tide-mirror.home-page .logo-icon::before {
    content: 'RH';
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    color: #fff;
}

.tide-mirror.home-page .logo-icon i {
    display: none;
}

.tide-mirror.home-page .logo-name {
    font-size: 31px;
    letter-spacing: -0.02em;
    color: #1f485b;
    line-height: 1;
}

.tide-mirror.home-page .logo-tagline {
    display: block;
    font-family: 'Questrial', sans-serif;
    font-size: 9px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #5d7986;
}

.tide-mirror.home-page .th-nav-links {
    margin: 0;
    justify-self: center;
    gap: 32px;
}

.tide-mirror.home-page .th-nav-links a {
    font-size: 15px;
    color: #23495d;
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Questrial', sans-serif;
}

.tide-mirror.home-page .th-home-nav-cta {
    white-space: nowrap;
    border-radius: 999px;
    background: #2d5f72;
    border: 1px solid #2d5f72;
    color: #f6f2ed;
    padding: 11px 30px;
    font-size: 14px;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 500 !important;
}

.tide-mirror.home-page .th-home-nav-cta:hover {
    background: #224c5d;
    border-color: #224c5d;
}

.tide-mirror.home-page .th-home-hero {
    position: relative;
    background: #f2f0ed;
    min-height: 780px;
    overflow: hidden;
    padding-top: 0;
}

.tide-mirror.home-page .th-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 780px;
}

.tide-mirror.home-page .th-home-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 170px 44px 108px;
}

.tide-mirror.home-page .th-home-kicker {
    margin: 0 0 20px;
    color: #2f566a;
    font-family: 'Questrial', sans-serif;
    font-size: 13px;
}

.tide-mirror.home-page .th-home-copy h1 {
    margin: 0;
    max-width: 545px;
    color: #214b5f;
    font-size: clamp(34px, 2.8vw, 44px);
    line-height: 1.1;
}

.tide-mirror.home-page .th-home-copy p {
    margin: 20px 0 0;
    max-width: 500px;
    color: #2e5261;
    font-size: clamp(14px, 0.9vw, 15px);
    line-height: 1.58;
    font-family: 'Questrial', sans-serif;
}

.tide-mirror.home-page .th-home-secondary-btn {
    margin-top: 30px;
    border-radius: 999px;
    background: #d69f98;
    color: #f9f5f1;
    border: 1px solid #d69f98;
    padding: 10px 24px;
    font-size: 14px;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-family: 'Questrial', sans-serif;
}

.tide-mirror.home-page .th-home-secondary-btn:hover {
    background: #cb8f87;
    border-color: #cb8f87;
}

.tide-mirror.home-page .th-home-image {
    position: relative;
    min-height: 100%;
    background: url('../images/home-hero-calm.jpg') center/cover no-repeat;
}

.tide-mirror.home-page .th-home-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 44, 56, 0.08), rgba(13, 44, 56, 0.02));
}

.tide-mirror.home-page .th-intro h2 {
    font-size: clamp(32px, 2.8vw, 40px);
    line-height: 1.12;
}

.tide-mirror.home-page .th-intro p {
    font-size: 15px;
}

.tide-mirror.home-page .th-team-callout h2 {
    font-size: clamp(30px, 2.5vw, 36px);
}

.tide-mirror.home-page .th-provider-feature h2 {
    font-size: clamp(30px, 2.4vw, 34px);
}

.tide-mirror.home-page .th-home-process .th-steps h3 {
    font-size: clamp(21px, 1.65vw, 25px);
}

.tide-mirror.home-page .th-home-cta h2 {
    font-size: clamp(30px, 2.5vw, 36px);
}

@media (max-width: 1280px) {
    .tide-mirror.home-page .logo-name {
        font-size: 27px;
    }

    .tide-mirror.home-page .th-nav-links a {
        font-size: 14px;
    }

    .tide-mirror.home-page .th-home-nav-cta {
        font-size: 13px;
        padding: 11px 18px;
    }

    .tide-mirror.home-page .th-home-copy h1 {
        font-size: clamp(34px, 4.1vw, 44px);
    }

    .tide-mirror.home-page .th-home-copy p {
        font-size: clamp(13px, 1.15vw, 15px);
    }
}

@media (max-width: 980px) {
    .tide-mirror.home-page .th-header {
        top: 14px;
    }

    .tide-mirror.home-page .th-home-nav {
        width: calc(100% - 16px);
        padding: 8px 10px;
        border-radius: 999px;
        grid-template-columns: auto 1fr auto;
        min-height: 64px;
    }

    .tide-mirror.home-page .logo-container {
        gap: 8px;
    }

    .tide-mirror.home-page .logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .tide-mirror.home-page .logo-icon::before {
        font-size: 14px;
    }

    .tide-mirror.home-page .logo-name {
        font-size: 42px;
        line-height: 0.82;
    }

    .tide-mirror.home-page .logo-tagline {
        display: none;
    }

    .tide-mirror.home-page .th-nav-links,
    .tide-mirror.home-page .th-home-nav-cta {
        display: none;
    }

    .tide-mirror.home-page .mobile-menu-btn {
        display: inline-flex;
        color: #385d6e;
        font-size: 20px;
        min-width: 42px;
        min-height: 42px;
        padding: 8px;
        justify-self: end;
    }

    .tide-mirror.home-page .th-home-hero {
        background: linear-gradient(180deg, rgba(12, 40, 52, 0.08), rgba(12, 40, 52, 0.04)), url('../images/home-hero-calm.jpg') center/cover no-repeat;
        min-height: 860px;
    }

    .tide-mirror.home-page .th-home-hero-grid {
        display: block;
        min-height: 860px;
        position: relative;
    }

    .tide-mirror.home-page .th-home-image {
        display: none;
    }

    .tide-mirror.home-page .th-home-copy {
        position: relative;
        z-index: 2;
        max-width: calc(100% - 18px);
        margin: 250px auto 0;
        background: rgba(246, 242, 237, 0.97);
        border: 1px solid rgba(22, 55, 70, 0.12);
        border-radius: 30px;
        box-shadow: 0 10px 32px rgba(12, 40, 52, 0.16);
        padding: 34px 22px 30px;
    }

    .tide-mirror.home-page .th-home-kicker {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .tide-mirror.home-page .th-home-copy h1 {
        font-size: clamp(22px, 8.2vw, 30px);
        line-height: 1.05;
        max-width: 306px;
    }

    .tide-mirror.home-page .th-home-copy p {
        font-size: 13px;
        max-width: 310px;
        margin-top: 16px;
        line-height: 1.5;
    }

    .tide-mirror.home-page .th-home-secondary-btn {
        font-size: 13px;
        padding: 11px 24px;
        margin-top: 20px;
    }

    }

@media (max-width: 420px) {
    .tide-mirror.home-page .th-home-copy {
        margin-top: 242px;
    }

    .tide-mirror.home-page .th-home-kicker {
        font-size: 10px;
    }

    .tide-mirror.home-page .th-home-copy h1 {
        font-size: clamp(20px, 8.8vw, 28px);
    }

    .tide-mirror.home-page .th-home-copy p {
        font-size: 12px;
        max-width: 282px;
    }
}

/* ===== RIGHT HEALTH POLISH OVERRIDES ===== */
:root {
    --primary: #325968;
    --primary-dark: #213f4b;
    --primary-light: #688892;
    --accent: #ca9385;
    --accent-light: #e3c3b5;
    --text-dark: #22363f;
    --text-gray: #5f7580;
    --bg-light: #fbf6f1;
    --bg-lighter: #fffdfa;
    --border: rgba(42, 71, 82, 0.1);
}

body.tide-mirror,
body.legacy-public {
    background:
        radial-gradient(circle at top left, rgba(202, 147, 133, 0.08), transparent 22%),
        linear-gradient(180deg, #fbf6f1 0%, #f7f1eb 36%, #fdfcf8 100%);
    color: #22363f;
}

.tide-mirror .th-announcement,
.legacy-public .th-announcement {
    background: linear-gradient(90deg, #284a57 0%, #3f6774 100%);
    box-shadow: 0 6px 18px rgba(28, 53, 62, 0.12);
}

.tide-mirror .th-nav,
.legacy-public .th-nav {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(251, 246, 241, 0.94));
    border-color: rgba(36, 70, 83, 0.07);
    box-shadow: 0 12px 28px rgba(23, 48, 57, 0.08);
    backdrop-filter: blur(12px);
}

.tide-mirror .logo-icon,
.legacy-public .logo-icon {
    background: linear-gradient(135deg, #315767 0%, #4f7684 100%);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.tide-mirror .logo-name,
.legacy-public .logo-name {
    color: #2e4e5b;
}

.tide-mirror .logo-tagline,
.legacy-public .logo-tagline {
    color: #73868d;
}

.tide-mirror .th-nav-links a,
.legacy-public .th-nav-links a {
    color: #355462;
}

.tide-mirror .th-nav-links a::after,
.legacy-public .th-nav-links a::after {
    background: #c38d7d;
}

.tide-mirror .th-home-nav-cta,
.legacy-public .th-home-nav-cta,
.tide-mirror .th-primary-btn,
.tide-mirror .btn.th-primary-btn,
.legacy-public .th-primary-btn,
.legacy-public .btn.th-primary-btn {
    background: linear-gradient(135deg, #3f6574 0%, #315666 100%);
    border-color: rgba(49, 86, 102, 0.92);
    box-shadow: 0 10px 22px rgba(31, 58, 68, 0.14);
}

.tide-mirror .th-home-nav-cta:hover,
.legacy-public .th-home-nav-cta:hover,
.tide-mirror .th-primary-btn:hover,
.legacy-public .th-primary-btn:hover {
    background: linear-gradient(135deg, #355867 0%, #274a58 100%);
    box-shadow: 0 14px 28px rgba(26, 49, 58, 0.16);
}

.tide-mirror .th-secondary-btn,
.legacy-public .th-secondary-btn,
.tide-mirror .th-ghost-btn,
.legacy-public .th-ghost-btn {
    border-width: 1px;
    box-shadow: inset 0 0 0 1px rgba(53,95,112,0.05);
}

.tide-mirror .th-page-hero,
.legacy-public .th-page-hero {
    position: relative;
    overflow: hidden;
}

.tide-mirror .th-page-hero::before,
.legacy-public .th-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 56, 66, 0.42), rgba(28, 56, 66, 0.58)),
        radial-gradient(circle at top right, rgba(255,255,255,0.08), transparent 24%);
    pointer-events: none;
}

.tide-mirror .th-page-hero > *,
.legacy-public .th-page-hero > * {
    position: relative;
    z-index: 1;
}

.tide-mirror .th-page-hero h1,
.legacy-public .th-page-hero h1,
.tide-mirror .th-faq-intro h1,
.legacy-public .th-faq-intro h1 {
    letter-spacing: -0.024em;
}

.tide-mirror .th-page-hero p,
.legacy-public .th-page-hero p {
    color: rgba(247, 242, 236, 0.95);
}

.tide-mirror .th-section-light,
.legacy-public .th-section-light {
    background:
        linear-gradient(180deg, rgba(251, 246, 241, 0.98) 0%, rgba(247, 241, 235, 0.96) 100%);
}

.tide-mirror .th-section-soft,
.legacy-public .th-section-soft {
    background:
        radial-gradient(circle at top right, rgba(202, 147, 133, 0.1), transparent 24%),
        linear-gradient(180deg, #f1e3db 0%, #efddd5 100%);
}

.tide-mirror .th-section-dark,
.legacy-public .th-section-dark {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 18%),
        linear-gradient(180deg, #416873 0%, #315560 100%);
}

.tide-mirror .th-provider-card,
.legacy-public .th-provider-card,
.tide-mirror .th-panel,
.legacy-public .th-panel,
.tide-mirror .th-support-panel,
.legacy-public .th-support-panel,
.tide-mirror .th-schedule-checklist-panel,
.legacy-public .th-schedule-checklist-panel,
.tide-mirror .th-contact-card,
.legacy-public .th-contact-card {
    background: linear-gradient(180deg, rgba(255, 252, 249, 0.96), rgba(248, 241, 236, 0.94));
    border: 1px solid rgba(35, 67, 79, 0.08);
    box-shadow: 0 20px 48px rgba(24, 47, 56, 0.1);
}

.tide-mirror .th-provider-card,
.legacy-public .th-provider-card {
    border-radius: 26px;
    overflow: hidden;
}

.tide-mirror .th-provider-image,
.legacy-public .th-provider-image,
.tide-mirror .th-image-card,
.legacy-public .th-image-card,
.tide-mirror .th-service-image,
.legacy-public .th-service-image {
    box-shadow: 0 20px 54px rgba(25, 49, 58, 0.12);
}

.tide-mirror .th-provider-body p,
.legacy-public .th-provider-body p,
.tide-mirror .th-about-preview p,
.legacy-public .th-about-preview p,
.tide-mirror .th-intro p,
.legacy-public .th-intro p {
    color: #4e6570;
}

.tide-mirror .th-accordion details,
.legacy-public .th-accordion details {
    background: rgba(255, 251, 248, 0.08);
    border-color: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}

.tide-mirror .th-accordion details[open],
.legacy-public .th-accordion details[open] {
    background: rgba(255, 251, 248, 0.14);
    border-color: rgba(255,255,255,0.18);
}

.tide-mirror .th-booking-table-wrap,
.legacy-public .th-booking-table-wrap {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(26, 50, 59, 0.12);
}

.tide-mirror .th-book-now-btn,
.legacy-public .th-book-now-btn {
    background: linear-gradient(135deg, #d29b8e 0%, #c28478 100%);
    border-color: #c28478;
    box-shadow: 0 10px 22px rgba(194, 132, 120, 0.22);
}

.tide-mirror .th-book-now-btn:hover,
.legacy-public .th-book-now-btn:hover {
    background: linear-gradient(135deg, #c28478 0%, #b5756a 100%);
}

.tide-mirror .th-footer,
.legacy-public .th-footer {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 18%),
        linear-gradient(180deg, #476f7b 0%, #3a5e69 100%);
}

.tide-mirror .th-footer-logo-icon,
.legacy-public .th-footer-logo-icon {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.14);
}

.tide-mirror .th-footer-rule,
.legacy-public .th-footer-rule {
    border-top-color: rgba(246, 237, 232, 0.34);
}

.tide-mirror .th-footer a,
.legacy-public .th-footer a {
    text-underline-offset: 4px;
}

@media (max-width: 980px) {
    .tide-mirror .th-nav,
    .legacy-public .th-nav {
        width: calc(100% - 22px);
        padding: 9px 12px;
    }

    .tide-mirror .th-page-hero,
    .legacy-public .th-page-hero {
        min-height: 340px;
        padding: 56px 0;
    }
}

@media (max-width: 768px) {
    .tide-mirror .mobile-nav,
    .legacy-public .mobile-nav {
        background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(245, 238, 231, 0.98));
    }

    .tide-mirror .mobile-nav .mobile-cta,
    .legacy-public .mobile-nav .mobile-cta {
        background: linear-gradient(135deg, #d19b8e 0%, #c38377 100%) !important;
        border: none;
    }

    .tide-mirror .th-section,
    .legacy-public .th-section {
        padding-top: 4.4rem;
        padding-bottom: 4.4rem;
    }
}

@media (max-width: 480px) {
    .tide-mirror .th-nav,
    .legacy-public .th-nav {
        width: calc(100% - 18px);
        padding: 8px 10px;
    }

    .tide-mirror .th-page-hero,
    .legacy-public .th-page-hero {
        min-height: 300px;
        padding: 48px 0 42px;
    }

    .tide-mirror .th-page-hero h1,
    .legacy-public .th-page-hero h1 {
        font-size: clamp(34px, 11vw, 52px);
    }

    .tide-mirror .th-page-hero p,
    .legacy-public .th-page-hero p,
    .tide-mirror .th-faq-item p,
    .legacy-public .th-faq-item p {
        font-size: 16px;
        line-height: 1.66;
    }

    .tide-mirror .th-provider-card,
    .legacy-public .th-provider-card,
    .tide-mirror .th-panel,
    .legacy-public .th-panel {
        border-radius: 22px;
    }
}

/* =======================================================
   ENTERPRISE DESIGN SYSTEM — RightHealth v3.0
   Psychiatric Care · Trust · Calm · Professional
   ======================================================= */

/* ── 1. FOUNDATION: Rendering & Smoothing ────────────── */
body.tide-mirror,
body.legacy-public {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── 2. SMART HEADER: Frosted glass + auto-hide ──────── */
.tide-mirror .th-header,
.legacy-public .th-header,
.tide-mirror .header,
.legacy-public .header {
    will-change: transform;
    transition:
        transform .4s cubic-bezier(.22,1,.36,1),
        background .35s ease,
        box-shadow .35s ease,
        backdrop-filter .35s ease;
}
.tide-mirror .th-header.header-hidden,
.legacy-public .th-header.header-hidden,
.tide-mirror .header.header-hidden,
.legacy-public .header.header-hidden {
    transform: translateY(-110%);
    pointer-events: none;
}
/* Frosted glass effect when scrolled */
.tide-mirror .th-header.scrolled,
.legacy-public .th-header.scrolled,
.tide-mirror .header.scrolled,
.legacy-public .header.scrolled {
    background: rgba(255,255,255,.82) !important;
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow:
        0 1px 0 rgba(10,49,66,.04),
        0 4px 16px rgba(10,49,66,.06),
        0 12px 40px rgba(10,49,66,.04);
}

/* ── 3. ANNOUNCEMENT BAR: Animated gradient ──────────── */
.tide-mirror .th-announcement,
.legacy-public .th-announcement {
    background: linear-gradient(92deg, #0a3142 0%, #1a5068 30%, #245d7a 50%, #1a5068 70%, #0a3142 100%);
    background-size: 300% 100%;
    animation: rh-announceBg 8s ease infinite;
    font-size: 14px;
    letter-spacing: .015em;
    padding: 11px 20px;
}
@keyframes rh-announceBg {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.tide-mirror .th-announcement a,
.legacy-public .th-announcement a {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(201,143,131,.6);
    transition: color .2s, text-decoration-color .2s;
}
.tide-mirror .th-announcement a:hover,
.legacy-public .th-announcement a:hover {
    color: #deb9af;
    text-decoration-color: #deb9af;
}

/* ── 4. LOGO & NAV: Entrance animations ──────────────── */
.tide-mirror .logo-container,
.legacy-public .logo-container {
    animation: rh-logoIn .7s cubic-bezier(.22,1,.36,1) .08s both;
}
@keyframes rh-logoIn {
    from { opacity: 0; transform: translateX(-16px) scale(.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
/* Logo icon: ambient glow */
.tide-mirror .logo-icon,
.legacy-public .logo-icon {
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.tide-mirror .logo-container:hover .logo-icon,
.legacy-public .logo-container:hover .logo-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 6px 24px rgba(201,143,131,.35), 0 0 0 4px rgba(201,143,131,.1);
}
/* Nav link stagger */
.tide-mirror .th-nav-links li,
.legacy-public .th-nav-links li,
.tide-mirror .nav-links li,
.legacy-public .nav-links li {
    animation: rh-navIn .5s cubic-bezier(.22,1,.36,1) both;
}
.tide-mirror .th-nav-links li:nth-child(1), .legacy-public .nav-links li:nth-child(1) { animation-delay: .12s; }
.tide-mirror .th-nav-links li:nth-child(2), .legacy-public .nav-links li:nth-child(2) { animation-delay: .18s; }
.tide-mirror .th-nav-links li:nth-child(3), .legacy-public .nav-links li:nth-child(3) { animation-delay: .24s; }
.tide-mirror .th-nav-links li:nth-child(4), .legacy-public .nav-links li:nth-child(4) { animation-delay: .30s; }
@keyframes rh-navIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Nav CTA button: warm pulse glow */
.tide-mirror .th-home-nav-cta,
.legacy-public .th-home-nav-cta {
    animation: rh-ctaPulse 3s ease-in-out 2s infinite;
}
@keyframes rh-ctaPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(201,143,131,.15); }
    50%      { box-shadow: 0 4px 24px rgba(201,143,131,.35), 0 0 0 6px rgba(201,143,131,.08); }
}

/* ── 5. FOCUS & SELECTION ────────────────────────────── */
.tide-mirror :focus-visible,
.legacy-public :focus-visible {
    outline: 3px solid rgba(201,143,131,.5);
    outline-offset: 3px;
    border-radius: 4px;
}
.tide-mirror .btn:focus-visible,
.legacy-public .btn:focus-visible {
    outline-offset: 5px;
    box-shadow: 0 0 0 5px rgba(201,143,131,.18);
}
.tide-mirror ::selection,
.legacy-public ::selection {
    background: rgba(201,143,131,.25);
    color: inherit;
}

/* ── 6. BUTTONS: Enterprise-grade interactions ───────── */
.tide-mirror .btn,
.legacy-public .btn {
    position: relative;
    overflow: hidden;
    transition:
        transform .3s cubic-bezier(.22,1,.36,1),
        box-shadow .4s ease,
        background .3s ease,
        filter .3s ease;
}
.tide-mirror .btn:hover,
.legacy-public .btn:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow:
        0 4px 12px rgba(10,49,66,.1),
        0 8px 28px rgba(10,49,66,.12),
        0 16px 48px rgba(10,49,66,.06);
    filter: brightness(1.05);
}
.tide-mirror .btn:active,
.legacy-public .btn:active {
    transform: translateY(1px) scale(.98);
    box-shadow: 0 2px 8px rgba(10,49,66,.1);
    transition-duration: .1s;
}
/* Light sweep on hover */
.tide-mirror .btn::after,
.legacy-public .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
    transition: left .6s ease;
    pointer-events: none;
}
.tide-mirror .btn:hover::after,
.legacy-public .btn:hover::after {
    left: 100%;
}

/* ── 7. PAGE HERO: Cinematic entrance ────────────────── */
.tide-mirror .th-page-hero,
.legacy-public .th-page-hero {
    position: relative;
    overflow: hidden;
}
/* Hero card float-up */
.tide-mirror .th-page-hero-card,
.legacy-public .th-page-hero-card {
    animation: rh-heroCard .9s cubic-bezier(.22,1,.36,1) .2s both;
}
@keyframes rh-heroCard {
    from { opacity: 0; transform: translateY(30px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* Legacy hero: cinematic gradient overlay + parallax-ready */
.legacy-public .hero-compact {
    position: relative;
}
.legacy-public .hero-compact::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,49,66,.15) 0%, transparent 30%),
        linear-gradient(0deg, rgba(10,49,66,.25) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 50%, rgba(201,143,131,.06) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}
.legacy-public .hero-content {
    position: relative;
    z-index: 2;
}
/* Hero text stagger for legacy pages */
.legacy-public .hero-content h1 {
    animation: rh-heroText .8s cubic-bezier(.22,1,.36,1) .15s both;
}
.legacy-public .hero-content .hero-subtitle {
    animation: rh-heroText .8s cubic-bezier(.22,1,.36,1) .3s both;
}
.legacy-public .hero-buttons {
    animation: rh-heroText .8s cubic-bezier(.22,1,.36,1) .45s both;
}
@keyframes rh-heroText {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── 8. PROVIDER SECTIONS (About page) ───────────────── */
.tide-mirror .th-ap-img {
    transition: transform .6s cubic-bezier(.22,1,.36,1), box-shadow .6s ease, border-radius .4s ease;
}
.tide-mirror .th-about-provider:hover .th-ap-img {
    transform: scale(1.025) translateY(-4px);
    box-shadow:
        0 8px 24px rgba(10,45,59,.12),
        0 24px 64px rgba(10,45,59,.16);
    border-radius: 26px;
}
/* Heading accent bar */
.tide-mirror .th-ap-body h2 {
    position: relative;
}
.tide-mirror .th-ap-body h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #c98f83, #deb9af);
    margin-top: 16px;
    border-radius: 3px;
    transition: width .5s cubic-bezier(.22,1,.36,1);
}
.tide-mirror .th-about-provider:hover .th-ap-body h2::after {
    width: 120px;
}
/* Provider paragraph reveal effect */
.tide-mirror .th-ap-body p {
    transition: color .3s ease;
}
.tide-mirror .th-about-provider:hover .th-ap-body p {
    color: #1a3d4d;
}

/* About approach section decorative line */
.tide-mirror .th-about-approach {
    position: relative;
}
.tide-mirror .th-about-approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c98f83, transparent);
}

/* ── 9. CARDS: Premium depth & interaction ───────────── */
/* Tide-mirror provider cards */
.tide-mirror .th-provider-card,
.legacy-public .th-provider-card {
    transition:
        transform .4s cubic-bezier(.22,1,.36,1),
        box-shadow .4s ease,
        border-color .3s ease;
}
.tide-mirror .th-provider-card:hover,
.legacy-public .th-provider-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 4px 8px rgba(10,49,66,.04),
        0 12px 32px rgba(10,49,66,.08),
        0 28px 64px rgba(10,49,66,.1);
    border-color: rgba(201,143,131,.3);
}

/* Legacy info cards */
.legacy-public .info-card {
    transition: all .45s cubic-bezier(.22,1,.36,1);
    position: relative;
}
.legacy-public .info-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 0 0 20px 20px;
    transform: scaleX(0);
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.legacy-public .info-card:hover {
    transform: translateY(-16px);
    box-shadow:
        0 12px 28px rgba(10,77,104,.1),
        0 24px 56px rgba(10,77,104,.12);
}
.legacy-public .info-card:hover::after {
    transform: scaleX(1);
}

/* Legacy service cards — image parallax zoom */
.legacy-public .service-card {
    overflow: hidden;
    transition: all .45s cubic-bezier(.22,1,.36,1);
}
.legacy-public .service-image {
    transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.legacy-public .service-card:hover {
    box-shadow:
        0 16px 40px rgba(10,77,104,.12),
        0 32px 72px rgba(10,77,104,.08);
}
.legacy-public .service-card:hover .service-image {
    transform: scale(1.08);
}
/* Service card content lift */
.legacy-public .service-content {
    transition: transform .4s ease;
}
.legacy-public .service-card:hover .service-content {
    transform: translateY(-4px);
}

/* Feature items — interactive hover */
.tide-mirror .th-feature-item {
    transition: all .3s cubic-bezier(.22,1,.36,1);
    position: relative;
}
.tide-mirror .th-feature-item:hover {
    transform: translateY(-4px);
    background: #f0ebe4;
    box-shadow: 0 8px 24px rgba(10,49,66,.06);
    border-color: rgba(201,143,131,.25);
}

/* ── 10. STEP NUMBERS (How It Works) ─────────────────── */
.legacy-public .step-number {
    position: relative;
}
.legacy-public .step-number::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(10,77,104,.12);
    animation: rh-stepRing 3.5s ease-in-out infinite;
}
@keyframes rh-stepRing {
    0%, 100% { transform: scale(1); opacity: .6; }
    50%      { transform: scale(1.15); opacity: 0; }
}
/* Step hover full */
.legacy-public .step {
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.legacy-public .step:hover {
    transform: translateY(-8px);
}
.legacy-public .step:hover .step-number {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 12px 32px rgba(10,77,104,.25);
}

/* ── 11. STATS: Gradient text + premium feel ─────────── */
.legacy-public .stat-number {
    background: linear-gradient(135deg, #ffffff 20%, rgba(201,143,131,.65) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.legacy-public .stat {
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.legacy-public .stat:hover {
    transform: translateY(-6px) scale(1.02);
}
/* Stats section: subtle animated orbs */
.legacy-public .stats {
    position: relative;
}
.legacy-public .stats::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,143,131,.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: rh-orbFloat 12s ease-in-out infinite;
    pointer-events: none;
}
@keyframes rh-orbFloat {
    0%, 100% { transform: translate(0,0); }
    33%      { transform: translate(40px, -20px); }
    66%      { transform: translate(-20px, 30px); }
}

/* ── 12. FAQ: Polished accordion interactions ────────── */
.tide-mirror .th-faq-item,
.legacy-public .th-faq-item {
    position: relative;
    transition: background .25s ease, transform .25s ease;
}
.tide-mirror .th-faq-item::before,
.legacy-public .th-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #c98f83, #deb9af);
    opacity: 0;
    transform: scaleY(.2);
    transition: opacity .3s ease, transform .3s ease;
}
.tide-mirror .th-faq-item[open]::before,
.legacy-public .th-faq-item[open]::before,
.tide-mirror .th-faq-item:hover::before,
.legacy-public .th-faq-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
}
/* Tide accordion details — smooth open */
.tide-mirror .th-accordion details {
    transition: background .2s ease;
}
.tide-mirror .th-accordion details[open] {
    background: rgba(201,143,131,.04);
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
}
/* Legacy FAQ items */
.legacy-public .faq-item {
    border-left: 3px solid transparent;
    transition: all .3s cubic-bezier(.22,1,.36,1);
    border-radius: 12px;
}
.legacy-public .faq-item:hover {
    border-left-color: #c98f83;
    transform: translateX(8px);
    box-shadow: -4px 6px 20px rgba(10,49,66,.05);
    background: rgba(246,242,237,.6);
}

/* ── 13. CONTACT: Form & card refinement ─────────────── */
/* Contact method cards (legacy) */
.legacy-public .contact-method {
    transition: all .35s cubic-bezier(.22,1,.36,1);
    position: relative;
}
.legacy-public .contact-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity .3s ease;
}
.legacy-public .contact-method:hover {
    transform: translateX(8px) translateY(-3px);
    box-shadow:
        0 8px 24px rgba(10,77,104,.08),
        0 16px 48px rgba(10,77,104,.06);
    border-color: rgba(201,143,131,.3);
}
.legacy-public .contact-method:hover::before {
    opacity: 1;
}
/* Tide-mirror contact info links */
.tide-mirror .th-contact-info a {
    transition: color .25s ease;
    position: relative;
}
.tide-mirror .th-contact-info a:hover {
    color: #c98f83 !important;
}
/* Form inputs — refined focus */
.tide-mirror .th-contact-form-wrap input:focus,
.tide-mirror .th-contact-form-wrap textarea:focus,
.legacy-public .th-contact-form-wrap input:focus,
.legacy-public .th-contact-form-wrap textarea:focus,
.legacy-public .form-group input:focus,
.legacy-public .form-group textarea:focus,
.legacy-public .form-group select:focus,
.tide-mirror .th-form-panel input:focus,
.tide-mirror .th-form-panel textarea:focus,
.tide-mirror .th-form-panel select:focus {
    border-color: rgba(201,143,131,.6);
    box-shadow:
        0 0 0 4px rgba(201,143,131,.1),
        0 4px 12px rgba(201,143,131,.06);
    transition: border-color .25s ease, box-shadow .25s ease;
}
/* Form inputs — transition on regular state */
.tide-mirror .th-contact-form-wrap input,
.tide-mirror .th-contact-form-wrap textarea,
.tide-mirror .th-form-panel input,
.tide-mirror .th-form-panel textarea,
.tide-mirror .th-form-panel select,
.legacy-public .form-group input,
.legacy-public .form-group textarea,
.legacy-public .form-group select {
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
/* Contact form card hover */
.legacy-public .contact-form {
    transition: transform .35s ease, box-shadow .35s ease;
}
.legacy-public .contact-form:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

/* ── 14. CTA BAND: Breathing animation ───────────────── */
.tide-mirror .th-contact-card,
.legacy-public .th-contact-card {
    animation: rh-breathe 5s ease-in-out infinite;
    transition: transform .35s ease, box-shadow .35s ease;
}
@keyframes rh-breathe {
    0%, 100% { transform: translateY(0); box-shadow: 0 8px 32px rgba(10,49,66,.08); }
    50%      { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(10,49,66,.12); }
}
.tide-mirror .th-contact-card:hover,
.legacy-public .th-contact-card:hover {
    animation-play-state: paused;
    transform: translateY(-12px) scale(1.01);
    box-shadow:
        0 16px 48px rgba(10,49,66,.12),
        0 32px 72px rgba(10,49,66,.06);
}
/* Legacy CTA section */
.legacy-public .section-cta {
    background: linear-gradient(135deg, #0a3142 0%, #173f4f 40%, #1a5068 80%, #0f3948 100%);
    position: relative;
    overflow: hidden;
}
.legacy-public .section-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,143,131,.1) 0%, transparent 70%);
    animation: rh-ctaOrb 10s ease-in-out infinite;
    pointer-events: none;
}
.legacy-public .section-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43,122,153,.08) 0%, transparent 70%);
    animation: rh-ctaOrb 10s ease-in-out 3s infinite reverse;
    pointer-events: none;
}
@keyframes rh-ctaOrb {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(30px, -20px) scale(1.15); }
}

/* ── 15. FOOTER: Premium treatment ───────────────────── */
.tide-mirror .th-footer,
.legacy-public .th-footer {
    position: relative;
}
.tide-mirror .th-footer::before,
.legacy-public .th-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(201,143,131,.35) 20%,
        rgba(201,143,131,.5) 50%,
        rgba(201,143,131,.35) 80%,
        transparent);
}
/* Footer link underline wipe */
.tide-mirror .th-footer-links a,
.legacy-public .th-footer-links a {
    position: relative;
    text-decoration: none !important;
    transition: color .25s ease;
}
.tide-mirror .th-footer-links a::after,
.legacy-public .th-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255,245,238,.7);
    transition: width .35s cubic-bezier(.22,1,.36,1);
}
.tide-mirror .th-footer-links a:hover::after,
.legacy-public .th-footer-links a:hover::after {
    width: 100%;
}
/* Footer social buttons — scale + glow */
.tide-mirror .th-footer-social a,
.legacy-public .th-footer-social a {
    transition:
        transform .3s cubic-bezier(.22,1,.36,1),
        box-shadow .3s ease,
        background .3s ease;
}
.tide-mirror .th-footer-social a:hover,
.legacy-public .th-footer-social a:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 6px 20px rgba(201,143,131,.25);
}
/* Footer brand area */
.tide-mirror .th-footer-logo:hover .th-footer-logo-icon,
.legacy-public .th-footer-logo:hover .th-footer-logo-icon {
    transform: scale(1.06) rotate(-3deg);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}

/* ── 16. SERVICES CAROUSEL ───────────────────────────── */
.tide-mirror .sv-card {
    transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .45s ease, box-shadow .35s ease;
}
.tide-mirror .sv-card:hover {
    box-shadow: 0 12px 36px rgba(10,49,66,.1);
}

/* ── 17. SCROLL-TO-TOP BUTTON ────────────────────────── */
.scroll-top {
    transition: opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1), background .3s ease, box-shadow .3s ease;
}
.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(233,74,73,.25);
}

/* ── 18. SECTION REVEAL (IntersectionObserver) ───────── */
.tide-mirror .th-section,
.legacy-public .th-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.tide-mirror .th-section.rh-visible,
.legacy-public .th-section.rh-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Legacy page sections */
.legacy-public .section,
.legacy-public .how-it-works,
.legacy-public .insurance,
.legacy-public .stats {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.legacy-public .section.rh-visible,
.legacy-public .how-it-works.rh-visible,
.legacy-public .insurance.rh-visible,
.legacy-public .stats.rh-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Section labels pop in */
.legacy-public .section.rh-visible .section-label {
    animation: rh-labelIn .5s cubic-bezier(.22,1,.36,1) .15s both;
}
@keyframes rh-labelIn {
    from { opacity: 0; transform: translateY(8px) scale(.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── 19. PRICING & INSURANCE CARDS ───────────────────── */
/* Legacy insurance cards */
.legacy-public .insurance-card {
    transition: all .35s cubic-bezier(.22,1,.36,1);
}
.legacy-public .insurance-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 36px rgba(10,77,104,.12);
    border-color: rgba(201,143,131,.4);
}

/* ── 20. CREDENTIALS & LISTS ─────────────────────────── */
.tide-mirror .credentials-list li,
.legacy-public .credentials-list li {
    transition: padding-left .3s ease, background .3s ease;
}
.tide-mirror .credentials-list li:hover,
.legacy-public .credentials-list li:hover {
    padding-left: 14px;
    background: rgba(201,143,131,.05);
}
/* Conversion strip items */
.legacy-public .conversion-item {
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.legacy-public .conversion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10,77,104,.08);
}

/* ── 21. SCHEDULING PAGE ENHANCEMENTS ────────────────── */
.tide-mirror .th-provider-card {
    transition: all .35s cubic-bezier(.22,1,.36,1);
}
.tide-mirror .th-provider-card.selected,
.tide-mirror .th-provider-card:hover {
    border-color: rgba(201,143,131,.4);
}
/* Calendar day cells */
.tide-mirror .th-cal-day {
    transition: all .2s ease;
}
.tide-mirror .th-cal-day:not(.th-cal-empty):hover {
    background: rgba(201,143,131,.08);
    border-radius: 8px;
}

/* ── 22. MOBILE MENU POLISH ──────────────────────────── */
.tide-mirror .mobile-nav.active,
.legacy-public .mobile-nav.active {
    box-shadow: 0 16px 48px rgba(10,49,66,.15);
}
.tide-mirror .mobile-nav a,
.legacy-public .mobile-nav a {
    transition: color .2s ease, padding-left .2s ease;
}
.tide-mirror .mobile-nav a:hover,
.legacy-public .mobile-nav a:hover {
    color: #c98f83;
    padding-left: 8px;
}

/* ── 23. SCROLL PROGRESS INDICATOR ───────────────────── */
.rh-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #c98f83, #1a5068);
    z-index: 10001;
    width: 0%;
    transition: width .1s linear;
    pointer-events: none;
}

/* ── 24. SMOOTH PAGE LOAD ────────────────────────────── */
body.tide-mirror,
body.legacy-public {
    animation: rh-pageIn .6s ease both;
}
@keyframes rh-pageIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── 25. ACCESSIBILITY: Reduced motion ───────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .rh-scroll-progress {
        display: none;
    }
    body.tide-mirror,
    body.legacy-public {
        animation: none;
    }
    .tide-mirror .th-section,
    .legacy-public .th-section,
    .legacy-public .section,
    .legacy-public .how-it-works,
    .legacy-public .insurance,
    .legacy-public .stats {
        opacity: 1;
        transform: none;
    }
}

/* ── 26. PRINT STYLES ────────────────────────────────── */
@media print {
    .th-header, .th-footer, .scroll-top, .mobile-nav, .skip-link,
    .th-announcement, .rh-scroll-progress {
        display: none !important;
    }
    body::after { display: none; }
    body { background: #fff !important; color: #000 !important; }
    .th-section, .section { opacity: 1 !important; transform: none !important; }
}
