/* ══════════════════════════════════════════════════════════
   L'Atelier d'Odrey — Design System
   Couleurs: Lin, Terracotta, Doré
   ══════════════════════════════════════════════════════════ */

:root {
    --lin: #C4A882;
    --terracotta: #C67B5C;
    --gold: #C5A55A;
    --bg: #FAF8F5;
    --bg-card: #FFFFFF;
    --text: #3E2F23;
    --text-light: #8B7B6B;
    --text-muted: #B5A899;
    --border: #E8E0D8;
    --success: #5B9A6E;
    --danger: #C75050;
    --warning: #D4A04A;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(62,47,35,0.08);
    --shadow-lg: 0 8px 32px rgba(62,47,35,0.12);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Dancing Script', cursive;
    --nav-height: 64px;
    --header-height: 56px;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: var(--header-height);
    padding-bottom: calc(var(--nav-height) + 16px);
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
a { color: var(--terracotta); text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }

.logo {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--terracotta);
    font-weight: 700;
}

/* ── Header ── */
#app-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
}
.header-left .logo { font-size: 1.4rem; cursor: pointer; }
.header-right { display: flex; align-items: center; gap: 8px; }
.dropdown-menu {
    position: absolute; top: var(--header-height); right: 8px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    min-width: 180px; z-index: 200;
}
.dropdown-menu a { display: block; padding: 10px 16px; color: var(--text); }
.dropdown-menu a:hover { background: var(--bg); text-decoration: none; }
.dropdown-label { padding: 10px 16px; font-weight: 600; border-bottom: 1px solid var(--border); font-size: .9rem; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 20px; border: none; border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .95rem; font-weight: 500;
    cursor: pointer; transition: all .2s;
}
.btn:active { transform: scale(0.97); }
.btn-terracotta { background: var(--terracotta); color: #fff; }
.btn-terracotta:hover { background: #B56A4D; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #B39349; }
.btn-outline { background: transparent; border: 1.5px solid var(--terracotta); color: var(--terracotta); }
.btn-outline:hover { background: var(--terracotta); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { background: none; border: none; font-size: 1.3rem; cursor: pointer; position: relative; padding: 4px; }
.btn-back { background: none; border: none; color: var(--terracotta); font-size: .95rem; cursor: pointer; padding: 8px 0; font-weight: 500; }

.badge {
    position: absolute; top: -4px; right: -6px;
    background: var(--danger); color: #fff; font-size: .7rem;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

/* ── Forms ── */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--text-light); margin-bottom: 4px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: var(--font); font-size: .95rem;
    background: var(--bg-card); color: var(--text); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--terracotta);
}
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; margin: 12px 0; }
.checkbox-label input { width: auto; accent-color: var(--terracotta); }
.error-msg { color: var(--danger); font-size: .85rem; margin: 8px 0; min-height: 1.2em; }
.search-bar { padding: 0 16px 12px; }
.search-bar input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 24px; font-size: .95rem; background: var(--bg-card); }

/* ── Pages ── */
.page { display: none; padding: 16px; max-width: 800px; margin: 0 auto; }
.page.active { display: block; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.page-header p { width: 100%; font-size: .85rem; color: var(--text-light); }
.section { margin-bottom: 28px; }
.section h3 { margin-bottom: 12px; }

/* ── Hero (Home) ── */
.hero {
    text-align: center; padding: 40px 16px 32px;
    background: linear-gradient(135deg, var(--lin) 0%, var(--terracotta) 100%);
    border-radius: var(--radius); color: #fff; margin: -16px -16px 24px;
}
.hero-title { font-size: 2.4rem; color: #fff; }
.hero-subtitle { font-size: 1.1rem; margin: 8px 0; opacity: .9; }
.hero-location { font-size: .95rem; opacity: .8; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-terracotta { background: #fff; color: var(--terracotta); }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero-rating { margin-top: 20px; font-size: .9rem; opacity: .85; }

/* ── Install Banner ── */
.install-banner {
    position: fixed; bottom: calc(var(--nav-height) + 8px); left: 8px; right: 8px;
    background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 16px; z-index: 90;
}
.install-content { text-align: center; }
.install-content .logo { font-size: 1.3rem; }
.install-content p { font-size: .9rem; color: var(--text-light); margin: 8px 0 12px; }
.install-actions { display: flex; gap: 10px; justify-content: center; }

/* ── Specialties Grid ── */
.specialties-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.specialty-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 12px; text-align: center;
    cursor: pointer; transition: all .2s;
}
.specialty-card:hover { border-color: var(--terracotta); box-shadow: var(--shadow); }
.specialty-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

/* ── Services ── */
.services-container {}
.category-section { margin-bottom: 24px; }
.category-section h3 { color: var(--terracotta); margin-bottom: 4px; }
.category-desc { font-size: .85rem; color: var(--text-light); margin-bottom: 12px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px; margin-bottom: 8px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: all .2s;
}
.service-card:hover { border-color: var(--terracotta); }
.service-info { flex: 1; }
.service-name { font-weight: 500; }
.service-meta { font-size: .85rem; color: var(--text-light); margin-top: 2px; }
.service-price { font-weight: 700; color: var(--terracotta); font-size: 1.1rem; white-space: nowrap; margin-left: 12px; }
.service-phone { font-size: .8rem; color: var(--warning); margin-top: 4px; }

/* ── Auth ── */
.auth-container { max-width: 400px; margin: 40px auto; text-align: center; }
.auth-container .logo { font-size: 2rem; margin-bottom: 24px; display: block; }
.auth-container h3 { margin-bottom: 20px; }
.auth-container form { text-align: left; }
.auth-switch { margin-top: 16px; font-size: .9rem; color: var(--text-light); }

/* ── Booking ── */
.booking-step { margin-bottom: 20px; }
.practitioners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.practitioner-card {
    background: var(--bg-card); border: 2px solid var(--border);
    border-radius: var(--radius); padding: 20px; text-align: center; cursor: pointer;
    transition: all .2s;
}
.practitioner-card:hover, .practitioner-card.selected { border-color: var(--terracotta); background: #FDF6F3; }
.practitioner-card .name { font-weight: 600; font-size: 1.1rem; margin-top: 8px; }
.practitioner-card .specs { font-size: .85rem; color: var(--text-light); margin-top: 4px; }

.calendar-container { margin-bottom: 16px; }
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-header button { background: none; border: none; font-size: 1.2rem; cursor: pointer; padding: 4px 8px; color: var(--terracotta); }
.cal-header span { font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-day-label { font-size: .75rem; color: var(--text-muted); font-weight: 600; padding: 4px; }
.cal-day {
    padding: 8px 4px; border-radius: var(--radius-sm); font-size: .9rem;
    cursor: pointer; transition: all .15s;
}
.cal-day:hover { background: #FDF6F3; }
.cal-day.today { font-weight: 700; }
.cal-day.selected { background: var(--terracotta); color: #fff; }
.cal-day.disabled { color: var(--text-muted); cursor: default; }
.cal-day.disabled:hover { background: transparent; }
.cal-day.empty { cursor: default; }

.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-btn {
    padding: 10px; background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); text-align: center; cursor: pointer;
    font-size: .95rem; font-weight: 500; transition: all .2s;
}
.slot-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.slot-btn.selected { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

.booking-summary {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
}
.booking-summary p { margin: 6px 0; }
.booking-summary .label { color: var(--text-light); font-size: .85rem; }
.booking-summary .value { font-weight: 600; }

.conditions-box {
    background: #FFF8F0; border: 1.5px solid var(--warning);
    border-radius: var(--radius); padding: 16px; margin-bottom: 16px;
}
.conditions-box h4 { color: var(--warning); margin-bottom: 8px; }
.conditions-box p { font-size: .9rem; margin-bottom: 8px; }

/* ── Appointments ── */
.appointments-list {}
.appointment-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px;
}
.appointment-card .appt-header { display: flex; justify-content: space-between; align-items: center; }
.appointment-card .appt-date { font-weight: 600; }
.appt-status {
    font-size: .8rem; padding: 3px 10px; border-radius: 12px; font-weight: 600;
}
.appt-status.CONFIRMED { background: #E8F5E9; color: var(--success); }
.appt-status.COMPLETED { background: #E3F2FD; color: #1976D2; }
.appt-status.CANCELLED { background: #FFEEF0; color: var(--danger); }
.appt-status.NO_SHOW { background: #FFF3E0; color: #E65100; }
.appt-service { margin-top: 4px; }
.appt-meta { font-size: .85rem; color: var(--text-light); margin-top: 2px; }
.appt-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Reviews ── */
.reviews-summary { text-align: center; margin-bottom: 24px; }
.reviews-summary .big-rating { font-size: 3rem; font-weight: 700; color: var(--gold); }
.reviews-summary .stars { font-size: 1.3rem; color: var(--gold); }
.review-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px;
}
.review-header { display: flex; justify-content: space-between; align-items: center; }
.review-author { font-weight: 600; }
.review-stars { color: var(--gold); }
.review-date { font-size: .8rem; color: var(--text-muted); }
.review-comment { margin-top: 8px; font-size: .95rem; }
.review-response { margin-top: 10px; padding: 10px; background: var(--bg); border-radius: var(--radius-sm); font-size: .9rem; }
.review-response .resp-label { font-weight: 600; color: var(--terracotta); font-size: .85rem; }

.planity-reviews-box {
    background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.planity-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.planity-reviews-head p {
    font-size: .85rem;
    color: var(--text-light);
}
.planity-badge {
    background: #fff7e7;
    color: #9c6a00;
    border: 1px solid #f0d18a;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}
.planity-carousel {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
    align-items: center;
}
.planity-carousel-track-wrap {
    overflow: hidden;
}
.planity-carousel-track {
    display: flex;
    transition: transform .35s ease;
}
.planity-slide {
    min-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    min-height: 220px;
}
.planity-slide-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.planity-slide-text {
    font-size: 1rem;
    line-height: 1.7;
}
.planity-slide-response {
    margin-top: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: .9rem;
}
.planity-slide-response strong {
    display: block;
    color: var(--terracotta);
    margin-bottom: 4px;
}
.planity-slide-date {
    margin-top: 14px;
    font-size: .85rem;
    color: var(--text-muted);
}
.planity-carousel-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--terracotta);
    font-size: 1.4rem;
    cursor: pointer;
}
.planity-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.planity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
}
.planity-dot.active { background: var(--terracotta); }

/* Rating input */
.rating-input { display: flex; gap: 4px; font-size: 1.5rem; cursor: pointer; }
.rating-input span { color: var(--border); transition: color .15s; }
.rating-input span.active { color: var(--gold); }

/* ── Gallery ── */
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.tab-btn {
    padding: 6px 16px; border: 1.5px solid var(--border); border-radius: 20px;
    background: var(--bg-card); font-size: .9rem; cursor: pointer; white-space: nowrap;
    transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.tab-btn.active { background: #FDF6F3; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .delete-btn {
    position: absolute; top: 4px; right: 4px; background: var(--danger); color: #fff;
    border: none; border-radius: 50%; width: 28px; height: 28px; cursor: pointer;
    display: none; align-items: center; justify-content: center; font-size: .9rem;
}
.editable .gallery-item:hover .delete-btn { display: flex; }

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(20, 14, 11, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}
.gallery-lightbox-content {
    max-width: min(1100px, 82vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.gallery-lightbox-content img {
    max-width: 100%;
    max-height: calc(88vh - 60px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: contain;
}
.gallery-lightbox-caption {
    color: #fff;
    text-align: center;
    font-size: .95rem;
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
}
.gallery-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.25rem;
}
.gallery-lightbox-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    flex: 0 0 auto;
}

/* ── Contact ── */
.contact-card {
    background: var(--bg-card); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow);
}
.contact-card .logo { font-size: 1.6rem; display: block; margin-bottom: 16px; }
.contact-info p { margin-bottom: 10px; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.hours-table td:first-child { font-weight: 500; width: 100px; }
.hours-table .closed td { color: var(--text-muted); }

/* Social */
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px;
    border-radius: var(--radius-sm); font-weight: 500; font-size: .95rem;
    transition: all .2s; text-decoration: none;
}
.social-btn.instagram { background: #FFEEF5; color: #C13584; }
.social-btn.instagram:hover { background: #FFD6E8; text-decoration: none; }
.social-btn.facebook { background: #EBF0FF; color: #1877F2; }
.social-btn.facebook:hover { background: #D6E4FF; text-decoration: none; }

/* ── Profile ── */
.profile-card {
    background: var(--bg-card); border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow);
}
.profile-card .profile-name { font-size: 1.3rem; font-weight: 600; }
.profile-card .profile-info { margin-top: 12px; }
.profile-card .profile-info p { margin: 6px 0; font-size: .95rem; }

/* ── Dashboard KPIs ── */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.kpi-card {
    background: var(--bg-card); border-radius: var(--radius); padding: 16px;
    box-shadow: var(--shadow); text-align: center;
}
.kpi-value { font-size: 1.8rem; font-weight: 700; color: var(--terracotta); }
.kpi-label { font-size: .8rem; color: var(--text-light); margin-top: 2px; }

/* ── Agenda ── */
.agenda-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.agenda-nav button { background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 1rem; }
.agenda-grid { overflow-x: auto; }
.agenda-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.agenda-table th { padding: 8px 4px; font-size: .8rem; color: var(--text-light); font-weight: 600; border-bottom: 2px solid var(--border); }
.agenda-table td { padding: 4px; border-bottom: 1px solid var(--border); vertical-align: top; height: 48px; font-size: .8rem; }
.agenda-table .time-col { width: 50px; color: var(--text-muted); font-size: .75rem; }
.agenda-slot {
    background: var(--terracotta); color: #fff; padding: 4px 6px;
    border-radius: 4px; font-size: .75rem; margin-bottom: 2px;
}
.agenda-slot.blocked { background: var(--text-muted); }

/* ── Clients list ── */
.clients-list {}
.client-row {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: all .2s;
}
.client-row:hover { border-color: var(--terracotta); }
.client-name { font-weight: 500; }
.client-meta { font-size: .85rem; color: var(--text-light); }
.client-noshow { background: #FFF3E0; color: #E65100; padding: 2px 8px; border-radius: 10px; font-size: .8rem; font-weight: 600; }

/* ── Notifications ── */
.notifications-list {}
.notif-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px;
    cursor: pointer; transition: all .2s;
}
.notif-item.unread { border-left: 3px solid var(--terracotta); }
.notif-title { font-weight: 500; font-size: .95rem; }
.notif-message { font-size: .85rem; color: var(--text-light); margin-top: 2px; }
.notif-time { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* ── Modals ── */
.modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(62,47,35,.4); z-index: 300;
    display: flex; align-items: flex-end; justify-content: center;
}
.modal-content {
    background: var(--bg-card); border-radius: var(--radius) var(--radius) 0 0;
    width: 100%; max-width: 500px; max-height: 85vh; overflow-y: auto; padding: 20px;
}
.modal-large { max-width: 700px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-header button { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-light); }

/* ── Toast ── */
.toast {
    position: fixed; bottom: calc(var(--nav-height) + 20px); left: 50%; transform: translateX(-50%);
    background: var(--text); color: #fff; padding: 12px 24px; border-radius: var(--radius-sm);
    font-size: .9rem; z-index: 400; opacity: 0; transition: opacity .3s;
    pointer-events: none; max-width: 90%;
}
.toast.show { opacity: 1; }

/* ── Bottom Nav ── */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: var(--nav-height); background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-around;
    z-index: 100; padding-bottom: env(safe-area-inset-bottom, 0);
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 0; cursor: pointer; color: var(--text-muted);
    font-size: .7rem; font-weight: 500; transition: color .2s;
    background: none; border: none; flex: 1;
}
.nav-item.active { color: var(--terracotta); }
.nav-item .nav-icon { font-size: 1.3rem; }

/* ── Responsive ── */
@media (min-width: 600px) {
    .slots-grid { grid-template-columns: repeat(4, 1fr); }
    .kpi-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
    .page { padding: 24px 32px; }
    .hero { border-radius: var(--radius); margin: 0 0 24px; padding: 60px 32px; }
    .modal-content { border-radius: var(--radius); margin-bottom: 10vh; }
    .modal { align-items: center; }
    .slots-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 700px) {
    .planity-carousel {
        grid-template-columns: 1fr;
    }
    .planity-carousel-nav {
        display: none;
    }
    .gallery-lightbox {
        padding: 12px;
    }
    .gallery-lightbox-content {
        max-width: 100%;
    }
    .gallery-lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .gallery-lightbox-nav.prev { left: 10px; }
    .gallery-lightbox-nav.next { right: 10px; }
}
