/*
Theme Name: Inner Glow Studio
Theme URI: https://innerglowstudio.nl
Author: Inner Glow Studio
Author URI: https://innerglowstudio.nl
Description: Custom WordPress theme for Inner Glow Studio - Luxe massages exclusief voor vrouwen.
Version: 1.0
Text Domain: innerglow
*/
/* ============================================

   INNER GLOW STUDIO - Developer's Choice Edition (Theme Aware)

   ============================================ */



/* 1. TOKENS & VARIABLES */

:root {

    /* Common Palette */

    --c-accent-gold: #c9a573;

    --c-accent-gold-light: #e6cfa3;

    --c-accent-gold-dim: rgba(201, 166, 107, 0.1);



    /* Typography */

    --f-heading: 'Cormorant Garamond', serif;

    --f-body: 'Montserrat', sans-serif;



    /* Spacing & Layout */

    --container-width: 1240px;

    --header-height: 80px;

    --radius-sm: 8px;

    --radius-md: 16px;

    --radius-lg: 32px;



    /* Effects */

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

    --transition-theme: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;

}



/* Dark Theme (Default) */

[data-theme="dark"] {

    --c-bg-main: #0a0908;

    --c-bg-surface: #141210;

    --c-text-primary: #f2efe9;

    --c-text-secondary: rgba(242, 239, 233, 0.6);



    --g-gold-text: linear-gradient(135deg, #fbf7f0 0%, #e6cfa3 40%, #c9a66b 100%);

    --g-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);

    --border-color: rgba(255, 255, 255, 0.1);

    --card-bg: rgba(255, 255, 255, 0.02);

    --card-hover-bg: rgba(255, 255, 255, 0.04);



    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);

    --shadow-glow: 0 0 40px rgba(201, 166, 107, 0.15);

}



/* Light Theme */

[data-theme="light"] {

    --c-bg-main: #f5f0e8;

    --c-bg-surface: #ebe5dc;

    --c-text-primary: #2c241b;

    --c-text-secondary: rgba(44, 36, 27, 0.7);



    --g-gold-text: linear-gradient(135deg, #2c241b 0%, #8b7355 100%);

    --g-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);

    --border-color: rgba(201, 166, 107, 0.2);

    --card-bg: rgba(255, 255, 255, 0.4);

    --card-hover-bg: rgba(255, 255, 255, 0.7);



    --shadow-sm: 0 4px 20px rgba(189, 175, 155, 0.15);

    --shadow-glow: 0 0 40px rgba(201, 166, 107, 0.1);

}



/* 2. RESET & BASE */

*,

*::before,

*::after {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html.lenis {

    height: auto;

}



.lenis.lenis-smooth {

    scroll-behavior: auto;

}



.lenis.lenis-smooth [data-lenis-prevent] {

    overscroll-behavior: contain;

}



.lenis.lenis-stopped {

    overflow: hidden;

}



.lenis.lenis-scrolling iframe {

    pointer-events: none;

}



html {

    /* Lenis takes over scroll behavior */

    scroll-behavior: auto;

    font-size: 16px;

}



body {

    font-family: var(--f-body);

    background-color: var(--c-bg-main);

    color: var(--c-text-primary);

    line-height: 1.7;

    overflow-x: hidden;

    position: relative;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    transition: var(--transition-theme);

}



/* Noise Texture Overlay */

body::after {

    content: "";

    position: fixed;

    inset: 0;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");

    pointer-events: none;

    z-index: 9999;

    mix-blend-mode: overlay;

}



/* Typography styles */

h1,

h2,

h3,

h4 {

    font-family: var(--f-heading);

    font-weight: 400;

    line-height: 1.1;

    color: var(--c-text-primary);

    transition: color 0.5s ease;

}



h1 {

    font-size: clamp(3rem, 8vw, 6rem);

    letter-spacing: -0.02em;

}



h2 {

    font-size: clamp(2.5rem, 5vw, 4rem);

}



h3 {

    font-size: clamp(1.5rem, 3vw, 2.5rem);

}



h4 {

    font-family: var(--f-body);

    font-size: 0.85rem;

    font-weight: 500;

    letter-spacing: 0.2em;

    text-transform: uppercase;

}



p {

    color: var(--c-text-secondary);

    font-size: 1.05rem;

    max-width: 60ch;

    margin: 0 auto;

    transition: color 0.5s ease;

}



a {

    text-decoration: none;

    color: inherit;

    transition: color 0.3s ease;

}



.container {

    width: 90%;

    max-width: var(--container-width);

    margin: 0 auto;

}



/* 3. COMPONENTS */



/* Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 1.2rem 2.8rem;

    border-radius: 100px;

    font-size: 0.8rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    cursor: pointer;

    transition: all 0.4s var(--ease-out-expo);

    position: relative;

    overflow: hidden;

    z-index: 1;

}



.btn-primary {

    background: var(--c-text-primary);

    color: var(--c-bg-main);

    border: 1px solid transparent;

}



.btn-primary::before {

    content: '';

    position: absolute;

    inset: 0;

    background: var(--c-accent-gold);

    z-index: -1;

    transform: scaleX(0);

    transform-origin: right;

    transition: transform 0.4s var(--ease-out-expo);

}



.btn-primary:hover::before {

    transform: scaleX(1);

    transform-origin: left;

}



.btn-primary:hover {

    color: var(--c-bg-main);

    border-color: transparent;

    box-shadow: 0 0 30px rgba(201, 166, 107, 0.4);

}



.btn-secondary {

    background: transparent;

    border: 1px solid var(--border-color);

    color: var(--c-text-primary);

}



.btn-secondary:hover {

    border-color: var(--c-text-primary);

    background: rgba(255, 255, 255, 0.05);

}



/* Theme Toggle Button */

.theme-toggle {

    background: transparent;

    border: 1px solid var(--border-color);

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    color: var(--c-text-secondary);

    transition: all 0.3s ease;

    padding: 0;

    position: relative;

    overflow: hidden;

}



.theme-toggle:hover {

    border-color: var(--c-accent-gold);

    color: var(--c-accent-gold);

}



.theme-toggle svg {

    width: 20px;

    height: 20px;

    position: absolute;

    transition: transform 0.5s var(--ease-out-expo), opacity 0.5s ease;

}



[data-theme="dark"] .theme-toggle .moon-icon {

    opacity: 1;

    transform: rotate(0);

}



[data-theme="dark"] .theme-toggle .sun-icon {

    opacity: 0;

    transform: rotate(90deg) scale(0.5);

}



[data-theme="light"] .theme-toggle .moon-icon {

    opacity: 0;

    transform: rotate(-90deg) scale(0.5);

}



[data-theme="light"] .theme-toggle .sun-icon {

    opacity: 1;

    transform: rotate(0);

}





/* 4. LAYOUT SECTIONS */



/* Header */

.header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 1.5rem 0;

    transition: padding 0.5s var(--ease-out-expo), background 0.5s ease;

}



.header.scrolled {

    padding: 1rem 0;

    background: var(--c-bg-main);

    /* Fallback */

    background: rgba(var(--c-bg-main), 0.85);

    /* Needs converting hex to rgb for rgba, doing simpler check for now */

    border-bottom: 1px solid var(--border-color);

}



/* Fix for rgba background in scrolled header based on theme */

[data-theme="dark"] .header.scrolled {

    background: rgba(10, 9, 8, 0.85);

}



[data-theme="light"] .header.scrolled {

    background: rgba(245, 240, 232, 0.9);

}



.header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.header-controls {

    display: flex;

    align-items: center;

    gap: 1rem;

}



/* Ensure nav items and toggle are aligned */

.nav {

    display: flex;

    gap: 2rem;

    align-items: center;

}



.logo-link {

    display: block;

    width: 140px;

    /* Adjusted for SVG logo width */

    opacity: 1;

    transition: opacity 0.3s ease;

}



.logo-link:hover {

    opacity: 0.8;

}



.logo {

    width: 100%;

    height: auto;

}



.nav a {

    font-size: 0.75rem;

    font-weight: 600;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    position: relative;

    color: var(--c-text-secondary);

}



.nav a::after {

    content: '';

    position: absolute;

    bottom: -6px;

    left: 0;

    width: 0%;

    height: 1px;

    background: var(--c-accent-gold);

    transition: width 0.3s var(--ease-out-expo);

}



.nav a:hover {

    color: var(--c-text-primary);

}



.nav a:hover::after {

    width: 100%;

}



/* Mobile Menu */

.menu-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    z-index: 1000;
    position: relative;
}



.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--c-text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}



/* Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    overflow: hidden;
    background: var(--c-bg-main);
}

/* Multiple layered background effects */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 166, 107, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(201, 166, 107, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 0% 50%, rgba(201, 166, 107, 0.08), transparent);
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--c-bg-main), transparent);
    z-index: 1;
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Floating decorative orbs */
.hero-decoration {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatOrb 6s ease-in-out infinite;
    z-index: 0;
}

.hero-decoration::before {
    content: '';
    position: absolute;
    top: 150%;
    left: -200%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 166, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatOrb 8s ease-in-out infinite reverse;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    /* Ensure block level elements center correctly */
    flex-direction: column;
    align-items: center;
}

/* Elegant subtitle with decorative lines */
.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--c-accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.2s;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-accent-gold));
}

.hero-subtitle::after {
    background: linear-gradient(90deg, var(--c-accent-gold), transparent);
}

/* Enhanced main title */
.hero h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    /* Increased to prevent overlap */
    background: var(--g-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 1.2s var(--ease-out-expo) forwards 0.4s;
    position: relative;
}

.hero h1 span {
    display: inline;
    color: var(--c-accent-gold);
    -webkit-text-fill-color: var(--c-accent-gold);
}

.hero h1 span.tagline {
    display: table;
    /* Better than block for centering with margins */
    margin: 1.5rem auto;
    font-family: var(--f-body);
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    -webkit-text-fill-color: var(--c-accent-gold);
    opacity: 0.9;
}

/* Enhanced description */
.hero-description {
    margin: 0 auto 3.5rem;
    font-size: 1.15rem;
    line-height: 2;
    max-width: 600px;
    opacity: 0;
    animation: slideUp 1.2s var(--ease-out-expo) forwards 0.6s;
    color: var(--c-text-secondary);
}

/* Enhanced CTA group */
.hero .cta-group {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    padding: 1.4rem 3.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
}

.hero .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero .btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

/* Sophisticated scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-text-secondary);
    writing-mode: vertical-rl;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--c-accent-gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Responsive hero adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 30px;
    }

    .hero-decoration {
        width: 200px;
        height: 200px;
        right: -50px;
    }

    .hero .btn-primary {
        padding: 1.2rem 2.5rem;
    }
}



@keyframes bounce {



    0%,

    100% {

        transform: translate(-50%, 0);

    }



    50% {

        transform: translate(-50%, 10px);

    }

}



@keyframes fadeIn {

    to {

        opacity: 1;

    }

}



@keyframes slideUp {

    from {

        transform: translateY(40px);

        opacity: 0;

    }



    to {

        transform: translateY(0);

        opacity: 1;

    }

}



/* Sections General */

section {

    padding: 8rem 0;

}



.section-header {

    text-align: center;

    margin-bottom: 5rem;

}



.section-label {

    color: var(--c-accent-gold);

    font-size: 0.75rem;

    letter-spacing: 0.3em;

    text-transform: uppercase;

    display: block;

    margin-bottom: 1rem;

    padding-left: 0.3em;

    text-align: center;

}



.section-divider {

    width: 1px;

    height: 60px;

    background: linear-gradient(to bottom, var(--c-accent-gold), transparent);

    margin: 2rem auto 0;

    opacity: 0.5;

}



/* Cards (Treatments & Contact) */

.treatments {
    background: linear-gradient(180deg, var(--c-bg-surface) 0%, var(--c-bg-main) 100%);
    position: relative;
}

.treatments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-accent-gold), transparent);
    opacity: 0.3;
}

.treatments-grid,

.contact-grid {

    display: grid;

    gap: 2.5rem;

}



.treatments-grid {

    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;

}



.contact-grid {

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

}



.treatment-card {
    background: linear-gradient(145deg, var(--card-bg), transparent);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    word-break: break-word;
    /* Ensure wrapping on cards too */
    overflow-wrap: anywhere;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: var(--card-hover-bg);
    border-color: var(--c-accent-gold);
    box-shadow: var(--shadow-glow);
}

.contact-card:hover .contact-icon {
    background: var(--c-accent-gold);
    color: var(--c-bg-main);
    transform: scale(1.1) rotate(5deg);
}

/* Elegant corner accent for treatment cards */
.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(201, 166, 107, 0.15), transparent 70%);
    transition: all 0.5s ease;
}

.treatment-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--c-accent-gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.contact-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: radial-gradient(circle at top right, var(--c-accent-gold-dim), transparent 40%);

    opacity: 0;

    transition: opacity 0.4s ease;

}



.treatment-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(145deg, var(--card-hover-bg), var(--card-bg));
    border-color: rgba(201, 166, 107, 0.4);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(201, 166, 107, 0.1),
        0 0 60px rgba(201, 166, 107, 0.1);
}

.treatment-card:hover::before {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(201, 166, 107, 0.25), transparent 70%);
}

.treatment-card:hover::after {
    transform: scaleX(1);
}

.contact-card:hover {

    transform: translateY(-10px);

    background: var(--card-hover-bg);

    border-color: rgba(201, 166, 107, 0.3);

    box-shadow: var(--shadow-sm);

}



.contact-card:hover::before {

    opacity: 1;

}

/* Treatment card number badge */
.treatment-card {
    counter-increment: treatment-counter;
}

.treatment-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--c-accent-gold-dim), transparent);
    border: 1px solid rgba(201, 166, 107, 0.2);
    color: var(--c-accent-gold);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    z-index: 1;
}

.contact-icon {

    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 2rem;

    border-radius: 50%;

    background: var(--card-bg);

    border: 1px solid var(--border-color);

    color: var(--c-accent-gold);

    transition: all 0.4s ease;

}



.treatment-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.5;
    transition: transform 0.4s var(--ease-out-expo);
}

.contact-icon svg {

    width: 24px;

    height: 24px;

    stroke-width: 1.5;

}



.treatment-card:hover .treatment-icon {
    background: linear-gradient(135deg, var(--c-accent-gold), var(--c-accent-gold-light));
    color: var(--c-bg-main);
    border-color: var(--c-accent-gold);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(201, 166, 107, 0.3);
}

.treatment-card:hover .treatment-icon svg {
    transform: scale(1.1);
}

.contact-card:hover .contact-icon {

    background: var(--c-accent-gold);

    color: var(--c-bg-main);

    transform: scale(1.1);

}

/* Treatment card title styling */
.treatment-card h4 {
    font-family: var(--f-heading);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--c-text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.treatment-card:hover h4 {
    color: var(--c-accent-gold);
}

/* Treatment card description */
.treatment-card .treatment-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--c-text-secondary);
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.read-more-link:hover {
    color: var(--c-accent-gold-light);
    border-bottom-color: var(--c-accent-gold-light);
}

/* Responsive adjustments for treatments grid */
@media (max-width: 768px) {
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .treatment-card {
        padding: 2rem 1.75rem;
    }
}



/* About Section */

.about {
    background: linear-gradient(to bottom, var(--c-bg-main), var(--c-bg-surface));
    position: relative;
}

[data-theme="light"] .about {
    background: linear-gradient(to bottom, var(--c-bg-main), #efebdf);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

/* Image Area */
.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

/* Decorative frame */
.about-image-frame {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 120px;
    height: 120px;
    border-top: 2px solid var(--c-accent-gold);
    border-left: 2px solid var(--c-accent-gold);
    border-radius: var(--radius-lg) 0 0 0;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 120px;
    height: 120px;
    border-bottom: 2px solid var(--c-accent-gold);
    border-right: 2px solid var(--c-accent-gold);
    border-radius: 0 0 var(--radius-lg) 0;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

.about-image:hover .about-image-frame {
    opacity: 0.9;
}

.about-image-placeholder {
    aspect-ratio: 4/5;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--c-text-secondary);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.about-image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.about-image-placeholder span {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
}

.about-image:hover .about-image-placeholder {
    border-color: rgba(201, 166, 107, 0.3);
}

/* Experience Badge */
.about-badge {
    position: absolute;
    bottom: 1.5rem;
    right: -1rem;
    background: var(--c-bg-main);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.about-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.about-badge-icon {
    color: var(--c-accent-gold);
    font-size: 1.2rem;
}

.about-badge-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--c-text-primary);
}

/* Floating Quote */
.about-quote-float {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--f-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--c-text-secondary);
    position: relative;
    line-height: 1.6;
    transition: border-color 0.3s ease;
}

.about-quote-float span {
    font-size: 3rem;
    font-family: var(--f-heading);
    color: var(--c-accent-gold);
    opacity: 0.5;
    line-height: 0;
    vertical-align: -0.6rem;
    margin-right: 0.3rem;
}

.about-quote-float:hover {
    border-color: rgba(201, 166, 107, 0.3);
}

/* Text Side */
.about-text h3 {
    font-family: var(--f-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--c-accent-gold);
    position: relative;
}

/* Intro Text */
.about-intro {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(201, 166, 107, 0.3);
    margin-bottom: 2.5rem;
}

.about-intro p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--c-text-secondary);
    margin-bottom: 1.2rem;
}

.about-intro p:last-child {
    margin-bottom: 0;
}

/* Philosophy Highlights */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease-out-expo);
}

.about-highlight:hover {
    border-color: rgba(201, 166, 107, 0.3);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-highlight-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent-gold);
    transition: all 0.3s var(--ease-out-expo);
}

.about-highlight:hover .about-highlight-icon {
    background: var(--c-accent-gold);
    color: var(--c-bg-main);
    border-color: var(--c-accent-gold);
}

.about-highlight h5 {
    font-family: var(--f-heading);
    font-size: 1rem;
    color: var(--c-text-primary);
    margin-bottom: 0.15rem;
}

.about-highlight p {
    font-size: 0.8rem;
    color: var(--c-text-secondary);
    line-height: 1.4;
}

/* Closing Text */
.about-closing {
    margin-bottom: 2rem;
}

.about-closing p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--c-text-secondary);
    opacity: 0.9;
}

/* Signature */
.about-signature-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.about-signature-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, var(--c-accent-gold), transparent);
}

.about-signature {
    font-family: var(--f-heading);
    font-size: 1.8rem;
    color: var(--c-accent-gold);
    opacity: 0.8;
}



/* Pricing Section */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--c-accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 166, 107, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px rgba(201, 166, 107, 0.08);
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Featured Card */
.pricing-card--featured {
    border-color: #c9a573 !important;
    /* Force gold border */
    background: linear-gradient(135deg,
            var(--card-bg) 0%,
            rgba(201, 166, 107, 0.06) 100%);
    transform: scale(1.03);
}

.pricing-card--featured::before {
    display: none;
    /* Remove the top line for featured, it has full border */
}

.pricing-card--featured:hover {
    transform: scale(1.03) translateY(-8px);
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: 1.2rem;
    right: -2.2rem;
    background: #c9a573;
    color: #0a0908;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 3rem;
    transform: rotate(45deg);
    transform-origin: center;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Card Header */
.pricing-card-header {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--c-accent-gold);
    background: var(--card-bg);
    transition: all 0.4s var(--ease-out-expo);
}

.pricing-icon svg {
    width: 26px;
    height: 26px;
}

.pricing-card:hover .pricing-icon {
    background: var(--c-accent-gold);
    color: var(--c-bg-main);
    border-color: var(--c-accent-gold);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(201, 166, 107, 0.25);
}

.pricing-title {
    font-family: var(--f-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--c-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-height: 3.2rem;
    /* Ensure consistent title height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--c-text-secondary);
    max-width: 240px;
    margin: 0 auto;
    min-height: 4.5rem;
    /* Reduced to accommodate line clamp better */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Pricing Tiers */
.pricing-tiers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.2rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-tier {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
}

.pricing-tier-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--c-accent-gold), transparent);
    opacity: 0.4;
}

.tier-duration {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-text-secondary);
    font-weight: 500;
}

.tier-price {
    font-family: var(--f-heading);
    font-size: 1.8rem;
    color: var(--c-accent-gold);
    line-height: 1;
}

/* Pricing CTA */
.pricing-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-text-secondary);
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
    margin-top: auto;
}

.pricing-cta svg {
    transition: transform 0.3s ease;
}

.pricing-cta:hover {
    background: var(--c-accent-gold);
    color: var(--c-bg-main);
    border-color: var(--c-accent-gold);
    box-shadow: 0 4px 20px rgba(201, 166, 107, 0.25);
}

.pricing-cta:hover svg {
    transform: translateX(3px);
}

/* Stagger animations for pricing cards */
.pricing-grid .pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-grid .pricing-card:nth-child(2) {
    transition-delay: 0.2s;
}

.pricing-grid .pricing-card:nth-child(3) {
    transition-delay: 0.3s;
}

.pricing-grid .pricing-card:nth-child(4) {
    transition-delay: 0.4s;
}


/* Floating Buttons */

.floating-buttons {

    position: fixed;

    bottom: 2rem;

    right: 2rem;

    z-index: 99;

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.floating-btn {

    width: 56px;

    height: 56px;

    border-radius: 50%;

    background: var(--c-bg-surface);

    /* Fallback */

    background: var(--card-bg);

    backdrop-filter: blur(10px);

    border: 1px solid var(--border-color);

    color: var(--c-text-primary);

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s var(--ease-out-expo);

    box-shadow: var(--shadow-sm);

}



[data-theme="light"] .floating-btn {

    background: rgba(255, 255, 255, 0.9);

}



.floating-btn svg {

    width: 22px;

    height: 22px;

}



.floating-btn:hover {

    transform: scale(1.15) rotate(5deg);

    border-color: var(--c-accent-gold);

    color: var(--c-accent-gold);

    box-shadow: 0 0 20px rgba(201, 166, 107, 0.3);

}





/* Treatment Detail Modal (similar to popup but wider) */
.treatment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 9, 8, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.treatment-modal-overlay.active {
    opacity: 1;
}

.treatment-modal-content {
    background: var(--c-bg-surface);
    border: 1px solid var(--border-color);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.6s var(--ease-out-expo);
    text-align: center;
}

.treatment-modal-overlay.active .treatment-modal-content {
    transform: translateY(0);
}

.treatment-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--c-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.treatment-modal-close:hover {
    color: var(--c-accent-gold);
    transform: rotate(90deg);
}

.modal-icon {
    margin-bottom: 2rem;
    color: var(--c-accent-gold);
    display: flex;
    justify-content: center;
}

.modal-icon svg {
    width: 48px;
    height: 48px;
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--c-accent-gold);
}

.modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--c-text-primary);
    opacity: 0.9;
    text-align: left;
    margin-top: 2rem;
}

/* Custom Scrollbar */

::-webkit-scrollbar {

    width: 6px;

    height: 6px;

}



::-webkit-scrollbar-track {

    background: var(--c-bg-surface);

}



::-webkit-scrollbar-thumb {

    background: var(--c-accent-gold);

    border-radius: 4px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--c-accent-gold-light);

}



/* Footer */

.footer {

    padding: 0 0 2rem;

    background: var(--c-bg-main);

    position: relative;

    overflow: hidden;

}



/* Footer decorative background */

.footer::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: radial-gradient(ellipse at 30% 100%, var(--c-accent-gold-dim) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 166, 107, 0.05) 0%, transparent 40%);

    opacity: 0.5;

    pointer-events: none;

}



/* Decorative divider */

.footer-divider {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 3rem 0;

    position: relative;

}



.footer-divider::before,
.footer-divider::after {

    content: '';

    flex: 1;

    height: 1px;

    max-width: 200px;

    background: linear-gradient(to right, transparent, var(--c-accent-gold), transparent);

    opacity: 0.4;

}



.footer-divider-ornament {

    color: var(--c-accent-gold);

    font-size: 1rem;

    padding: 0 1.5rem;

    opacity: 0.6;

}



/* Footer Grid */

.footer-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 3rem;

    padding-bottom: 4rem;

    position: relative;

    z-index: 1;

}



/* Brand Column */

.footer-brand {

    padding-right: 2rem;

}



.footer-logo {

    height: 80px;

    width: auto;

    margin-bottom: 1.5rem;

    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;

    opacity: 0.9;

}



.footer-logo:hover {

    transform: scale(1.05);

    opacity: 1;

}



.footer-tagline {

    font-size: 0.9rem;

    line-height: 1.8;

    color: var(--c-text-secondary);

    margin-bottom: 2rem;

    max-width: 280px;

}



/* Social Icons */

.footer-social {

    display: flex;

    gap: 0.75rem;

}



.footer-social-link {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: 1px solid var(--border-color);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--c-text-secondary);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    background: var(--card-bg);

}



.footer-social-link:hover {

    background: var(--c-accent-gold);

    color: var(--c-bg-main);

    border-color: var(--c-accent-gold);

    transform: translateY(-4px) scale(1.1);

    box-shadow: 0 8px 25px rgba(201, 166, 107, 0.3);

}



.footer-social-link svg {

    width: 18px;

    height: 18px;

}



/* Column Heading */

.footer-heading {

    font-family: var(--f-heading);

    font-size: 1.1rem;

    color: var(--c-text-primary);

    margin-bottom: 1.8rem;

    position: relative;

    padding-bottom: 0.8rem;

}



.footer-heading::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 30px;

    height: 2px;

    background: linear-gradient(to right, var(--c-accent-gold), transparent);

    border-radius: 2px;

}



/* Navigation Links */

.footer-nav {

    list-style: none;

    padding: 0;

    margin: 0;

}



.footer-nav li {

    margin-bottom: 0.75rem;

}



.footer-nav a {

    font-size: 0.85rem;

    color: var(--c-text-secondary);

    position: relative;

    display: inline-block;

    padding: 0.2rem 0;

    transition: color 0.3s ease, transform 0.3s ease;

}



.footer-nav a::before {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 1px;

    background: var(--c-accent-gold);

    transition: width 0.3s var(--ease-out-expo);

}



.footer-nav a:hover {

    color: var(--c-text-primary);

    transform: translateX(4px);

}



.footer-nav a:hover::before {

    width: 100%;

}



/* Contact List */

.footer-contact-list {

    list-style: none;

    padding: 0;

    margin: 0;

}



.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--c-text-secondary);
    min-width: 0;
    /* Allow the flex item to shrink */
}

.footer-contact-list span {
    word-break: break-word;
    overflow-wrap: anywhere;
}


.footer-contact-list svg {

    flex-shrink: 0;

    color: var(--c-accent-gold);

    opacity: 0.7;

}



.footer-contact-list a {

    color: var(--c-text-secondary);

    transition: color 0.3s ease;

}



.footer-contact-list a:hover {

    color: var(--c-accent-gold);

}



/* Hours List */

.footer-hours {

    list-style: none;

    padding: 0;

    margin: 0;

}



.footer-hours li {

    display: flex;

    justify-content: space-between;

    gap: 1.5rem;

    padding: 0.6rem 0;

    border-bottom: 1px solid var(--border-color);

    font-size: 0.85rem;

    color: var(--c-text-secondary);

}



.footer-hours li:last-child {

    border-bottom: none;

}



.footer-hours li span:last-child {

    color: var(--c-text-primary);

    font-weight: 500;

}



/* Footer CTA */

.footer-cta {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    margin-top: 1.5rem;

    font-size: 0.8rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.15em;

    color: var(--c-accent-gold);

    padding: 0.6rem 1.2rem;

    border: 1px solid var(--c-accent-gold);

    border-radius: 100px;

    transition: all 0.3s var(--ease-out-expo);

}



.footer-cta:hover {

    background: var(--c-accent-gold);

    color: var(--c-bg-main);

    transform: translateX(3px);

    box-shadow: 0 4px 20px rgba(201, 166, 107, 0.25);

}



.footer-cta svg {

    transition: transform 0.3s ease;

}



.footer-cta:hover svg {

    transform: translateX(3px);

}



/* Bottom Bar */

.footer-bottom {

    padding-top: 2rem;

    border-top: 1px solid var(--border-color);

    position: relative;

    z-index: 1;

}



.footer-bottom-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.footer-bottom p {

    font-size: 0.78rem;

    color: var(--c-text-secondary);

    opacity: 0.6;

}



.footer-bottom-links {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



.footer-bottom-links a {

    font-size: 0.78rem;

    color: var(--c-text-secondary);

    opacity: 0.6;

    transition: opacity 0.3s ease, color 0.3s ease;

}



.footer-bottom-links a:hover {

    opacity: 1;

    color: var(--c-accent-gold);

}



.footer-dot {

    color: var(--c-text-secondary);

    opacity: 0.3;

}



/* Back to Top */

.footer-back-to-top {

    width: 36px;

    height: 36px;

    border-radius: 50%;

    border: 1px solid var(--border-color);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--c-text-secondary);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    background: var(--card-bg);

}



.footer-back-to-top:hover {

    background: var(--c-accent-gold);

    color: var(--c-bg-main);

    border-color: var(--c-accent-gold);

    transform: translateY(-4px);

    box-shadow: 0 6px 20px rgba(201, 166, 107, 0.25);

}


/* Popup Modal */




/* Popup Modal */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    opacity: 0;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.5s var(--ease-out-expo);
}

.popup-overlay.active {
    opacity: 1;
}

.popup-content {
    background: var(--c-bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-content {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--c-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: var(--c-accent-gold);
    transform: rotate(90deg);
}

.popup-icon {
    color: var(--c-accent-gold);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.popup-icon svg {
    width: 56px;
    height: 56px;
}

.popup-title {
    font-family: var(--f-heading);
    font-size: 2.2rem;
    color: var(--c-accent-gold);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.popup-message {
    color: var(--c-text-primary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.popup-accept {
    width: 100%;
}

/* --- Contact Page Styles --- */
/* --- Contact Page Redesign (Phase 10) --- */
.contact-page .contact-hero {
    height: auto;
    min-height: 350px;
    /* Reduced min-height */
    padding: 140px 0 60px;
    /* Reduced padding */
    /* Balanced padding */
    background: linear-gradient(to bottom, rgba(15, 13, 12, 0) 0%, var(--c-bg-main) 100%);
}

/* Combined Section */
.contact-combined-section {
    padding: 6rem 0 8rem;
    /* Increased top padding, removed negative margin */
    position: relative;
    z-index: 10;
}

.split-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

/* Info Side */
.info-side {
    padding-top: 2rem;
}

.side-header .label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.side-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.side-header p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--c-text-secondary);
    max-width: 400px;
    margin-bottom: 3rem;
}

.side-contact-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.side-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem;
    /* Removed negative margin */
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.side-item:hover {
    background: rgba(201, 166, 107, 0.05);
}

.item-icon {
    width: 60px;
    height: 60px;
    background: var(--c-bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-accent-gold);
    transition: all 0.4s ease;
}

.side-item:hover .item-icon {
    background: var(--c-accent-gold);
    color: var(--c-bg-main);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(201, 166, 107, 0.2);
}

.item-content {
    min-width: 0;
    /* Crucial for allowing text to wrap inside a flex container */
    flex: 1;
}

.item-content span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-secondary);
    margin-bottom: 0.3rem;
}

.item-content .contact-value {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--c-text-primary);
    transition: color 0.3s ease;
    word-break: break-word;
    /* Crucial fix for long emails */
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

.side-item:hover .contact-value {
    color: var(--c-accent-gold);
}

/* Form Side */
.form-side {
    background: var(--c-bg-surface);
    padding: 5rem 4rem;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Floating Labels */
.floating-label {
    position: relative;
    margin-bottom: 2.5rem;
}

.floating-label input,
.floating-label textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    color: var(--c-text-primary);
    font-family: inherit;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.floating-label label {
    position: absolute;
    top: 1.2rem;
    left: 0;
    color: var(--c-text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    opacity: 0.6;
}

.floating-label input:focus~label,
.floating-label input:not(:placeholder-shown)~label,
.floating-label textarea:focus~label,
.floating-label textarea:not(:placeholder-shown)~label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--c-accent-gold);
    opacity: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.floating-label input:focus,
.floating-label textarea:focus {
    outline: none;
    border-bottom-color: var(--c-accent-gold);
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
}

/* Reviews Section */
.reviews-section {
    padding: 10rem 0;
    background: var(--c-bg-main);
    position: relative;
    overflow: hidden;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

.review-card {
    background: var(--c-bg-surface);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--c-accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.review-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    color: var(--border-color);
}

.review-stars svg.active {
    color: var(--c-accent-gold);
}

.review-content {
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--c-text-primary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-meta strong {
    display: block;
    font-size: 1rem;
    color: var(--c-text-primary);
}

.author-meta span {
    font-size: 0.8rem;
    color: var(--c-text-secondary);
}

/* Accordion FAQ */
.faq-accordion-section {
    padding: 10rem 0;
    background: var(--card-bg);
}

.accordion {
    margin-top: 4rem;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 2rem 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-header span {
    font-family: var(--f-heading);
    font-size: 1.4rem;
    color: var(--c-text-primary);
}

.accordion-header svg {
    color: var(--c-accent-gold);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-content {
    padding-bottom: 2.5rem;
    color: var(--c-text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Map & Rules Split */
.map-rules-section {
    padding: 6rem 0 10rem;
    background: var(--c-bg-main);
}

.map-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.map-container {
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-frame {
    height: 100%;
}

.map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    filter: grayscale(1) invert(0.9) contrast(1.2);
}

.rules-container {
    padding-right: 2rem;
}

.rules-list {
    margin-top: 3rem;
}

.rules-list p {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

.rules-list p::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--c-accent-gold);
    font-size: 1.2rem;
}

/* Responsive Redesign */
@media (max-width: 1100px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .map-rules-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .map-container {
        height: 400px;
        order: 2;
    }

    .rules-container {
        order: 1;
        padding-right: 0;
    }
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero.contact-hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        /* Much more responsive range */
    }
}

@media (max-width: 768px) {
    .form-side {
        padding: 3rem 1.5rem;
        /* Reduced padding to prevent overflow */
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .split-layout {
        overflow: visible;
        /* Allow shadows */
    }

    .container {
        padding: 0 1.5rem;
        /* Ensure container has safe padding */
        width: 100%;
        max-width: 100%;
        /* Better than 100vw to prevent scrollbar issues */
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .side-header h2 {
        font-size: 2.8rem;
    }
}

/* Utilities & Advanced Animations */

.reveal {

    opacity: 0;

    transform: translateY(40px) scale(0.98);

    transition: opacity 0.8s ease, transform 0.8s var(--ease-out-expo);

    will-change: opacity, transform;

}



.reveal.active {

    opacity: 1;

    transform: translateY(0) scale(1);

}



/* Stagger delays for better flow */

.treatments-grid .treatment-card:nth-child(1) {

    transition-delay: 0.1s;

}



.treatments-grid .treatment-card:nth-child(2) {

    transition-delay: 0.2s;

}



.treatments-grid .treatment-card:nth-child(3) {

    transition-delay: 0.3s;

}



.treatments-grid .treatment-card:nth-child(4) {

    transition-delay: 0.4s;

}



.contact-grid .contact-card:nth-child(1) {

    transition-delay: 0.1s;

}



.contact-grid .contact-card:nth-child(2) {

    transition-delay: 0.2s;

}



.contact-grid .contact-card:nth-child(3) {

    transition-delay: 0.3s;

}



/* Responsive */

@media (max-width: 900px) {

    .about-content {

        grid-template-columns: 1fr;

    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image-frame {
        width: 80px;
        height: 80px;
    }

    .about-image-wrapper::after {
        width: 80px;
        height: 80px;
    }

    .about-badge {
        right: 0;
    }

    .about-text h3 {
        text-align: center;
    }

    .about-signature-block {
        justify-content: center;
    }



    .nav {

        display: none;

    }



    /* Mobile menu simplified for demo */

    .menu-toggle {

        display: flex;

    }



    .pricing-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .pricing-card--featured {

        transform: none;

    }

    .pricing-card--featured:hover {

        transform: translateY(-8px);

    }

    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 3rem;

    }



    .footer-brand {

        grid-column: 1 / -1;

        text-align: center;

        padding-right: 0;

    }



    .footer-tagline {

        max-width: 400px;

        margin-left: auto;

        margin-right: auto;

    }



    .footer-social {

        justify-content: center;

    }



    .footer-column {

        text-align: left;

    }



    .footer-heading::after {

        left: 0;

    }



    .footer-bottom-inner {

        flex-direction: column;

        gap: 1rem;

        text-align: center;

    }



    .footer-back-to-top {

        margin-top: 0.5rem;

    }



    /* Mobile Nav Active State */

    .nav.active {

        display: flex;

        position: fixed;

        inset: 0;

        background: var(--c-bg-main);

        flex-direction: column;

        justify-content: center;

        align-items: center;

        z-index: 999;

    }



    .nav.active .theme-toggle {

        margin-top: 2rem;

        transform: scale(1.5);

    }

}



@media (max-width: 600px) {

    .header {

        padding: 1rem 0;

    }



    .hero-content {

        padding-top: 0;

    }



    h1 {

        font-size: 2.8rem;

    }



    .hero-description {

        font-size: 1rem;

        padding: 0 1rem;

    }



    .pricing-grid {

        grid-template-columns: 1fr;

    }

    .pricing-card {

        padding: 2rem 1.5rem 1.5rem;

    }



    .logo-link {

        width: 140px;

    }



    .btn {

        width: 100%;

        padding: 1rem 2rem;

    }



    .footer-grid {

        grid-template-columns: 1fr;

        text-align: center;

    }



    .footer-column {

        text-align: center;

    }



    .footer-heading::after {

        left: 50%;

        transform: translateX(-50%);

    }



    .footer-contact-list li {

        justify-content: center;

    }



    .footer-hours li {

        justify-content: center;

    }



    .footer-cta {

        margin-left: auto;

        margin-right: auto;

    }

}