/*
 * Salon Dain — Merged Design System
 * Structure: Version A (warm, stacked, clean)
 * Hero + Typography: Version B (editorial, ultra-thin, cinematic)
 * Colors: #6E5A3E (brown) · #BFA791 (accent) · #F9F8F6 (bg) · #2A221A (dark)
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --brown:        #6E5A3E;
    --brown-dark:   #2A221A;
    --accent:       #BFA791;
    --accent-light: #E8DDD4;
    --bg:           #F9F8F6;
    --white:        #FFFFFF;
    --rule:         rgba(191,167,145,0.22);
    --text-muted:   rgba(110,90,62,0.6);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--brown);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* ─── GLOBAL TYPOGRAPHY ─── */
.label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 9.5px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 14px;
}
.brand-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown);
    display: block;
    margin-bottom: 16px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.12;
}

/* Page-level heading */
h1.display {
    font-weight: 100;
    font-size: clamp(40px, 6vw, 80px);
    letter-spacing: 0.08em;
}
h1.display em {
    font-style: italic;
    font-weight: 200;
}

/* Section heading */
h2.section-h {
    font-weight: 200;
    font-size: clamp(24px, 3vw, 40px);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
h2.section-h em {
    font-style: italic;
    font-weight: 200;
}

/* Sub-heading */
h3.sub-h {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.22em;
    margin-bottom: 12px;
}

p.body-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--brown);
}
p.body-text + p.body-text { margin-top: 14px; }

p.body-large {
    font-size: 17px;
    line-height: 1.9;
    color: var(--brown);
}

/* ─── HEADER ─── */
.site-header {
    position: sticky;
    top: 0; z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    transition: box-shadow 0.3s;
}
.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(42,34,26,0.07);
}
.header-inner {
    max-width: 1400px; margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
}
.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--brown);
    text-decoration: none;
    padding-bottom: 0;
    display: block;
    text-align: center;
}
.header-ctas {
    display: flex; gap: 12px;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 2px;
}
.btn-ghost {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--brown); background: transparent;
    border: 1px solid rgba(110,90,62,0.45);
    padding: 9px 18px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
    cursor: pointer;
}
.btn-ghost:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }

.btn-filled {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--white);
    background: var(--brown);
    border: 1px solid var(--brown);
    padding: 9px 18px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
    cursor: pointer;
}
.btn-filled:hover { background: var(--accent); border-color: var(--accent); }

.main-nav {
    display: flex; justify-content: center;
    gap: 36px;
    padding: 16px 48px 20px;
    max-width: 1400px; margin: 0 auto;
}
.main-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; font-size: 12.5px;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--brown); text-decoration: none;
    transition: color 0.2s;
    position: relative; padding-bottom: 2px;
}
.main-nav a::after {
    content: ''; position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.25s;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--brown); }

/* ─── HERO (Version B style) ─── */
.hero {
    position: relative;
    height: 92vh; min-height: 600px;
    overflow: hidden;
    display: grid; place-items: center;
}
.hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 25%;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        155deg,
        rgba(28,22,18,0.78) 0%,
        rgba(28,22,18,0.52) 55%,
        rgba(28,22,18,0.28) 100%
    );
}
.hero-body {
    position: relative; z-index: 2;
    text-align: center;
    padding: 0 32px;
    max-width: 820px;
}
.hero-rule {
    width: 36px; height: 1px;
    background: var(--accent);
    margin: 0 auto 22px;
}
.hero-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 9px;
    letter-spacing: 0.45em; text-transform: uppercase;
    color: var(--accent-light); margin-bottom: 26px;
    display: block;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(42px, 7vw, 92px);
    letter-spacing: 0.07em; text-transform: uppercase;
    color: #F5F0EA; line-height: 1.03;
    margin-bottom: 10px;
}
.hero-title em {
    font-style: italic; font-weight: 100;
    letter-spacing: 0.04em;
}
.hero-sub {
    font-family: 'Lato', sans-serif;
    font-weight: 300; font-size: 15px;
    color: rgba(245,240,234,0.68);
    margin-bottom: 44px; letter-spacing: 0.03em;
}
.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--white); background: var(--brown);
    border: 1px solid var(--brown);
    padding: 14px 32px; text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.btn-hero-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-hero-ghost {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; font-size: 8.5px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(245,240,234,0.85); background: transparent;
    padding: 14px 32px; text-decoration: none;
    border: 1px solid rgba(245,240,234,0.35);
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
}
.btn-hero-ghost:hover { border-color: rgba(245,240,234,0.8); color: var(--white); }

/* ─── INTERIOR PAGE HERO (no photo) ─── */
.page-hero {
    background: var(--white);
    padding: 80px 48px 72px;
    text-align: center;
    border-bottom: 1px solid var(--rule);
}
.page-hero .label { margin-bottom: 16px; }
.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(32px, 5vw, 64px);
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--brown); margin-bottom: 20px;
    line-height: 1.1;
}
.page-hero h1 em { font-style: italic; font-weight: 100; }
.page-hero p {
    font-size: 16px; line-height: 1.85;
    color: var(--brown); max-width: 600px;
    margin: 0 auto;
}

/* ─── SECTIONS ─── */
.section { padding: 72px 48px; }
.section.white { background: var(--white); }
.section.bg    { background: var(--bg); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-inner.narrow { max-width: 720px; }
.section-inner.center { text-align: center; }

.section-intro {
    text-align: center;
    max-width: 680px; margin: 0 auto 64px;
}
.section-intro .label { margin-bottom: 16px; }
.section-intro h2 { margin-bottom: 20px; }

/* ─── TWO COLUMN ─── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: start;
}
.two-col.items-center { align-items: center; }

/* ─── RULE ─── */
.rule { border: none; border-top: 1px solid var(--rule); }
.thin-rule {
    flex: 1; height: 1px;
    background: var(--rule); align-self: center;
}

/* ─── CARDS ─── */
.card {
    border: 1px solid var(--rule);
    padding: 28px 28px;
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(42,34,26,0.07); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.8; }

.card-label {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.08em;
    margin-right: 4px;
}
.card-value {
    color: var(--brown);
    font-weight: 400;
    opacity: 0.9;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.extension-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--rule);
}
.extension-card.bg-variant {
    background: var(--bg);
}

@media (max-width: 768px) {
    .extension-card {
        padding: 28px 20px;
    }
}

/* ─── PHOTO + TEXT BLOCK ─── */
.photo-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
}
.photo-text img {
    width: 100%; height: 460px;
    object-fit: cover; display: block;
}
.photo-text img.img-full {
    height: auto !important;
    object-fit: initial !important;
}
.photo-text.reverse img { order: 2; }
.photo-text.reverse .photo-text-body { order: 1; }

/* ─── BRAND LOGOS PANEL ─── */
.brand-logos-panel {
    background: var(--white);
    border: 1px solid var(--rule);
    padding: 40px 48px;
    display: flex; 
    flex-wrap: nowrap;
    gap: 48px; 
    align-items: center; 
    justify-content: center;
}
.brand-logos-grid {
    background: var(--white);
    border: 1px solid var(--rule);
    padding: 60px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 48px;
    align-items: center;
    justify-items: center;
}
@media (max-width: 768px) {
    .brand-logos-panel { flex-wrap: wrap; gap: 32px; padding: 32px; }
    .brand-logos-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding: 40px 24px; }
}
.brand-logos-panel img, .brand-logos-grid img {
    height: 38px; width: auto;
    object-fit: contain; opacity: 0.85;
    transition: opacity 0.2s;
}
.brand-logos-panel img:hover, .brand-logos-grid img:hover { opacity: 1; }

/* Optical Balancing for specific logos */
.brand-logos-grid img[src*="virtue"]      { height: 26px; }
.brand-logos-grid img[src*="loreal"]      { height: 52px; }
.brand-logos-grid img[src*="olaplex"]     { height: 32px; }
.brand-logos-grid img[src*="inoa"]        { height: 40px; }
.brand-logos-grid img[src*="redken"]      { height: 28px; }
.brand-logos-grid img[src*="schwarzkopf"] { height: 56px; }

/* Extension Logos (Prominent) */
.brand-logos-panel img[src*="bellami"]    { height: 42px; }
.brand-logos-panel img[src*="philocaly"]   { height: 42px; }

/* ─── INLINE TEXT LINK ─── */
.text-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 9px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--brown); text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px; display: inline-block;
    margin-top: 20px;
    transition: color 0.2s;
}
.text-link:hover { color: var(--accent); }

/* ─── CTA BUTTONS (inline) ─── */
.btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--white); background: var(--brown);
    border: 1px solid var(--brown);
    padding: 13px 28px; text-decoration: none;
    display: inline-block;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--brown); background: transparent;
    border: 1px solid rgba(110,90,62,0.45);
    padding: 13px 28px; text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}
.btn-secondary:hover { background: var(--brown); color: var(--white); border-color: var(--brown); }

.btn-pair { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-pair.center { justify-content: center; }

/* ─── CTA BAND ─── */
.cta-band {
    background: var(--brown-dark);
    padding: 64px 48px; text-align: center;
}
.cta-band .label { color: var(--accent); margin-bottom: 14px; }
.cta-band h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-size: clamp(26px, 3.5vw, 44px);
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #F5F0EA; margin-bottom: 12px;
}
.cta-band p { color: rgba(245,240,234,0.6); margin-bottom: 36px; font-size: 15px; }
.cta-band .btn-pair { justify-content: center; }
.cta-band .btn-primary { background: var(--brown); }
.cta-band .btn-primary:hover { background: var(--accent); }
.cta-band .btn-secondary {
    color: rgba(245,240,234,0.8);
    border-color: rgba(245,240,234,0.3);
}
.cta-band .btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--brown);
    padding: 52px 48px 40px;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    text-decoration: none;
}
.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.footer-logo:hover .footer-logo-img {
    opacity: 1;
}
.footer-inner p, .footer-inner li {
    font-size: 13px; line-height: 1.9;
    color: rgba(249,248,246,0.65);
}
.footer-inner a {
    color: rgba(249,248,246,0.65);
    text-decoration: none; font-size: 13px;
    transition: color 0.2s;
}
.footer-inner a:hover { color: var(--accent-light); }
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 18px; display: block;
}
.hours-list { list-style: none; }
.hours-list li {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(191,167,145,0.1);
    color: rgba(249,248,246,0.65); gap: 12px;
    font-size: 13px;
}
.hours-list li span:first-child { color: rgba(249,248,246,0.85); font-weight: 400; }

.btn-footer-action {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; font-size: 8.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--accent); text-decoration: none;
    border-bottom: 1px solid rgba(191,167,145,0.4);
    padding-bottom: 4px; display: inline-block;
    transition: color 0.2s, border-color 0.2s;
}
.btn-footer-action:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

.footer-nav-links {
    display: flex; flex-direction: column; gap: 10px;
    list-style: none;
}
.footer-bottom {
    max-width: 1100px; margin: 44px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(191,167,145,0.18);
    display: flex; justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 9.5px; letter-spacing: 0.1em;
    color: rgba(249,248,246,0.3);
}
.ig-link {
    display: flex; align-items: center; gap: 8px;
    color: rgba(249,248,246,0.55); text-decoration: none;
    font-size: 11px; font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: color 0.2s; margin-top: 22px;
}
.ig-link:hover { color: var(--accent-light); }


/* ─── SLIDER / CAROUSEL ─── */
.slider-container {
    position: relative;
    overflow: hidden;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slider-slide {
    min-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.slider-dot.active {
    background: var(--accent);
}

/* ─── MISC UTILITIES ─── */
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    /* ─── BODY / GLOBAL ─── */

    /* ─── HEADER ─── */
    .header-inner {
        grid-template-columns: 1fr;
        padding: 16px 20px;
        justify-content: center;
    }
    .header-ctas { display: none; }
    /* Hide the desktop nav — mobile-nav (bottom) handles navigation */
    .main-nav { display: none; }
    .site-logo { font-size: 24px; letter-spacing: 0.38em; }

    /* ─── HERO ─── */
    .hero { height: 88vh; min-height: 520px; }
    .hero-body { padding: 0 24px; }
    .hero-title { font-size: clamp(34px, 9vw, 52px); margin-bottom: 8px; }
    .hero-sub { font-size: 14px; line-height: 1.7; margin-bottom: 32px; }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .btn-hero-primary,
    .btn-hero-ghost {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 14px 20px;
    }

    /* ─── PAGE HERO (interior pages) ─── */
    .page-hero { padding: 52px 20px 44px; }

    /* ─── SECTIONS ─── */
    .section { padding: 52px 20px; }

    /* ─── TWO-COL / GRIDS ─── */
    .two-col,
    .photo-text,
    .card-grid-3 { grid-template-columns: 1fr; gap: 36px; }
    .card-grid-2 { grid-template-columns: 1fr; gap: 16px; }

    /* ─── PHOTO-TEXT IMAGE HEIGHT ─── */
    .photo-text img { height: 300px; }

    /* ─── MISSION / PHILOSOPHY HEADING ROW ─── */
    .section-inner > div[style*="display:flex"] {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px !important;
    }
    .thin-rule { display: none; }

    /* ─── CTA BAND ─── */
    .cta-band { padding: 52px 20px; }
    .cta-band .btn-pair {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .cta-band .btn-primary,
    .cta-band .btn-secondary {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    /* ─── FOOTER ─── */
    .site-footer { padding: 44px 20px 32px; }
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 32px;
    }

}

/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-inner {
    padding: 32px 24px 100px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.close-menu-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--brown);
    cursor: pointer;
    padding: 8px;
    margin-right: -8px;
}
.mobile-menu-links {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
}
.menu-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    margin-top: 32px;
}
.menu-label:first-child { margin-top: 0; }

.mobile-menu-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brown);
    text-decoration: none;
    padding: 12px 0;
    transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu-links a.active {
    color: var(--accent);
    font-weight: 400;
}
.menu-divider {
    border: none;
    border-top: 1px solid var(--rule);
    margin: 12px 0;
}
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 40px;
}

/* ─── SMALL PHONE (≤ 420px) ─── */
@media (max-width: 420px) {
    .site-logo { font-size: 21px; letter-spacing: 0.32em; }
    .hero-title { font-size: clamp(30px, 10vw, 46px); }
    .section { padding: 44px 16px; }
    .cta-band { padding: 44px 16px; }
    .site-footer { padding: 40px 16px 28px; }
}

/* ─── MOBILE BOTTOM NAVIGATION ─── */
#global-mobile-nav {
    display: none; /* Hidden by default, shown via media query */
}

@media (max-width: 900px) {
    #global-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0;
        width: 100%; height: 74px;
        background: var(--bg);
        border-top: 1px solid var(--rule);
        z-index: 1000;
        padding: 0 10px;
        align-items: stretch;
        justify-content: space-around;
    }

    .mob-nav-link, .mob-nav-book {
        flex: 0 0 78px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-muted);
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: 8px;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        transition: color 0.2s;
    }
    .mob-nav-link svg, .mob-nav-book svg {
        margin-bottom: 5px;
        width: 18px; height: 18px;
        stroke-width: 1.25;
    }
    .mob-nav-link.active {
        color: var(--brown);
    }
    .mob-nav-book {
        background: var(--brown);
        color: var(--white);
        font-weight: 600;
    }
    
    /* Ensure page content doesn't get hidden behind the nav */
    body { padding-bottom: 74px; }
}

/* ─── SERVICES SUBMENU (Small Popup) ─── */
.services-submenu {
    position: fixed;
    bottom: 84px; /* nav height 74px + 10px gap */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: calc(100% - 40px);
    max-width: 340px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--rule);
    box-shadow: 0 12px 40px rgba(42, 34, 26, 0.18);
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    border-radius: 8px;
    overflow: hidden;
}

.services-submenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu-inner {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.submenu-inner a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown);
    text-decoration: none;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(191, 167, 145, 0.08);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submenu-inner a::after {
    content: '→';
    font-size: 11px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
}

.submenu-inner a:hover::after {
    opacity: 0.5;
    transform: translateX(0);
}

.submenu-inner a:last-child {
    border-bottom: none;
}

.submenu-inner a:hover, .submenu-inner a.active {
    background: rgba(110, 90, 62, 0.04);
    color: var(--accent);
    padding-left: 28px;
}

/* Backdrop for clicking outside */
.submenu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(28, 22, 18, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}
.submenu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

