
/* ============================================
   VEDA Ayurvedic Wellness - Main Stylesheet
   Palette: Terracotta #C17A5F, Sage Green #7A8B3E, 
            Dark Green #4A5D23, Cream #F5F0E8, Warm White #FAFAF5
   ============================================ */

:root {
    --terra: #C17A5F;
    --terra-light: #D49A85;
    --terra-dark: #A05F47;
    --sage: #7A8B3E;
    --sage-light: #9AAF5A;
    --sage-dark: #4A5D23;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
    --warm-white: #FAFAF5;
    --charcoal: #2C2C2C;
    --text-body: #4A4A4A;
    --text-light: #8A8A8A;
    --gold: #C4A35A;
    --shadow-soft: rgba(74, 93, 35, 0.08);
    --shadow-medium: rgba(74, 93, 35, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: var(--text-body);
    background: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* CLS fix: ensure images don't cause layout shift */
    content-visibility: auto;
}

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

.section-padding {
    padding: 5rem 0;
}

/* ============================================
   NAVIGATION - CENTERED LOGO WITH MENU BELOW
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cream-dark);
    transition: var(--transition);
    /* CLS fix: isolate navbar from document layout */
    contain: layout paint;
    /* Reserve minimum height so content below doesn't jump */
    min-height: 80px;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow-soft);
}

.nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 2rem 0.8rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /* CLS fix: reserve space for logo + menu */
    min-height: 200px;
}

/* Logo centered and enlarged */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    /* CLS fix: reserve exact height so logo loading doesn't shift layout */
    min-height: 140px;
}

.nav-logo img {
    height: 140px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: var(--transition);
}

/* Menu links centered below logo */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
    padding-bottom: 4px;
}

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

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

.nav-links a:hover {
    color: var(--sage-dark);
}

/* Right-side controls positioned absolutely */
.nav-controls {
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lang-switch {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-switch button {
    background: none;
    border: 1px solid var(--cream-dark);
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    transition: var(--transition);
    border-radius: 3px;
}

.lang-switch button.active {
    background: var(--sage);
    color: white;
    border-color: var(--sage);
}

.lang-switch button:hover:not(.active) {
    border-color: var(--sage);
    color: var(--sage);
}

.nav-whatsapp {
    font-size: 1.5rem;
    transition: var(--transition);
    line-height: 1;
}

.nav-whatsapp:hover {
    transform: scale(1.1);
}

.nav-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--sage);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--sage);
}

.nav-cta:hover {
    background: transparent;
    color: var(--sage);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 50%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
    /* CLS fix: use min-height instead of padding-top to reserve space */
    padding-top: 240px;
    /* Ensure hero content area is stable */
    contain: layout;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(122, 139, 62, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(193, 122, 95, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Prevent above-the-fold hero movement from contributing to CLS */
.hero-content {
    animation: none;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.hero-title span {
    font-style: italic;
    color: var(--sage-dark);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--sage);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--sage);
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: transparent;
    color: var(--sage);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    color: var(--charcoal);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--terra);
    color: var(--terra);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 20px;
    /* CLS fix: isolate this area from layout shifts */
    contain: layout paint;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--sage);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
    box-shadow: 0 30px 60px var(--shadow-medium);
    display: block;
}

.hero-location {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
}

.hero-location-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra);
    font-size: 1.2rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

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

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.section-title span {
    font-style: italic;
    color: var(--sage-dark);
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT AYURVEDA SECTION
   ============================================ */

.about-ayurveda {
    background: var(--cream);
}

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

.ayurveda-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
}

.ayurveda-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-soft);
    display: block;
}

.ayurveda-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--sage-dark);
}

.ayurveda-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

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

.dosha-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-soft);
    transition: var(--transition);
    /* CLS fix: contain hover transform */
    contain: layout paint;
}

.dosha-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.dosha-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.dosha-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.dosha-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   TREATMENTS SECTION
   ============================================ */

.treatments {
    background: var(--warm-white);
}

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

@media (max-width: 1200px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.treatment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    /* CLS fix: contain hover transform within card */
    contain: layout paint;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.treatment-card-image {
    height: 220px;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.treatment-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.treatment-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--charcoal);
}

.treatment-card-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.treatment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--cream-dark);
}

.treatment-duration {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--terra);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.treatment-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.treatment-card .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 1.2rem;
    padding: 0.8rem;
    font-size: 0.95rem;
}

/* ============================================
   PACKAGES & DETOX SECTION
   ============================================ */

.packages {
    background: var(--cream);
}

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

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile responsive navbar */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0.5rem 1rem 0.8rem;
    }

    .nav-logo img {
        height: 100px;
        max-width: 220px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-controls {
        position: static;
        margin-top: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: flex;
        position: absolute;
        top: 1rem;
        left: 1rem;
    }

    .hero {
        padding-top: 200px;
    }

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

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper img {
        height: 300px;
    }

    .treatments-grid,
    .packages-grid,
    .testimonials-grid,
    .dosha-cards,
    .footer-grid,
    .booking-container {
        grid-template-columns: 1fr;
    }

    .location-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-info {
        padding-right: 0;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   PHONE BREAKPOINT - Single Column Layouts
   ============================================ */

@media (max-width: 640px) {
    .treatments-grid,
    .packages-grid {
        grid-template-columns: 1fr !important;
    }

    .treatment-card {
        max-width: 100%;
    }
}


.package-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* CLS fix: contain hover effects */
    contain: layout paint;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.package-card.featured {
    border: 2px solid var(--sage);
}



.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cream-dark);
}

.package-header h3 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
}

.package-header .package-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--sage-dark);
}

.package-price span {
    font-size: 1rem;
    color: var(--text-light);
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.7rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--cream);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.package-features li::before {
    content: '✓';
    color: var(--sage);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   PRACTITIONER SECTION
   ============================================ */

.practitioner {
    background: var(--warm-white);
}

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

.practitioner-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 20px;
}

.practitioner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-soft);
    display: block;
}

.practitioner-image::before {
    content: '';
    position: absolute;
    top: 30px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--terra);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.practitioner-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.practitioner-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 1.5rem;
}

.practitioner-content p {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.practitioner-credentials {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 15px;
    border-left: 4px solid var(--sage);
}

.practitioner-credentials h4 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: var(--sage-dark);
}

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

.practitioner-credentials li {
    padding: 0.4rem 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.practitioner-credentials li::before {
    content: '◆';
    color: var(--terra);
    font-size: 0.7rem;
}

/* ============================================
   BOOKING SECTION
   ============================================ */

.booking {
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.booking .section-label {
    color: var(--sage-light);
}

.booking .section-title {
    color: white;
}

.booking .section-title span {
    color: var(--sage-light);
}

.booking .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.booking-info {
    padding-right: 2rem;
}

.booking-info h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.booking-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.15rem;
}

.booking-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.booking-contact-text {
    font-size: 1.05rem;
}

.booking-contact-text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
    color: var(--sage-light);
}

/* Booking Form */
.booking-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.booking-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--warm-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(122, 139, 62, 0.1);
}

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

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

.booking-form-wrapper .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

/* ============================================
   CALENDAR WIDGET
   ============================================ */

.calendar-widget {
    margin-top: 2rem;
    background: var(--warm-white);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid var(--cream-dark);
}

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

.calendar-header h4 {
    font-size: 1.1rem;
    color: var(--charcoal);
}

.calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.calendar-nav button {
    background: var(--cream);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--charcoal);
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: var(--sage);
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.3rem;
    text-align: center;
}

.calendar-day-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0.5rem 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.calendar-day:hover {
    background: var(--cream);
}

.calendar-day.available {
    background: var(--sage-light);
    color: white;
    font-weight: 600;
}

.calendar-day.available:hover {
    background: var(--sage);
}

.calendar-day.selected {
    background: var(--terra);
    color: white;
    font-weight: 600;
}

.calendar-day.disabled {
    color: var(--cream-dark);
    cursor: not-allowed;
}

.calendar-day.has-slot::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    background: var(--sage);
    border-radius: 50%;
}

.time-slots {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.time-slot {
    padding: 0.6rem;
    text-align: center;
    border: 2px solid var(--cream-dark);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.time-slot:hover {
    border-color: var(--sage);
    color: var(--sage);
}

.time-slot.selected {
    background: var(--sage);
    color: white;
    border-color: var(--sage);
}

.time-slot.booked {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location {
    background: var(--cream);
}

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

.location-map {
    background: var(--cream-dark);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.location-map-placeholder {
    text-align: center;
    color: var(--text-light);
}

.location-map-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.location-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.location-address {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.location-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.location-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-feature-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px var(--shadow-soft);
}

.location-feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.location-feature-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    background: var(--warm-white);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px var(--shadow-soft);
    position: relative;
    /* CLS fix: isolate card content */
    contain: layout paint;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: var(--sage-light);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    background: var(--cream);
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow-soft);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--warm-white);
}

.faq-question h4 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--sage);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--sage);
    color: white;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
    /* CLS fix: contain layout shifts within this element */
    contain: layout;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    /* CLS fix: contain hover transform */
    contain: layout paint;
}

.footer-social a:hover {
    background: var(--sage);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--sage-light);
}

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

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

.footer-column a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    /* CLS fix: reserve space during animation */
    contain: layout paint;
}

/* Prevent FOUC: if JS hasn't run, still show content */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        /* JS will add .visible class; until then, content is prepared but invisible */
        content-visibility: auto;
    }
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    content-visibility: visible;
}

/* ============================================
   RESPONSIVE
   ============================================ */


/* Navbar scrolled state - smaller logo */
.navbar.scrolled .nav-logo img {
    height: 80px;
    max-width: 180px;
}

/* CLS fix: keep logo container height consistent */
.navbar.scrolled .nav-logo {
    min-height: 80px;
}

.navbar.scrolled .nav-inner {
    padding: 0.3rem 2rem 0.5rem;
}

/* Smaller screens - 1024px */
@media (max-width: 1024px) {
    .hero-inner,
    .ayurveda-grid,
    .practitioner-grid,
    .location-grid,
    .booking-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

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

    .nav-logo img {
        height: 120px;
        max-width: 240px;
    }

    .hero {
        padding-top: 220px;
    }
}


/* Mobile responsive navbar */
@media (max-width: 768px) {
    .hero-image-wrapper {
        aspect-ratio: 3 / 4;
        max-width: 100%;
    }

    .practitioner-image {
        aspect-ratio: 3 / 4;
    }

    .ayurveda-image {
        aspect-ratio: 4 / 3;
    }

    .booking-container {
        grid-template-columns: 1fr;
    }

    .booking-info {
        padding-right: 0;
    }
}

/* Ensure the hero visual section centers properly */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/* ============================================
   LANGUAGE SWITCHING
   ============================================ */

[data-lang] {
    transition: opacity 0.3s ease;
}

.lang-hidden {
    display: none !important;
}

/* Language switching is handled via .lang-hidden class and JavaScript */
/* The body.lang-en/lang-it classes are set by JavaScript for potential future use */

/* Smooth language transition */
.language-transitioning [data-lang] {
    opacity: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    /* CLS fix: fixed element, isolated from layout */
    contain: layout paint;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--sage-dark);
    transform: translateY(-3px);
}

/* Image centering fix - handled per section above */

/* ============================================
   IMAGE FIXES - Responsive & Centering
   ============================================ */

/* Ensure all image containers hide overflow */
.hero-image-wrapper,
.practitioner-image,
.ayurveda-image {
    overflow: hidden;
}

/* Ensure images fill their containers properly */
.hero-image-wrapper img,
.practitioner-image img,
.ayurveda-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Mobile responsive fixes */


/* Ensure the hero visual section centers properly */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ============================================
   MOBILE TEXT SIZE FIX - Treatments & Packages
   ============================================ */

@media (max-width: 768px) {
    /* Treatment cards - increase text size for better readability on small screens */
    .treatment-card-content p {
        font-size: 1.15rem !important;
        line-height: 1.7;
    }

    .treatment-card-content h3 {
        font-size: 1.6rem !important;
    }

    /* Package cards - increase text size for better readability on small screens */
    .package-features li {
        font-size: 1.15rem !important;
        line-height: 1.6;
    }

    .package-card .package-header h3 {
        font-size: 1.8rem !important;
    }

    .package-card .package-subtitle {
        font-size: 1.1rem !important;
    }

    .package-price {
        font-size: 2.2rem !important;
    }

    /* Combined procedures section */
    .treatment-card .treatment-duration,
    .treatment-card .treatment-price {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 640px) {
    .treatment-card-content p {
        font-size: 1.15rem !important;
    }

    .package-features li {
        font-size: 1.15rem !important;
    }

    /* About section text */
    .ayurveda-content p {
        font-size: 1.15rem !important;
    }

    .practitioner-content p {
        font-size: 1.15rem !important;
    }

    /* Section descriptions */
    .section-desc {
        font-size: 1.15rem !important;
    }

    /* Dosha cards */
    .dosha-card p {
        font-size: 1.05rem !important;
    }

    .dosha-card h4 {
        font-size: 1.3rem !important;
    }

    /* Location features */
    .location-feature-text p {
        font-size: 1.05rem !important;
    }

    .location-feature-text h4 {
        font-size: 1.15rem !important;
    }

    /* Testimonials */
    .testimonial-text {
        font-size: 1.15rem !important;
    }

    /* FAQ */
    .faq-answer-inner {
        font-size: 1.15rem !important;
    }

    /* Booking */
    .booking-info p {
        font-size: 1.15rem !important;
    }

    .booking-contact-text {
        font-size: 1.05rem !important;
    }

    /* Form labels */
    .form-group label {
        font-size: 0.85rem !important;
    }

    /* Location address */
    .location-address {
        font-size: 1.15rem !important;
    }

    /* Practitioner credentials */
    .practitioner-credentials li {
        font-size: 1.05rem !important;
    }

    .practitioner-credentials h4 {
        font-size: 1.15rem !important;
    }
}


/* ============================================
   IMAGE CENTERING & VERTICAL ALIGNMENT FIXES
   ============================================ */

/* Center images within all content image containers */
.season-image,
.borgo-image,
.territory-image,
.featured-image,
.gallery-item,
.ayurveda-image,
.practitioner-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.season-image img,
.borgo-image img,
.territory-image img,
.featured-image img,
.gallery-item img {
    margin: 0 auto;
}

/* Ensure grid sections align items to the top (start) so text and images line up */
.season-grid,
.borgo-grid,
.territory-grid,
.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .season-grid,
    .borgo-grid,
    .territory-grid,
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Gallery grid centering */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

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

/* ============================================
   LOGO FIXES
   ============================================ */

/* Ensure logo container always has visible dimensions */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    min-width: 200px;
}

/* Style broken image alt text to be less disruptive */
.nav-logo img {
    height: 140px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: var(--transition);
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

/* Footer logo sizing */
.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

/* Navbar scrolled - smaller logo */
.navbar.scrolled .nav-logo img {
    height: 80px;
    max-width: 180px;
}

/* CLS fix: keep logo container height consistent */
.navbar.scrolled .nav-logo {
    min-height: 80px;
}

/* ============================================
   PAGE HERO FIXES
   ============================================ */

.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 50%, var(--cream) 100%);
    padding-top: 240px;
    padding-bottom: 4rem;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ============================================
   REVIEW SECTION COMPACT FIXES
   ============================================ */

.review-section-compact {
    background: var(--warm-white);
}

.review-stats-compact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .review-stats-compact {
        gap: 1.5rem;
    }
}

/* ============================================
   GROUP FORMATS TABLE FIXES
   ============================================ */

.format-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1rem;
}

.format-table th,
.format-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--cream-dark);
}

.format-table th {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sage-dark);
    background: var(--cream);
}

.format-table tbody tr:hover {
    background: var(--warm-white);
}

/* ============================================
   FORMAT CARD & AUDIENCE CARD FIXES
   ============================================ */

.format-card,
.audience-card,
.info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px var(--shadow-soft);
    transition: var(--transition);
}

.format-card:hover,
.audience-card:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

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

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

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

/* ============================================
   GROUP FORM FIXES
   ============================================ */

.group-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 25px var(--shadow-soft);
}

.form-confirmation {
    display: none;
    text-align: center;
    padding: 3rem;
}

/* ============================================
   CONTACT BAR FIXES
   ============================================ */

.contact-bar {
    background: var(--sage-dark);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

.contact-bar a {
    color: var(--sage-light);
    text-decoration: underline;
}

/* ============================================
   DIRECTIONS & ADDRESS BOX FIXES
   ============================================ */

.directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.direction-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px var(--shadow-soft);
}

.direction-from {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terra);
    margin-bottom: 0.5rem;
}

.address-box {
    background: var(--cream);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   EXPERIENCE CARDS FIXES
   ============================================ */

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

.experience-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px var(--shadow-soft);
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

@media (max-width: 768px) {
    .experience-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PLAN VISIT CTA FIXES
   ============================================ */

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

.plan-visit-content {
    max-width: 800px;
    margin: 0 auto;
}

.plan-visit .section-title {
    color: white;
}

.plan-visit .section-title span {
    color: var(--sage-light);
}

.plan-visit .section-label {
    color: var(--sage-light);
}

/* ============================================
   REVIEW BANNER FIXES
   ============================================ */

.review-banner {
    background: var(--cream);
    padding: 3rem 0;
    text-align: center;
}

.review-banner h3 {
    margin-bottom: 0.5rem;
}

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

/* ============================================
   PULL QUOTE FIXES
   ============================================ */

.pull-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--sage-dark);
    border-left: 4px solid var(--sage);
    padding-left: 1.5rem;
    margin: 2rem 0;
    line-height: 1.6;
}

/* ============================================
   RECOMMENDS BOX FIXES
   ============================================ */

.recommends-box {
    background: var(--cream);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid var(--terra);
}

.recommends-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--terra-dark);
}

/* ============================================
   TREATMENT LIST FIXES
   ============================================ */

.treatment-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.treatment-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 1.15rem;
    line-height: 1.6;
}

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

/* ============================================
   FEATURED LIST FIXES
   ============================================ */

.featured-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.featured-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

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

/* ============================================
   FEATURED META FIXES
   ============================================ */

.featured-meta {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.featured-meta-item {
    text-align: center;
}

.featured-meta-item strong {
    display: block;
    font-size: 1.8rem;
    color: white;
    font-family: 'Cormorant Garamond', serif;
}

.featured-meta-item span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   LEAD TIME BADGE FIXES
   ============================================ */

.lead-time {
    display: inline-block;
    background: var(--cream);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--terra-dark);
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/* ============================================
   SEASON HEADER FIXES
   ============================================ */

.season-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.season-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.season-title-group {
    flex: 1;
}

.season-months {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terra);
    margin-bottom: 0.5rem;
}

.season-dosha {
    display: inline-block;
    background: var(--sage);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* ============================================
   CALENDAR INTRO FIXES
   ============================================ */

.calendar-intro {
    background: var(--warm-white);
    text-align: center;
}

/* ============================================
   SEASON SECTION BACKGROUNDS
   ============================================ */

.season-section {
    position: relative;
}

.season-section.spring {
    background: var(--warm-white);
}

.season-section.summer {
    background: var(--cream);
}

.season-section.autumn {
    background: var(--warm-white);
}

.season-section.winter {
    background: var(--cream);
}


/* ============================================
   CLS & PERFORMANCE FIXES
   ============================================ */

/* Content visibility for below-the-fold sections
   (browser skips rendering until element is near viewport) */
.about-ayurveda,
.treatments,
.packages,
.practitioner,
.booking,
.testimonials,
.faq,
.footer {
    content-visibility: auto;
    /* Reserve approximate height so scrollbar doesn't jump */
    contain-intrinsic-size: auto 500px;
}

/* Ensure above-the-fold hero is rendered immediately */
.hero {
    content-visibility: visible;
}


/* ============================================
   ANCHOR NAVIGATION / LAYOUT STABILITY FIX
   ============================================ */

/*
   The sections below were using content-visibility:auto with an
   approximate intrinsic height. That can make the browser calculate
   #practitioner at an estimated position and then move the page when
   the real section is rendered. Keep these main sections in normal
   layout so anchor links have a stable destination.
*/
.about-ayurveda,
.treatments,
.packages,
.practitioner,
.booking,
.testimonials,
.faq,
.footer {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
}

/*
   Keep scroll-animated elements in the normal layout as well.
   Their opacity/transform animation still works.
*/
.animate-on-scroll {
    content-visibility: visible !important;
}

/*
   Leave the practitioner heading clear of the fixed navbar.
   Desktop uses the normal full navbar; mobile uses the compact navbar.
*/
#practitioner {
    scroll-margin-top: 170px;
}

@media (max-width: 768px) {
    #practitioner {
        scroll-margin-top: 95px;
    }
}

/*
   The mobile navigation must be allowed to extend outside the navbar.
   This also removes the paint-containment clipping that caused the
   earlier mobile menu problem.
*/
.navbar {
    contain: none !important;
    overflow: visible !important;
}


/* ============================================
   VEDA COOKIE CONSENT - SHARED
   Used by pages that do not carry their own inline banner styles.
   The banner is fixed so it cannot contribute to document CLS.
   ============================================ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 1.25rem 0;
    background: var(--warm-white, #FAFAF5);
    border-top: 1px solid rgba(139,157,131,.25);
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
    transform: translateY(100%);
    transition: transform .5s ease;
}
.cookie-banner.active { transform: translateY(0); }
.cookie-banner.is-hidden { display: none; }
.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.cookie-banner-content { flex: 1; font-size: .9rem; line-height: 1.6; }
.cookie-banner-content p { margin: 0; }
.cookie-banner-content a { color: var(--sage-dark, #6B9080); text-decoration: underline; font-weight: 500; }
.cookie-banner-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem; font-weight: 600;
    padding: .65rem 1.4rem; border-radius: 8px;
    cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.cookie-btn-primary { background: var(--sage-dark, #6B9080); color: #fff; border-color: var(--sage-dark, #6B9080); }
.cookie-btn-secondary { background: transparent; color: var(--charcoal, #2C2C2C); border-color: var(--sage, #8B9D83); }
@media (max-width: 768px) {
    .cookie-banner-inner { flex-direction: column; text-align: center; gap: 1.25rem; padding: 0 1.5rem; }
    .cookie-banner-actions { width: 100%; justify-content: center; }
    .cookie-btn { flex: 1; max-width: 160px; }
}
@media (max-width: 480px) {
    .cookie-banner-actions { flex-direction: column; width: 100%; }
    .cookie-btn { width: 100%; max-width: 100%; }
}
