/* --- Champagne & Onyx Clean Spa Variables --- */
:root {
    /* The Light Side (Warm Champagne / Sand) - replaces stark white */
    --onyx: #F7F3EA;
    --onyx-light: #E3DCCF;
    
    /* The Dark Side (Rich Midnight Teal) - replaces flat dark gray */
    --champagne: #1A2C2B;
    --champagne-dark: #2A4240;
    
    /* The Accent (Vibrant Terracotta Copper) */
    --copper: #D47957;
    --copper-hover: #E89B7D;
    
    /* Soft Secondary Text (Muted Sage/Teal) */
    --text-muted: #8EABA8;
    
    /* Elegant flared serif and clean geometric sans */
    --font-display: 'Marcellus', serif;
    --font-ui: 'Sen', sans-serif;
    
    --sidebar-width: 320px;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    background-color: var(--champagne);
    color: var(--onyx);
    font-family: var(--font-ui);
    font-weight: 400;
    line-height: 1.65;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- App Layout (The Split Screen) --- */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* --- Fixed Sidebar Navigation --- */
.sidebar-nav {
    width: var(--sidebar-width);
    background-color: var(--onyx);
    color: var(--champagne);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px 40px;
    border-right: 1px solid var(--onyx-light);
    z-index: 100;
}

.brand-container {
    margin-bottom: 60px;
}

.brand-logo {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 0.85;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nav-list a {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--copper);
}

.nav-list a.active::before {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--copper);
    margin-right: 15px;
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-footer .btn-primary {
    width: 100%;
    display: block;
}

.btn-primary {
    background-color: var(--champagne);
    color: var(--onyx);
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--copper);
    color: var(--onyx);
    box-shadow: 0 4px 15px rgba(212, 121, 87, 0.3);
}

.account-link {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.account-link a:hover {
    color: var(--champagne);
}

/* --- Main Content Area --- */
.content-area {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    background-color: var(--champagne);
}

/* --- Editorial Hero --- */
.hero-editorial {
    height: 90vh;
    padding: 100px 5vw;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--champagne-dark);
    
    background-image: url('../photos/hero.jpg');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    position: relative; 
}

.hero-editorial::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--champagne); 
    opacity: 0.4; 
    z-index: 0;
}

.home-hero::before {
    opacity: 1;
    background: linear-gradient(
        105deg,
        rgba(26, 44, 43, 0.82) 0%,
        rgba(26, 44, 43, 0.5) 48%,
        rgba(26, 44, 43, 0.28) 100%
    );
}

.hero-text-block {
    max-width: 720px;
    position: relative; 
    z-index: 1; 
}

.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--onyx);
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    line-height: 1.1;
}

.kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--copper);
    margin-bottom: 25px;
    font-weight: 600;
}

.massive-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem); 
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 22px;
    color: var(--onyx);
    letter-spacing: 0.04em; 
}

.hero-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    color: rgba(247, 243, 234, 0.88);
    max-width: 34ch;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-actions .btn-primary {
    padding: 15px 28px;
    width: auto;
}

.hero-btn-ghost {
    color: var(--onyx) !important;
    border-color: rgba(247, 243, 234, 0.55) !important;
}

.hero-btn-ghost:hover {
    background-color: rgba(247, 243, 234, 0.12) !important;
    color: var(--onyx) !important;
}

/* --- Treatment Directory --- */
.treatment-directory {
    padding: 100px 5vw;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.section-desc {
    color: var(--text-muted); /* Replaced #ccc */
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.directory-list {
    display: flex;
    flex-direction: column;
}

.directory-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--champagne-dark);
    transition: all 0.4s ease;
}

.directory-item:hover {
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgba(247, 243, 234, 0.04); /* Subtler hover for dark teal background */
}

.item-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.item-number {
    font-family: var(--font-ui);
    font-size: 1.2rem;
    color: var(--copper);
    font-weight: 600;
}

.item-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.item-action {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    transition: color 0.3s;
    font-weight: 600;
}

.directory-item:hover .item-action {
    color: var(--copper); /* Changed to copper on hover for an extra pop of color */
}

/* --- Expanded Service Menu Formatting (Accordion) --- */
.directory-expanded {
    padding: 40px 0;
    border-bottom: 1px solid var(--champagne-dark);
}

.directory-expanded-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

/* Toggle Arrow Animation */
.toggle-icon {
    font-size: 1rem;
    color: var(--copper);
    margin-left: 15px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-list {
    padding-left: 65px; 
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

.directory-expanded.active .service-list {
    max-height: 2500px;
}

.directory-expanded.active .toggle-icon {
    transform: rotate(180deg);
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(247, 243, 234, 0.05); /* Softened border */
    transition: background-color 0.3s ease;
}

.service-row:hover {
    background-color: rgba(247, 243, 234, 0.03);
    padding-left: 15px;
    padding-right: 15px;
}

.service-row:last-child {
    border-bottom: none;
}

.service-detail h5 {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 5px;
    color: var(--onyx);
}

.service-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.service-booking {
    display: flex;
    align-items: center;
    gap: 25px;
}

.service-price {
    color: var(--copper);
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-book-small {
    border: 1px solid var(--copper);
    color: var(--copper);
    padding: 8px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-book-small:hover {
    background-color: var(--copper);
    color: var(--onyx);
}

/* --- Voucher / Studio Teasers --- */
.voucher-teaser,
.studio-teaser,
.home-teaser {
    padding: 0;
    display: block;
}

.home-teaser-panel {
    padding: 110px 5vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-teaser-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 16px;
    font-weight: 600;
}

.home-teaser-panel .secondary-massive {
    max-width: 14ch;
}

.home-teaser-panel > p {
    font-weight: 400;
    margin-bottom: 36px;
    font-size: 1.05rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    max-width: 42ch;
}

.home-teaser-gift {
    background:
        radial-gradient(circle at 80% 20%, rgba(212, 121, 87, 0.18), transparent 42%),
        linear-gradient(160deg, #F7F3EA 0%, #E8E0D2 100%);
    color: var(--champagne);
}

.home-teaser-gift > p {
    color: var(--champagne-dark);
}

.home-teaser-studio {
    background-image:
        linear-gradient(105deg, rgba(26, 44, 43, 0.88) 0%, rgba(26, 44, 43, 0.55) 100%),
        url('../photos/here.jpg');
    background-size: cover;
    background-position: center;
    color: var(--onyx);
}

.home-teaser-studio .secondary-massive {
    color: var(--onyx);
}

.home-teaser-studio > p {
    color: rgba(247, 243, 234, 0.82);
}

.teaser-content {
    text-align: center;
    max-width: 600px;
}

.secondary-massive {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.03em;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid var(--copper);
    color: var(--copper);
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--copper);
    color: var(--onyx);
}

/* --- Reviews --- */
.review-section {
    padding: 100px 5vw;
    background-color: var(--champagne);
    text-align: center;
}

.slider-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 28px;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px 20px;
    display: flex;
    justify-content: center;
}

.review-quote {
    border: none;
    margin: 0;
    padding: 20px 10px 10px;
    max-width: 640px;
    width: 100%;
}

.review-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.55rem);
    line-height: 1.7;
    color: var(--onyx);
    margin-bottom: 28px;
    font-style: italic;
    font-weight: 400;
}

.reviewer-name {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-style: normal;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--champagne-dark);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--copper);
    transform: scale(1.25);
}

/* --- App Footer --- */
.app-footer {
    padding: 80px 5vw 40px;
    background-color: var(--champagne);
    border-top: 1px solid var(--champagne-dark);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h5 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.legal-row {
    border-top: 1px solid var(--champagne-dark);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Internal Page & Gift Voucher Additions --- */
.internal-hero {
    height: auto;
    min-height: 50vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.voucher-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 121, 87, 0.28);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
    isolation: isolate;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.voucher-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(247, 243, 234, 0.18);
    pointer-events: none;
    z-index: 2;
}

.voucher-foil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 12%, rgba(232, 155, 125, 0.35), transparent 42%),
        radial-gradient(circle at 12% 88%, rgba(142, 171, 168, 0.18), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.voucher-foil::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -60%;
    width: 55%;
    height: 180%;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 255, 255, 0.18) 48%,
        transparent 62%
    );
    transform: translateX(0) rotate(12deg);
    transition: transform 0.8s ease;
}

.voucher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(26, 44, 43, 0.28);
}

.voucher-card:hover .voucher-foil::after {
    transform: translateX(280%) rotate(12deg);
}

.voucher-face {
    position: relative;
    z-index: 1;
    padding: 36px 32px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.voucher-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champagne);
    background: var(--copper);
    padding: 6px 12px;
    margin-bottom: 28px;
}

.voucher-badge-soft {
    background: transparent;
    color: var(--copper);
    border: 1px solid var(--copper);
}

.voucher-badge-featured {
    background: var(--onyx);
    color: var(--champagne);
}

.voucher-seal {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px dashed rgba(247, 243, 234, 0.45);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--onyx);
    background: rgba(26, 44, 43, 0.25);
    animation: voucher-seal-breathe 4.5s ease-in-out infinite;
}

.voucher-seal-light {
    border-color: rgba(212, 121, 87, 0.55);
    color: var(--copper);
    background: rgba(212, 121, 87, 0.08);
}

.voucher-seal-featured {
    border-color: rgba(26, 44, 43, 0.35);
    color: var(--champagne);
    background: rgba(247, 243, 234, 0.55);
}

.voucher-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 10px !important;
}

.voucher-card h4 {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 14px;
    color: var(--onyx);
    max-width: 12ch;
}

.voucher-card p {
    color: rgba(247, 243, 234, 0.78);
    margin-bottom: 28px;
    line-height: 1.65;
    flex: 1;
}

.voucher-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(247, 243, 234, 0.18);
    padding-top: 18px;
    margin-top: auto;
}

.voucher-amount-field {
    margin: 8px 0 22px;
}

.voucher-amount-field label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.75;
}

.voucher-amount-row {
    display: flex;
    align-items: center;
    border: 1px solid rgba(247, 243, 234, 0.28);
    background: rgba(26, 44, 43, 0.22);
    padding: 0 14px;
}

.voucher-currency {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--copper);
    margin-right: 6px;
}

.voucher-amount-input {
    width: 100%;
    border: none;
    background: transparent;
    color: inherit;
    font-family: var(--font-display);
    font-size: 1.6rem;
    padding: 12px 0;
    outline: none;
    -moz-appearance: textfield;
}

.voucher-amount-input::-webkit-outer-spin-button,
.voucher-amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.voucher-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.voucher-preset {
    border: 1px solid rgba(212, 121, 87, 0.45);
    background: transparent;
    color: inherit;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.voucher-preset:hover,
.voucher-preset.is-active {
    background: var(--copper);
    border-color: var(--copper);
    color: var(--champagne);
}

.voucher-physical .voucher-amount-row {
    border-color: rgba(26, 44, 43, 0.18);
    background: rgba(247, 243, 234, 0.65);
}

.voucher-physical .voucher-amount-input {
    color: var(--champagne);
}

.voucher-physical .voucher-preset {
    border-color: rgba(212, 121, 87, 0.5);
    color: var(--champagne);
}

.voucher-physical .voucher-preset:hover,
.voucher-physical .voucher-preset.is-active {
    color: var(--onyx);
}

.voucher-error {
    position: relative;
    z-index: 1;
    margin: 0 24px 18px;
    font-size: 0.85rem;
    color: #c45c4a;
}

.voucher-digital .voucher-error {
    color: #ffb4a4;
}

.voucher-shipping {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(26, 44, 43, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voucher-shipping-title {
    font-size: 0.72rem !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper) !important;
    margin: 0 0 4px !important;
}

.voucher-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--champagne-dark);
}

.voucher-field em {
    font-style: normal;
    opacity: 0.55;
    text-transform: none;
    letter-spacing: 0;
}

.voucher-field input {
    border: 1px solid rgba(26, 44, 43, 0.18);
    background: rgba(247, 243, 234, 0.85);
    color: var(--champagne);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    padding: 11px 12px;
    outline: none;
}

.voucher-field input:focus {
    border-color: var(--copper);
}

.voucher-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gift-success {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 48px 28px;
    border: 1px solid rgba(212, 121, 87, 0.35);
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 121, 87, 0.12), transparent 55%),
        rgba(247, 243, 234, 0.04);
}

.gift-success .section-title {
    margin-bottom: 12px;
}

.gift-code-wrap {
    margin: 28px 0 18px;
}

.gift-code-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 12px;
}

.gift-code {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: 0.12em;
    color: var(--onyx);
    border: 1px solid var(--copper);
    display: inline-block;
    padding: 16px 22px;
}

.gift-success-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.success-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5vw;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 121, 87, 0.16), transparent 50%),
        var(--champagne);
}

.success-panel {
    width: min(640px, 100%);
    text-align: center;
    padding: 56px 36px;
    border: 1px solid rgba(212, 121, 87, 0.35);
    background: rgba(247, 243, 234, 0.03);
}

.success-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 600;
    margin-bottom: 16px;
}

.success-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 400;
    color: var(--onyx);
    margin-bottom: 16px;
    line-height: 1.15;
}

.success-copy {
    color: rgba(247, 243, 234, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 38ch;
    margin: 0 auto 8px;
}

.success-note {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 42ch;
    margin: 12px auto 0;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.success-actions .btn-primary,
.success-actions .btn-secondary {
    width: auto;
    min-width: 180px;
    text-align: center;
    padding: 14px 24px;
}

@media (max-width: 640px) {
    .voucher-field-row {
        grid-template-columns: 1fr;
    }

    .success-page {
        padding: 48px 20px;
        min-height: auto;
    }

    .success-panel {
        padding: 40px 20px;
    }

    .success-actions .btn-primary,
    .success-actions .btn-secondary {
        width: 100%;
    }
}

.voucher-price {
    font-family: var(--font-display);
    font-size: 1.85rem;
    color: var(--copper);
    margin-bottom: 0;
}

.voucher-tag {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.voucher-cta {
    position: relative;
    z-index: 1;
    width: calc(100% - 48px);
    margin: 8px 24px 24px;
    text-align: center;
    font-family: var(--font-ui);
    cursor: pointer;
}

.voucher-cta:disabled {
    opacity: 0.7;
    cursor: wait;
}

.voucher-cta-featured {
    color: var(--champagne) !important;
    border-color: var(--onyx) !important;
    background-color: var(--onyx) !important;
}

.voucher-cta-featured:hover {
    background-color: var(--onyx-light) !important;
}

/* Digital — deep teal certificate */
.voucher-digital {
    background:
        linear-gradient(155deg, #152422 0%, #1A2C2B 48%, #243937 100%);
    color: var(--onyx);
}

.voucher-digital::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -28deg,
        transparent,
        transparent 10px,
        rgba(247, 243, 234, 0.025) 10px,
        rgba(247, 243, 234, 0.025) 11px
    );
    pointer-events: none;
    z-index: 0;
}

/* Physical — luminous champagne card */
.voucher-physical {
    background:
        linear-gradient(160deg, #F7F3EA 0%, #EDE6D8 55%, #E3DCCF 100%);
    border-color: rgba(212, 121, 87, 0.4);
}

.voucher-physical::before {
    border-color: rgba(212, 121, 87, 0.35);
}

.voucher-physical .voucher-kicker,
.voucher-physical h4 {
    color: var(--champagne);
}

.voucher-physical p {
    color: var(--champagne-dark);
}

.voucher-physical .voucher-meta {
    border-top-color: rgba(26, 44, 43, 0.12);
}

.voucher-physical .voucher-tag {
    color: var(--champagne-dark);
    opacity: 0.65;
}

/* Signature — copper premium face */
.voucher-signature {
    background:
        linear-gradient(145deg, #C56A48 0%, #D47957 42%, #E09A7C 100%);
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(212, 121, 87, 0.28);
}

.voucher-signature::before {
    border-color: rgba(247, 243, 234, 0.35);
}

.voucher-signature .voucher-kicker {
    color: rgba(247, 243, 234, 0.9);
}

.voucher-signature h4,
.voucher-signature .voucher-price {
    color: var(--onyx);
}

.voucher-signature p {
    color: rgba(26, 44, 43, 0.78);
}

.voucher-signature .voucher-meta {
    border-top-color: rgba(26, 44, 43, 0.15);
}

.voucher-signature .voucher-tag {
    color: rgba(26, 44, 43, 0.65);
}

.voucher-signature:hover {
    box-shadow: 0 24px 55px rgba(212, 121, 87, 0.4);
}

@keyframes voucher-seal-breathe {
    0%, 100% { transform: scale(1); opacity: 0.92; }
    50% { transform: scale(1.04); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .voucher-card,
    .voucher-foil::after,
    .voucher-seal {
        transition: none;
        animation: none;
    }

    .voucher-card:hover {
        transform: none;
    }
}

.highlight-card {
    background-color: var(--onyx-light);
    border-color: var(--copper);
}

/* --- Proper Categorized Gallery --- */
.gallery-showcase {
    background-color: var(--champagne);
    padding: 0 5vw 100px;
}

.gallery-category {
    margin-bottom: 100px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--champagne-dark);
    padding-bottom: 24px;
}

.category-index {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--copper);
    line-height: 1;
    flex-shrink: 0;
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--onyx);
    margin-bottom: 10px;
}

.category-header p {
    font-family: var(--font-ui);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
    text-align: left;
    color: inherit;
    isolation: isolate;
}

.gallery-card--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    background-color: var(--champagne-dark);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.gallery-card--feature img {
    aspect-ratio: auto;
    min-height: 100%;
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 44, 43, 0.82) 0%,
        rgba(26, 44, 43, 0.2) 42%,
        transparent 70%
    );
    opacity: 0.85;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-card-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px 22px;
    transform: translateY(8px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.gallery-card:hover::after {
    opacity: 1;
}

.gallery-card:hover .gallery-card-meta {
    transform: translateY(0);
}

.gallery-card h5 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--onyx);
    margin-bottom: 4px;
}

.gallery-card span {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Studio page atmosphere */
.studio-hero {
    min-height: 72vh;
    background-image: url('../photos/hero.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: none;
}

.studio-hero::before {
    opacity: 0.55;
    background: linear-gradient(
        105deg,
        rgba(26, 44, 43, 0.78) 0%,
        rgba(26, 44, 43, 0.45) 55%,
        rgba(26, 44, 43, 0.25) 100%
    );
}

.studio-atmosphere {
    padding: 0 5vw 40px;
    max-width: 1400px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
}

.studio-atmosphere-frame {
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.studio-atmosphere-frame img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.studio-atmosphere.is-visible .studio-atmosphere-frame img,
.studio-atmosphere-frame:hover img {
    transform: scale(1);
}

.studio-atmosphere-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 40px;
    background: linear-gradient(to top, rgba(26, 44, 43, 0.9), transparent);
    color: var(--onyx);
}

.studio-atmosphere-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper);
    margin-bottom: 10px;
}

.studio-atmosphere-caption p {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    line-height: 1.35;
    max-width: 28ch;
}

.studio-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 50px 5vw 20px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid var(--champagne-dark);
    margin-bottom: 60px;
}

.studio-jump a {
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s ease;
}

.studio-jump a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--copper);
    transition: width 0.35s ease;
}

.studio-jump a:hover {
    color: var(--copper);
}

.studio-jump a:hover::after {
    width: 100%;
}

.studio-visit {
    padding: 100px 5vw;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 121, 87, 0.18), transparent 55%),
        var(--champagne);
    border-top: 1px solid var(--champagne-dark);
}

.studio-visit .kicker {
    margin-bottom: 16px;
}

.studio-visit .secondary-massive {
    color: var(--onyx);
    margin-bottom: 16px;
}

.studio-visit > p {
    color: var(--text-muted);
    max-width: 40ch;
    margin: 0 auto 32px;
}

.studio-visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.studio-visit-actions .btn-primary,
.studio-visit-actions .btn-secondary {
    min-width: 200px;
    text-align: center;
}

/* Lightbox */
.studio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(26, 44, 43, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    backdrop-filter: blur(6px);
    animation: studioFadeIn 0.28s ease;
}

.studio-lightbox[hidden] {
    display: none !important;
}

.studio-lightbox-figure {
    max-width: min(920px, 100%);
    margin: 0;
    text-align: center;
}

.studio-lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.studio-lightbox-figure figcaption {
    margin-top: 18px;
    color: var(--onyx);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.studio-lightbox-figure strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
}

.studio-lightbox-figure span {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.studio-lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    border: none;
    background: transparent;
    color: var(--onyx);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.studio-lightbox-close:hover {
    opacity: 1;
    color: var(--copper);
}

@keyframes studioFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-card img,
    .studio-atmosphere-frame img,
    .studio-lightbox {
        transition: none;
        animation: none;
    }

    .gallery-card:hover img {
        transform: none;
    }
}

/* --- Animations --- */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
    }
    
    .sidebar-nav {
        width: 100%;
        height: auto;
        position: relative;
        padding: 14px 16px 16px;
        border-right: none;
        border-bottom: 1px solid var(--onyx-light);
        align-items: center;
        gap: 0;
    }
    
    .brand-container {
        margin-bottom: 10px;
    }

    .brand-logo {
        max-width: 120px;
        margin: 0 auto;
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 14px;
    }

    .nav-list a {
        font-size: 0.82rem;
        letter-spacing: 0.06em;
    }
    
    .nav-list a.active::before {
        display: none; 
    }

    .sidebar-footer {
        align-items: center;
        margin-top: 12px;
        width: 100%;
    }

    .sidebar-footer .btn-primary {
        width: 100%;
        max-width: 200px;
        padding: 11px 0;
        font-size: 0.75rem;
    }

    .btn-primary {
        width: 100%;
        max-width: 300px;
    }

    .content-area {
        margin-left: 0;
        width: 100%;
    }

    .hero-editorial,
    .home-hero {
        height: auto;
        min-height: 70vh;
        padding: 64px 20px 56px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-text-block {
        margin: 0 auto;
        width: 100%;
    }

    .hero-brand {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .massive-heading {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-top: 0;
        margin-bottom: 16px;
    }

    .hero-paragraph {
        margin-left: auto;
        margin-right: auto;
        max-width: 34ch;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 260px;
    }

    .home-teaser-panel {
        padding: 72px 22px;
    }

    .review-section {
        padding: 72px 20px;
    }

    .review-text {
        font-size: 1.15rem;
    }
    
    .treatment-directory {
        padding: 60px 20px;
    }

    .section-header {
        text-align: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .directory-item,
    .directory-expanded-header {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .item-info {
        gap: 15px;
    }

    .item-name {
        font-size: 1.5rem;
    }

    .service-list {
        padding-left: 0; 
    }
    
    .service-row {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 15px 0;
    }

    .service-detail h5 {
        font-size: 1rem;
    }

    .service-booking {
        gap: 15px;
        flex-shrink: 0; 
    }

    .voucher-teaser {
        padding: 0;
    }

    .secondary-massive {
        font-size: 2.2rem;
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-contact {
        text-align: center;
    }

    .voucher-grid {
        grid-template-columns: 1fr;
    }
    
    .internal-hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .studio-hero {
        min-height: auto;
        padding: 64px 20px 48px;
        background-position: center 30%;
    }

    .studio-hero .hero-paragraph {
        margin-left: auto;
        margin-right: auto;
    }

    .studio-atmosphere {
        margin-top: 0;
        padding: 0 16px 28px;
        max-width: none;
    }

    .studio-atmosphere-frame {
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    }

    .studio-atmosphere-frame img {
        max-height: 280px;
        transform: none;
    }

    .studio-atmosphere-caption {
        position: relative;
        padding: 20px 18px 18px;
        background: var(--champagne-dark);
    }

    .studio-atmosphere-caption p {
        font-size: 1.15rem;
        max-width: none;
    }

    .studio-jump {
        justify-content: center;
        gap: 12px 20px;
        padding: 12px 16px 28px;
        margin-bottom: 28px;
        border-bottom: 1px solid var(--champagne-dark);
    }

    .studio-jump a {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .studio-jump a::after {
        display: none;
    }

    .gallery-showcase {
        padding: 0 16px 64px;
    }

    .gallery-category {
        margin-bottom: 56px;
    }

    .category-header {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        text-align: left;
    }

    .category-index {
        font-size: 1.6rem;
    }

    .category-header h3 {
        font-size: 1.85rem;
    }

    .category-header p {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-card,
    .gallery-card--feature {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-card img,
    .gallery-card--feature img {
        aspect-ratio: 4 / 5;
        min-height: 0;
        width: 100%;
        height: auto;
        transform: none !important;
        filter: none !important;
    }

    .gallery-card::after {
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(26, 44, 43, 0.88) 0%,
            rgba(26, 44, 43, 0.25) 55%,
            transparent 75%
        );
    }

    .gallery-card-meta {
        transform: none;
        padding: 18px 16px;
    }

    .gallery-card h5 {
        font-size: 1.15rem;
    }

    .gallery-card span {
        font-size: 0.7rem;
    }

    .studio-visit {
        padding: 64px 20px;
    }

    .studio-visit-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .studio-visit-actions .btn-primary,
    .studio-visit-actions .btn-secondary {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .studio-lightbox {
        padding: 72px 12px 24px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .studio-lightbox-figure img {
        max-height: 65vh;
    }

    .studio-lightbox-close {
        top: max(12px, env(safe-area-inset-top));
        right: 16px;
        font-size: 2.1rem;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .category-header h3 {
        font-size: 1.75rem;
    }
}

/* --- Desktop: light internal heroes only; photo heroes stay photographic --- */
@media (min-width: 993px) {
    .hero-editorial.internal-hero {
        background-image: none;
        background-color: var(--onyx);
    }
    
    .hero-editorial.internal-hero::before {
        display: none;
    }
    
    .internal-hero .massive-heading,
    .internal-hero .hero-paragraph {
        color: var(--champagne);
    }

    .home-hero {
        background-image: url('../photos/hero.jpg');
        background-color: transparent;
    }

    .home-hero::before {
        display: block;
        opacity: 1;
        background: linear-gradient(
            105deg,
            rgba(26, 44, 43, 0.82) 0%,
            rgba(26, 44, 43, 0.5) 48%,
            rgba(26, 44, 43, 0.28) 100%
        );
    }

    .home-hero .hero-brand,
    .home-hero .massive-heading {
        color: var(--onyx);
    }

    .home-hero .hero-paragraph {
        color: rgba(247, 243, 234, 0.88);
    }

    .studio-hero {
        background-image: url('../photos/hero.jpg');
        background-color: transparent;
    }

    .studio-hero::before {
        display: block;
        opacity: 0.55;
        background: linear-gradient(
            105deg,
            rgba(26, 44, 43, 0.78) 0%,
            rgba(26, 44, 43, 0.45) 55%,
            rgba(26, 44, 43, 0.25) 100%
        );
    }

    .studio-hero .massive-heading,
    .studio-hero .hero-paragraph {
        color: var(--onyx);
    }
}
/* --- Scroll Reveal Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* This class is added by Javascript when the element comes into view */
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional delays for items side-by-side (like your step cards or vouchers) */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }