/* ============================================================
   DENTAL STUDIO — PREMIUM WHITE + GOLD DESIGN SYSTEM
   Reference: Clean white, high-contrast Serif headings, 
              thin gold lines, editorial layout
   ============================================================ */

/* ─────────── GOOGLE FONTS ─────────── */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,700;1,6..96,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

/* ─────────── ROOT TOKENS ─────────── */
:root {
    /* Core Palette */
    --gold:          #B8924A;
    --gold-light:    #D4AF72;
    --gold-dark:     #9A7A3E;
    --gold-line:     rgba(184, 146, 74, 0.4);
    --gold-line-full:rgba(184, 146, 74, 0.85);

    /* Surfaces */
    --bg-main:       #FFFFFF;
    --bg-off:        #FAFAF9;
    --bg-muted:      #F5F3F0;

    /* Typography */
    --text-dark:     #1A1A1A;
    --text-mid:      #4A4A4A;
    --text-muted:    #8A8A8A;
    --text-light:    #B0B0B0;

    /* Legacy aliases (keep for existing HTML) */
    --primary:       var(--gold);
    --accent:        var(--gold);
    --accent-hover:  var(--gold-dark);
    --bg-dark:       var(--bg-main);
    --bg-pure-black: var(--bg-off);
    --bg-alt:        var(--bg-muted);
    --text-white:    var(--text-dark);
    --text-gray:     var(--text-muted);
    --text-main:     var(--text-dark);

    /* Transitions */
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --transition:    all 0.38s var(--ease);
    --transition-fast: all 0.22s var(--ease);

    /* Typography scale */
    --font-serif:    'Bodoni Moda', 'Times New Roman', serif;
    --font-sans:     'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-sans); }

/* ─────────── UTILITY CLASSES ─────────── */
.bg-white  { background-color: var(--bg-main) !important; }
.bg-black  { background-color: var(--bg-main) !important; }
.bg-off    { background-color: var(--bg-off)  !important; }
.bg-muted  { background-color: var(--bg-muted) !important; }

.container-full {
    padding: 0 60px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.container--narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Gold decorative line */
.gold-rule {
    display: block;
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 20px 0;
}

/* ─────────── SCROLL REVEAL ─────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 22px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(184, 146, 74, 0.15);
    transition: var(--transition);
}

.header--scrolled {
    padding: 14px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
}

/* 3-column grid: left nav | logo | right group */
.header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Logo — always centered */
.logo {
    text-align: center;
}

.logo a,
.logo-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    text-decoration: none;
}

.logo-top {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.logo-bottom {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 4.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 3px;
}

.nav--left {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Push items closer to center logo */
    padding-right: 40px; /* Space between nav and logo */
}

/* Right group: nav + lang + icons + burger — ONE row, never wraps */
.header__right {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Push items closer to center logo */
    gap: 24px;
    padding-left: 40px; /* Space from logo */
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Nav lists (shared style for left and right) */
.nav__list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__list a {
    font-size: 13px; /* INCREASED FONT SIZE for readability */
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-mid);
    position: relative;
    padding-bottom: 2px;
    white-space: nowrap;
}

.nav__list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav__list a:hover {
    color: var(--text-dark);
}

.nav__list a:hover::after,
.nav__list a.active::after {
    width: 100%;
}

.nav__list a.active {
    color: var(--gold);
}

/* Language switcher */
.lang {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-mid);
    white-space: nowrap;
}

.lang span {
    cursor: pointer;
    opacity: 0.45;
    transition: var(--transition-fast);
}

.lang span.active,
.lang span:hover {
    opacity: 1;
    color: var(--gold);
}

/* Header icons (visible on BOTH desktop and mobile) */
.header__icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__icon-link {
    color: var(--text-mid);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.header__icon-link:hover {
    color: var(--gold);
    opacity: 1;
    transform: translateY(-1px);
}

/* Burger — hidden on desktop, shown on mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: var(--transition-fast);
}

.mobile-sticky-btn { display: none !important; }

/* Desktop-only elements hidden on mobile */
@media (max-width: 991px) {
    .desktop-only { display: none !important; }

    .header { padding: 16px 0; }

    .header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header__right {
        gap: 16px;
    }

    .header__icon-link svg {
        width: 16px;
        height: 16px;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* ============================================================
   HERO (Main Page)
   ============================================================ */
.hero {
    position: relative;
    height: 70vh; /* Significantly reduced height like competitor */
    min-height: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-main);
}

.hero__video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.05); /* Slight zoom */
    opacity: 0.8; /* Make video more visible */
}

.hero__overlay {
    position: absolute;
    inset: 0;
    /* Soft white gradient: opaque on the left for text, gently fading to transparent on the right */
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 1) 40%,
        rgba(255, 255, 255, 0.45) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

/* Gold decorative corner accents (like reference) */
.hero__corner-tl,
.hero__corner-br {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.hero__corner-tl {
    top: 80px;
    right: 80px;
    border-top: 1px solid var(--gold-line-full);
    border-left: 1px solid var(--gold-line-full);
}

.hero__corner-br {
    bottom: 80px;
    right: 80px;
    border-bottom: 1px solid var(--gold-line-full);
    border-right: 1px solid var(--gold-line-full);
}

.container--hero-wrap {
    position: relative;
    z-index: 3;
    padding-left: 100px;
    max-width: 1440px;
    padding-right: 60px;
}

.hero__content h1 {
    font-family: var(--font-serif);
    font-size: 76px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--text-dark);
    max-width: 800px;
    margin-bottom: 36px;
    position: relative;
}

.heart-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(184, 146, 74, 0.3));
    animation: pulseHeart 3s ease-in-out infinite;
}

@keyframes pulseHeart {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 12px rgba(184, 146, 74, 0.5)); }
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    max-width: 480px;
    margin-bottom: 50px;
    line-height: 1.7;
    color: var(--text-mid); /* Dark subtitle */
    letter-spacing: 0.3px;
}

/* Wrapper section to ensure the info bar sits BELOW the hero and doesn't get pushed off-screen */
.hero-info-section {
    width: 100%;
    background: #ffffff; /* Solid white background — NO transparency */
    padding: 0;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--gold-line);
}

.hero__info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 60px;
    gap: 40px;
    background: #ffffff;
    width: 100%;
    margin: 0 auto;
    max-width: 1600px;
}

.hero__info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero__info-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.hero__info-value {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mid);
    letter-spacing: 0.3px;
}

.hero__social-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero__social-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold-line);
}

.hero__social-links a {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-mid);
    transition: var(--transition-fast);
}

.hero__social-links a:hover {
    color: var(--gold);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Gold fill button */
.btn--cta {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(184, 146, 74, 0.25);
}

.btn--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    opacity: 0;
    transition: opacity 0.34s var(--ease);
}

.btn--cta:hover::before { opacity: 1; }
.btn--cta:hover { box-shadow: 0 6px 30px rgba(184, 146, 74, 0.4); transform: translateY(-1px); }
.btn--cta span, .btn--cta [data-i18n] { position: relative; z-index: 1; }

/* Outline white button (for gold backgrounds) */
.btn--outline-dark {
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    background: transparent;
    padding: 15px 40px;
}

.btn--outline-dark:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* Gold outline button (for white backgrounds) */
.btn--outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    padding: 14px 32px;
}

.btn--outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

.btn--xl {
    padding: 20px;
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 2px;
}

/* ============================================================
   FEATURES UNDER HERO
   ============================================================ */
.hero__features-section {
    padding: 60px 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Spacing between cards */
    padding: 30px 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--gold);
    padding: 24px 15px;
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.feature-card span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.feature-card:hover {
    background: var(--gold);
}

.feature-card:hover span {
    color: #fff;
}

/* ============================================================
   INTERIOR / ABOUT PREVIEW BLOCK
   ============================================================ */
.interior-block {
    background: var(--bg-off);
    padding: 120px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.interior-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.interior-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: center;
}

.interior-media {
    position: relative;
}

.interior-media video,
.interior-media img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

/* Gold corner frame on media */
.interior-media::before,
.interior-media::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.interior-media::before {
    top: -14px;
    left: -14px;
    border-top: 1px solid var(--gold-line-full);
    border-left: 1px solid var(--gold-line-full);
}

.interior-media::after {
    bottom: -14px;
    right: -14px;
    border-bottom: 1px solid var(--gold-line-full);
    border-right: 1px solid var(--gold-line-full);
}

.interior-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.interior-content__text {
    max-width: 440px;
}

.main-desc {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 28px;
    color: var(--text-dark);
}

.side-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 48px;
}

.interior-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.more-link {
    font-size: 10px;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 2px;
}

.more-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.more-link:hover::after { width: 100%; }
.more-link:hover { color: var(--text-dark); }

/* ============================================================
   WORKS SECTION
   ============================================================ */
.works-section {
    background: var(--gold);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Subtle gold texture overlay */
.works-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
    opacity: 0.7;
}

.works-section .container { position: relative; z-index: 1; }

.works-header {
    text-align: center;
    margin-bottom: 60px;
}

.works-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #fff;
}

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

.works__item {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.works__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease), filter 0.5s ease;
    filter: brightness(0.92);
}

.works__item:hover img {
    transform: scale(1.06);
    filter: brightness(1);
}

.works-footer {
    text-align: center;
    margin-top: 60px;
}

/* ============================================================
   APPOINTMENT / BOOKING FORM
   ============================================================ */
.appointment {
    padding: 110px 0;
    background: var(--bg-main);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.section-title-alt {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.appointment-subtitle {
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 12px;
    line-height: 1.7;
}

.appointment-phone {
    text-align: center;
    margin-bottom: 52px;
    font-weight: 300;
    font-size: 14px;
    color: var(--text-mid);
}

.appointment-phone a {
    font-weight: 500;
    color: var(--gold);
    transition: var(--transition-fast);
}

.appointment-phone a:hover { color: var(--gold-dark); }

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-cols {
    display: flex;
    gap: 14px;
}

.form-cols input,
.form-cols textarea {
    flex: 1;
    background: var(--bg-off);
    border: 1px solid rgba(184, 146, 74, 0.2);
    padding: 18px 22px;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    border-radius: 2px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-cols input:focus,
.form-cols textarea:focus {
    border-color: var(--gold);
    background: var(--bg-main);
}

.form-cols input::placeholder,
.form-cols textarea::placeholder {
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-checkbox input[type="checkbox"] {
    accent-color: var(--gold);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
    position: relative;
    padding: 80px 0 0;
    background: var(--bg-main);
}

.map-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 28px;
    color: var(--text-dark);
}

.map-info {
    position: relative;
    z-index: 5;
    text-align: center;
    background: var(--bg-main);
    padding-bottom: 50px;
}

.map-info__inner {
    max-width: 600px;
    margin: 0 auto;
}

.map-info__inner > * { margin-bottom: 0; }

.map-address {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 18px;
}

.btn--map-pin {
    display: inline-block;
    color: var(--gold);
    border-bottom: 1px solid var(--gold-line);
    padding-bottom: 4px;
    margin-bottom: 32px;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.btn--map-pin:hover {
    color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.map-hours {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hours-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.map-hours > p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
}

.map-iframe-wrap {
    height: 460px;
    overflow: hidden;
    filter: saturate(0.3) brightness(1.05);
    border-top: 1px solid var(--gold-line);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 80px 0 50px;
    background: var(--bg-main);
    border-top: 1px solid rgba(184, 146, 74, 0.2);
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.col-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer__col p {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 6px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-phone {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--text-dark) !important;
    margin-top: 8px;
}

.footer-map-link {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 14px;
    border-bottom: 1px solid var(--gold-line);
    padding-bottom: 3px;
    transition: var(--transition-fast);
}

.footer-map-link:hover { color: var(--gold-dark); }

.footer__col--center .logo-top {
    font-size: 26px;
    letter-spacing: 8px;
}

.footer__col--center .logo-bottom {
    font-size: 9px;
    letter-spacing: 4px;
}

.tagline {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 14px;
}

.footer__bottom {
    padding-top: 30px;
    text-align: center;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-light);
}

/* Mobile sticky CTA */
.mobile-sticky-btn {
    display: none;
}

/* ============================================================
   SUBPAGES — General
   ============================================================ */
.subpage {
    background-color: var(--bg-main);
}

/* Standard subpage hero (text on white) */
.subpage-hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background-color: var(--bg-main);
    text-align: center;
    border-bottom: 1px solid var(--gold-line);
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.page-subtitle {
    font-size: 13px;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.5px;
    line-height: 1.7;
}

.works-gallery-section {
    padding: 80px 0;
}

/* ============================================================
   CASES PAGE
   ============================================================ */
.page-container {
    padding-top: 110px;
    background-color: var(--bg-main);
}

.page-title {
    font-family: var(--font-serif);
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.filters-wrap {
    margin-bottom: 44px;
    overflow-x: auto;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.filters-scroll {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(184, 146, 74, 0.2);
    color: var(--text-mid);
    padding: 8px 20px;
    border-radius: 1px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* Very thin gap for high-end look */
    background-color: var(--bg-main);
    padding-bottom: 80px;
}

.case-card {
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    overflow: hidden;
}

.case-card__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.56s var(--ease), filter 0.4s ease;
    filter: brightness(0.95);
}

.case-card:hover .case-card__img {
    transform: scale(1.05);
    filter: brightness(1.02);
}

.case-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s var(--ease);
    backdrop-filter: blur(2px);
}

.case-card:hover .case-card__overlay { opacity: 1; }

.case-card__overlay span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 12px 28px;
    transition: transform 0.6s var(--ease);
    transform: translateY(10px);
}

.case-card:hover .case-card__overlay span {
    transform: translateY(0);
}

@media (min-width: 1025px) {
    .cases-grid { 
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 2px !important;
    }
}

@media (max-width: 1024px) {
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .cases-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.about-hero__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75) saturate(0.7);
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 50%, rgba(255,255,255,0.9) 100%);
}

.about-section {
    padding: 100px 0;
    background: var(--bg-main);
}

.about-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-col { flex: 1; }

.about-col--img {
    position: relative;
}

.about-col--img img {
    width: 100%;
    border-radius: 1px;
}

.about-col--img::before,
.about-col--img::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    pointer-events: none;
}

.about-col--img::before {
    top: -12px;
    left: -12px;
    border-top: 1px solid var(--gold-line-full);
    border-left: 1px solid var(--gold-line-full);
}

.about-col--img::after {
    bottom: -12px;
    right: -12px;
    border-bottom: 1px solid var(--gold-line-full);
    border-right: 1px solid var(--gold-line-full);
}

.section-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.about-desc {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 36px;
    color: var(--text-dark);
}

.about-links {
    display: flex;
    gap: 20px;
}

/* Team Section & Accordion */
.team-section {
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.team-accordion {
    display: flex;
    height: 700px;
    width: 100%;
    gap: 1px;
    margin-top: 60px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-member {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-member.active {
    flex: 6;
}

.team-member__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 25%;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-member.active .team-member__img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.team-member__info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.15s;
    pointer-events: none;
    z-index: 2;
}

.team-member.active .team-member__info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.team-member__info h3 {
    font-family: var(--font-serif);
    font-size: 36px;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.team-member__info p {
    font-size: 14px;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.75);
    max-width: 450px;
    line-height: 1.8;
}

.team-member__info .specialist-label-gold {
    color: #B8924A;
    font-weight: 400;
    font-size: 13px;
    margin: 5px 0 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-member__info h3 {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #fff;
}

.team-member__label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255,255,255,0.7);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.team-member.active .team-member__label { opacity: 0; transition: opacity 0.2s; }

/* Mobile 'Clean Plate' Accordion - Ultimate Robust Fix */
@media (max-width: 1024px) {
    .team-section {
        padding: 50px 0;
        background: #fff;
    }

    .team-accordion {
        display: block !important;
        height: auto !important;
        margin-top: 30px;
    }

    .team-member {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 65px !important;
        margin-bottom: 20px !important;
        border: 1px solid rgba(184, 146, 74, 0.2) !important;
        border-radius: 8px !important;
        background: #fff !important;
        overflow: hidden !important;
        transition: all 0.5s ease;
        position: relative !important;
    }

    .team-member.active {
        background: #fdfaf5 !important;
        border-color: var(--gold) !important;
        padding-bottom: 0px;
        box-shadow: 0 10px 30px rgba(184, 146, 74, 0.1) !important;
    }

    .team-member__label {
        position: static !important;
        display: flex !important;
        flex-direction: column !important; /* STACK NAME AND ROLE */
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 85px !important; /* SLIGHTLY TALLER PLATE */
        margin: 0 !important;
        padding: 10px 15px !important;
        color: #B8924A !important;
        z-index: 10 !important;
        transform: none !important;
        background: #fff !important;
        text-align: center !important;
        gap: 4px !important;
    }

    .team-member__label strong {
        display: block !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
        line-height: 1.2 !important;
    }

    .team-member__label small {
        display: block !important;
        font-size: 11px !important;
        font-weight: 300 !important;
        letter-spacing: 1px !important;
        color: #888 !important;
        text-transform: none !important;
    }

    .team-member.active .team-member__label {
        min-height: 65px !important;
        background: #fdfaf5 !important;
        border-bottom: 1px solid rgba(184, 146, 74, 0.1);
        margin-bottom: 0 !important;
    }

    .team-member.active .team-member__label strong {
        font-size: 12px !important;
        color: #B8924A !important;
    }

    .team-member.active .team-member__label small {
        display: none !important; /* Hide role from header when photo is open */
    }

    .team-member__img {
        display: none;
        position: relative !important;
        width: 100% !important;
        height: 380px !important;
        opacity: 0;
        transform: scale(1.05);
        transition: opacity 0.5s ease, transform 0.5s ease;
        background-position: center 25%;
    }

    .team-member.active .team-member__img {
        display: block !important;
        opacity: 1;
        transform: scale(1);
    }

    .team-member__info {
        position: relative !important;
        display: none;
        padding: 5px 20px !important;
        text-align: center !important;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
        background: transparent !important;
    }

    .team-member.active .team-member__info {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
    }

    .team-member__info h3 { 
        display: block !important; 
        color: #B8924A !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        letter-spacing: 1.5px !important;
    }

    .team-member__info p {
        font-size: 16px !important;
        line-height: 1.8 !important;
        color: #444 !important;
        margin: 0 !important;
        max-width: 90% !important;
        margin: 0 auto !important;
    }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    right: 48px;
    bottom: 120px; /* Above the floating contact star button if present */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.scroll-top-btn:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-4px);
}

.scroll-top-btn--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        right: 15px;
        bottom: 85px; /* Above the mobile sticky booking button */
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   CONTACT HUB & FLOAT BTN
   ============================================================ */
.contact-hero {
    padding: 60px 0 100px;
    background: var(--bg-main);
}

.contact-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-direct-call {
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mid);
}

.btn--call {
    color: var(--gold);
    margin-left: 8px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn--call:hover { color: var(--gold-dark); }

.contact-page-form {
    background: transparent;
    padding: 0;
}

.contact-page-form input,
.contact-page-form textarea {
    background: var(--bg-off);
    border: 1px solid rgba(184, 146, 74, 0.2);
    padding: 18px 22px;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 13px;
    border-radius: 2px;
    margin-bottom: 18px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
    border-color: var(--gold);
    background: var(--bg-main);
}

.btn--submit-contact {
    width: 100%;
    margin-top: 20px;
}

.contact-info-section {
    padding: 80px 0;
    border-top: 1px solid rgba(184, 146, 74, 0.15);
    background: var(--bg-off);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
}

.box-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.box-address, .box-hours {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 20px;
    max-width: 400px;
    color: var(--text-dark);
}

.contact-map-full {
    height: 500px;
    width: 100%;
    background: var(--bg-muted);
    filter: saturate(0.3) brightness(1.05);
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero {
    padding: 130px 0 60px;
    text-align: center;
    background: var(--bg-main);
    border-bottom: 1px solid var(--gold-line);
}

.services-hero h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.services-hero p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

.services-layout {
    display: flex;
    gap: 70px;
    margin: 40px 0 80px;
    align-items: flex-start;
}

.services-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 110px;
}

.services-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.services-nav li {
    cursor: pointer;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-left: 1.5px solid transparent;
    transition: var(--transition-fast);
}

.services-nav li:hover { color: var(--text-dark); }
.services-nav li.active {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(184, 146, 74, 0.04);
}

.services-content-area {
    flex-grow: 1;
    min-height: 600px;
}

.service-tabpane {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-tabpane.active {
    display: block;
    opacity: 1;
}

.service-pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}

.service-pane-title {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

.service-pane-content {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-pane-media {
    height: 580px;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.service-pane-media::before,
.service-pane-media::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 2;
}

.service-pane-media::before {
    top: -10px;
    right: -10px;
    border-top: 1px solid var(--gold-line-full);
    border-right: 1px solid var(--gold-line-full);
}

.service-pane-media::after {
    bottom: -10px;
    left: -10px;
    border-bottom: 1px solid var(--gold-line-full);
    border-left: 1px solid var(--gold-line-full);
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) saturate(0.8);
}

/* ─── Services Details / Accordion ─── */
.services-details-section {
    background-color: var(--bg-off);
    padding: 100px 0 140px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.services-tabs-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 56px;
}

.tab-btn-outline {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid rgba(184, 146, 74, 0.2);
    border-radius: 2px;
    padding: 22px 10px;
    color: var(--text-mid);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.tab-btn-outline:hover { border-color: var(--gold-line); color: var(--text-dark); }

.tab-btn-outline.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.accordion-item-box {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(184, 146, 74, 0.2);
    border-radius: 2px;
    background: var(--bg-main);
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
}

.accordion-item-box:last-child { margin-bottom: 0; }
.accordion-item-box:hover { border-color: rgba(184, 146, 74, 0.5); }
.accordion-item-box.active { border-color: var(--gold); }

.accordion-item-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 36px 50px;
    cursor: pointer;
}

.accordion-header-box {
    display: flex;
    align-items: center;
    gap: 24px;
}

.accordion-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gold);
    stroke-width: 1.2;
}

.accordion-title {
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.6px;
}

.accordion-arrow {
    color: var(--gold-line-full);
    transition: transform 0.3s ease;
}

.accordion-arrow svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
}

.accordion-item-box.active .accordion-arrow { transform: rotate(180deg); }

.accordion-item-content {
    display: none;
    padding: 0 50px 50px;
}

.accordion-item-box.active .accordion-item-content { display: block; }

.accordion-content-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 44px;
    margin-bottom: 44px;
}

.accordion-content-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-mid);
    align-self: center;
}

.accordion-content-media {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 2px;
    overflow: hidden;
}

.accordion-content-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7) brightness(0.95);
}

.accordion-price-list {
    display: flex;
    flex-direction: column;
}

.accordion-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(184, 146, 74, 0.15);
}

.accordion-price-item:last-child {
    border-bottom: 1px solid rgba(184, 146, 74, 0.15);
}

.price-item-name {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mid);
}

.price-item-name i {
    cursor: help;
    font-style: normal;
    color: var(--text-muted);
    background: var(--bg-muted);
    border-radius: 50%;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.price-item-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.price-item-value {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
    white-space: nowrap;
}

.price-item-btn {
    background: var(--gold);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    padding: 11px 24px;
    border-radius: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.price-item-btn:hover { background: var(--gold-dark); }

/* Simple accordion (contact/cases pages) */
.services-tabs-wrap {
    margin-bottom: 56px;
    border-bottom: 1px solid rgba(184, 146, 74, 0.2);
}

.services-tabs {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    padding-bottom: 14px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-mid);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0.5;
    transition: var(--transition-fast);
    padding: 0;
}

.tab-btn.active,
.tab-btn:hover {
    opacity: 1;
    color: var(--gold);
}

.tab-content, .accordion-panel { display: none; }
.tab-content.active, .accordion-panel.active { display: block; }

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    cursor: pointer;
}

.accordion-icon {
    font-size: 22px;
    font-weight: 200;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.accordion-item.open .accordion-body {
    max-height: 2000px;
    padding-bottom: 36px;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(184, 146, 74, 0.2);
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mid);
}

.price-value {
    color: var(--gold);
    font-weight: 500;
    font-size: 14px;
}

/* ============================================================
   CASE DETAIL PAGE
   ============================================================ */
.case-hero {
    position: relative;
    height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.case-hero__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) saturate(0.7);
    z-index: 0;
}

.case-hero > * { position: relative; z-index: 1; }

.case-title-main {
    font-family: var(--font-serif);
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 4px;
    color: #fff;
}

.treatment-plan {
    padding: 100px 0;
    background: var(--bg-main);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.plan-item {
    border-top: 1px solid var(--gold-line);
    padding-top: 22px;
}

.plan-cat {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}

.plan-doctor {
    color: var(--gold);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
}

.plan-desc {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.5;
}

.case-results {
    padding: 100px 0;
    background: var(--bg-off);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 40px;
}

.result-img-box { position: relative; }
.result-img-box img { width: 100%; height: auto; display: block; }

.result-img-box .label {
    position: absolute;
    bottom: 18px;
    left: 18px;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.85);
    color: var(--text-dark);
    padding: 5px 12px;
}

/* ============================================================
   SECTION HEADINGS — shared
   ============================================================ */
.section-heading {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-heading--white {
    color: #fff;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 1200px) {
    .header__inner {
        grid-template-columns: 1fr auto 1fr;
    }
    .nav__list { gap: 24px; }
}

@media (max-width: 991px) {
    .services-layout { flex-direction: column; gap: 40px; }
    .services-sidebar { width: 100%; position: relative; top: 0; }
    .services-nav { flex-direction: row; overflow-x: auto; padding-bottom: 12px; white-space: nowrap; }
    .services-nav li { padding: 12px; border-left: none; border-bottom: 1.5px solid transparent; }
    .services-nav li.active { border-left: none; border-bottom-color: var(--gold); }
    .service-pane-grid { grid-template-columns: 1fr; }
    .service-pane-media { height: 360px; order: -1; }
    .accordion-content-grid { grid-template-columns: 1fr; gap: 24px; }
    .services-tabs-row { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr; 
        gap: 12px; 
        width: 100%;
        margin-bottom: 40px;
    }
    .tab-btn-outline { 
        padding: 14px 8px; 
        font-size: 10px; 
        white-space: normal; /* Allow text wrap for long names like Aesthetic Dentistry */
        text-align: center;
        line-height: 1.3;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 60px; /* Ensure they are all the same height */
    }
}

@media (max-width: 768px) {
    .container-full { padding: 0 20px; }
    .container { padding: 0 20px; }
    .container--narrow { padding: 0 20px; }

    /* ── Header Mobile ───────────────────────── */
    .header { padding: 14px 0; }
    .header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo stays on the left */
    .logo {
        position: static;
        transform: none;
        text-align: left;
    }

    /* Right side: flex end for icons and burger */
    .header__right { gap: 12px; }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
        flex-shrink: 0;
    }

    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 1.5px;
        background: var(--text-dark);
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .header__inner.mobile-menu-active .mobile-menu-btn span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .header__inner.mobile-menu-active .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    .header__inner.mobile-menu-active .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .nav--left, .nav--right, .lang { display: none; }  /* hide by default on mobile */

    /* ── Hero Mobile ───────────────────────── */
    .container--hero-wrap {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 60px; /* clear fixed header */
    }
    .hero__content h1 { font-size: 38px; }
    
    /* Make the CTA button beautifully centered on mobile */
    .hero__content .btn--cta {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Info bar below hero mobile fixes */
    .hero-info-section {
        padding: 0;
    }
    .hero__info-bar { 
        position: relative;
        margin: 0;
        width: 100%;
        padding: 16px 20px; 
        gap: 10px; 
        flex-direction: row; 
        align-items: center; 
        justify-content: space-between;
        background: #fff;
        border: none;
        border-bottom: 1px solid var(--gold-line);
        border-radius: 0;
    }
    
    .hero__info-label { display: none; }
    .hero__info-value { 
        font-size: 10px; /* Smallest size to fit one line */
        white-space: nowrap;
    }
    .hero__social-links { display: none; }
    
    /* Hide corner accents on mobile — too clunky */
    .hero__corner-tl, .hero__corner-br { display: none; }
    
    /* Добавляем прозрачность оверлею, чтобы видео было видно! */
    .hero__overlay {
        background: linear-gradient(to bottom, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 100%) !important;
    }
    .hero__video-wrap video {
        object-position: center; /* На мобилке фокусируем центр видео */
    }

    /* ── Feature Cards ───────────────────────── */
    .features-grid { 
        grid-template-columns: 1fr !important; 
        gap: 12px; 
        padding: 10px 0; /* Remove side padding to make buttons wider */
        width: 100%;
    }
    .feature-card {
        width: 100%;
        margin: 0 auto;
        max-width: none;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid var(--gold);
        border-radius: 4px;
        padding: 18px 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    }
    .feature-card span {
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 1.2px;
        color: var(--text-dark);
    }

    /* ── Hide FAB — sticky button covers it ─── */
    .float-contact { display: none !important; }
    
    /* ── About Section (Interior Block) ─────── */
    .interior-grid {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }
    .interior-media {
        width: calc(100% + 40px); /* Выводим за границы контейнера на всю ширину экрана */
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0; 
    }
    .interior-video {
        border-radius: 0;
    }
    .interior-content {
        padding: 0;
    }
    .main-desc {
        text-align: justify;
    }
    
    .about-row { flex-direction: column; gap: 40px; }
    .team-accordion { flex-direction: column; height: auto; }
    .team-member { height: 90px; flex: none; }
    .team-member.active { height: 380px; }
    .team-member__label { transform: translate(-50%, -50%); }

    /* Plan */
    .plan-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }

    /* Form */
    .form-cols { flex-direction: column; }

    /* Contact */
    .contact-info-grid { grid-template-columns: 1fr; gap: 40px; }
    .box-address { font-size: 20px; }

    /* Case */
    .case-title-main { font-size: 38px; }

    /* Accordion */
    .accordion-item-box-header { padding: 24px 20px; }
    .accordion-item-content { padding: 0 20px 30px; }

    /* Footer */
    .footer__inner { grid-template-columns: 1fr; gap: 40px; }

    /* Mobile sticky button */
    .mobile-sticky-btn {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        color: #fff;
        text-align: center;
        padding: 18px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 2px;
        text-transform: uppercase;
    }
}

@media (max-width: 480px) {
    .hero__content h1 { font-size: 30px; }
    .section-heading { font-size: 28px; }
    .section-title-alt { font-size: 26px; }
    .works__grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr !important; } /* 1 col on very small */
}

@media (max-width: 1024px) {
    .accordion-content-grid { grid-template-columns: 1fr; }
    .case-title-main { font-size: 40px; }
}

/* ============================================================
   FINE DETAILS & ANIMATIONS
   ============================================================ */

/* Gold shimmer on hover for gold areas */
@keyframes gold-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.btn--cta:hover .shimmer,
.btn--cta:focus .shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    background-size: 200% auto;
    animation: gold-shimmer 1.2s linear;
}

/* Fade-in page entrance */
@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

main {
    animation: pageIn 0.5s var(--ease) both;
}

/* --- CONTACT HUB MODAL --- */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.contact-modal--active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 70px 50px;
    border: 1px solid rgba(184, 146, 74, 0.2);
    position: relative;
    text-align: center;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.contact-modal--active .contact-modal-content {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #B8924A;
    padding: 10px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.contact-modal-close:hover { opacity: 1; }

.contact-hub-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 34px;
    margin-bottom: 8px;
    color: #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-hub-subtitle {
    font-size: 11px;
    color: #888;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.messenger-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.messenger-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1A1A1A !important;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
    min-width: 80px;
}

.messenger-link:hover {
    transform: translateY(-5px);
}

.messenger-icon-box {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(184, 146, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    transition: all 0.4s ease;
    color: #B8924A;
}

.messenger-link:hover .messenger-icon-box {
    background: #B8924A;
    color: #fff;
    border-color: #B8924A;
    box-shadow: 0 15px 30px rgba(184, 146, 74, 0.25);
}

.callback-divider {
    font-size: 9px;
    color: #bbb;
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.callback-divider::before,
.callback-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0f0f0;
    margin: 0 20px;
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.callback-input {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #fcfcfc;
    text-align: center;
}

.callback-input:focus {
    border-color: #B8924A;
    background: #fff;
    box-shadow: 0 5px 15px rgba(184,146,74,0.05);
}

.float-contact {
    display: none !important;
}

.messenger-callback-choice {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0 5px;
}

.choice-btn {
    font-size: 9px;
    padding: 12px 18px;
    border: 1px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1.5px;
    color: #aaa;
    text-transform: uppercase;
}

.choice-btn.active {
    border-color: #B8924A;
    color: #B8924A;
    background: rgba(184, 146, 74, 0.05);
}

.btn-submit-callback {
    background: linear-gradient(135deg, #D4AF72 0%, #B8924A 100%);
    color: #fff;
    border: none;
    padding: 22px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.4s;
    box-shadow: 0 15px 30px rgba(184, 146, 74, 0.2);
}

.btn-submit-callback:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(184, 146, 74, 0.35);
}

/* Floating Contact Button */
.float-contact {
    position: fixed !important;
    right: 50px !important;
    bottom: 50px !important;
    left: auto !important;
    top: auto !important;
    z-index: 99998; /* Lowered from 999999 to stay below modals */
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, #D4AF72 0%, #B8924A 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(184, 146, 74, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-contact:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 20px 45px rgba(184, 146, 74, 0.5);
}

.float-contact svg {
    width: 28px;
    height: 28px;
    display: block;
}

@media (max-width: 600px) {
    /* Refactored to prevent full-screen stretching */
    .float-contact {
        right: 25px;
        bottom: 25px;
        width: 60px;
        height: 60px;
    }
}
/* --- CONTACT MODAL (MESSENGER HUB) --- */
.contact-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.4);
    z-index: 200001 !important;
    display: none; 
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

@media (min-width: 1025px) {
    .contact-modal {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.contact-modal--active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.contact-modal-content {
    background: #fff;
    width: 90%;
    max-width: 320px;
    padding: 30px 20px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    display: table; /* Force it to hug contents */
    margin: auto;
    height: auto !important;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .contact-modal-content {
        padding: 25px 15px;
        width: 85%;
        margin: auto;
    }
}

.contact-modal--active .contact-modal-content {
    transform: translateY(0);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 5;
    transition: color 0.3s;
}
.contact-modal-close:hover { color: var(--gold); }

.contact-hub-title {
    font-family: var(--font-serif);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-hub-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.messenger-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.messenger-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 10px;
    border: 1px solid rgba(184, 146, 74, 0.1);
    background: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.messenger-link:hover {
    background: #fafaf9;
    border-color: var(--gold);
    transform: translateY(-3px);
}

.messenger-icon-box {
    color: var(--gold);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(184, 146, 74, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messenger-icon-box svg {
    width: 18px !important;
    height: 18px !important;
}

.messenger-link span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============================================================
   LIVE ONLINE BOOKING MODAL
   ============================================================ */
.booking-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000000 !important; /* Ultra high for mobile priority */
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    display: none; 
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.booking-modal--active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

@media (min-width: 1025px) {
    .booking-modal-overlay {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

@media (max-width: 1024px) {
    .booking-modal-overlay {
        display: none !important; /* Kill the blocker on mobile */
    }
}

.booking-modal-content {
    background: #fff;
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    max-height: 850px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
}

.booking-modal--active {
    visibility: visible;
    opacity: 1;
}

.booking-modal--active .booking-modal-content {
    transform: scale(1) translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #fff;
    border: none;
    font-size: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1a1a1a;
    z-index: 200; /* Ensure it's above the loader */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#bookingIframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

/* Loader */
.booking-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100; /* Higher than iframe but handle closing in JS */
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.booking-modal--active .booking-loader:not(.hidden) {
    pointer-events: auto;
}

.booking-loader p {
    margin-top: 20px;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.spinner-gold {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(184, 146, 74, 0.1);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .booking-modal {
        display: none;
        position: fixed !important;
        inset: 0 !important;
        background: #fff !important;
        z-index: 2000000 !important;
        pointer-events: auto !important;
        transition: none !important; /* Killer of coordinate shifts */
    }
    .booking-modal--active {
        display: block !important;
    }
    .booking-modal-content {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: #fff !important;
        z-index: 2000001 !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    #bookingIframe {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 2000002 !important;
        pointer-events: auto !important;
    }
    .booking-modal-close {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 3000000 !important;
        width: 44px !important;
        height: 44px !important;
        background: #fff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    }
    .booking-loader {
        z-index: 2500000 !important;
    }
}

   MOBILE FULL-SCREEN OVERLAY MENU
   ============================================================ */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-dark);
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .mobile-menu-btn { display: flex; }
}

#mobileMenuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 19999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Block clicks only when active */
}

#mobileMenuOverlay.mobile-overlay--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-overlay__close {
    position: absolute;
    top: 22px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-mid);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.mobile-overlay__close:hover { color: var(--gold); }

.mobile-overlay__logo {
    margin-bottom: 48px;
    margin-top: 40px; /* Space from top */
    display: flex;
    justify-content: center;
    width: 100%;
}

.mobile-overlay__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.mobile-overlay__nav a {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-dark);
    text-transform: uppercase;
    transition: color 0.25s;
}
.mobile-overlay__nav a:hover { color: var(--gold); }

.mobile-overlay__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-overlay__footer a {
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 1.5px;
}



/* ============================================================
   CASES PAGE FILTERS (Pill Style - Like Original)
   ============================================================ */
.cases-page {
    padding: 100px 0;
    background: #fdfaf5; /* Ivory background like original */
}

.filters-wrap {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.filters-scroll {
    display: flex;
    flex-wrap: wrap; /* Cloud of buttons like original */
    gap: 12px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 30px;
    border: 1px solid rgba(184, 146, 74, 0.2);
    border-radius: 50px;
    background: #E8D5C4; /* Non-active beige */
    color: #000;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #dfc7b2;
}

.filter-btn.active {
    background: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
    font-weight: 500 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
}

@media (max-width: 768px) {
    .filters-wrap {
        justify-content: flex-start;
        padding-bottom: 15px;
        margin-bottom: 40px;
    }
    
    .filters-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        scrollbar-width: none;
    }
    
    .filters-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ============================================================
   INTERNAL CASE TABS (ETAPY LIKUVANNYA)
   ============================================================ */
.treatment-plan {
    padding: 100px 0;
    background: #fdfaf5;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.plan-tab-btn {
    padding: 15px 0;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #888;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.plan-tab-btn.active {
    color: #000;
}

.plan-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
}

.plan-content-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.plan-stage {
    display: none;
    animation: fadeIn 0.5s ease;
}

.plan-stage.active {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.plan-stage__img {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.plan-stage__img img {
    width: 100%;
    height: auto;
    display: block;
}

.plan-stage__text {
    padding-right: 20px;
}

.plan-stage__cat {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.plan-stage__doctor {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.plan-stage__desc {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

@media (max-width: 991px) {
    .plan-tabs {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        scrollbar-width: none;
    }
    
    .plan-stage.active {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .plan-stage__text {
        text-align: center;
        padding: 0;
    }
}

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

/* Base Case Elements */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.case-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 600px;
}

.case-card__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-card:hover .case-card__img {
    transform: scale(1.05);
}

.case-card__overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    z-index: 2;
}

.case-card__overlay span {
    font-size: 11px;
    letter-spacing: 3px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    text-transform: uppercase;
    border-radius: 2px;
}

.case-hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
    overflow: hidden;
}

.case-hero__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.case-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    z-index: 0;
}

.case-hero__content {
    position: relative;
    z-index: 2;
    padding-left: 80px;
}

.case-title-main {
    font-family: var(--font-serif);
    font-size: 64px;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.case-results {
    padding: 120px 0;
    background: #fff;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.result-img-box {
    position: relative;
}

.result-img-box img {
    width: 100%;
    display: block;
}

.result-img-box .label {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fff;
    color: #000;
    padding: 6px 15px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cases-grid { grid-template-columns: 1fr; }
    .case-card { height: 450px; }
    .case-title-main { font-size: 36px; }
    .case-hero__content { padding-left: 20px; }
    .results-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */
.ai-chat-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #B8924A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(184,146,74,0.25);
    transition: background 0.2s, transform 0.2s;
}
.ai-chat-launcher:hover {
    background: #B8924A;
    transform: scale(1.08);
}
.ai-chat-launcher svg {
    color: #B8924A;
    pointer-events: none;
}
.ai-chat-launcher:hover svg {
    color: #fff;
}
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    max-width: calc(100vw - 20px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-sans, 'Inter', sans-serif);
}
.ai-chat-window.ai-chat-open {
    display: flex;
}
.ai-chat-header {
    background: #fff;
    color: #1a1a1a;
    border-bottom: 2px solid #B8924A;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ai-chat-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.ai-chat-close:hover { opacity: 1; }
.ai-chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    max-height: 340px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f8f6;
}
.ai-msg {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}
.bot-msg {
    background: #fff;
    align-self: flex-start;
    border: 1px solid #e8e2d8;
    color: #1a1a1a;
}
.user-msg {
    background: #B8924A;
    color: #fff;
    align-self: flex-end;
}
.ai-chat-input-area {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e8e2d8;
    gap: 8px;
    background: #fff;
}
.ai-chat-input-area input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
}
.ai-chat-input-area input:focus {
    border-color: #B8924A;
}
.ai-send-btn {
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}
.ai-send-btn:hover { background: #B8924A; }
