/* ==========================================================================
   WELLNESS PAGE STYLES - EDITORIAL LUXURY
   ========================================================================== */

:root {
    --ret-bg: #EDE8DF;
    --ret-bg-alt: #FAF7F2;
    --ret-text: rgba(26, 18, 8, 0.75);
    --ret-accent: #C49A35;
    --ret-font-sans: 'Outfit', sans-serif;
    --ret-font-serif: 'Josefin Sans', serif;
}

.wellness-brand-page {
    background-color: var(--ret-bg);
    color: var(--ret-text);
    min-height: 100vh;
    font-family: var(--ret-font-sans);
    -webkit-font-smoothing: antialiased;
}

.ret-eyebrow {
    font-family: var(--ret-font-sans);
    font-size: 13.5px;
    font-weight: 800 !important;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ret-accent);
    display: block;
    margin-bottom: 20px;
}

/* Base resets & layout helpers */
.well-section {
    padding: 120px 0;
    background-color: var(--ret-bg); /* Sandstone default */
}

.well-section-alt {
    background-color: var(--ret-bg-alt); /* Cream alternate */
}

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

.well-container-narrow {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 24px;
}

.well-intro-paragraph {
    font-family: var(--ret-font-sans);
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    margin: 0 auto;
    max-width: 820px;
    text-align: center !important;
}

/* 1. Hero Banner Section */
.well-banner {
    width: 100%;
    height: 55vh;
    min-height: 380px;
    max-height: 520px;
    overflow: hidden;
    position: relative;
    background-color: #0c0a08;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.well-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.well-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    opacity: 1;
    display: block;
    transform: scale(1.02);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.well-banner:hover .well-banner-bg img {
    transform: scale(1.05);
}

.well-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.6) 0%, rgba(24, 18, 12, 0.8) 100%);
    z-index: 2;
}

.well-banner-content {
    position: relative;
    z-index: 3;
    width: min(900px, 90%);
    padding-top: 60px;
}

.well-banner-content h1 {
    font-family: var(--ret-font-serif);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    text-transform: none;
    letter-spacing: -0.01em;
}

/* 1.5 Hero Intro Section */
.well-hero-intro {
    padding: 100px 0 60px 0;
    background-color: var(--ret-bg);
    text-align: center;
}

.well-hero-intro h2 {
    font-family: var(--ret-font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--ret-accent);
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
}

.well-hero-intro-text {
    font-family: var(--ret-font-sans);
    font-size: clamp(16.5px, 2vw, 18px);
    line-height: 1.85;
    color: var(--ret-text);
    margin: 0 auto;
    text-align: center;
    max-width: 820px;
    opacity: 0.95;
}

/* 2. Our Approach to Wellbeing */
.well-approach-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: flex-start;
}

.well-section-title {
    font-family: var(--ret-font-serif);
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    margin: 0 0 20px 0;
}

.well-approach-text {
    font-family: var(--ret-font-sans);
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    margin-bottom: 24px;
}

.well-approach-text:last-child {
    margin-bottom: 0;
}

/* 3. Caring for Every Part of You (Experience Blocks) */
.well-experience-blocks {
    margin-top: 80px;
}

.well-exp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.well-exp-row:last-child {
    margin-bottom: 0;
}

/* Editorial Picture Frame styling */
.well-exp-image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
}

.well-exp-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.well-exp-row:hover .well-exp-image-wrapper img {
    transform: scale(1.03);
}

.well-exp-content-col h3 {
    font-family: var(--ret-font-serif);
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 500;
    color: var(--text);
    margin: 0 0 15px 0;
}

.well-exp-desc {
    font-family: var(--ret-font-sans);
    font-size: clamp(15px, 1.6vw, 16px);
    line-height: 1.8;
    color: #554d45;
    margin-bottom: 25px;
}

.well-exp-offers {
    border-top: 1px solid rgba(196, 154, 53, 0.15);
    padding-top: 20px;
}

.well-exp-offers h4 {
    font-family: var(--ret-font-sans);
    font-size: 13.5px;
    font-weight: 800 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 15px 0;
}

/* Premium Tag Pills Grid Layout */
.well-offers-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.well-offers-list li {
    font-family: var(--ret-font-sans);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    background-color: #ffffff;
    border: 1px solid rgba(196, 154, 53, 0.15);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 26px;
    box-shadow: 0 2px 8px rgba(24, 18, 12, 0.01);
}

.well-offers-list li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--ret-accent);
}

.well-offers-list li:hover {
    border-color: var(--ret-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 154, 53, 0.06);
}

/* Reverse grid row layout for desktop visual rhythm */
@media (min-width: 992px) {
    .well-exp-row-reverse .well-exp-image-col {
        order: 2;
    }
    
    .well-exp-row-reverse .well-exp-content-col {
        order: 1;
    }
}

/* 4. Spaces / Gallery Section (Premium Editorial Mosaic) */
.well-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.well-gallery-item {
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.well-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Editorial column layouts */
.well-gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 11; }
.well-gallery-item:nth-child(2) { grid-column: span 5; aspect-ratio: 4 / 5; }
.well-gallery-item:nth-child(3) { grid-column: span 4; aspect-ratio: 1 / 1; }
.well-gallery-item:nth-child(4) { grid-column: span 4; aspect-ratio: 1 / 1; }
.well-gallery-item:nth-child(5) { grid-column: span 4; aspect-ratio: 1 / 1; }
.well-gallery-item:nth-child(6) { grid-column: span 12; aspect-ratio: 21 / 9; }

/* 5. Final CTA Section (Alternated to Sandstone) */
.well-cta-section {
    background-color: var(--ret-bg); /* Sandstone */
    text-align: center;
}

.well-cta-desc {
    font-family: var(--ret-font-sans);
    font-size: clamp(15.5px, 1.8vw, 17px);
    line-height: 1.8;
    color: #554d45;
    margin: 0 auto 20px auto;
    max-width: 750px;
    text-align: center !important;
}

.well-cta-desc:last-of-type {
    margin-bottom: 35px;
}

.well-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.well-cta-section .secondary-btn {
    color: var(--ret-text) !important;
    border-color: rgba(60, 53, 46, 0.3) !important;
}

.well-cta-section .secondary-btn:hover {
    background: rgba(196, 154, 53, 0.06) !important;
    border-color: var(--ret-accent) !important;
    color: var(--ret-accent) !important;
}

/* 6. FAQ Accordion Styles */
.faqs-rows-container {
    display: flex;
    flex-direction: column;
}

.faqs-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    align-items: stretch;
}

.well-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.well-faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.well-faq-trigger span:first-child {
    font-family: var(--ret-font-serif);
    font-size: 21px;
    font-weight: 500;
    color: var(--text);
    padding-right: 20px;
    transition: color 0.3s ease;
}

.well-faq-trigger:hover span:first-child {
    color: var(--ret-accent);
}

.well-faq-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--ret-accent);
    transition: transform 0.3s ease;
}

.well-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.well-faq-content-inner {
    padding-bottom: 24px;
}

.well-faq-content-inner p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ret-text);
    margin: 0;
}

/* Accordion trigger active states */
.well-faq-item.active .well-faq-trigger span:first-child {
    color: var(--ret-accent);
}

.well-faq-item.active .well-faq-icon {
    transform: rotate(45deg);
}

/* 7. Cross Navigation Cards */
.well-cross-section {
    background-color: var(--ret-bg);
}

.well-cross-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.well-cross-card {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
    display: block;
    text-decoration: none;
}

.well-cross-card-image {
    width: 100%;
    height: 100%;
}

.well-cross-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.well-cross-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 7, 0.85) 0%, rgba(12, 10, 7, 0.25) 60%, rgba(12, 10, 7, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    z-index: 2;
}

.well-cross-card-overlay h3 {
    font-family: var(--ret-font-serif);
    font-size: 32px;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.well-card-link {
    font-family: var(--ret-font-sans);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ret-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

/* Cross card hover effects */
.well-cross-card:hover .well-cross-card-image img {
    transform: scale(1.03);
}

.well-cross-card:hover .well-card-link {
    gap: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet Viewport Overrides */
@media (max-width: 991px) {
    .well-section {
        padding: 90px 0;
    }

    .well-banner {
        height: 45vh;
        min-height: 320px;
    }

    .well-hero-intro {
        padding: 70px 0 45px 0;
    }

    .well-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .well-approach-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .well-exp-row {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 80px;
    }

    .well-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .well-gallery-item:nth-child(n) {
        grid-column: span 6;
        aspect-ratio: 4 / 3;
    }
    
    .well-gallery-item:nth-child(6) {
        grid-column: span 12;
        aspect-ratio: 16 / 9;
    }

    .well-cross-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faqs-row-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile Viewport Overrides */
@media (max-width: 767px) {
    .well-banner {
        height: 35vh;
        min-height: 250px;
    }

    .well-hero-intro {
        padding: 50px 0 35px 0;
    }

    .well-section {
        padding: 70px 0;
    }

    .well-exp-row {
        margin-bottom: 60px;
    }

    .well-offers-list {
        gap: 8px;
    }

    .well-offers-list li {
        width: 100%;
        padding-left: 26px;
    }

    .well-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .well-gallery-item:nth-child(n) {
        grid-column: span 12;
        aspect-ratio: 4 / 3;
    }

    .well-cross-card-overlay {
        padding: 24px;
    }

    .well-cross-card-overlay h3 {
        font-size: 26px;
    }

    .well-faq-trigger span:first-child {
        font-size: 18px;
    }
}

/* ==========================================================================
   GALLERY LIGHTBOX STYLES (MATCHING ABOUT PAGE MINIMALIST ACCENTS)
   ========================================================================== */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 40px;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none !important;
    border: none !important;
    color: white !important;
    cursor: pointer;
    z-index: 100005;
    transition: color 0.3s, transform 0.3s;
    outline: none;
    box-shadow: none !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--ret-accent) !important;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    color: #FAF5ED !important;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000005;
}

.lightbox-close:hover {
    background: rgba(197, 160, 89, 0.95) !important;
    border-color: rgba(197, 160, 89, 0.95) !important;
    color: #1a1208 !important;
    transform: scale(1.08) rotate(90deg);
}

.lightbox-prev {
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    width: auto;
    height: auto;
}

.lightbox-next {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    width: auto;
    height: auto;
}

/* Lightbox mobile adjustments */
@media (max-width: 767px) {
    .gallery-lightbox {
        padding: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 32px;
    }
    
    .lightbox-prev {
        left: 20px;
        font-size: 24px;
    }
    
    .lightbox-next {
        right: 20px;
        font-size: 24px;
    }
}

