/* ========================================================
   MAISON DU REGARD — Design System & Styles
   Warm Peach-Pink Light Theme + App-like Navigation
   ======================================================== */

/* --- Design Tokens --- */
:root {
    /* Colors — Light warm palette (Lady Lips + Juicy Peach blend) */
    --color-bg:          #FFF5F0;
    --color-bg-elevated: #FFFFFF;
    --color-bg-card:     rgba(252, 182, 159, 0.06);
    --color-bg-glass:    rgba(255, 245, 240, 0.9);
    --color-cream:       #3D2C2E;
    --color-text:        #3D2C2E;
    --color-text-muted:  #887073;
    --color-gold:        #C9A96E;
    --color-gold-light:  #D4BA85;
    --color-gold-dark:   #A88B52;
    --color-overlay:     rgba(60, 44, 40, 0.45);

    /* Hero light text (for use over dark backgrounds) */
    --color-light:       #EDE8E0;

    /* CTA Gradient (Lady Lips × Juicy Peach) */
    --gradient-cta:      linear-gradient(135deg, #ff9a9e 0%, #fcb69f 100%);
    --gradient-cta-hover: linear-gradient(135deg, #f08a8e 0%, #f0a68f 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-accent:  'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 30px rgba(252, 182, 159, 0.2);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 350ms;
    --duration-slow: 600ms;

    /* Z-index scale */
    --z-page: 1;
    --z-page-active: 10;
    --z-header: 20;
    --z-nav: 50;
    --z-lightbox: 100;
    --z-preloader: 200;

    /* Safe areas */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 110px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    overflow: hidden;
    position: fixed;
    inset: 0;
    overscroll-behavior: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: var(--z-preloader);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.preloader__circle {
    width: 80px;
    height: 80px;
    animation: preloaderSpin 3s linear infinite;
}

.preloader__text {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.35em;
    color: var(--color-gold);
    opacity: 0;
    animation: preloaderFade 1s 0.3s var(--ease-out) forwards;
}

@keyframes preloaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes preloaderFade {
    to { opacity: 1; }
}

/* --- App Container --- */
.app {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

/* --- Page System --- */
.page {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--color-bg);
    z-index: var(--z-page);
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    visibility: hidden;
}

.page--home {
    transform: translateY(0);
    z-index: 0;
    visibility: visible;
}

.page.active {
    transform: translateY(0);
    z-index: var(--z-page-active);
    visibility: visible;
}

.page--home.active {
    z-index: 0;
}

/* Sub-page: pad for bottom nav */
.page--sub .page__body {
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 40px);
}

/* --- Page Header --- */
.page__header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--safe-top) + 12px) var(--space-lg) var(--space-md);
    background: linear-gradient(to bottom, var(--color-bg) 60%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.page__back {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(252, 182, 159, 0.1);
    border: 1px solid rgba(252, 182, 159, 0.2);
    transition: background var(--duration-fast), transform var(--duration-fast);
}

.page__back:hover {
    background: rgba(252, 182, 159, 0.18);
}

.page__back:active {
    transform: scale(0.92);
}

.page__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-gold);
}

.page__header-spacer {
    width: 44px;
}


/* --- Page Body --- */
.page__body {
    padding: 0 var(--space-lg) var(--space-xl);
}

/* ========================================
   HOME PAGE / HERO
   ======================================== */

.page--home {
    overflow: hidden;
    background: #2a1f1a;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(60, 44, 40, 0.35) 0%,
        rgba(60, 44, 40, 0.0) 25%,
        rgba(60, 44, 40, 0.0) 40%,
        rgba(60, 44, 40, 0.0) 55%,
        rgba(60, 44, 40, 0.25) 70%,
        rgba(60, 44, 40, 0.75) 90%,
        rgba(60, 44, 40, 0.9) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 100dvh;
    padding: 0 var(--space-lg) calc(var(--nav-height) + var(--safe-bottom) + 16px);
    text-align: center;
}

/* Bottom zone: conversion text */
.hero__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Hero Headline - impactful, conversion-focused */
.hero__headline {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-light);
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeUp 1s 1s var(--ease-out) forwards;
}

.hero__headline em {
    display: block;
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-gold-light);
    font-size: 1.05em;
}

/* Tagline */
.hero__tagline {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: rgba(237, 232, 224, 0.7);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 0.8s 1.3s var(--ease-out) forwards;
}

/* Hero CTA */
.hero__cta {
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s 1.4s var(--ease-out) forwards;
}

/* Google Badge */
.hero__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(237, 232, 224, 0.7);
    opacity: 0;
    animation: fadeUp 0.8s 1.5s var(--ease-out) forwards;
}

.hero__badge svg {
    flex-shrink: 0;
}

/* ========================================
   ABOUT PAGE
   ======================================== */

.about__hero {
    position: relative;
    margin: 0 calc(-1 * var(--space-lg));
    height: 55vh;
    min-height: 350px;
    overflow: hidden;
}

.about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.about__photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.55) 100%);
}

.about__headline {
    position: absolute;
    bottom: var(--space-2xl);
    left: var(--space-lg);
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.about__headline em {
    display: block;
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-gold);
    font-size: 1.15em;
    margin-top: 4px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.about__content {
    padding-top: var(--space-xl);
    text-align: center;
}

.about__text {
    font-family: var(--font-accent);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
}

/* Stats */
.about__stats {
    display: flex;
    justify-content: space-around;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-2xl);
    border-top: 1px solid rgba(252, 182, 159, 0.2);
    border-bottom: 1px solid rgba(252, 182, 159, 0.2);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.about__stat-label {
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* About Gallery */
.about__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.about__gallery img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about__gallery img:first-child {
    grid-row: span 2;
    height: 100%;
}

/* ========================================
   PRESTATIONS PAGE
   ======================================== */

.section__subtitle {
    font-family: var(--font-accent);
    font-size: 16px;
    font-style: italic;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Tabs */
.tabs {
    display: flex;
    position: relative;
    gap: 2px;
    margin-bottom: var(--space-xl);
    background: var(--color-bg-card);
    border-radius: var(--radius-full);
    padding: 3px;
    border: 1px solid rgba(252, 182, 159, 0.2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tabs__tab {
    flex: 1;
    min-width: max-content;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    border-radius: var(--radius-full);
    transition: color var(--duration-fast), background var(--duration-normal);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.tabs__tab.active {
    color: #FFFFFF;
    font-weight: 600;
}

.tabs__indicator {
    position: absolute;
    height: calc(100% - 6px);
    top: 3px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    transition: left var(--duration-normal) var(--ease-out),
                width var(--duration-normal) var(--ease-out);
    z-index: 0;
}

/* Tab Panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn var(--duration-normal) var(--ease-out);
}

/* Prestation Cards — Iara style: thumbnail + info + price + chevron */
.presta-card {
    position: relative;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(252, 182, 159, 0.15);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background var(--duration-fast) var(--ease-in-out),
                border-color var(--duration-fast) var(--ease-in-out);
    opacity: 0;
    animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}

.presta-card:hover {
    background: #FFF0EB;
    border-color: rgba(252, 182, 159, 0.3);
}

/* Popular card — subtle gold left accent */
.presta-card--popular {
    background: rgba(252, 182, 159, 0.08);
    border-color: rgba(252, 182, 159, 0.25);
}

.presta-card--popular::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: var(--color-gold);
    border-radius: 0 3px 3px 0;
}

.presta-card__badge {
    position: absolute;
    top: -1px;
    right: 14px;
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3D2C2E;
    background: var(--color-gold);
    padding: 3px 10px;
    border-radius: 0 0 8px 8px;
}

/* Main row: thumbnail | info | price | chevron */
.presta-card__main {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Round thumbnail */
.presta-card__thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(252, 182, 159, 0.2);
}

.presta-card--popular .presta-card__thumb {
    border-color: rgba(201, 169, 110, 0.4);
}

/* Info column: name + duration stacked */
.presta-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.presta-card__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-cream);
    line-height: 1.3;
}

.presta-card__duration {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* Price — gold, aligned right */
.presta-card__price {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
    flex-shrink: 0;
    min-width: 42px;
    text-align: right;
}

/* Chevron — aligned right, not centered */
.presta-card__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    opacity: 0.5;
    transition: opacity var(--duration-fast), color var(--duration-fast);
}

.presta-card:hover .presta-card__toggle {
    opacity: 0.8;
}

.presta-card__toggle svg {
    transition: transform 0.3s var(--ease-out);
}

.presta-card.open .presta-card__toggle svg {
    transform: rotate(180deg);
}

/* Expandable description — slides down under the card */
.presta-card__desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
}

.presta-card.open .presta-card__desc {
    max-height: 200px;
    opacity: 1;
}

.presta-card__desc p {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-muted);
    padding: 12px 0 4px 62px;
    border-top: 1px solid rgba(252, 182, 159, 0.12);
    margin-top: 12px;
}

/* Stagger animation for cards */
.tab-panel.active .presta-card:nth-child(1) { animation-delay: 0ms; }
.tab-panel.active .presta-card:nth-child(2) { animation-delay: 40ms; }
.tab-panel.active .presta-card:nth-child(3) { animation-delay: 80ms; }
.tab-panel.active .presta-card:nth-child(4) { animation-delay: 120ms; }
.tab-panel.active .presta-card:nth-child(5) { animation-delay: 160ms; }
.tab-panel.active .presta-card:nth-child(6) { animation-delay: 200ms; }
.tab-panel.active .presta-card:nth-child(7) { animation-delay: 240ms; }
.tab-panel.active .presta-card:nth-child(8) { animation-delay: 280ms; }
.tab-panel.active .presta-card:nth-child(9) { animation-delay: 320ms; }

/* Reviews inside prestations */
.presta-reviews {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(252, 182, 159, 0.15);
}

.presta-reviews__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.presta-reviews__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.presta-reviews__title {
    font-family: var(--font-accent);
    font-size: 14px;
    font-style: italic;
    color: var(--color-gold);
}

.presta-reviews__scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-sm);
    margin: 0 calc(-1 * var(--space-lg));
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
    scrollbar-width: none;
}

.presta-reviews__scroll::-webkit-scrollbar {
    display: none;
}

.review-card--mini {
    min-width: 260px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(252, 182, 159, 0.15);
    border-radius: 14px;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-card--mini .review-card__stars {
    display: flex;
    gap: 2px;
}

.review-card--mini .review-card__text {
    font-family: var(--font-accent);
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.review-card--mini .review-card__name {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-cream);
}

/* ========================================
   GALLERY PAGE
   ======================================== */

.gallery-hero {
    position: relative;
    width: 100%;
    height: 55vh;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.gallery-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-xl) var(--space-md);
}

.gallery-hero__subtitle {
    font-family: var(--font-sub);
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.04em;
    text-align: center;
}

.gallery {
    column-count: 2;
    column-gap: 8px;
}

.gallery__item {
    break-inside: avoid;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    margin-bottom: 8px;
}

.gallery__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
    pointer-events: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

/* ========================================
   AVIS PAGE
   ======================================== */

.avis__badge {
    text-align: center;
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-lg);
}

.avis__score-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    display: block;
    margin-bottom: var(--space-sm);
}

.avis__stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.avis__badge-text {
    font-size: 13px;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

/* Review Cards */
.reviews {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.review-card {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(252, 182, 159, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color var(--duration-fast);
}

.review-card:hover {
    border-color: rgba(252, 182, 159, 0.3);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.15), rgba(252, 182, 159, 0.1));
    border: 1px solid rgba(252, 182, 159, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gold);
    flex-shrink: 0;
}

.review-card__name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-cream);
    margin-bottom: 2px;
}

.review-card__stars {
    display: flex;
    gap: 2px;
}

.review-card__text {
    font-family: var(--font-accent);
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.avis__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Salon page section divider */
.salon-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) 0;
}

.salon-divider::before,
.salon-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.3), transparent);
}

.salon-divider__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.15);
    margin: 0 var(--space-md);
    flex-shrink: 0;
}

/* ========================================
   CABINET PAGE
   ======================================== */

.cabinet__headline {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    color: var(--color-cream);
    margin-bottom: var(--space-md);
}

.cabinet__headline em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-gold);
}

.cabinet__photos {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.cabinet__photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cabinet__photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.cabinet__photo-label {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-family: var(--font-accent);
    font-size: 14px;
    font-style: italic;
    color: #FFFFFF;
    background: rgba(60, 44, 40, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

/* ========================================
   CONTACT PAGE — BarberClub style
   ======================================== */

/* Map — Leaflet dark */
.contact__map {
    position: relative;
    margin: 0 0 var(--space-xl);
    border-radius: 14px;
    overflow: hidden;
}

#contact-map {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    z-index: 0;
}

#contact-map { background: var(--color-bg); }
.leaflet-container { background: var(--color-bg) !important; }

/* Light map tiles — subtle desaturation */
.dark-tiles {
    filter: saturate(0.6) brightness(1.05) contrast(0.95);
}

#contact-map .leaflet-control-attribution {
    background: rgba(255, 245, 240, 0.9) !important;
    color: var(--color-text-muted) !important;
    font-size: 9px !important;
}
#contact-map .leaflet-control-attribution a { color: var(--color-gold-dark) !important; }
#contact-map .leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--color-gold-dark) !important;
    border-color: rgba(252, 182, 159, 0.25) !important;
}

/* Gold marker */
.gold-marker .marker-pin {
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    background: var(--color-gold);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -18px 0 0 -12px;
    box-shadow: 0 0 12px rgba(201, 169, 110, 0.5);
}

.gold-marker .marker-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    margin: 7px 0 0 7px;
    background: #FFFFFF;
    position: absolute;
    border-radius: 50%;
}

.gold-marker .marker-pulse {
    background: rgba(255, 154, 158, 0.35);
    border-radius: 50%;
    height: 10px;
    width: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0 0 0 -5px;
    animation: markerPulse 2s ease-out infinite;
}

@keyframes markerPulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Popup */
.leaflet-popup-content-wrapper {
    background: #FFFFFF !important;
    color: var(--color-text) !important;
    border: 1px solid rgba(252, 182, 159, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    font-family: var(--font-body) !important;
}
.leaflet-popup-tip { background: #FFFFFF !important; }
.leaflet-popup-close-button { color: var(--color-gold) !important; }
.map-popup__title {
    font-family: var(--font-accent);
    font-size: 15px;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: 4px;
}
.map-popup__addr {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.contact__map-btn {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 182, 159, 0.25);
    border-radius: var(--radius-full);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--duration-fast), border-color var(--duration-fast);
}

.contact__map-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(252, 182, 159, 0.4);
}

/* Section headers — icon + text + line */
.contact-section {
    margin-bottom: var(--space-xl);
}

.contact-section__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-md);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(252, 182, 159, 0.15);
    color: var(--color-text-muted);
}

.contact-section__header span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Cards */
.contact-card {
    background: var(--color-bg-elevated);
    border: 1px solid rgba(252, 182, 159, 0.15);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 10px;
}

.contact-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--color-cream);
}

.contact-card__head span {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-card__text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.contact-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: 1px solid rgba(252, 182, 159, 0.25);
    border-radius: var(--radius-full);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--duration-fast), border-color var(--duration-fast);
}

.contact-card__btn:hover {
    background: rgba(252, 182, 159, 0.08);
    border-color: rgba(252, 182, 159, 0.4);
}

/* BarberClub info note */
.contact-card__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: rgba(252, 182, 159, 0.08);
    border: 1px solid rgba(252, 182, 159, 0.2);
    border-radius: 10px;
    color: var(--color-gold-dark);
}

.contact-card__note svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-card__note span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* Hours */
.contact-hours__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    margin-bottom: 16px;
}

.contact-hours__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.contact-hours__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
}

.contact-hours__day {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-cream);
}

.contact-hours__time {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: right;
}

.contact-hours__day--closed {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.contact-hours__time--closed {
    opacity: 0.5;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 16px var(--space-xl);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-in-out);
    text-decoration: none;
    border: none;
}

.btn--cta {
    background: var(--gradient-cta);
    color: #3D2C2E;
    box-shadow: 0 4px 24px rgba(250, 208, 196, 0.2);
}

.btn--cta:hover {
    background: var(--gradient-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(250, 208, 196, 0.3);
}

.btn--cta:active {
    transform: scale(0.97);
}

.btn--outline {
    background: transparent;
    color: var(--color-cream);
    border: 1px solid rgba(252, 182, 159, 0.35);
}

.btn--outline:hover {
    border-color: rgba(255, 154, 158, 0.6);
    background: rgba(252, 182, 159, 0.08);
}

.btn--full {
    width: 100%;
    text-align: center;
}

.btn--pulse {
    animation: btnPulse 3s infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(250, 208, 196, 0.2); }
    50% { box-shadow: 0 4px 40px rgba(250, 208, 196, 0.4); }
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-lightbox);
    background: rgba(10, 8, 6, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-normal), visibility var(--duration-normal);
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox__close {
    position: absolute;
    top: calc(var(--safe-top) + 16px);
    right: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    z-index: 2;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-light);
    z-index: 2;
    opacity: 0.7;
    transition: opacity var(--duration-fast);
}

.lightbox__nav:hover {
    opacity: 1;
}

.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

.lightbox__content {
    max-width: 90vw;
    max-height: 80vh;
}

.lightbox__img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ========================================
   BOTTOM NAVIGATION BAR
   ======================================== */

/*
   Neumorphic floating pill — inspired by iOS widget style.
   The nav sits 16px above the bottom, pill-shaped, with soft
   extruded shadows. The CTA physically overlaps the top edge.
*/

.bottom-nav {
    position: fixed;
    bottom: 16px;
    left: 24px;
    right: 24px;
    z-index: var(--z-nav);

    /* Layout: items in a row, vertically centered */
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 74px;
    padding: 0 6px;
    padding-bottom: var(--safe-bottom, 0px);

    /* Neumorphic surface */
    background: #ece9e5;
    border-radius: 999px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* --- Nav items (regular) --- */

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
    min-width: 58px;

    /* Inactive: warm muted gray */
    color: #b3aea8;
    font-size: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.03em;

    /* Reset button styles */
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.25s ease, transform 0.15s ease;
}

.bottom-nav__item svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    transition: stroke 0.25s ease, stroke-width 0.25s ease, transform 0.25s ease;
}

/* Active: crisp dark */
.bottom-nav__item.active {
    color: #1c1c1c;
}

.bottom-nav__item.active svg {
    stroke: #1c1c1c;
    stroke-width: 1.9;
}

/* Tap feedback */
.bottom-nav__item:active {
    transform: scale(0.88);
}

/* --- CTA button (center) --- */

/*
   The CTA is a pill that sits above the bar's top edge.
   margin-top pulls it up; align-self keeps it vertically
   independent from the other items.
*/
.bottom-nav__item--cta {
    position: relative;
    align-self: center;

    /* Float above the bar */
    margin-top: -40px;
    margin-bottom: 4px;

    /* Pill shape */
    padding: 16px 26px;
    min-width: 74px;
    border-radius: 26px;

    /* Gradient + white border halo */
    background: var(--gradient-cta);
    border: 3px solid rgba(255, 255, 255, 0.55);

    /* Typography */
    color: #fff;
    font-weight: 600;
    font-size: 10px;
    gap: 3px;

    box-shadow:
        0 4px 12px rgba(255, 154, 158, 0.5),
        0 10px 30px rgba(252, 182, 159, 0.35);

    transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.bottom-nav__item--cta svg {
    stroke: #fff;
    stroke-width: 2;
    width: 23px;
    height: 23px;
}

.bottom-nav__item--cta span {
    color: #fff;
}

.bottom-nav__item--cta:active {
    transform: scale(0.92);
    box-shadow:
        0 2px 8px rgba(255, 154, 158, 0.4),
        0 6px 18px rgba(252, 182, 159, 0.2);
}

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

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

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


/* ========================================
   DESKTOP STYLES (768px+)
   ======================================== */

@media (min-width: 768px) {
    /* Show video on desktop */
    .hero__video {
        display: block;
    }

    .hero__photo {
        display: none;
    }

    /* Wider content */
    .page__body {
        max-width: 680px;
        margin: 0 auto;
        padding-left: var(--space-xl);
        padding-right: var(--space-xl);
    }

    .hero__headline {
        font-size: 38px;
    }

    .hero__tagline {
        font-size: 12px;
    }

    /* About */
    .about__hero {
        height: 65vh;
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        margin: 0 calc(-1 * var(--space-xl));
    }

    .about__headline {
        font-size: 36px;
    }

    .about__text {
        font-size: 20px;
    }

    .about__stat-number {
        font-size: 44px;
    }

    .about__gallery img {
        height: 240px;
    }

    /* Prestations */
    .presta-card {
        padding: 16px 22px;
    }

    .presta-card__thumb {
        width: 54px;
        height: 54px;
    }

    .presta-card__name {
        font-size: 15px;
    }

    .presta-card__price {
        font-size: 17px;
    }

    .presta-card__desc p {
        padding-left: 68px;
    }

    /* Gallery */
    .gallery {
        column-count: 3;
        column-gap: 16px;
    }

    .gallery__item {
        margin-bottom: 16px;
    }

    /* Reviews */
    .reviews {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    /* Cabinet */
    .cabinet__photos {
        flex-direction: row;
        gap: var(--space-lg);
    }

    .cabinet__photo {
        flex: 1;
    }

    .cabinet__photo img {
        height: 400px;
    }

    .cabinet__headline {
        font-size: 42px;
    }

    /* Contact */
    #contact-map {
        height: 300px;
    }

    /* Sub-page body no extra bottom padding */
    .page--sub .page__body {
        padding-bottom: var(--space-3xl);
    }

    /* Page back button hover */
    .page__back:hover {
        transform: translateX(-2px);
    }
}

/* ========================================
   LARGE DESKTOP (1200px+)
   ======================================== */

@media (min-width: 1200px) {
    .page__body {
        max-width: 800px;
    }

    .hero__headline {
        font-size: 44px;
    }

    .about__hero {
        height: 70vh;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .page {
        transition: none;
    }

    .preloader {
        display: none;
    }
}

/* ========================================
   UTILITY
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--safe-bottom) + 8px);
    left: var(--space-md);
    right: var(--space-md);
    background: var(--color-bg-elevated);
    border: 1px solid rgba(252, 182, 159, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: var(--space-lg);
    z-index: 90;
    animation: fadeUp 0.5s var(--ease-out);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-sm);
}

.cookie-banner__btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(252, 182, 159, 0.25);
    background: transparent;
    color: var(--color-cream);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.cookie-banner__btn:hover {
    border-color: rgba(252, 182, 159, 0.45);
}

.cookie-banner__btn--accept {
    background: var(--gradient-cta);
    color: #3D2C2E;
    border-color: transparent;
    font-weight: 700;
}

/* ========================================
   LEGAL PAGE
   ======================================== */

.contact__footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-bottom: var(--space-md);
}

.contact__legal-link {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-cream);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}
