/* Import Elegant Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Work+Sans:wght@300;400;500;600&display=swap');

/* Design Tokens / CSS Custom Properties */
:root {
    /* Colors */
    --color-primary-gold: hsl(29, 92%, 57%); /* #f68d2c */
    --color-primary-gold-hover: hsl(29, 92%, 47%);
    --color-primary-gold-light: hsl(29, 92%, 95%);
    --color-bg-cream: hsl(30, 27%, 97%); /* Warm, Soft Cream background */
    --color-bg-dark: hsl(210, 14%, 9%); /* Dark Luxury Accent / Footer */
    --color-bg-card: hsl(0, 0%, 100%);
    --color-text-dark: #3d302f; /* Warm dark espresso instead of slate-gray */
    --color-text-muted: #736762; /* Brand logo main taupe color */
    --color-text-heading: #736762; /* Brand logo main taupe color */
    --color-text-light: hsl(30, 20%, 96%);
    --color-border: hsla(38, 42%, 62%, 0.15);
    --color-border-strong: hsla(38, 42%, 62%, 0.3);

    /* Fonts */
    --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Work Sans', 'Helvetica', Arial, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 90px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Typography */
h1, h2, h3, h4, .brand-logo {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text-heading);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-dark);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #6d5447;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5a4338;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.btn-outline {
    background-color: transparent;
    color: #6d5447;
    border: 1px solid #6d5447;
}

.btn-outline:hover {
    background-color: #6d5447;
    color: #fff;
}

/* Header & Responsive Navbar */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(1rem, 1.8vw, 2.5rem);
}

.nav-item a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary-gold);
    transition: var(--transition-smooth);
}

.nav-item a:hover {
    color: var(--color-primary-gold);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hamburger & Checkbox Hack Styles */
.menu-checkbox {
    display: none; /* Hidden input controlling the menu state */
}

.menu-label {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 1001;
    flex-shrink: 0; /* Prevent the flexbox from crushing it to 0 width on mobile */
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-dark);
    position: absolute;
    left: 0;
    transition: var(--transition-smooth);
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { top: 18px; }

/* Prevent transition flashes during window resize */
.resize-animation-stopper,
.resize-animation-stopper * {
    transition: none !important;
    animation: none !important;
}

/* Responsive Mobile Rules */
@media (max-width: 991px) {
    :root {
        --header-height: 80px;
    }

    .menu-label {
        display: block; /* Show hamburger button on tablet/mobile */
    }

    .brand-logo {
        font-size: 1.5rem; /* Slightly smaller logo on mobile/tablet */
    }
}

@media (max-width: 480px) {
    .brand-logo {
        font-size: 1.3rem; /* Extra compact logo for small phone screens */
    }
    .brand-logo span {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
}

@media (max-width: 991px) {

    /* Lock body scroll when mobile menu is open to prevent background scrolling */
    body:has(#menu-toggle:checked) {
        overflow: hidden;
    }

    /* Transform Hamburgers into X when checked */
    .menu-checkbox:checked + .menu-label .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--color-primary-gold);
    }
    .menu-checkbox:checked + .menu-label .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .menu-checkbox:checked + .menu-label .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--color-primary-gold);
    }

    /* Slide-down / fade overlay for mobile links */
    .nav-menu {
        position: fixed;
        top: var(--header-height); /* Align strictly below the header bar */
        left: 0;
        width: 100vw;
        height: calc(100vh - var(--header-height)); /* Clip layout to the remaining viewport area */
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1.75rem;
        padding: 3rem 2rem 5rem 2rem; /* Clean padding inside the clipped viewport */
        overflow-y: auto; /* Allow scrolling inside the drawer */
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px); /* Clean, compact slide-down transition */
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    }

    /* Show Mobile Menu when Checkbox is Checked */
    .menu-checkbox:checked ~ .nav-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu .nav-item a {
        font-size: 1.5rem; /* Larger font size in mobile overlay */
        font-family: var(--font-heading);
    }

    .nav-menu .nav-item a::after {
        display: none !important; /* Remove desktop underline effects on mobile screen sizes */
    }

    .nav-actions {
        display: none; /* Hide primary header actions on mobile to avoid overcrowding */
    }

    /* Instead, include a CTA inside the mobile menu drawer or keep header compact */
}

/* General Layout Elements */
.section {
    padding: clamp(2rem, 3vw, 3.5rem) 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem clamp(2rem, 8vw, 6rem);
    background: linear-gradient(135deg, hsl(29, 50%, 93%) 0%, hsl(30, 27%, 95%) 50%, hsl(210, 14%, 93%) 100%);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-text-light);
}

.hero-logo {
    display: block;
    margin: 0 auto 1rem;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 33vh;
}

.hero-title {
    font-size: 43px;
    letter-spacing: 0.02em;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #fff;
    line-height: 1.4;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-section .btn-outline {
    color: #fff;
    border-color: #fff;
}

.hero-section .btn-outline:hover {
    background-color: #fff;
    color: #6d5447;
}

a.hero-reviews-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 3rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a.hero-reviews-widget:hover {
    opacity: 0.85;
}

a.hero-reviews-widget:hover .reviews-text span {
    text-decoration: underline;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.reviews-text {
    text-align: left;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.reviews-text .stars {
    color: #fbbc05;
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    letter-spacing: 1px;
}

.reviews-text span {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 5rem 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* Narrative / About Section */
.narrative-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.narrative-title {
    margin-bottom: 1.5rem;
}

.narrative-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-primary-gold);
    margin: 2rem auto;
}

.narrative-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-style: italic;
    color: var(--color-text-dark);
    line-height: 1.8;
}

/* About Marina Section */
.about-marina {
    background-color: var(--color-bg-cream);
}

.about-marina-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.about-marina-image {
    text-align: center;
}

.headshot-circle {
    width: 100%;
    max-width: 280px;
    border-radius: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.about-marina-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-primary-gold-hover);
    line-height: 1.6;
    border-left: 3px solid var(--color-primary-gold);
    padding-left: 1.5rem;
    margin: 0 0 1.5rem 0;
}

.about-signature {
    margin-top: 1.5rem;
    max-height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    .about-marina-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .headshot-circle {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Services Teaser Grid */
.wellness-section {
    background-color: #ffffff;
}

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

.aesthetics-section .service-card {
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-primary-gold);
    margin-bottom: 0.5rem;
    display: block;
}

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

.service-card {
    background-color: var(--color-bg-cream);
    border: 1px solid var(--color-border);
    padding: 3rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: var(--color-primary-gold);
    box-shadow: 0 12px 30px rgba(109, 84, 71, 0.04);
}

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

.service-card p {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card .card-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--color-primary-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card .card-link::after {
    content: '→';
    transition: var(--transition-smooth);
}

/* Card link hover style (removed translate animation) */
.service-card:hover .card-link::after {
    color: var(--color-primary-gold-hover);
}

.section-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Booking CTA Banner */
.booking-banner {
    text-align: center;
    background: linear-gradient(135deg, #443736 0%, #2c2322 100%);
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
}

.booking-banner h2 {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.booking-banner p {
    color: var(--color-text-light);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.booking-banner .btn-primary {
    background-color: #6d5447;
    color: #fff;
}

.booking-banner .btn-primary:hover {
    background-color: #5a4338;
    color: #fff;
}

/* Before/After Slider */
.before-after-section {
    background-color: #fff;
}

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

.ba-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-wrapper::before {
    content: '';
    display: block;
    padding-bottom: 62.5%;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    clip-path: inset(0 50% 0 0);
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    border-left: 2px solid #fff;
}

.ba-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    pointer-events: auto;
    cursor: col-resize;
}

.ba-handle span::before,
.ba-handle span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 7px;
    height: 2px;
    background: #6d5447;
}

.ba-handle span::before {
    left: 9px;
}

.ba-handle span::after {
    right: 9px;
}

.ba-labels {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.ba-labels span:last-child {
    color: var(--color-primary-gold);
}

/* Before & After Grid & Cards */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem 3rem;
    margin-top: 3.5rem;
}

.ba-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(115, 103, 98, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.ba-card:hover {
    border-color: var(--color-primary-gold);
    box-shadow: 0 12px 35px rgba(115, 103, 98, 0.07);
}

.ba-card-header {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ba-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin: 0;
}

.ba-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ba-tag {
    background-color: var(--color-bg-cream);
    color: var(--color-primary-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(173, 156, 145, 0.15);
}

@media (max-width: 991px) {
    .ba-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* Footer styling */
.site-footer {
    background-color: #443736;
    color: var(--color-text-light);
    padding: 3.5rem 2rem 2.5rem;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

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

.footer-logo-col img {
    max-width: 160px;
    height: auto;
}

.footer-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-business-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.03em;
}

.footer-info-col p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
}

.footer-info-col p:last-of-type {
    margin-bottom: 1.25rem;
}

.footer-info-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-info-col a:hover {
    color: var(--color-primary-gold);
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
    .footer-logo-col {
        justify-content: center;
    }
    .footer-info-col {
        align-items: center;
    }
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom a:hover {
    color: var(--color-primary-gold);
}

/* Page Header (shared across subpages) */
.page-header {
    text-align: center;
    padding: clamp(4rem, 6vw, 6rem) 2rem clamp(2rem, 4vw, 4rem);
    max-width: var(--container-width);
    margin: 0 auto;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
}

.page-header p:last-child {
    margin-bottom: 0;
}

/* Services Listing Page */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: var(--color-border);
    border: 1px solid var(--color-border);
}

.service-detail-card {
    background-color: #fff;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.service-detail-card:hover {
    background-color: var(--color-primary-gold-light);
}

.service-detail-card h2 {
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
}

.service-detail-card p {
    margin-bottom: 1.5rem;
    max-width: 700px;
}

/* Service Detail Pages */
.service-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.service-intro img {
    width: 100%;
    border: 1px solid var(--color-border);
}

.service-text p {
    margin-bottom: 1rem;
}

.service-content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.service-content ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--color-text-muted);
    font-weight: 400;
}

.service-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    background-color: var(--color-primary-gold);
}

.service-content p {
    margin-bottom: 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 1.5rem 0;
    border: 1px solid var(--color-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .service-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-content ul {
        grid-template-columns: 1fr;
    }
}

/* Premium Service Pages Redesign Styling */
.page-header {
    background: linear-gradient(to bottom, var(--color-bg-cream) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.quick-stats-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(115, 103, 98, 0.02);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--color-primary-gold);
    box-shadow: 0 8px 20px rgba(115, 103, 98, 0.05);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.service-intro img {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(115, 103, 98, 0.08);
    transition: var(--transition-smooth);
}

.service-intro img:hover {
    box-shadow: 0 20px 45px rgba(115, 103, 98, 0.12);
}

/* Feature Card Grids */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.75rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(115, 103, 98, 0.01);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card:hover {
    border-color: var(--color-primary-gold);
    box-shadow: 0 12px 25px rgba(115, 103, 98, 0.05);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Pillars Grid Layout */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pillar-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    border-color: var(--color-primary-gold);
    box-shadow: 0 10px 25px rgba(115, 103, 98, 0.04);
}

.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0;
    padding-right: 3rem; /* Prevent overlap with the absolute watermark */
}

.pillar-card h3 span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-gold);
    margin-top: 0.25rem;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.pillar-card p + p {
    margin-top: 1rem;
}

.pillar-watermark {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-primary-gold);
    opacity: 0.12;
    line-height: 1;
    user-select: none;
}

/* Badge Flex Grids */
.badge-flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2.5rem;
}

.badge-capsule {
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 6px rgba(115, 103, 98, 0.01);
}

.badge-capsule:hover {
    border-color: var(--color-primary-gold);
    background: var(--color-primary-gold-light);
    color: var(--color-primary-gold-hover);
    box-shadow: 0 4px 10px rgba(115, 103, 98, 0.04);
}

/* Native FAQ Accordion */
.faq-accordion {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-accordion details {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.faq-accordion details[open] {
    border-color: var(--color-primary-gold);
    box-shadow: 0 4px 15px rgba(115, 103, 98, 0.03);
}

.faq-accordion summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    user-select: none;
    outline: none;
}

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

.faq-accordion summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--color-primary-gold);
    transition: transform 0.3s ease;
}

.faq-accordion details[open] summary::after {
    content: '−';
}

.faq-accordion summary:hover {
    color: var(--color-primary-gold-hover);
    background-color: var(--color-primary-gold-light);
}

.faq-accordion .faq-content {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    border-top: 1px solid rgba(115, 103, 98, 0.08);
    padding-top: 1rem;
}

/* Booking CTA Component */
.booking-cta {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    max-width: var(--container-width);
    margin: 0 auto;
}

.booking-cta h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.booking-cta p {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.booking-cta .btn {
    margin-bottom: 2rem;
}

#ar-booking {
    margin-top: 2rem;
}

/* About Page */
.about-philosophy {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-philosophy h2 {
    margin-bottom: 1rem;
}

.about-philosophy p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-team {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.about-team h2 {
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.team-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.team-card:hover {
    border-color: var(--color-primary-gold);
}

.team-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
}

.team-role {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-card p {
    font-size: 0.95rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-gold);
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.contact-detail p {
    line-height: 1.7;
}

.contact-detail a {
    color: var(--color-text-muted);
}

.contact-detail a:hover {
    color: var(--color-primary-gold);
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

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

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

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border-strong);
    background-color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-gold);
    box-shadow: 0 0 0 2px var(--color-primary-gold-light);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
}

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

/* Elegant Standard Navigation Dropdowns */
.nav-item.dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    position: relative;
}

.dropdown-toggle-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.dropdown-toggle-btn {
    background: none;
    border: none;
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: inherit;
    transition: var(--transition-smooth);
}

.dropdown-toggle-btn .arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    display: inline-block;
    color: var(--color-text-muted);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(109, 84, 71, 0.08);
    list-style: none;
    min-width: 240px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    position: relative;
    display: block;
    padding: 0.6rem 1.5rem;
    font-size: 0.825rem;
    text-transform: none; /* Keep natural casing for dropdown options */
    letter-spacing: 0.03em;
    font-weight: 400;
    color: var(--color-text-dark);
    white-space: nowrap;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a::after {
    display: none !important; /* Hide bottom border line */
}

.dropdown-menu a:hover {
    color: #fff !important;
    background-color: #6d5447;
}

/* Desktop Hover Interaction */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%);
    }
    
    .nav-item.dropdown:hover .dropdown-toggle-btn .arrow {
        transform: rotate(180deg);
        color: var(--color-primary-gold);
    }
}

/* Responsive Tablet & Mobile Nested Dropdown Menu */
@media (max-width: 991px) {
    .nav-item.dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        position: relative;
        padding: 0.5rem 0;
    }

    .dropdown-toggle-link {
        font-size: 1.5rem; /* Match mobile overlay size */
        font-family: var(--font-heading);
        text-decoration: none;
        color: var(--color-text-dark);
        margin: 0;
    }

    .dropdown-toggle-btn {
        position: absolute;
        right: 1.5rem; /* Anchor to the right edge of the screen menu container */
        background-color: rgba(109, 84, 71, 0.06); /* Visual affordance bubble */
        border: none;
        border-radius: 50%;
        width: 48px; /* Safe WCAG target size */
        height: 48px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-muted);
    }

    .dropdown-toggle-btn .arrow {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(109, 84, 71, 0.03);
        padding: 0.5rem 0;
        min-width: 100%;
        text-align: center;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    /* Show when toggled via is-open class in JS */
    .nav-item.dropdown.is-open .dropdown-menu {
        display: block;
    }
    
    .nav-item.dropdown.is-open .dropdown-toggle-btn {
        background-color: rgba(246, 141, 44, 0.1); /* Highlight active button */
    }

    .nav-item.dropdown.is-open .dropdown-toggle-btn .arrow {
        transform: rotate(180deg);
        color: var(--color-primary-gold);
    }
    
    .dropdown-menu a {
        text-align: center;
        padding: 0.85rem 1.5rem; /* Large tap targets for sub-links */
        font-size: 1.15rem; /* Clear text sizing */
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-bg-cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 3rem auto 0;
}

.testimonial-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(109, 84, 71, 0.02);
}

.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.testimonial-author-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    color: var(--color-text-dark);
}

.testimonial-author-info span {
    font-size: 0.75rem;
    color: var(--color-primary-gold);
    font-weight: 500;
}

/* Team Headshots */
.team-member-image {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--color-border);
}

/* Badge Section */
.badges-section {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.badges-row img {
    height: 90px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.badges-row img:hover {
    opacity: 1;
}

/* Awards Section */
.awards-section {
    padding: 2.25rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.awards-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary-gold);
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.awards-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.awards-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.award-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.award-item:hover .award-logo img {
    filter: none;
    opacity: 1;
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .awards-section {
        padding: 1.75rem 1.5rem;
    }
    .awards-grid {
        gap: 2rem;
    }
    .award-logo {
        height: 65px;
    }
}

/* Semaglutide Results Grid */
.semaglutide-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.result-image-card {
    text-align: center;
}

.result-image-card img {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 4px;
}

/* Single Testimonial Block layout (e.g., Lifestyle Medicine page) */
.testimonial-block {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 2rem 0;
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.testimonial-block img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.testimonial-block blockquote {
    font-size: 1.15rem;
    margin: 0;
    border: none;
    padding: 0;
    text-align: left;
}

.testimonial-block blockquote span {
    font-size: 0.95rem;
    font-weight: 500;
    font-style: normal;
    color: var(--color-text-dark);
    display: block;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .testimonial-block {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    .testimonial-block blockquote {
        text-align: center;
    }
    .semaglutide-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Page Header Hero (for wellness-services and aesthetic-services) */
.page-header-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 5rem;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    clip-path: ellipse(150% 100% at 50% 0%);
    overflow: hidden;
}

.page-header-hero .hero-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 35, 34, 0.2) 0%, rgba(44, 35, 34, 0.8) 100%);
    z-index: 1;
}

.page-header-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-header-hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

.page-header-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.page-header-hero-content p:last-child {
    margin-bottom: 0;
}

.page-header-hero-content .section-tagline {
    color: var(--color-primary-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.75rem;
    display: block;
}

/* Background classes */
.aesthetics-hero {
    background-image: url('/images/aesthetics-bg.png');
}

.wellness-hero {
    background-image: url('/images/wellness-bg.jpg');
}

.about-hero {
    background-image: url('/images/about-bg.jpg');
    background-position: center top;
}

.contact-hero {
    background-image: url('/images/contact-bg.jpg');
}

.explore-hero {
    background-image: url('/images/treatments-header.jpg');
}

.memberships-hero {
    background-image: url('/images/memberships-bg.jpg');
}

/* Alternating Team Member Rows */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-member-row {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    text-align: left;
}

.team-member-row.row-reverse {
    flex-direction: row-reverse;
}

.team-member-media {
    flex-shrink: 0;
    width: 250px;
}

.team-member-media img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(109, 84, 71, 0.05);
}

.team-member-bio {
    flex-grow: 1;
}

.team-member-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary-gold-hover);
}

.team-member-bio p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .team-member-row, 
    .team-member-row.row-reverse {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .team-member-media {
        width: 200px;
    }
    
    .team-member-media img {
        width: 200px;
        height: 200px;
    }
}

/* Split Column Philosophy Layout (About Page) */
.about-philosophy-split {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    align-items: start;
    padding: clamp(4rem, 6vw, 6rem) 2rem;
}

.philosophy-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    text-align: left;
}

.philosophy-sidebar h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.philosophy-callout {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-primary-gold-hover);
    line-height: 1.6;
    margin-top: 1.5rem;
    border-left: 3px solid var(--color-primary-gold);
    padding-left: 1.5rem;
}

.philosophy-narrative {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.philosophy-narrative p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .about-philosophy-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }
    .philosophy-sidebar {
        position: static;
    }
    .philosophy-callout {
        font-size: 1.25rem;
    }
}

/* Sibling spacing fixes for sections directly following a page hero banner */
.page-header-hero + .section,
.page-header-hero + .about-philosophy-split {
    padding-top: 3.5rem;
}

.page-header + .service-content {
    padding-top: 2rem;
}

/* Service Detail Testimonial Quote */
.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.76;
    margin: 2.5rem 0;
    border-left: 3px solid var(--color-primary-gold);
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--color-primary-gold-hover);
    font-style: italic;
    text-align: left;
}

.testimonial-quote span {
    font-size: 0.95rem;
    font-weight: 500;
    font-style: normal;
    color: var(--color-text-dark);
    display: block;
    margin-top: 0.75rem;
}

/* Treatment Mapping Table Styling */
.treatment-mapping-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    margin: 2rem 0 3rem 0;
    font-size: 0.925rem;
    color: var(--color-text-dark);
}

.treatment-mapping-table th {
    background-color: #faf7f5;
    border-bottom: 2px solid var(--color-border);
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-align: left !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    width: 50%;
}

.treatment-mapping-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left !important;
    width: 50%;
}

.treatment-mapping-table tr:hover {
    background-color: rgba(109, 84, 71, 0.02);
}

.treatment-mapping-table a.treatment-link {
    color: var(--color-primary-gold-hover);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.treatment-mapping-table a.treatment-link:hover {
    color: var(--color-text-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .treatment-mapping-table th,
    .treatment-mapping-table td {
        padding: 0.85rem 1rem;
    }
}

/* Site Search Styles */
.search-trigger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-dark);
    padding: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.search-trigger:hover {
    color: var(--color-primary-gold);
    background-color: var(--color-primary-gold-light);
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(61, 48, 47, 0.85); /* dark espresso overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10vh 1.5rem 2rem;
}

.search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.search-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 75vh;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.search-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border-strong);
    background-color: #fff;
}

.search-input-icon {
    color: var(--color-text-muted);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.search-header input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--color-text-dark);
    background: transparent;
}

.search-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 0 0.25rem 0 0.75rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.search-close:hover {
    color: var(--color-primary-gold);
}

.search-body {
    overflow-y: auto;
    padding: 1.5rem;
    flex-grow: 1;
    background-color: #faf8f5; /* matches warm body bg */
}

.search-results-info {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.search-results-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.search-result-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.search-result-item:hover {
    border-color: var(--color-primary-gold);
    box-shadow: 0 4px 12px rgba(109, 84, 71, 0.04);
    transform: translateY(-1px);
}

.search-result-link {
    display: block;
    padding: 1rem 1.25rem;
    text-decoration: none;
}

.search-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
    gap: 1rem;
}

.search-result-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.search-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(246, 141, 44, 0.1);
    color: var(--color-primary-gold);
    flex-shrink: 0;
}

.search-badge.page-badge {
    background-color: rgba(109, 84, 71, 0.1);
    color: #6d5447;
}

.search-result-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.search-result-url {
    font-size: 0.75rem;
    color: var(--color-primary-gold);
    font-weight: 500;
}

/* Mobile Search Trigger Adjustments */
@media (max-width: 991px) {
    .nav-actions {
        display: flex !important;
        align-items: center;
        order: 2;
        margin-left: auto;
        margin-right: 1rem;
        gap: 0.5rem;
    }
    
    .nav-actions .btn {
        display: inline-flex !important;
        padding: 0.45rem 0.8rem;
        font-size: 0.725rem;
        border-radius: 4px;
        white-space: nowrap;
        letter-spacing: 0.05em;
    }
    
    .brand-logo {
        order: 1;
    }
    
    .menu-label {
        order: 3;
    }
    
    .search-trigger {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        margin-right: 0.75rem;
        gap: 0.35rem;
    }
    
    .nav-actions .btn {
        padding: 0.4rem 0.65rem;
        font-size: 0.675rem;
    }
}

/* Membership CTA and Terms/Policies Visual Separation */
.membership-cta {
    text-align: center;
    background-color: var(--color-bg-cream);
    border: 1px solid var(--color-border);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 4.5rem auto 4rem;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(115, 103, 98, 0.02);
}

.membership-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.membership-cta .btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.terms-policies-section {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(115, 103, 98, 0.15);
}

.terms-policies-section h2 {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.terms-policies-section p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}






