/**
 * Figure First - Signature Luxury Aesthetic Components
 */

/* ==========================================================================
   01. Hero Section (Balanced 2-Column Split Composition)
   ========================================================================== */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(5.75rem, 7vw, 7.25rem) 0 clamp(2.5rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, #FBFBFB 0%, #FFFFFF 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--color-border-subtle);
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    background: var(--color-brand-emerald-glow);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-emerald);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 3.6vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1.25rem;
}

.hero-headline span.gold-highlight {
    display: block;
    color: var(--color-accent-gold);
    font-style: italic;
    font-weight: 400;
}

.hero-support-text {
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

/* Trust Proof Counter Ribbon */
.hero-trust-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.trust-metric-item {
    display: flex;
    flex-direction: column;
}

.trust-metric-val {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-brand-emerald);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.trust-metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.35;
}

/* Hero Right Column: Visual Frame with Glass Badges */
.hero-right {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.hero-visual-frame {
    position: relative;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 45px rgba(13, 59, 46, 0.12);
}

.hero-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 4.4;
    border: 4px solid #FFFFFF;
    background: var(--color-bg-porcelain);
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform var(--transition-slow);
}

.hero-visual-frame:hover .hero-portrait-img {
    transform: scale(1.03);
}

/* Floating Glass Cards */
.floating-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 36px rgba(13, 59, 46, 0.16);
    border: 1px solid var(--color-border);
    z-index: 5;
    animation: floatingBob 4s ease-in-out infinite alternate;
}

.floating-glass-card.top-right {
    top: 1rem;
    right: -1rem;
}

.floating-glass-card.bottom-left {
    bottom: 1rem;
    left: -1rem;
    animation-delay: 2s;
}

.glass-badge-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glass-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-brand-emerald-glow);
    color: var(--color-brand-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.glass-badge-text strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    line-height: 1.2;
}

.glass-badge-text span {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

@keyframes floatingBob {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* ==========================================================================
   02. Brand Story / Philosophy Section
   ========================================================================== */
.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2.5rem, 5vw, 5.5rem);
    align-items: center;
}

.story-media {
    position: relative;
}

.story-img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 4 / 5;
    border: 2px solid #FFFFFF;
}

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

.story-img-frame:hover .story-img {
    transform: scale(1.04);
}

.story-badge-card {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: #FFFFFF;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(13, 59, 46, 0.14);
    border: 1px solid var(--color-border);
    max-width: 230px;
    text-align: center;
}

.story-badge-year {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-brand-emerald);
    display: block;
}

.story-badge-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-top: 0.35rem;
    display: block;
}

/* 4 Elevated Feature Cards with Gold Top Border */
.story-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.25rem 0 2.5rem;
}

.story-card {
    background: #FFFFFF;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    border-top: 3px solid var(--color-accent-gold);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-smooth);
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-border);
    border-top-color: var(--color-brand-emerald);
}

.story-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-brand-emerald-glow);
    color: var(--color-brand-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.story-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--color-text-primary);
}

.story-card p {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   03. Services Showcase (Luxury Editorial Cards Grid)
   ========================================================================== */
.services-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.25rem;
}

.service-luxury-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    position: relative;
}

.service-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-border);
}

.service-card-media {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-porcelain);
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-luxury-card:hover .service-card-img {
    transform: scale(1.06);
}

.service-badge-pill {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
}

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

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.65rem;
}

.service-card-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-benefits-list {
    margin-bottom: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.benefit-check {
    color: var(--color-accent-gold);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

.service-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border-subtle);
    margin-top: auto;
}

.service-view-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
}

.service-view-link:hover {
    color: var(--color-accent-gold);
    gap: 0.6rem;
}

/* ==========================================================================
   04. Scroll Journey (Deep Emerald Silk Sanctuary)
   ========================================================================== */
.scroll-journey-section {
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-dark-emerald) 0%, var(--color-bg-emerald-deep) 100%);
    color: #FFFFFF;
    padding: clamp(5rem, 8vw, 8.5rem) 0;
}

.journey-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: flex-start;
}

.journey-sticky-panel {
    position: sticky;
    top: 7.5rem;
}

.journey-tag {
    color: var(--color-accent-gold-light);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.journey-title {
    color: #FFFFFF;
    font-size: var(--text-h1);
    margin-bottom: 1.5rem;
}

.journey-desc {
    color: #94A3B8;
    font-size: var(--text-body-lg);
    line-height: 1.75;
    margin-bottom: 2.25rem;
}

.journey-steps-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.journey-step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 2.75rem);
    transition: all var(--transition-smooth);
}

.journey-step-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.step-heading {
    font-family: var(--font-display);
    font-size: var(--text-h3);
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.step-text {
    font-size: var(--text-body);
    color: #CBD5E1;
    line-height: 1.7;
}

/* ==========================================================================
   05. Before / After Comparison Slider
   ========================================================================== */
.before-after-section {
    position: relative;
    background: #FFFFFF;
}

.ba-slider-container {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 16 / 10;
    background: #000;
    user-select: none;
    touch-action: pan-y;
    border: 2px solid var(--color-border);
}

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

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-after-wrapper {
    z-index: 1;
}

.ba-before-wrapper {
    z-index: 2;
    width: 50%;
}

.ba-label {
    position: absolute;
    top: 1.5rem;
    padding: 0.45rem 1.1rem;
    background: rgba(13, 59, 46, 0.85);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    z-index: 5;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-label-before { left: 1.5rem; }
.ba-label-after { right: 1.5rem; }

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(180deg, var(--color-accent-gold-light) 0%, var(--color-accent-gold) 100%);
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.6);
}

.ba-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 2px solid var(--color-accent-gold);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-emerald);
}

.ba-controls-info {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1.25rem;
}

/* Transformation Milestone Cards */
.transformation-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.transformation-stat-card {
    background: #FFFFFF;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    border-top: 3px solid var(--color-brand-emerald);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-smooth);
}

.transformation-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-border);
}

.stat-client-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
    display: block;
}

.stat-program {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: block;
}

.stat-highlight {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-brand-emerald);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-quote {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.65;
    font-style: italic;
}

/* ==========================================================================
   06. Horizontal Treatment Experience
   ========================================================================== */
.treatment-horizontal-section {
    position: relative;
    background-color: var(--color-bg-porcelain);
    overflow: hidden;
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.horizontal-scroll-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1.5rem 0 3.5rem;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-track {
    display: flex;
    gap: 2rem;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: max-content;
}

.treatment-panel-card {
    scroll-snap-align: start;
    width: clamp(320px, 30vw, 420px);
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-border-subtle);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.treatment-panel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-border);
}

.panel-img-wrap {
    height: 230px;
    position: relative;
    overflow: hidden;
}

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

.treatment-panel-card:hover .panel-img {
    transform: scale(1.06);
}

.panel-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
}

.panel-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.panel-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.panel-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    margin-top: auto;
}

.panel-link:hover {
    color: var(--color-accent-gold);
    gap: 0.75rem;
}

/* ==========================================================================
   07. Team Editorial Section
   ========================================================================== */
.team-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: clamp(2.5rem, 5vw, 4rem);
}

.team-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-smooth);
}

.team-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
    border-color: var(--color-border);
}

.team-portrait-wrap {
    height: 380px;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-porcelain);
}

.team-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-portrait {
    transform: scale(1.04);
}

.team-info {
    padding: 2.25rem 2rem;
}

.team-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}

.team-role {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brand-emerald);
    display: block;
    margin-bottom: 1.2rem;
}

.team-bio-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-tag {
    font-size: var(--text-xs);
    padding: 0.35rem 0.85rem;
    background: var(--color-bg-porcelain);
    color: var(--color-text-secondary);
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-subtle);
}

/* ==========================================================================
   08. Testimonials Carousel
   ========================================================================== */
.testimonials-section {
    position: relative;
    background: var(--color-bg-porcelain);
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-slide-track {
    position: relative;
    min-height: 320px;
}

.testimonial-card-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.75rem);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
}

.testimonial-card-item.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.testimonial-author-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-subtle);
}

.author-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.author-info span {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.author-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-brand-emerald-glow);
    color: var(--color-brand-emerald);
    border: 1px solid var(--color-border-emerald);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 700;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.carousel-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-arrow-btn:hover {
    background: var(--color-brand-emerald);
    color: #FFFFFF;
    border-color: var(--color-brand-emerald);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot-btn.active {
    width: 28px;
    border-radius: var(--radius-pill);
    background: var(--color-brand-emerald);
}

/* ==========================================================================
   09. Masonry Gallery & Lightbox
   ========================================================================== */
.gallery-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.gallery-filter-btn {
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-subtle);
    background: #FFFFFF;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: var(--color-brand-emerald);
    color: #FFFFFF;
    border-color: var(--color-brand-emerald);
}

.gallery-masonry-grid {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 900px) {
    .gallery-masonry-grid { column-count: 2; }
}

@media (max-width: 540px) {
    .gallery-masonry-grid { column-count: 1; }
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-border-subtle);
}

.gallery-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 59, 46, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

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

.gallery-masonry-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-emerald);
    box-shadow: var(--shadow-soft);
    transform: scale(0.85);
    transition: transform var(--transition-smooth);
}

.gallery-masonry-item:hover .gallery-zoom-icon {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-smooth);
}

.lightbox-modal.open {
    visibility: visible;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 27, 20, 0.94);
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-floating);
}

.lightbox-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0.5rem;
}

.lightbox-prev-btn,
.lightbox-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox-prev-btn { left: 1.5rem; }
.lightbox-next-btn { right: 1.5rem; }

.lightbox-prev-btn:hover,
.lightbox-next-btn:hover {
    background: var(--color-brand-emerald);
}

/* ==========================================================================
   10. Videos Showcase & YouTube Modal
   ========================================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card-item {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.video-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-border);
}

.video-thumb-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform var(--transition-slow);
}

.video-card-item:hover .video-thumb-img {
    transform: scale(1.06);
    opacity: 1;
}

.video-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-dark) 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-smooth);
}

.video-card-item:hover .video-play-badge {
    transform: translate(-50%, -50%) scale(1.12);
}

.video-card-info {
    padding: 1.75rem;
}

.video-tag {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    margin-bottom: 0.4rem;
    display: block;
}

.video-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.video-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Video Player Modal */
.video-player-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all var(--transition-smooth);
}

.video-player-modal.open {
    visibility: visible;
    opacity: 1;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 27, 20, 0.94);
}

.video-modal-dialog {
    position: relative;
    width: min(92vw, 900px);
    aspect-ratio: 16 / 9;
    z-index: 2;
}

.video-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    color: #FFFFFF;
    cursor: pointer;
}

.video-iframe-wrap {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-floating);
}

.video-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   11. Interactive Skin Treatment Explorer
   ========================================================================== */
.skin-explorer-container {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-soft);
}

.concern-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.concern-tab-btn {
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-subtle);
    background: var(--color-bg-porcelain);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.concern-tab-btn.active,
.concern-tab-btn:hover {
    background: var(--color-brand-emerald);
    color: #FFFFFF;
    border-color: var(--color-brand-emerald);
}

.skin-categories-wrap {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.skin-category-block {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border-subtle);
}

.skin-category-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-header {
    margin-bottom: 1.75rem;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.35rem;
}

.category-sub {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.treatments-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.treatment-subitem {
    background: #FFFFFF;
    border: 1px solid var(--color-border-subtle);
    border-left: 3px solid var(--color-accent-gold);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.treatment-subitem:hover {
    border-color: var(--color-border);
    border-left-color: var(--color-brand-emerald);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.treatment-subitem h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.4rem;
}

.treatment-subitem p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   12. Calorie Chart Explorer
   ========================================================================== */
.calorie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.calorie-card-item {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.calorie-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-border);
}

.calorie-thumb-frame {
    height: 220px;
    background: var(--color-bg-porcelain);
    overflow: hidden;
    position: relative;
}

.calorie-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.calorie-card-item:hover .calorie-thumb-img {
    transform: scale(1.05);
}

.calorie-card-body {
    padding: 1.5rem;
}

.calorie-card-category {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    margin-bottom: 0.35rem;
    display: block;
}

.calorie-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* ==========================================================================
   13. Laser Hair Treatment Areas Grid
   ========================================================================== */
.treatment-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.area-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    padding: 1.75rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: all var(--transition-smooth);
}

.area-card:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.area-img-box {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--color-brand-emerald-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.area-img-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.area-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--color-text-primary);
}

.area-details p {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   14. Blog Card System
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-border);
}

.blog-thumb-frame {
    height: 230px;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-porcelain);
}

.blog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-thumb-img {
    transform: scale(1.05);
}

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

.blog-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.blog-category-tag {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.85rem;
}

.blog-card-excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand-emerald);
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--color-accent-gold);
    gap: 0.75rem;
}
