:root {
    /* Colors */
    --clr-bg: #F7F3EE;
    --clr-dark: #0A2540;
    --clr-gold: #B8965A;
    --clr-muted: #475569;
    /* Darker Slate for better readability and contrast */
    --clr-overlay: rgba(10, 37, 64, 0.75);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --max-width: 1280px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Animations */
    --transition-base: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Z-index layers */
    --z-back: -2;
    --z-overlay: -1;
    --z-normal: 1;
    --z-sticky: 100;
    --z-floating: 500;
    --z-preloader: 9999;
}

/* Base Styles & Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none !important;
    /* Custom cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(184, 150, 90, 0.7); /* gold, slightly transparent */
    border-radius: 6px;
    border: 3px solid var(--clr-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-gold);
}

html {
    scrollbar-color: var(--clr-gold) var(--clr-bg);
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-dark);
    font-family: var(--font-body);
    font-weight: 400;
    /* Increased from 300 for better legibility */
    line-height: 1.7;
    /* Slightly condensed for better structural rhythm */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Improved text rendering */
    overflow-x: hidden;
}

.bg-light {
    background-color: #ffffff;
}

.bg-alt {
    background-color: #eee9e0;
}

/* Typography Constraints */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    /* No bold allowed */
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    /* 88-96px hero heading */
}

.section-title {
    font-size: clamp(40px, 5vw, 64px);
    margin-bottom: var(--spacing-lg);
    text-wrap: balance;
}

/* Subheadings / Labels */
.subtitle,
.feature-item span,
.footer-title,
.nav-link,
.btn,
.service-name {
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

p {
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    text-align: left;
    text-wrap: pretty;
}

.muted {
    color: var(--clr-muted);
}

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

a:hover {
    color: var(--clr-gold);
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--clr-gold);
    border-radius: 50%;
    /* Only allowed border radius for the cursor point */
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--clr-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

body.hovering .cursor-ring {
    width: 50px;
    height: 50px;
    opacity: 0.5;
}

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

.section {
    padding: var(--section-padding) 0;
}

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

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    /* Photo ratio constraint */
}

/* Specific to Doctor frame to allow overflow abstract shape */
.doctor-images-stacked.doctor-frame {
    overflow: visible;
    border: 1px solid var(--clr-gold);
    z-index: 5;
    background: transparent;
    padding: 1.5rem;
    border-radius: 16px;
}

.abstract-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--clr-dark);
    /* Navy abstract color */
    z-index: -1;
    animation: floatShape 8s ease-in-out infinite alternate;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15px, 15px) scale(1.02);
    }
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    z-index: 2;
    position: relative;
}

.image-wrapper:hover img {
    transform: scale(1.05);
    /* Slow zoom, 0.8s */
}

/* Keep full image visible in Advanced Technologies section. */
.tech-image-wrapper {
    aspect-ratio: auto;
    overflow: visible;
}

.tech-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
    border: 1px solid var(--clr-gold);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--clr-gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: 1;
    transform: skewX(-20deg);
    transition: none;
}

.btn:hover {
    color: var(--clr-dark);
    box-shadow: 0 10px 20px rgba(184, 150, 90, 0.2);
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn:hover::after {
    animation: luxuriousSweep 0.8s ease-out forwards;
}

@keyframes luxuriousSweep {
    100% {
        left: 200%;
    }
}

.btn-primary {
    background: var(--clr-dark);
    color: var(--clr-bg);
    border-color: var(--clr-dark);
}

.btn-primary::before {
    background: var(--clr-gold);
}

.btn-gold {
    background: var(--clr-gold);
    color: var(--clr-dark);
    border-color: var(--clr-gold);
}

.btn-gold::before {
    background: var(--clr-dark);
}

.btn-gold:hover {
    color: var(--clr-bg);
    border-color: var(--clr-dark);
}

.btn-secondary:hover::before {
    transform: scaleX(0);
    transform-origin: left;
}

.btn-nav-cta {
    padding: 0.6rem 1.5rem;
    background: var(--clr-gold);
    color: var(--clr-dark);
    border-color: var(--clr-gold);
    font-weight: 400;
    margin-left: 1rem;
}

.btn-nav-cta:hover {
    background: transparent;
    color: var(--clr-gold);
}

.btn-ghost {
    background: transparent;
    color: var(--clr-bg);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    border-color: var(--clr-gold);
    color: var(--clr-dark);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-bg);
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 0.8rem;
    color: var(--clr-gold);
}

.hero-rating {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars {
    color: #FFD700;
    font-size: 1.2rem;
}

.rating-text {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* Component: Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(10, 37, 64, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-bg);
}

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

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-left: 1rem;
}

.logo::before {
    content: '';
    position: absolute;
    inset: -10px -25px;
    background: var(--clr-bg);
    transform: skewX(-20deg);
    z-index: -1;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links .btn {
    border-color: currentColor;
    color: inherit;
    background: transparent;
}

/* Component: Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--clr-bg);
    padding-top: 180px;
    /* Increased to avoid header */
    padding-bottom: 60px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Intensified Gold overlay: 85% on left for text, 70% across the rest */
    background: linear-gradient(to right, rgba(184, 150, 90, 0.85) 0%, rgba(184, 150, 90, 0.7) 40%, rgba(184, 150, 90, 0.7) 100%);
    z-index: -1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--clr-bg);
    opacity: 0.8;
    z-index: 10;
    gap: 0.5rem;
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.mouse-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-cta-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.hero-text-content {
    max-width: 650px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-form-wrapper.glass-panel {
    background: var(--clr-dark);
    border: 1px solid var(--clr-gold);
    box-shadow: 0 15px 35px rgba(10, 37, 64, 0.4);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

.hero-form-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--clr-bg);
}

.hero-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-contact-form .form-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--clr-bg);
}

.hero-contact-form .form-input::placeholder {
    color: rgba(247, 243, 238, 0.6);
}

.hero-contact-form .form-input:focus {
    border-color: var(--clr-gold);
}

.btn-full {
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-form-wrapper {
        margin: 0 auto;
    }
}

/* Component: About */
.grid-about {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(4rem, 10vw, 8rem);
}

.about-content {
    padding-right: var(--spacing-lg);
}

/* Component: Dental Issues Section */
.issues-section {
    background-color: var(--clr-bg);
    overflow: hidden;
}

.grid-issues {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.issues-image {
    position: relative;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .grid-issues {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.feature-list {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.feature-line {
    flex-grow: 1;
    height: 1px;
    background: var(--clr-gold);
}

/* Component: Services List */
.services-section {
    background-color: var(--clr-dark);
    color: var(--clr-bg);
}

.service-row {
    display: block;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(247, 243, 238, 0.1);
    position: relative;
    overflow: hidden;
}

.service-row:first-child {
    border-top: 1px solid rgba(247, 243, 238, 0.1);
}

.service-content {
    display: grid;
    grid-template-columns: 80px 1fr minmax(280px, 2fr);
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 1.25rem;
}

.service-number {
    font-family: var(--font-heading);
    color: var(--clr-muted);
    font-size: 1.5rem;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

.service-desc {
    margin: 0;
    color: rgba(247, 243, 238, 0.9);
    justify-self: end;
    text-align: right;
    max-width: 400px;
    background: rgba(247, 243, 238, 0.08);
    border-left: 2px solid rgba(184, 150, 90, 0.5);
    padding: 0.85rem 1rem;
    border-radius: 6px;
}

.service-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: 1;
}

.service-row:hover .service-hover-line {
    transform: scaleX(1);
}

.service-row:hover .service-name,
.service-row:hover .service-number {
    color: var(--clr-gold);
}

/* Component: Doctor Section */
.doctor-images-stacked {
    position: relative;
    width: 100%;
    display: block;
    padding-bottom: 16%;
    padding-right: 14%;
    margin-left: -2rem;
}

.doctor-images-stacked::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(184, 150, 90, 0.55) 0%, rgba(184, 150, 90, 0) 70%);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    filter: blur(25px);
}

.doctor-images-stacked .main-img {
    width: 65%;
    position: relative;
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    left: -5%;
    top: -5%;
}

.doctor-images-stacked .family-img-wrapper {
    width: 45%;
    position: absolute;
    bottom: -10%;
    right: -10%;
    z-index: 3;
    border: 14px solid var(--clr-bg);
    border-radius: 16px;
    box-shadow: -15px -15px 45px rgba(184, 150, 90, 0.18), 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    aspect-ratio: 2 / 3;
}

.doctor-images-stacked .family-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.doctor-images-stacked .family-img-wrapper:hover img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .doctor-images-stacked {
        display: block;
        padding-bottom: 0;
        padding-right: 0;
        margin-bottom: 3rem;
        margin-left: 0;
    }

    .doctor-images-stacked::after {
        bottom: 30%;
        right: 50%;
        transform: translateX(50%);
        width: 200px;
        height: 200px;
    }

    .doctor-images-stacked .main-img {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        left: 0; /* Reset left positioning on mobile */
    }

    .doctor-images-stacked .family-img-wrapper {
        position: relative;
        width: 85%;
        max-width: 450px;
        margin: 2rem auto 0 auto;
        bottom: auto;
        right: auto;
        border-width: 8px;
    }
}

.grid-doctor {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(4rem, 8vw, 6rem);
}

.credentials-list {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.credential-item {
    padding: 0.5rem 1rem;
    border: 1px solid var(--clr-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-muted);
}

.mt-action {
    margin-top: var(--spacing-lg);
    color: var(--clr-dark);
    border-color: var(--clr-dark);
}

/* Component: Contact Form */
.grid-contact {
    grid-template-columns: 1fr 1fr;
    gap: clamp(4rem, 8vw, 6rem);
    align-items: start;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(4rem, 8vw, 6rem);
}

.contact-text p {
    color: var(--clr-muted);
    font-size: 1.1rem;
    margin-top: 2rem;
}

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

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

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 1px solid var(--clr-gold);
    color: var(--clr-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    border-radius: 0;
    transition: border-color var(--transition-base);
}

.form-input:focus {
    border-color: var(--clr-dark);
}

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

.contact-form .btn {
    align-self: flex-start;
    cursor: none !important;
}

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

/* Component: Footer */
.footer {
    position: relative;
    background: url('assets/officebuild.jpeg') center/cover no-repeat fixed;
    color: var(--clr-bg);
    padding: var(--section-padding) 0 3rem 0;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.92);
    /* Dark overlay, matching var(--clr-dark) */
    z-index: -1;
}

.grid-footer {
    grid-template-columns: 2fr 2fr 1fr;
    gap: 4rem;
    padding-bottom: var(--spacing-xl);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--clr-gold);
    margin-bottom: var(--spacing-md);
}

.footer-text {
    max-width: 300px;
    color: var(--clr-bg);
}

.footer-phone {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    display: block;
    margin-top: var(--spacing-md);
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

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

.hours-list li .muted {
    color: var(--clr-gold);
}

.social-links {
    display: flex;
    flex-direction: row;
    /* Changed to horizontal layout */
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.footer-divider {
    height: 1px;
    background-color: var(--clr-gold);
    margin-bottom: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--clr-muted);
}

.footer-legal a {
    margin-left: 2rem;
    color: var(--clr-muted);
}

.footer-legal a:hover {
    color: var(--clr-gold);
}

/* Animations & Staggering */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Component: Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--clr-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-preloader);
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.preloader-logo-wrapper {
    position: relative;
    z-index: 1;
}

.preloader-logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -15px -30px;
    background: var(--clr-bg);
    transform: skewX(-20deg);
    z-index: -1;
}

.preloader-logo {
    height: 60px;
    width: auto;
    display: block;
}

.loading-bar {
    width: 200px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.loading-bar-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #FFFFFF;
    animation: loadProgress 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: transparent;
    z-index: var(--z-floating);
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    background: var(--clr-gold);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Referral Top Banner */
.referral-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 180;
    background: var(--clr-gold);
    color: var(--clr-dark);
    border-bottom: 1px solid rgba(10, 37, 64, 0.18);
}

.referral-top-banner-inner {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.referral-top-banner p {
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 400;
}

.referral-top-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.referral-top-actions a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base), opacity var(--transition-base);
}

.referral-top-actions a:hover {
    color: var(--clr-dark);
    border-color: rgba(10, 37, 64, 0.7);
    opacity: 0.9;
}

body.with-referral-banner .navbar {
    top: 48px;
}

body.with-referral-banner .reading-progress-container {
    top: 48px;
}

/* Component: Floating CTA (Chat Bubble Style) */
.floating-emergency {
    position: fixed;
    bottom: 155px;
    /* Above the standard floating CTA */
    left: 0;
    display: flex;
    align-items: center;
    background: #e11d48;
    /* Red for emergency */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
    border-radius: 0 50px 50px 0;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    color: #fff;
    text-decoration: none;
    z-index: var(--z-floating);
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);

    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s, background var(--transition-base);
}

.floating-emergency.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-emergency.is-active:hover {
    background: #be123c;
    transform: translateX(5px);
}

.floating-emergency .cta-icon {
    background-color: #fff;
    color: #e11d48;
}

.floating-cta {
    position: fixed;
    bottom: 90px;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--clr-gold);
    border-left: none;
    border-radius: 0 50px 50px 0;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    color: var(--clr-bg);
    text-decoration: none;
    z-index: var(--z-floating);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s, background var(--transition-base);
}

.floating-cta.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-cta.is-active:hover {
    background: rgba(10, 37, 64, 1);
    transform: translateX(5px);
}

.cta-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    white-space: nowrap;
    margin-right: 1rem;
    font-weight: 400;
}

.cta-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background-color: var(--clr-gold);
    color: var(--clr-dark);
    border-radius: 50%;
}

.cta-icon svg {
    width: 24px;
    height: 24px;
}


/* Component: Location & Reviews */
.location-reviews-section {
    background-color: var(--clr-dark);
    color: var(--clr-bg);
}

.grid-location-reviews {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: stretch;
}

.map-wrapper {
    position: relative;
    border: 1px solid var(--clr-gold);
    padding: 1rem;
    height: 100%;
    min-height: 480px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
}

.map-wrapper::before,
.map-wrapper::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 10;
    pointer-events: none;
}

.map-wrapper::before {
    top: -10px;
    left: -10px;
    border-top: 2px solid var(--clr-gold);
    border-left: 2px solid var(--clr-gold);
}

.map-wrapper::after {
    bottom: -10px;
    right: -10px;
    border-bottom: 2px solid var(--clr-gold);
    border-right: 2px solid var(--clr-gold);
}

.google-map {
    width: 100%;
    flex-grow: 1;
    min-height: 250px;
    border: none;
    filter: invert(90%) hue-rotate(180deg) grayscale(80%) contrast(85%);
    transition: filter var(--transition-slow);
}

.google-map:hover {
    filter: none;
}

.business-details-overlay {
    margin-top: 1rem;
    background: rgba(10, 37, 64, 0.95);
    /* Increased opacity for readability */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(184, 150, 90, 0.3);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.business-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-icon {
    font-size: 1.25rem;
    line-height: 1.2;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-text strong {
    font-family: var(--font-heading);
    color: var(--clr-gold);
    font-weight: 400;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-text span,
.detail-text a {
    color: rgba(247, 243, 238, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
}

.detail-text a:hover {
    color: var(--clr-gold);
}

.map-btn {
    text-align: center;
    padding: 0.8rem;
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--clr-gold);
    border: 1px solid var(--clr-gold);
}

.btn-outline::before {
    background: var(--clr-gold);
}

.btn-outline:hover {
    color: var(--clr-dark);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(184, 150, 90, 0.15);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: rgba(184, 150, 90, 0.6);
    box-shadow: 0 20px 40px rgba(184, 150, 90, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.stars {
    color: var(--clr-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(247, 243, 238, 0.9);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-initial {
    width: 40px;
    height: 40px;
    background-color: var(--clr-gold);
    color: var(--clr-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--clr-gold);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Review Platform Links */
.platform-link:hover {
    background: var(--clr-gold);
    color: var(--clr-dark);
    transform: translateY(-2px);
}

.platform-arrow {
    transition: transform var(--transition-base);
}

.platform-link:hover .platform-arrow {
    transform: translateX(5px);
}

/* Referral Page Components */
.referral-subhead {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.referral-header-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.referral-service-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.referral-service-card {
    background: #fff;
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-top: 4px solid var(--clr-gold);
    padding: 1.5rem;
}

.referral-service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.referral-service-card p {
    margin-bottom: 0.8rem;
    color: var(--clr-muted);
}

.referral-service-card ul,
.referral-plain-list {
    margin: 0 0 1rem 1.1rem;
    color: var(--clr-muted);
}

.referral-service-card li,
.referral-plain-list li {
    margin-bottom: 0.35rem;
}

.referral-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.referral-mini-heading {
    margin: 1rem 0 0.65rem;
    font-size: 1.05rem;
    color: var(--clr-dark);
}

.referral-side-card {
    margin-top: 2rem;
    border: 1px solid rgba(10, 37, 64, 0.15);
    padding: 1.25rem;
}

.referral-side-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.qr-placeholder {
    width: min(220px, 100%);
    aspect-ratio: 1 / 1;
    border: 2px dashed rgba(184, 150, 90, 0.8);
    display: grid;
    place-items: center;
    margin: 1rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-muted);
    background: rgba(184, 150, 90, 0.08);
}

.referral-form-heading {
    color: var(--clr-gold);
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin: 0.5rem 0 0.8rem;
    border-bottom: 1px solid rgba(184, 150, 90, 0.3);
    padding-bottom: 0.5rem;
}

.referral-fieldset {
    border: 1px solid rgba(184, 150, 90, 0.35);
    padding: 1rem;
    margin: 0.5rem 0;
}

.referral-fieldset legend {
    color: var(--clr-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 0.5rem;
}

.referral-fieldset label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
}

.referral-fieldset input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: var(--clr-gold);
}

.referral-small-text {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .grid-about,
    .grid-doctor,
    .grid-location-reviews {
        grid-template-columns: 1fr;
    }

    .doctor-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

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

    .nav-links {
        display: none;
        /* Simplified for now */
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-desc {
        justify-self: start;
        text-align: left;
        max-width: 100%;
    }

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

    .referral-two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .referral-top-banner-inner {
        min-height: 58px;
        padding: 0.3rem 0;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 0.2rem;
    }

    .referral-top-actions {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    body.with-referral-banner .navbar {
        top: 58px;
    }

    body.with-referral-banner .reading-progress-container {
        top: 58px;
    }

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

    .map-wrapper {
        min-height: 300px;
        order: -1;
    }

    :root {
        --section-padding: 80px;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 140px;
        /* Ensure it starts below the header */
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: clamp(40px, 8vw, 48px);
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: clamp(32px, 8vw, 48px);
    }

    .btn {
        padding: 0.8rem 1.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-cta-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta-wrapper .link-arrow {
        justify-content: center;
        padding: 0.8rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: transparent;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-cta-wrapper .link-arrow:hover {
        border-color: var(--clr-gold);
        background-color: var(--clr-gold);
        color: var(--clr-dark);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .hero-form-wrapper {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .hero-form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .scroll-indicator {
        display: none;
        /* Hide on mobile to save space */
    }

    .floating-cta {
        bottom: 85px;
        left: 0;
        padding: 0.4rem 0.4rem 0.4rem 1rem;
        border-radius: 0 50px 50px 0;
    }

    .cta-text {
        font-size: 0.8rem;
        margin-right: 0.5rem;
    }

    .cta-icon {
        width: 36px;
        height: 36px;
    }

    .cta-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 36px;
    }
}

/* --- New Sections Styling --- */

/* Stats Section */
.stats-section {
    background: var(--clr-bg);
    padding: 60px 0;
    border-bottom: 1px solid rgba(10, 37, 64, 0.05);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(184, 150, 90, 0.4), transparent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--clr-gold);
    line-height: 1;
    text-shadow: 0 4px 15px rgba(184, 150, 90, 0.2);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-muted);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--clr-gold);
    opacity: 0.3;
}

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

    .stats-grid {
        justify-content: center;
    }
}

/* Convenience Grid (About Enhancement) */
.convenience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

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

.check-icon {
    color: var(--clr-gold);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
}

.convenience-item span:not(.check-icon) {
    font-size: 0.95rem;
    color: var(--clr-dark);
}

@media (max-width: 600px) {
    .convenience-grid {
        grid-template-columns: 1fr;
    }
}

/* Yes We Do Section */
.yes-we-do-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: url('assets/officebuild.jpeg') center/cover no-repeat fixed;
    z-index: 1;
}

.yes-we-do-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(247, 243, 238, 0.85);
    /* var(--clr-bg) with 85% opacity */
    z-index: -1;
}

.yes-grid-aesthetic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.yes-card-modern {
    background: #FFFEFC;
    border: none;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.yes-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.yes-card-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.1));
    transition: background 0.6s ease, backdrop-filter 0.6s ease;
}

.yes-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yes-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 150, 90, 0.2);
}

.yes-card-modern:hover .yes-card-bg {
    transform: scale(1.08);
}

.yes-card-modern:hover .yes-card-bg::after {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.yes-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    color: #FFFEFC;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.6s ease, color 0.6s ease, border-color 0.6s ease;
}

.yes-card-modern:hover .yes-card-icon {
    transform: scale(1.1);
    background: var(--clr-gold);
    color: #FFFEFC;
    border-color: var(--clr-gold);
}

.yes-card-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.yes-card-modern h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #FFFEFC;
    transition: color 0.6s ease;
}

.yes-card-modern:hover h3 {
    color: var(--clr-dark);
}

.call-link {
    font-family: var(--font-heading);
    color: var(--clr-gold);
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--clr-gold);
    padding-bottom: 2px;
    display: inline-block;
    transition: color 0.6s ease, border-color 0.6s ease;
}

.yes-card-modern:hover .call-link {
    color: var(--clr-dark);
    border-color: var(--clr-dark);
}

@media (max-width: 900px) {
    .yes-grid-aesthetic {
        grid-template-columns: 1fr;
    }
}

/* Care Philosophy */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.philosophy-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(10, 37, 64, 0.05);
}

.philosophy-item h3 {
    margin-bottom: 1.5rem;
    color: var(--clr-gold);
}

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

/* Discovery Section */
.bg-dark {
    background-color: var(--clr-dark);
}

.text-light {
    color: var(--clr-bg);
}

.grid-discovery {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-list li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    color: rgba(247, 243, 238, 0.8);
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 1px;
    background: var(--clr-gold);
}

@media (max-width: 900px) {
    .grid-discovery {
        grid-template-columns: 1fr;
    }
}

/* External Reviews */
.external-reviews {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 150, 90, 0.1);
}

.review-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.review-link-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(184, 150, 90, 0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-muted);
    transition: all var(--transition-base);
}

.review-link-btn:hover {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
    background: rgba(184, 150, 90, 0.05);
}

.mt-4 {
    margin-top: 2.5rem;
}

/* Team Page Styles */
.team-group {
    margin-bottom: 5rem;
}

.team-group-title {
    font-size: 2rem;
    color: var(--clr-dark);
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(184, 150, 90, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-member-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: #FFFEFC;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(184, 150, 90, 0.15);
}

.team-member-image {
    width: 100%;
    position: relative;
    z-index: 1;
}

.team-member-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-gold);
    border-radius: 12px;
    transform: translate(15px, 15px);
    z-index: -1;
    pointer-events: none;
}

.team-member-image img,
.team-member-placeholder {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-member-placeholder {
    background: linear-gradient(135deg, var(--clr-bg), #e8e3da);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gold);
}

.team-member-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.team-member-info h3 {
    font-size: 2rem;
    color: var(--clr-dark);
    margin-bottom: 0.5rem;
}

.team-member-role {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.team-member-bio {
    color: var(--clr-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.credentials-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.credentials-inline span {
    background: rgba(184, 150, 90, 0.1);
    color: var(--clr-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.hygienists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.staff-card {
    background: #FFFEFC;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(184, 150, 90, 0.1);
    transition: transform var(--transition-base);
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--clr-gold);
}

.staff-image,
.staff-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid #FFFEFC;
    box-shadow: 0 0 0 2px var(--clr-gold), 0 10px 20px rgba(0, 0, 0, 0.1);
    background: var(--clr-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gold);
    font-size: 1.6rem;
}

.monika-photo {
    object-position: center 28%;
}

.staff-name {
    font-size: 1.5rem;
    color: var(--clr-dark);
    margin-bottom: 0.5rem;
}

.staff-role {
    font-size: 0.9rem;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .team-member-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .team-member-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Clinic Gallery Section */
.gallery-section {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.gallery-header {
    margin-bottom: var(--spacing-lg);
}

.gallery-header .tour-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--clr-muted);
    text-align: center;
}

/* Global tour-subtitle alignment */
.tour-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: none;
    /* Custom cursor takes over */
    background-color: var(--clr-bg);
    border: 1px solid rgba(184, 150, 90, 0.15);
    /* Subtle gold border */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    display: block;
}

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

.before-after-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.case-card {
    border: 1px solid rgba(184, 150, 90, 0.35);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(247, 243, 238, 0.95));
    padding: 1rem;
    border-radius: 10px;
}

.case-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: var(--clr-dark);
}

.case-card p {
    margin: 0;
    color: var(--clr-muted);
    font-size: 0.92rem;
}

.smile-preview-grid,
.smile-gallery-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.smile-case-card {
    background: #fff;
    border: 1px solid rgba(184, 150, 90, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.06);
}

.smile-case-head {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(184, 150, 90, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.smile-case-head h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--clr-dark);
}

.smile-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    background: rgba(184, 150, 90, 0.15);
    color: var(--clr-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.smile-badge.cosmetic {
    background: rgba(10, 37, 64, 0.1);
    color: var(--clr-dark);
}

.smile-case-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.7rem;
}

.smile-shot {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.smile-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    transition: transform var(--transition-base);
    transform-origin: center;
}

.smile-shot.is-zoomed img {
    transform: scale(1.25);
}

.smile-shot-label {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: var(--clr-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
    .smile-shot:hover img {
        transform: scale(1.15);
    }
}

.smile-gallery-cta {
    margin-top: 2rem;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-item {
        border-radius: 8px;
    }
}

/* Virtual Tour Framed Section */
.virtual-tour-framed {
    background-color: var(--clr-dark);
    position: relative;
    overflow: hidden;
}

.tour-header {
    margin-bottom: 3rem;
}

.tour-header .section-title,
.tour-header .tour-subtitle {
    color: #FFFEFC;
}

.tour-header .tour-subtitle {
    margin: 0 auto;
    max-width: 700px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.tour-frame-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(184, 150, 90, 0.4), rgba(10, 37, 64, 0.8));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 5;
}

.tour-frame-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--clr-gold), transparent, var(--clr-gold));
    z-index: -1;
    border-radius: 18px;
    opacity: 0.5;
}

.tour-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.tour-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.2));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.tour-video-overlay:hover .tour-play-button-premium {
    transform: scale(1.1);
    background: var(--clr-gold);
}

.tour-video-overlay:hover .tour-play-button-premium svg {
    fill: var(--clr-dark);
}

.tour-play-button-premium {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(184, 150, 90, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(184, 150, 90, 0.7);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
}

.tour-play-button-premium svg {
    margin-left: 5px;
    fill: #FFFEFC;
    transition: fill 0.4s ease;
}

/* Radar pulse animation */
.play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--clr-gold);
    z-index: -1;
    animation: goldPulse 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes goldPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

.tour-cta-text {
    font-family: var(--font-heading);
    color: var(--clr-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Virtual Tour Close Button */
.tour-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(184, 150, 90, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #FFFEFC;
}

.tour-close-button:hover {
    background: var(--clr-gold);
    transform: scale(1.1);
}

.tour-close-button:hover svg {
    stroke: var(--clr-dark);
}

@media (max-width: 768px) {
    .tour-frame-wrapper {
        margin: 0 15px;
    }

    .tour-close-button {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }

    .tour-play-button-premium {
        width: 60px;
        height: 60px;
    }
}

/* Mobile Header and Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--clr-bg);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden intentionally */
        width: 100%;
        height: 100vh;
        background: rgba(10, 37, 64, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 100;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link {
        font-size: 1.5rem;
        margin: 0;
    }

    /* Transform hamburger to X */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    /* Shrink logos on mobile */
    .logo-img {
        height: 36px;
    }

    .preloader-logo {
        height: 44px;
    }

    .logo::before {
        inset: -5px -15px;
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--clr-gold);
    color: var(--clr-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: #FFFEFC;
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 85px;
        /* Adjust slightly on mobile */
        right: 1.5rem;
        width: 45px;
    }
}

/* GHL Chat Theme (best-effort selectors) */
#chat-widget-container button,
#chat-widget-container [role="button"],
#lc_chat_widget button,
#lc_chat_widget [role="button"],
.lc-chat-widget button,
.lc-chat-widget [role="button"] {
    background: var(--clr-dark) !important;
    border: 1px solid var(--clr-gold) !important;
    color: var(--clr-bg) !important;
}

#chat-widget-container button:hover,
#chat-widget-container [role="button"]:hover,
#lc_chat_widget button:hover,
#lc_chat_widget [role="button"]:hover,
.lc-chat-widget button:hover,
.lc-chat-widget [role="button"]:hover {
    background: var(--clr-gold) !important;
    color: var(--clr-dark) !important;
}

/* Footer Signature */
.footer-signature {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.practice-one-glow {
    color: var(--clr-gold);
    font-weight: 800;
    font-size: 1.1em;
    text-shadow: 0 0 8px rgba(184, 150, 90, 0.4);
    animation: goldGlow 2s infinite ease-in-out alternate;
}

@keyframes goldGlow {
    from {
        text-shadow: 0 0 5px rgba(184, 150, 90, 0.2),
            0 0 10px rgba(184, 150, 90, 0.1);
    }

    to {
        text-shadow: 0 0 10px rgba(184, 150, 90, 0.8),
            0 0 20px rgba(184, 150, 90, 0.6),
            0 0 30px rgba(184, 150, 90, 0.4);
    }
}

/* FAQ & Gallery Styles */
.faq-section {
    padding-bottom: 120px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--clr-dark);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--clr-muted);
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Pre-Footer Styles */
.emergency-section {
    background: #e11d48;
    /* High-contrast red for urgency */
    color: white;
    padding: 3rem 0;
}

.emergency-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.emergency-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.btn-emergency {
    background: white;
    color: #e11d48;
    border-color: white;
    font-weight: 600;
}

.btn-emergency:hover {
    background: var(--clr-dark);
    color: white;
    border-color: var(--clr-dark);
}

.final-cta-section {
    padding: 100px 0;
}

.btn-lg {
    padding: 1.25rem 3.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .emergency-grid {
        flex-direction: column;
        text-align: center;
    }

    .emergency-title {
        font-size: 2rem;
    }
}

/* --- PREMIUM SECTION ENHANCEMENTS --- */

/* 1. Compact Reviews */
.reviews-compact-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.reviews-compact-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.review-card-mini {
    position: relative;
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(184, 150, 90, 0.15);
    /* Subtle gold border */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    z-index: 1;
}

.review-card-mini:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0.1;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.review-card-mini:hover .quote-icon {
    opacity: 0.2;
}

.review-card-mini p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-dark);
    margin: 1rem 0 1.5rem;
    font-style: italic;
}

.review-author-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--clr-gold) 0%, #d4af37 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(184, 150, 90, 0.3);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    font-size: 1rem;
    color: var(--clr-dark);
}

.author-details span {
    font-size: 0.85rem;
    color: var(--clr-muted);
}

.reviews-cta-mini {
    flex: 1;
    min-width: 250px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

.reviews-cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--clr-dark);
    line-height: 1.2;
}

.reviews-cta-text {
    margin-bottom: 2rem;
    color: var(--clr-muted);
    font-size: 1.1rem;
}

/* 2. FAQ Accordion */
.faq-section {
    padding: 100px 0;
    position: relative;
}

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

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(184, 150, 90, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--clr-dark);
    cursor: pointer;
    list-style: none;
    /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

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

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--clr-gold);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg) scale(0);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    font-size: 1.05rem;
    color: var(--clr-muted);
    line-height: 1.6;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3. Emergency Gradient Banner */
.emergency-gradient-box {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    border-radius: 24px;
    padding: 3rem 4rem;
    box-shadow: 0 20px 40px rgba(225, 29, 72, 0.25);
    position: relative;
    overflow: hidden;
}

.emergency-gradient-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.emergency-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.emergency-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
}

.emergency-content p {
    font-size: 1.15rem;
    color: white;
    opacity: 0.9;
    max-width: 500px;
}

.btn-emergency {
    background: #ffffff;
    color: #e11d48;
    border: none;
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    display: inline-flex;
    background-color: transparent;
    border: 2px solid var(--clr-bg);
    color: var(--clr-bg);
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background-color: var(--clr-bg);
    color: #b91c1c;
    /* Match dark red */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-premium-glow {
    position: relative;
    background: linear-gradient(135deg, var(--clr-gold) 0%, #d4af37 100%);
    color: var(--clr-dark);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    padding: 1.2rem 3rem;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(184, 150, 90, 0.3), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-premium-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-premium-glow:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(184, 150, 90, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
    color: var(--clr-dark);
}

.btn-premium-glow:hover::before {
    left: 100%;
}

@media (max-width: 900px) {
    .emergency-grid {
        flex-direction: column;
        text-align: left;
    }

    .emergency-gradient-box {
        padding: 2.5rem 2rem;
    }

    .emergency-title {
        font-size: 2.2rem;
    }

    .reviews-compact-grid {
        flex-direction: column;
    }

    .reviews-cta-mini {
        padding: 0;
        align-items: center;
        text-align: center;
        margin-top: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }
}