/* =============================================
   Building a Business - Main Stylesheet
   Direction: RTL | Language: Arabic
   Professional Gold & Dark Redesign
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    /* ── Brand Palette (editable from Admin → Settings → Brand Colors) ── */
    --primary:      #C8973A;   /* Warm Gold  – headings, icons, accents         */
    --primary-dark: #A87A28;   /* deeper gold for hover states                   */
    --primary-light:#E0B865;   /* lighter gold for subtle accents                */
    --gold:         #751A1D;   /* Deep Maroon – CTA buttons & key borders        */
    --gold-light:   #9B2428;   /* lighter maroon for hover                       */
    --dark:         #1C140D;   /* Near-black – footer, hero dark sections        */
    --text:         #3D2810;   /* Dark espresso – main body text                 */
    /* ── Neutral Palette ── */
    --bg:           #FBF6EE;   /* Warm cream – page background                  */
    --text-muted:   #7A6655;
    --white:        #FFFFFF;
    --cream:        #F5EDDF;
    --cream-dark:   #EAD9C0;
    --light-bg:     #FDF8F1;
    --border:       #E8D5B5;
    --shadow:       0 4px 20px rgba(28,20,13,0.10);
    --shadow-lg:    0 10px 40px rgba(28,20,13,0.16);
    --radius:       12px;
    --radius-lg:    20px;
    --transition:   all 0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
    direction: rtl;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ===================== Utilities ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--primary); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.bg-cream { background: var(--cream); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--dark); }

.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 56px 0; }

/* ===================== Section Headers ===================== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow,
.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 6px 20px;
    background: rgba(200,151,58,0.10);
    border-radius: 30px;
    border: 1px solid rgba(200,151,58,0.30);
}
.section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
    margin: 20px auto;
}

/* ===================== Buttons ===================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,151,58,0.35);
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(117,26,29,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}
.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}
.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--white);
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn-dark:hover {
    background: #2C1A0E;
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ===================== Customer Account ===================== */
.account-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-size: .84rem;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.account-nav-link:hover {
    color: var(--gold);
    background: rgba(117,26,29,.08);
}
.account-nav-link i { font-size: 1.15rem; color: var(--primary); }
.account-nav-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200,151,58,.55);
    box-shadow: 0 2px 8px rgba(28,20,13,.12);
}
.account-shell {
    min-height: calc(100vh - 80px);
    padding: 126px 0 84px;
    background:
        radial-gradient(circle at 10% 18%, rgba(200,151,58,.11), transparent 26%),
        radial-gradient(circle at 90% 75%, rgba(117,26,29,.07), transparent 29%),
        var(--bg);
}
.account-auth-card {
    max-width: 1080px;
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(117,26,29,.14);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(28,20,13,.15);
}
.account-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    padding: 42px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(28,20,13,.96), rgba(72,28,25,.94)),
        var(--dark);
}
.account-brand-panel::before,
.account-brand-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200,151,58,.28);
    pointer-events: none;
}
.account-brand-panel::before { width: 390px; height: 390px; left: -210px; top: 160px; }
.account-brand-panel::after { width: 260px; height: 260px; right: -160px; bottom: -100px; }
.account-brand-lockup,
.account-brand-copy,
.account-brand-note { position: relative; z-index: 1; }
.account-brand-lockup { display: flex; align-items: center; gap: 14px; }
.account-brand-lockup img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255,255,255,.94);
}
.account-brand-lockup span { color: var(--primary-light); font-weight: 800; font-size: 1.05rem; }
.account-brand-copy { margin: auto 0; padding: 58px 0 42px; }
.account-brand-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 2px;
}
.account-brand-copy h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.35;
    margin-bottom: 18px;
}
.account-brand-copy h1 em { color: var(--primary-light); font-style: normal; }
.account-brand-copy p { max-width: 360px; color: rgba(255,255,255,.72); font-size: .94rem; line-height: 2; }
.account-brand-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255,255,255,.72);
    font-size: .78rem;
    line-height: 1.8;
}
.account-brand-note i { color: var(--primary-light); font-size: 1.15rem; }
.account-form-panel { padding: 58px clamp(28px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.account-form-heading { margin-bottom: 30px; }
.account-form-heading .eyebrow { margin-bottom: 14px; color: var(--gold); background: rgba(117,26,29,.07); border-color: rgba(117,26,29,.16); }
.account-form-heading h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin-bottom: 10px; }
.account-form-heading p { color: var(--text-muted); font-size: .9rem; line-height: 1.9; max-width: 450px; }
.account-form { max-width: 480px; }
.account-form .form-group { margin-bottom: 19px; }
.account-form .form-label { display: block; margin-bottom: 8px; font-weight: 800; font-size: .82rem; color: var(--text); }
.account-form .form-label small { color: var(--text-muted); font-weight: 500; }
.account-input-wrap { position: relative; }
.account-input-wrap > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1rem;
    pointer-events: none;
}
.account-input-wrap .form-control { padding-right: 46px; min-height: 50px; border-radius: 11px; border-color: rgba(61,40,16,.16); background: rgba(255,255,255,.78); }
.account-input-wrap .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(200,151,58,.13); }
.account-input-wrap .form-control[data-password-field] { padding-left: 48px; }
.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 7px;
}
.password-toggle:hover { color: var(--gold); background: rgba(117,26,29,.08); }
.account-label-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.account-label-row a { color: var(--gold); font-size: .76rem; font-weight: 800; }
.account-check { display: inline-flex; align-items: center; gap: 9px; color: var(--text-muted); font-size: .8rem; cursor: pointer; margin: 1px 0 24px; }
.account-check input { position: absolute; opacity: 0; pointer-events: none; }
.account-check .checkmark {
    width: 18px; height: 18px; border: 1px solid var(--border); border-radius: 5px; background: #fff; position: relative;
}
.account-check input:checked + .checkmark { background: var(--gold); border-color: var(--gold); }
.account-check input:checked + .checkmark::after {
    content: ""; position: absolute; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); top: 2px; right: 5px;
}
.account-submit { width: 100%; min-height: 54px; }
.account-switch { color: var(--text-muted); text-align: center; font-size: .82rem; margin-top: 24px; }
.account-switch a { color: var(--gold); font-weight: 800; }
.reset-code-input { direction: ltr; text-align: center; font-size: 1.35rem; font-weight: 900; letter-spacing: 7px; }
.account-dashboard-shell { padding-top: 126px; }
.account-dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.account-dashboard-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 8px 0 6px; }
.account-dashboard-head p { color: var(--text-muted); font-size: .92rem; }
.account-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.account-stat-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--border); background: rgba(255,255,255,.78); border-radius: 15px; box-shadow: 0 8px 24px rgba(28,20,13,.05); }
.account-stat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(200,151,58,.14); color: var(--primary); font-size: 1.25rem; }
.account-stat-card strong { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 1.05rem; }
.account-stat-card span:not(.account-stat-icon) { display: block; margin-top: 3px; color: var(--text-muted); font-size: .72rem; }
.account-content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 24px; align-items: start; }
.account-panel { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: 0 12px 34px rgba(28,20,13,.06); }
.account-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.account-panel h2 { font-size: 1.35rem; margin-top: 5px; }
.account-bookings-list { display: grid; gap: 10px; }
.account-booking-row { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(61,40,16,.1); }
.account-booking-row:last-child { border-bottom: 0; padding-bottom: 0; }
.account-booking-mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; color: var(--gold); background: rgba(117,26,29,.08); }
.account-booking-main { flex: 1; min-width: 0; }
.account-booking-main strong, .account-booking-main span, .account-booking-main small, .account-booking-meta small { display: block; }
.account-booking-main strong { font-size: .9rem; margin-bottom: 2px; }
.account-booking-main span { color: var(--gold); font-size: .72rem; font-weight: 700; }
.account-booking-main small, .account-booking-meta small { color: var(--text-muted); font-size: .72rem; margin-top: 3px; }
.account-booking-meta { text-align: left; min-width: 100px; }
.status-pill { display: inline-block; padding: 4px 9px; border-radius: 20px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.status-pending { background: rgba(200,151,58,.14); color: #946b18; }
.status-confirmed, .status-completed { background: rgba(33,125,78,.12); color: #217d4e; }
.status-cancelled { background: rgba(117,26,29,.1); color: var(--gold); }
.account-profile-panel { text-align: center; }
.account-profile-avatar { display: grid; place-items: center; overflow: hidden; width: 92px; height: 92px; margin: 20px auto 18px; border-radius: 50%; color: var(--gold); background: linear-gradient(145deg, rgba(200,151,58,.23), rgba(117,26,29,.13)); font-size: 1.6rem; border: 2px solid rgba(200,151,58,.35); box-shadow: 0 8px 20px rgba(28,20,13,.1); }
.account-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-profile-details { text-align: right; margin: 0 0 24px; }
.account-profile-details div { padding: 11px 0; border-bottom: 1px solid rgba(61,40,16,.1); }
.account-profile-details dt { color: var(--text-muted); font-size: .7rem; margin-bottom: 2px; }
.account-profile-details dd { color: var(--text); font-size: .84rem; font-weight: 700; word-break: break-word; }
.account-empty-state { text-align: center; padding: 45px 20px 30px; color: var(--text-muted); }
.account-empty-state > i { display: block; color: var(--primary); font-size: 2.6rem; margin-bottom: 13px; }
.account-empty-state h3 { font-size: 1.1rem; margin-bottom: 6px; }
.account-empty-state p { font-size: .82rem; margin-bottom: 20px; }
.btn-soft {
    color: var(--gold);
    background: rgba(200,151,58,.11);
    border: 1px solid rgba(200,151,58,.28);
}
.btn-soft:hover { color: var(--gold); background: rgba(200,151,58,.2); }
.account-profile-edit { margin-top: 18px; text-align: right; }
.account-profile-edit > summary {
    display: block;
    width: 100%;
    cursor: pointer;
    text-align: center;
    list-style: none;
}
.account-profile-edit > summary::-webkit-details-marker { display: none; }
.account-profile-edit[open] > summary { margin-bottom: 18px; }
.profile-edit-form { padding-top: 4px; }
.profile-edit-form .form-group { text-align: right; }
.profile-edit-form .form-control { min-height: 44px; font-size: .8rem; }
.profile-image-editor {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 15px;
    border: 1px solid rgba(200,151,58,.24);
    border-radius: 15px;
    background: rgba(251,246,238,.75);
}
.profile-editor-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: var(--text);
    font-size: .78rem;
    font-weight: 800;
}
.profile-editor-label small, .profile-editor-help { color: var(--text-muted); font-size: .68rem; font-weight: 400; }
.profile-editor-stage {
    position: relative;
    width: min(100%, 220px);
    aspect-ratio: 1;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(200,151,58,.18), rgba(117,26,29,.12));
    box-shadow: inset 0 0 0 1px rgba(200,151,58,.3), 0 8px 20px rgba(28,20,13,.08);
    touch-action: none;
}
.profile-editor-stage:active { cursor: grabbing; }
.profile-editor-image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    max-width: none;
    width: auto;
    height: auto;
    pointer-events: none;
    user-select: none;
    transform: translate(-50%, -50%);
}
.profile-editor-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 2.6rem;
}
.profile-editor-frame {
    position: absolute;
    inset: 10px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 50%;
    box-shadow: 0 0 0 999px rgba(28,20,13,.2), inset 0 0 0 1px rgba(117,26,29,.25);
    pointer-events: none;
}
.profile-editor-file { min-height: 42px; padding: 8px; font-size: .72rem; background: #fff; }
.profile-editor-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-muted); font-size: .7rem; }
.profile-editor-tools input[type="range"] { flex: 1 1 90px; accent-color: var(--gold); }
.profile-editor-tools .btn { padding: 6px 10px; font-size: .68rem; }
.profile-editor-remove { border: 0; padding: 0; color: var(--gold); background: none; cursor: pointer; font: inherit; font-size: .68rem; }
.profile-editor-remove:hover { text-decoration: underline; }
.profile-editor-help { display: block; line-height: 1.7; }
.profile-image-editor-register {
    gap: 8px;
    margin: 14px 0 22px;
    padding: 12px 14px;
}
.profile-image-editor-register .profile-editor-stage {
    width: min(100%, 170px);
}
.profile-image-editor-register .profile-editor-frame {
    inset: 7px;
}
.profile-image-editor-register .profile-editor-placeholder {
    font-size: 2.2rem;
}
.profile-image-editor-register .profile-editor-tools {
    gap: 6px;
}
.profile-image-editor-register .profile-editor-help {
    font-size: .64rem;
    text-align: center;
}

@media (max-width: 980px) {
    .account-auth-card { grid-template-columns: 1fr; max-width: 620px; }
    .account-brand-panel { min-height: 330px; padding: 30px; }
    .account-brand-copy { padding: 35px 0 25px; }
    .account-brand-copy h1 { font-size: 2rem; }
    .account-brand-copy p { max-width: 460px; }
    .account-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .account-shell { padding: 105px 0 50px; }
    .account-auth-card { border-radius: 18px; }
    .account-brand-panel { min-height: 285px; padding: 24px; }
    .account-brand-lockup img { width: 56px; height: 56px; }
    .account-brand-copy { padding: 25px 0 15px; }
    .account-brand-copy h1 { font-size: 1.72rem; }
    .account-form-panel { padding: 35px 24px 40px; }
    .account-dashboard-head { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
    .account-stat-grid { grid-template-columns: 1fr; }
    .account-panel { padding: 22px 18px; }
    .account-booking-row { align-items: flex-start; }
    .account-booking-meta { min-width: 78px; }
    .account-booking-meta small { display: none; }
    .account-nav-link span { display: none; }
    .profile-editor-label { display: block; }
    .profile-editor-label small { display: block; margin-top: 2px; }
}

/* ===================== Navbar ===================== */
.navbar {
    position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
    isolation: isolate;
    background: rgba(251,246,238,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200,151,58,0.18);
    transition: var(--transition);
    padding: 0;
}
.navbar.scrolled {
    box-shadow: 0 3px 24px rgba(28,20,13,0.12);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.nav-logo {
    display: flex; align-items: center;
    text-decoration: none;
}
.nav-logo-img {
    height: 58px !important;
    max-height: 58px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0;
}
.nav-logo-text { color: var(--primary); font-size: 1rem; font-weight: 800; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(200,151,58,0.10);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.navbar-cta { font-size: 0.82rem !important; padding: 9px 20px !important; }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2.5px;
    background: var(--text); border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 80px;
    background: var(--dark);
    position: relative; overflow: hidden;
}
.hero.hero-has-cover {
    background-color: var(--dark);
    background-image: linear-gradient(rgba(28,20,13,.78), rgba(28,20,13,.86)), var(--hero-cover-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero-mobile-cover { display: none; }
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(200,151,58,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 50%;
    background: radial-gradient(ellipse at 70% 50%, rgba(200,151,58,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative; z-index: 2;
    padding: 80px 0 60px;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
    color: var(--primary); text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(200,151,58,0.12);
    border: 1px solid rgba(200,151,58,0.35);
    border-radius: 30px;
    margin-bottom: 28px;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 22px;
}
.hero-title span { color: var(--primary); }
.hero-title .highlight { color: var(--primary); }
.hero-subtitle {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    margin-bottom: 40px; line-height: 1.9;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(200,151,58,0.20);
}
.hero-stat strong {
    display: block;
    font-size: 1.6rem; font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}
.hero-stat span {
    font-size: 0.82rem; color: rgba(255,255,255,0.65);
}

/* Hero Image / Avatar */
.hero-image-wrap {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.hero-avatar {
    width: 100%; max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 3px solid rgba(200,151,58,0.40);
    object-fit: cover;
}
.hero-avatar-placeholder {
    width: 380px; height: 380px;
    background: rgba(200,151,58,0.08);
    border: 2px dashed rgba(200,151,58,0.35);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 3.5rem;
}
.hero-avatar-placeholder p {
    font-size: 0.85rem; text-align: center;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}
.hero-badge {
    position: absolute; bottom: -16px; right: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--border);
}
.badge-icon { font-size: 1.5rem; }
.hero-badge strong { display: block; font-size: 0.88rem; color: var(--text); font-weight: 700; }
.hero-badge small { font-size: 0.74rem; color: var(--text-muted); }

/* ===================== About Strip ===================== */
.about-strip {
    padding: 90px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.about-strip::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(200,151,58,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap, .about-image-wrap-inner {
    position: relative;
    display: inline-block;
}
.about-img {
    width: 100%; max-width: 440px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 3px solid var(--border);
}
.about-img-placeholder {
    width: 380px; height: 380px;
    background: var(--light-bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 3rem;
}
.about-img-placeholder p {
    font-size: 0.85rem; text-align: center;
    color: var(--text-muted); line-height: 1.6;
}
.about-badge-float {
    position: absolute; bottom: -16px; left: -16px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 0.88rem; font-weight: 700;
    box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 10px;
}
.about-values { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.about-value {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.about-value:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(200,151,58,0.10);
}
.value-icon {
    width: 44px; height: 44px;
    background: rgba(200,151,58,0.12);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
    color: var(--primary);
}
.value-text { display: flex; flex-direction: column; }
.value-text strong { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.value-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ===================== Stats Bar ===================== */
.stats-bar {
    background: var(--dark);
    padding: 36px 0;
    color: var(--white);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 6px; }

/* ===================== Services Grid ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative; overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Keep the booking button pinned to the bottom of every card */
.service-card > .btn:last-child,
.service-card > a.btn:last-of-type {
    margin-top: auto;
}

.service-card::before {
    content: '';
    position: absolute; top: 0; right: 0; left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--white) 0%, rgba(200,151,58,0.03) 100%);
}
.service-card.featured::before { opacity: 1; }
.badge-featured {
    position: absolute; top: 16px; left: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
    padding: 5px 14px; border-radius: 20px;
}
/* ── Session cover image on the service card ─────────────────────── */
.service-cover {
    display: block;
    position: relative;
    margin: -34px -28px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--cream, #FBF6EE);
    text-decoration: none;
}
.service-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.service-card:hover .service-cover img { transform: scale(1.04); }
.service-icon {
    width: 62px; height: 62px;
    background: rgba(200,151,58,0.10);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 22px;
    color: var(--primary);
}
.service-title { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.service-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.service-meta {
    display: flex; gap: 12px; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--text-muted);
    margin-bottom: 16px;
}
.service-meta span { display: flex; align-items: center; gap: 5px; }
.service-price { font-size: 1.7rem; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.service-price small { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.service-price-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 18px; }
.service-features { list-style: none; padding: 0; margin: 14px 0 24px; }
.service-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.86rem; color: var(--text-muted); margin-bottom: 8px;
}
.service-features li::before {
    content: '✓';
    color: var(--primary); font-weight: 800; flex-shrink: 0;
}

/* ── Structured media blocks on custom pages ─────────────────────── */
.custom-page-media {
    max-width: 820px;
    margin: 32px auto 0;
    display: grid;
    gap: 20px;
}
.custom-media-card {
    overflow: hidden;
    border: 1px solid rgba(117,26,29,.14);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(53,31,18,.08);
}
.custom-media-image-link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
    background: #f7f0e6;
}
.custom-media-image-link img {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    margin: auto;
}
.custom-media-expand {
    position: absolute;
    inset: auto 14px 14px auto;
    padding: 7px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(28,20,13,.82);
    font-size: .76rem;
    font-weight: 700;
}
.custom-media-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #1c140d;
}
.custom-media-video iframe,
.custom-media-video video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.custom-media-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    background: #1c140d;
}
.custom-media-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
}
.custom-media-embed-audio {
    aspect-ratio: auto;
    min-height: 152px;
    background: #fff;
}
.custom-media-embed-audio iframe {
    height: 152px;
    min-height: 152px;
}
.custom-media-document {
    min-height: min(78vh, 760px);
    background: #fff;
}
.custom-media-document iframe {
    display: block;
    width: 100%;
    height: min(78vh, 760px);
    min-height: 520px;
    border: 0;
}
.custom-media-audio {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
}
.custom-media-audio > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 14px;
    color: var(--primary);
    background: rgba(200,151,58,.13);
    font-size: 1.35rem;
}
.custom-media-audio strong,
.custom-media-file strong { display: block; color: var(--text); }
.custom-media-audio audio { display: block; width: min(100%, 560px); margin-top: 9px; }
.custom-media-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
}
.custom-media-file > i:first-child { color: var(--primary); font-size: 1.65rem; }
.custom-media-file > i:last-child { margin-inline-start: auto; color: var(--primary); }
.custom-media-file small { display: block; margin-top: 3px; color: var(--text-muted); }
.custom-media-caption {
    margin: 0;
    padding: 12px 18px 16px;
    color: var(--text-muted);
    border-top: 1px solid rgba(117,26,29,.08);
    font-size: .83rem;
}
.custom-home-pages {
    background: linear-gradient(180deg, var(--light-bg), var(--bg));
}
.custom-home-pages-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 26px;
}
.custom-home-page-card {
    padding: 30px;
    background: var(--white);
    border: 1px solid rgba(117,26,29,.13);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(53,31,18,.08);
}
.custom-home-page-heading {
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(117,26,29,.10);
}
.custom-home-page-heading .eyebrow {
    display: inline-block;
    margin-bottom: 8px;
}
.custom-home-page-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.35rem;
}
.custom-page-body {
    color: var(--text);
    line-height: 1.95;
}
.custom-page-body p { margin: 0 0 16px; }
.custom-page-body h2,
.custom-page-body h3,
.custom-page-body h4 {
    color: var(--text);
    line-height: 1.45;
    margin: 24px 0 10px;
}
.custom-page-body h2 { font-size: 1.35rem; }
.custom-page-body h3 { font-size: 1.15rem; }
.custom-page-body h4 { font-size: 1rem; }
.custom-page-body ul,
.custom-page-body ol {
    margin: 0 0 18px;
    padding-inline-start: 24px;
}
.custom-page-body li { margin-bottom: 7px; }
.custom-page-body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.custom-home-page-body { max-width: 820px; margin: 0 auto; }
.custom-home-page-action {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(117,26,29,.10);
    text-align: end;
}

/* ── Selected session image on the booking form ──────────────────── */
.session-cover-panel {
    display: block;
    margin: 0 0 26px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .32s ease, transform .32s ease;
}
.session-cover-panel[hidden] { display: none; }
.session-cover-panel.is-visible { opacity: 1; transform: none; }
.session-cover-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #f7f0e6;
    box-shadow: 0 18px 40px -18px rgba(117,26,29,.45);
}
.session-cover-media {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: #f7f0e6;
    font: inherit;
}
.session-cover-image {
    display: block;
    width: 100%;
    height: min(58vw, 520px);
    min-height: 230px;
    object-fit: contain;
    object-position: center;
    background: #f7f0e6;
}
.session-cover-caption {
    position: relative;
    padding: 15px 20px 17px;
    pointer-events: none;
    color: #fff;
    background: #1c140d;
}
.session-cover-badge {
    display: inline-block;
    margin-bottom: 7px;
    padding: 4px 12px;
    border: 1px solid rgba(200,151,58,.55);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(0,0,0,.35);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1.2px;
}
.session-cover-title { font-size: 1.15rem; font-weight: 800; line-height: 1.5; }
.session-cover-meta { margin-top: 4px; color: rgba(255,255,255,.78); font-size: .85rem; }

/* Card grid utilities */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ===================== Resources Filter Tabs ===================== */
.resources-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.resources-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.resources-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.resources-tab i { font-size: 1.05rem; line-height: 1; opacity: .85; }
.resources-tab .tab-count {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}
.resources-tab:hover {
    color: var(--text);
    background: var(--cream);
}
.resources-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 6px 18px rgba(200,151,58,.35);
}
.resources-tab.active i { opacity: 1; }
.resources-tab.active .tab-count {
    background: rgba(255,255,255,.25);
    color: var(--white);
}
.resources-tab.is-empty { opacity: .45; }
.resources-tab:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.resource-card.filtering-out { opacity: 0; transform: scale(.96); }

@media (max-width: 600px) {
    .resources-filter { margin: 0 -12px 28px; }
    .resources-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        border-radius: 999px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .resources-tabs::-webkit-scrollbar { display: none; }
    .resources-tab { padding: 9px 15px; font-size: 0.85rem; }
    .resources-tab .tab-count { display: none; }
}

/* ===================== Resources ===================== */

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.resource-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.resource-thumb {
    background: linear-gradient(135deg, var(--dark) 0%, #2C1A0E 100%);
    padding: 28px 24px;
    font-size: 2.2rem;
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 100px;
}
.resource-thumb--preview {
    min-height: 170px;
    padding: 0;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    overflow: hidden;
}
.resource-thumb--preview > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.resource-card:hover .resource-thumb--preview > img {
    transform: scale(1.05);
}
.resource-thumb--preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18,10,4,.08), rgba(18,10,4,.52));
    pointer-events: none;
}
.resource-thumb--preview > .bi {
    position: relative;
    z-index: 1;
    font-size: 3rem;
}
.resource-thumb--preview > .resource-type-badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    inset-inline-start: 16px;
}
.resource-preview-play {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(200,151,58,.92);
    font-size: 1.45rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.3);
}
.resource-thumb--preview > .resource-preview-play + .resource-type-badge {
    top: 16px;
}
.resource-card--highlight {
    animation: resource-card-highlight 2.2s ease both;
}
@keyframes resource-card-highlight {
    0%, 100% { box-shadow: var(--shadow-lg); border-color: var(--border); }
    25%, 70% { box-shadow: 0 0 0 5px rgba(200,151,58,.22), var(--shadow-lg); border-color: var(--primary); }
}
.resource-type-badge {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
    background: rgba(200,151,58,0.20);
    color: var(--primary); border: 1px solid rgba(200,151,58,0.40);
}
.resource-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.resource-title { font-size: 0.96rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.resource-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }

/* ===================== Meditations ===================== */
.meditation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.meditation-card {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid rgba(200,151,58,0.25);
    transition: var(--transition);
}
.meditation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--primary);
}
.meditation-cover {
    position: relative;
    background: linear-gradient(135deg, rgba(200,151,58,0.15), rgba(0,0,0,0.40));
    height: 180px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    overflow: hidden;
}
.meditation-cover img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; inset: 0;
}
.play-btn {
    width: 54px; height: 54px;
    background: rgba(200,151,58,0.85);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--white);
    position: relative; z-index: 2;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 4px 16px rgba(200,151,58,0.40);
}
.play-btn:hover { background: var(--primary); transform: scale(1.1); }
.meditation-body { padding: 22px; }
.meditation-cat {
    display: inline-block;
    font-size: 0.72rem; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
    background: rgba(200,151,58,0.18);
    color: var(--primary); margin-bottom: 10px;
}
.meditation-title { font-size: 0.96rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.meditation-desc { font-size: 0.83rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 16px; }
.meditation-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.meditation-price { font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.meditation-duration { font-size: 0.78rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 5px; }

/* ===================== Testimonials ===================== */
.testimonials-section { background: var(--cream); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.testimonial-quote {
    font-size: 3.5rem;
    color: var(--primary);
    line-height: 0.5;
    font-family: Georgia, serif;
    margin-bottom: 16px;
    opacity: 0.35;
}
.testimonial-text {
    font-size: 0.95rem; color: var(--text-muted);
    line-height: 1.85; margin-bottom: 24px;
    font-style: italic;
}
.testimonial-stars { color: var(--primary); font-size: 1.05rem; margin-bottom: 20px; letter-spacing: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 48px; height: 48px;
    background: rgba(200,151,58,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800; color: var(--primary);
    border: 2px solid var(--border);
}
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.testimonial-service { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ===================== CTA Strip ===================== */
.cta-strip {
    background: linear-gradient(135deg, var(--dark) 0%, #2C1A0E 100%);
    padding: 90px 0;
    text-align: center;
    color: var(--white);
    position: relative; overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200,151,58,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.cta-strip h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; font-weight: 900; }
.cta-strip p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== CTA Section (generic) ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #2C1A0E 100%);
    padding: 90px 0;
    text-align: center;
    color: var(--white);
    position: relative; overflow: hidden;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; opacity: 0.85; max-width: 540px; margin: 0 auto 32px; }

/* ===================== Subscribe Section ===================== */
.subscribe-section {
    background: var(--light-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.subscribe-form {
    display: flex; gap: 12px; flex-wrap: wrap;
    justify-content: center; max-width: 600px;
    margin: 0 auto;
}
.subscribe-form .form-control {
    border-radius: 50px;
    border: 1.5px solid var(--border);
    padding: 12px 20px;
    font-size: 0.9rem;
    flex: 1; min-width: 200px;
    direction: rtl;
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
}
.subscribe-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,151,58,0.10);
}

/* ===================== Contact ===================== */
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
    display: block; font-weight: 700; font-size: 0.88rem;
    color: var(--text); margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem; direction: rtl;
    transition: var(--transition);
    background: var(--white); color: var(--text);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,151,58,0.10);
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    margin-bottom: 16px;
    transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--primary); }
.contact-info-icon {
    width: 48px; height: 48px;
    background: rgba(200,151,58,0.10);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
    color: var(--primary);
}

/* ===================== Forms (Booking) ===================== */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block; font-weight: 700; font-size: 0.88rem;
    color: var(--text); margin-bottom: 7px;
}
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem; direction: rtl;
    transition: var(--transition);
    background: var(--white); color: var(--text);
    font-family: inherit;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,151,58,0.10);
}
.form-control.is-invalid { border-color: #dc3545; }
.form-error { color: #dc3545; font-size: 0.8rem; margin-top: 4px; }
.booking-form .form-group { margin-bottom: 20px; }
.booking-form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 0.92rem; direction: rtl;
    transition: var(--transition); background: var(--white); color: var(--text);
    font-family: inherit;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,151,58,0.10);
}

/* ===================== Page Hero ===================== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2C1A0E 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200,151,58,0.10) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; font-weight: 900; color: var(--white); }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }
.breadcrumb {
    font-size: 0.82rem; color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }

/* Page header (light) */
.page-header {
    background: linear-gradient(135deg, var(--cream) 0%, var(--bg) 100%);
    padding: 110px 0 52px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.page-header p { font-size: 1rem; color: var(--text-muted); }

/* ===================== Booking Page ===================== */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 36px;
    align-items: start;
}
.booking-info {
    background: linear-gradient(145deg, var(--dark), #2C1A0E);
    padding: 40px;
    border-radius: var(--radius-lg);
    color: white;
    border: 1px solid rgba(200,151,58,0.20);
    position: sticky; top: 100px;
}
.booking-info h2 { color: white; margin-bottom: 14px; font-size: 1.4rem; }
.booking-steps { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.booking-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
    width: 36px; height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: white;
    flex-shrink: 0;
}
.step-content { display: flex; flex-direction: column; }
.step-content strong { font-size: 0.9rem; color: white; font-weight: 700; margin-bottom: 4px; }
.step-content span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.booking-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
}

/* ===================== Payment Methods ===================== */
.payment-methods-section { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 24px; }
.payment-methods-section h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.payment-option-label {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    background: var(--light-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600; font-size: 0.92rem;
}
.payment-option-label:hover { border-color: var(--primary); background: var(--cream); }
.payment-option-label input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.payment-option-label.selected, 
.payment-option-label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(200,151,58,0.06);
}
.payment-icon { font-size: 1.3rem; }
.payment-detail-block {
    display: none;
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    animation: fadeIn 0.25s ease;
}
.payment-detail-block.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.payment-detail-block h5 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.bank-detail-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid var(--border);
    font-size: 0.87rem;
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-row strong { color: var(--text-muted); }
.bank-detail-row span { font-weight: 700; color: var(--text); }
#paypal-button-container { min-height: 50px; }

/* Price row */
.price-row {
    display: none;
    align-items: center; justify-content: space-between;
    background: rgba(200,151,58,0.07);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid rgba(200,151,58,0.20);
}

/* ===================== Webinar Cards ===================== */
.webinar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: var(--transition);
}
.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.webinar-header {
    background: linear-gradient(135deg, var(--dark), #2C1A0E);
    padding: 26px;
    color: var(--white);
}
.webinar-type-badge {
    display: inline-block;
    background: rgba(200,151,58,0.25);
    color: var(--primary);
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    padding: 4px 14px; border-radius: 20px; text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(200,151,58,0.40);
}
.webinar-body { padding: 24px; }
.webinar-meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0; }
.webinar-meta-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: var(--text-muted);
}
.webinar-meta-item i { color: var(--primary); }
.webinar-price { font-size: 1.4rem; font-weight: 900; color: var(--primary); }

/* ===================== About (Detail page) ===================== */
.about-image-wrap {
    position: relative;
    display: inline-block;
}
.about-image {
    width: 100%; max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 3px solid var(--border);
}
.about-badge {
    position: absolute; bottom: -16px; left: -16px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 0.9rem; font-weight: 700;
    box-shadow: var(--shadow);
    text-align: center;
}
.about-tagline {
    font-size: 1rem; font-style: italic;
    color: var(--primary);
    border-right: 3px solid var(--gold);
    padding-right: 16px;
    margin: 24px 0;
}
.credential-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: var(--light-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    transition: var(--transition);
}
.credential-item:hover { border-color: var(--primary); }
.credential-icon {
    width: 40px; height: 40px;
    background: rgba(200,151,58,0.10);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
    color: var(--primary);
}

/* ===================== Footer ===================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.72);
    padding: 72px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(200,151,58,0.15);
}
.footer-brand {}
.footer-logo img { height: 60px; width: auto; max-width: 160px; object-fit: contain; }
.footer-logo-img { height: 60px; width: auto; max-width: 160px; object-fit: contain; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 10px; font-style: italic; }
.footer p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-top: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(200,151,58,0.12);
    border: 1px solid rgba(200,151,58,0.25);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 1rem; transition: var(--transition);
    text-decoration: none;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-section h4 { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.84rem; color: rgba(255,255,255,0.60);
    text-decoration: none; transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--primary); padding-right: 4px; }
.footer-contact-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.84rem; color: rgba(255,255,255,0.60);
    margin-bottom: 12px;
}
.footer-contact-item i { color: var(--primary); font-size: 1rem; }
.footer-bottom {
    padding-top: 28px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    font-size: 0.8rem; color: rgba(255,255,255,0.40);
}

/* ===================== Sticky WhatsApp & Scroll Top ===================== */
.sticky-whatsapp {
    position: fixed; bottom: 88px; left: 24px;
    width: 52px; height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 900; transition: var(--transition);
    text-decoration: none;
}
.sticky-whatsapp:hover { transform: scale(1.10); color: var(--white); }

.scroll-top {
    position: fixed; bottom: 28px; left: 24px;
    width: 42px; height: 42px;
    background: var(--primary);
    border: none; border-radius: 50%;
    color: var(--white); font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(200,151,58,0.40);
    z-index: 900; transition: var(--transition);
    opacity: 0; pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===================== Admin Bar ===================== */
.admin-bar {
    background: linear-gradient(90deg, var(--dark), #2C1A0E);
    color: var(--white);
    min-height: 44px;
    padding: 7px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px;
    font-size: 0.78rem; font-weight: 600;
    border-bottom: 1px solid rgba(200,151,58,0.25);
}
.admin-bar-identity,
.admin-bar-actions { display: flex; align-items: center; gap: 12px; }
.admin-bar-identity { min-width: 0; }
.admin-bar-identity strong { color: #fff; white-space: nowrap; }
.admin-bar-hint { color: rgba(255,255,255,.62); white-space: nowrap; }
.admin-bar-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 9px; border: 1px solid rgba(200,151,58,.45);
    border-radius: 999px; color: var(--gold-light);
    background: rgba(200,151,58,.12); white-space: nowrap;
}
.admin-bar-action {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--gold-light); text-decoration: none; white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}
.admin-bar-action:hover { color: #fff; transform: translateY(-1px); }
.admin-bar-action-primary { color: #fff; font-weight: 800; }
.admin-bar-logout { color: #f0c6b8; }
.admin-nav-link { color: var(--primary) !important; }
.admin-nav-logout {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--primary); text-decoration: none; font-size: .82rem;
    transition: color .2s ease;
}
.admin-nav-logout:hover { color: var(--primary-dark); }

/* ===================== Alerts ===================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
}
.alert-success {
    background: rgba(200,151,58,0.10);
    border-color: rgba(200,151,58,0.35);
    color: #6B4E13;
}
.alert-danger {
    background: rgba(220,53,69,0.06);
    border-color: rgba(220,53,69,0.25);
    color: #721c24;
}
.alert-info {
    background: rgba(200,151,58,0.08);
    border-color: rgba(200,151,58,0.25);
    color: #7A5A20;
}
.alert-warning {
    background: rgba(234,179,8,0.08);
    border-color: rgba(234,179,8,0.25);
    color: #854d0e;
}

/* ===================== Misc Components ===================== */
.price-tag {
    display: inline-flex; align-items: baseline; gap: 4px;
}
.price-tag .amount { font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.price-tag .unit { font-size: 0.8rem; color: var(--text-muted); }

.icon-box {
    width: 56px; height: 56px;
    background: rgba(200,151,58,0.10);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--primary);
}

.divider-text {
    display: flex; align-items: center; gap: 12px;
    color: var(--text-muted); font-size: 0.85rem;
}
.divider-text::before,
.divider-text::after {
    content: ''; flex: 1;
    height: 1px; background: var(--border);
}

.tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
    background: rgba(200,151,58,0.10);
    color: var(--primary);
    border: 1px solid rgba(200,151,58,0.25);
}

/* ===================== Empty State ===================== */
.empty-state {
    text-align: center; padding: 70px 20px;
}
.empty-state-icon {
    font-size: 3.5rem; margin-bottom: 20px;
    color: var(--primary); opacity: 0.5;
}
.empty-state h3 { color: var(--text); margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); font-size: 0.95rem; }

/* ===================== Animate in (Intersection Observer) ===================== */
.animate-in {
    animation: slideUp 0.5s ease forwards;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrap { display: none; }
    .hero.hero-has-cover {
        display: block;
        background-image: none;
        padding-top: 80px;
    }
    .hero-mobile-cover { display: block; width: 100%; aspect-ratio: 16 / 7; background: var(--dark); overflow: hidden; }
    .hero-mobile-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 991px) {
    .nav-menu {
        position: fixed; top: 80px; right: 0; left: 0; bottom: 0;
        background: rgba(251,246,238,0.99);
        backdrop-filter: blur(10px);
        flex-direction: column; align-items: flex-start;
        padding: 20px; gap: 4px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { font-size: 1rem; padding: 13px 18px; width: 100%; border-radius: var(--radius); }
    .nav-toggle { display: flex; }
    .nav-actions { display: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .meditation-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .booking-grid { grid-template-columns: 1fr; }
    .booking-info { position: static; }
}

@media (max-width: 767px) {
    .admin-bar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        padding: 9px 16px;
    }
    .admin-bar-identity,
    .admin-bar-actions { flex-wrap: wrap; }
    .admin-bar-hint { display: none; }
    .admin-bar-actions { gap: 10px 14px; }

    .section-padding { padding: 60px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .meditation-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: 1fr; }
    .card-grid-3, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .subscribe-form { flex-direction: column; }
    .booking-form-wrap { padding: 24px; }
    .booking-info { padding: 28px; }
}

/* ===================== Language Switch ===================== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    line-height: 1;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.lang-switch i { font-size: 0.95rem; }
.lang-switch:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.lang-switch:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--gold) 55%, transparent);
    outline-offset: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

@media (max-width: 991px) {
    /* Keep the language switch reachable next to the burger menu */
    .nav-actions { display: flex; gap: 8px; }
    .nav-actions .navbar-cta { display: none; }
    .lang-switch { padding: 7px 11px; font-size: 0.78rem; }
}

/* ===================== LTR (English) Support ===================== */
[dir="ltr"] body,
[dir="ltr"] .form-control,
[dir="ltr"] .form-select,
[dir="ltr"] textarea,
[dir="ltr"] input {
    direction: ltr;
}
[dir="ltr"] {
    direction: ltr;
    text-align: left;
}
[dir="ltr"] .text-right { text-align: left; }
[dir="ltr"] .text-center,
[dir="ltr"] .section-header { text-align: center; }

/* Mirror the offsets that were authored for RTL */
[dir="ltr"] .hero-badge { right: auto; left: 24px; }
[dir="ltr"] .about-badge-float,
[dir="ltr"] .about-badge { left: auto; right: -16px; }
[dir="ltr"] .badge-featured { left: auto; right: 16px; }
[dir="ltr"] .sticky-whatsapp,
[dir="ltr"] .scroll-top { left: auto; right: 24px; }

/* Quote / accent borders */
[dir="ltr"] .about-tagline,
[dir="ltr"] blockquote {
    border-right: none;
    border-left: 3px solid var(--gold);
    padding-right: 0;
    padding-left: 16px;
}
[dir="ltr"] .footer-links a:hover { padding-right: 0; padding-left: 4px; }

/* Directional icons should point the natural way in English */
[dir="ltr"] .bi-arrow-left,
[dir="ltr"] .bi-arrow-left-circle,
[dir="ltr"] .bi-arrow-left-short,
[dir="ltr"] .bi-chevron-left,
[dir="ltr"] .bi-arrow-right,
[dir="ltr"] .bi-arrow-right-circle,
[dir="ltr"] .bi-arrow-right-short,
[dir="ltr"] .bi-chevron-right {
    display: inline-block;
    transform: scaleX(-1);
}



/* Logical "start" alignment that follows the active direction */
.text-start-auto { text-align: right; }
[dir="ltr"] .text-start-auto { text-align: left; }

/* ===================== Booking Confirmation ===================== */
.confirmation-hero { padding-bottom: 68px; }
.confirmation-section { background: var(--bg); }
.confirmation-card {
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.confirmation-card-header {
    position: relative;
    padding: 48px 40px 42px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(145deg, var(--dark), #2C1A0E);
}
.confirmation-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(200,151,58,.20), transparent 58%);
}
.confirmation-card-header > * { position: relative; z-index: 1; }
.confirmation-icon {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 2rem;
    background: rgba(200,151,58,.12);
}
.confirmation-card-header h2 {
    color: var(--white);
    font-size: clamp(1.45rem, 3vw, 2rem);
    margin-bottom: 8px;
}
.confirmation-card-header p { color: rgba(255,255,255,.78); }
.confirmation-reference {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 8px 16px;
    border: 1px solid rgba(200,151,58,.35);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    font-size: .82rem;
}
.confirmation-reference strong {
    color: var(--primary-light);
    letter-spacing: 1.2px;
    direction: ltr;
}
.confirmation-card-body { padding: 42px; }
.confirmation-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 30px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light-bg);
}
.confirmation-summary div { display: flex; flex-direction: column; gap: 2px; }
.confirmation-summary span { color: var(--text-muted); font-size: .76rem; }
.confirmation-summary strong { font-size: .88rem; overflow-wrap: anywhere; }
.confirmation-copy { color: var(--text-muted); }
.confirmation-copy p { margin-bottom: 12px; }
.confirmation-copy h3 { margin: 26px 0 12px; font-size: 1.05rem; }
.confirmation-steps {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}
.confirmation-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light-bg);
}
.confirmation-step-number {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 34px;
    border-radius: 50%;
    color: var(--white);
    background: var(--primary);
    font-weight: 800;
}
.confirmation-step h3 { margin: 3px 0 5px; font-size: 1rem; }
.confirmation-step p { color: var(--text-muted); font-size: .9rem; }
.confirmation-closing {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}
.confirmation-closing strong {
    display: block;
    margin-top: 18px;
    color: var(--primary);
    font-size: .9rem;
}
.confirmation-payment-box {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--light-bg);
}
.confirmation-payment-box h3 { margin-bottom: 12px; font-size: 1.05rem; }
.confirmation-payment-box h3 i { color: var(--primary); margin-inline-end: 6px; }
.confirmation-payment-box .bank-detail-row:last-child { border-bottom: none; }
.confirmation-divider { height: 1px; margin: 30px 0; background: var(--border); }
.confirmation-note {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: var(--radius);
    color: var(--text-muted);
    background: rgba(200,151,58,.08);
    font-size: .84rem;
}
.confirmation-note i { color: var(--primary); margin-inline-end: 5px; }
.confirmation-calendar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 38px;
    padding: 22px 24px;
    border: 1px solid rgba(200,151,58,.35);
    border-radius: var(--radius);
    background: linear-gradient(110deg, rgba(200,151,58,.12), rgba(245,237,223,.55));
}
.confirmation-calendar h3 { margin-bottom: 4px; font-size: 1rem; }
.confirmation-calendar p { color: var(--text-muted); font-size: .84rem; }
.btn-outline-primary {
    color: var(--primary);
    border: 1.5px solid var(--primary);
    background: transparent;
}
.btn-outline-primary:hover { color: var(--white); background: var(--primary); }

@media (max-width: 640px) {
    .confirmation-card-header { padding: 36px 22px 32px; }
    .confirmation-card-body { padding: 26px 20px; }
    .confirmation-summary { grid-template-columns: 1fr; }
    .confirmation-calendar { align-items: stretch; flex-direction: column; }
    .confirmation-calendar .btn { width: 100%; }
}

/* ===================== Refined Thank-you Page ===================== */
.confirmation-section {
    min-height: calc(100vh - 80px);
    padding: 118px 0 86px;
    background:
        radial-gradient(circle at 8% 22%, rgba(200,151,58,.10), transparent 25%),
        radial-gradient(circle at 92% 76%, rgba(117,26,29,.06), transparent 28%),
        var(--bg);
}
.confirmation-page-shell { max-width: 980px; }
.confirmation-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: .82rem;
}
.confirmation-breadcrumb a { color: var(--primary); font-weight: 700; }
.confirmation-page-card {
    overflow: hidden;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(117,26,29,.14);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(28,20,13,.14);
}
.confirmation-page-header {
    position: relative;
    padding: 46px 42px 40px;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    background:
        radial-gradient(circle at 50% -35%, rgba(200,151,58,.28), transparent 52%),
        linear-gradient(145deg, #1C140D, #3A2112);
}
.confirmation-page-header::before,
.confirmation-page-header::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(200,151,58,.17);
    border-radius: 50%;
    pointer-events: none;
}
.confirmation-page-header::before { width: 330px; height: 330px; top: -270px; right: -60px; }
.confirmation-page-header::after { width: 230px; height: 230px; bottom: -185px; left: -45px; }
.confirmation-page-header > * { position: relative; z-index: 1; }
.confirmation-page-header .confirmation-icon {
    width: 68px; height: 68px;
    margin: 0 auto 16px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    background: rgba(200,151,58,.13);
    font-size: 2rem;
}
.confirmation-eyebrow {
    margin-bottom: 8px;
    color: var(--primary-light);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 2px;
}
.confirmation-page-header h1 {
    margin-bottom: 13px;
    color: var(--white);
    font-size: clamp(1.55rem, 3.2vw, 2.25rem);
}
.confirmation-page-lead {
    margin-bottom: 4px;
    color: var(--white);
    font-size: 1.14rem;
    font-weight: 800;
}
.confirmation-page-sublead {
    color: rgba(255,255,255,.76);
    font-size: .92rem;
}
.confirmation-page-header .confirmation-reference {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 8px 16px;
    border: 1px solid rgba(200,151,58,.40);
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    font-size: .80rem;
}
.confirmation-page-header .confirmation-reference strong {
    color: var(--primary-light);
    direction: ltr;
    letter-spacing: 1.2px;
}
.confirmation-page-body { padding: 38px 42px 42px; }
.confirmation-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--light-bg);
}
.confirmation-service span {
    color: var(--text-muted);
    font-size: .80rem;
    font-weight: 700;
}
.confirmation-service i { color: var(--primary); margin-inline-end: 5px; }
.confirmation-service strong { font-size: .90rem; text-align: end; }
.confirmation-message { color: var(--text-muted); }
.confirmation-message p { margin-bottom: 10px; }
.confirmation-message h2,
.confirmation-instructions h2 {
    margin: 26px 0 10px;
    color: var(--text);
    font-size: 1.08rem;
}
.confirmation-status {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 24px 0;
    padding: 15px 17px;
    border-radius: 12px;
}
.confirmation-status > i {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 1.25rem;
}
.confirmation-status strong { display: block; margin-bottom: 3px; font-size: .92rem; }
.confirmation-status p { color: var(--text-muted); font-size: .84rem; }
.confirmation-status-pending {
    border: 1px solid rgba(200,151,58,.30);
    background: rgba(200,151,58,.09);
}
.confirmation-step-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}
.confirmation-step {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--light-bg);
}
.confirmation-step h2 { margin: 2px 0 5px; font-size: .98rem; }
.confirmation-step p { color: var(--text-muted); font-size: .88rem; }
.confirmation-closing {
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}
.confirmation-closing p { margin-bottom: 5px; }
.confirmation-closing strong {
    display: block;
    margin-top: 14px;
    color: var(--primary);
    font-size: .88rem;
}
.confirmation-bank-box {
    margin: 26px 0;
    padding: 22px;
    border: 1px solid rgba(200,151,58,.30);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(200,151,58,.10), rgba(245,237,223,.55));
}
.confirmation-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}
.confirmation-section-icon {
    width: 40px; height: 40px;
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
    background: rgba(200,151,58,.14);
    font-size: 1.1rem;
}
.confirmation-section-heading h2 { margin-bottom: 2px; font-size: 1.08rem; }
.confirmation-section-heading p { color: var(--text-muted); font-size: .80rem; }
.confirmation-bank-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--border);
}
.confirmation-bank-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 13px 15px;
    background: rgba(255,255,255,.76);
}
.confirmation-bank-detail span { color: var(--text-muted); font-size: .75rem; }
.confirmation-bank-detail strong {
    color: var(--text);
    font-size: .88rem;
    overflow-wrap: anywhere;
}
.confirmation-instructions {
    color: var(--text-muted);
}
.confirmation-instructions p { margin-bottom: 16px; }
.confirmation-instructions .btn,
.confirmation-page-body > .btn-whatsapp { min-width: 250px; }
.confirmation-calendar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 34px;
    padding: 20px 22px;
    border: 1px solid rgba(117,26,29,.22);
    border-radius: 14px;
    background: linear-gradient(110deg, rgba(117,26,29,.06), rgba(200,151,58,.11));
}
.confirmation-calendar .confirmation-section-heading { flex: 1; }
.confirmation-calendar .btn { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 640px) {
    .confirmation-section { padding: 102px 0 62px; }
    .confirmation-page-header { padding: 36px 22px 32px; }
    .confirmation-page-body { padding: 26px 20px 30px; }
    .confirmation-service { align-items: flex-start; flex-direction: column; gap: 4px; }
    .confirmation-service strong { text-align: start; }
    .confirmation-bank-details { grid-template-columns: 1fr; }
    .confirmation-calendar { align-items: stretch; flex-direction: column; }
    .confirmation-calendar .btn,
    .confirmation-instructions .btn,
    .confirmation-page-body > .btn-whatsapp { width: 100%; }
}

/* ============================================================
   Responsive hardening
   ------------------------------------------------------------
   These rules intentionally live at the end of the stylesheet so
   they also protect content and pages created later from Edit Mode.
   ============================================================ */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

.container {
    width: 100%;
}

iframe,
video,
audio,
canvas,
svg {
    max-width: 100%;
}

/* Pages created in Edit Mode may contain pasted media or tables. */
.custom-page-body,
.custom-home-page-body {
    min-width: 0;
    overflow-wrap: anywhere;
}
.custom-page-body > *,
.custom-home-page-body > * {
    max-width: 100%;
}
.custom-page-body img,
.custom-home-page-body img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100% !important;
}
.custom-page-body iframe,
.custom-home-page-body iframe,
.custom-page-body video,
.custom-home-page-body video {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 16 / 9;
}
.custom-page-body table,
.custom-home-page-body table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}
.custom-page-body pre,
.custom-home-page-body pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.custom-page-body [style*="width"],
.custom-home-page-body [style*="width"],
.custom-page-body [width],
.custom-home-page-body [width] {
    max-width: 100% !important;
}

/* Missing detail-page styles are defined here so the webinar layout
   behaves consistently with the rest of the responsive card system. */
.webinar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.webinar-cover {
    position: relative;
    height: 190px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.78);
    background: linear-gradient(135deg, var(--dark), #2C1A0E);
}
.webinar-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.webinar-cover .webinar-type-badge {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    margin: 0;
}
.webinar-title {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 8px;
}
.webinar-subtitle {
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.7;
    min-height: 2.9em;
}
.webinar-date,
.webinar-seats {
    color: var(--text-muted);
    font-size: .78rem;
}
.webinar-date { color: var(--primary); margin-bottom: 10px; }
.webinar-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.webinar-seats { white-space: nowrap; }
.webinar-hero {
    min-height: 430px;
    padding: 150px 0 80px;
    display: flex;
    align-items: center;
    color: #fff;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.webinar-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28,20,13,.92), rgba(28,20,13,.58));
}
.webinar-hero .container,
.webinar-hero-content {
    position: relative;
    z-index: 1;
}
.webinar-hero-content { max-width: 820px; }
.webinar-hero h1,
.webinar-hero-content h1 { color: #fff; }
.webinar-sidebar { position: sticky; top: 104px; }
.webinar-register-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

/* Inline two-column blocks used by public forms and detail pages. */
@media (max-width: 1024px) {
    .about-grid { gap: 38px; }
    .webinar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .webinar-sidebar { position: static; }
    .webinar-page [style*="grid-template-columns:1fr 360px"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .container { padding-inline: 16px; }
    .section-padding { padding: 56px 0; }
    .section-padding-sm { padding: 42px 0; }
    .section-header { margin-bottom: 34px; }
    .section-header p { font-size: .92rem; }

    .navbar { min-height: 68px; }
    .nav-container { height: 68px; padding-inline: 16px; gap: 8px; }
    .nav-logo { min-width: 0; flex: 1 1 auto; }
    .nav-logo-img { height: 50px !important; max-height: 50px !important; max-width: 150px !important; }
    .nav-actions { flex: 0 0 auto; gap: 6px; }
    .nav-toggle { flex: 0 0 auto; }
    .nav-menu { top: 68px; padding: 16px; }

    .hero {
        min-height: auto;
        padding-top: 68px;
    }
    .hero.hero-has-cover { padding-top: 68px; }
    .hero-mobile-cover { aspect-ratio: 16 / 9; }
    .hero-grid { padding: 58px 0 56px; gap: 0; }
    .hero-eyebrow { max-width: 100%; margin-bottom: 20px; padding-inline: 14px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.35rem); }
    .hero-subtitle { font-size: .96rem; margin-bottom: 28px; }
    .hero-actions,
    .cta-buttons { gap: 10px; }
    .hero-actions .btn,
    .cta-buttons .btn { width: 100%; }
    .hero-stats { gap: 16px; padding-top: 24px; justify-content: space-between; }
    .hero-stat strong { font-size: 1.3rem; }
    .hero-stat span { font-size: .72rem; }

    .about-image-wrap,
    .about-image-wrap-inner { display: block; }
    .about-img,
    .about-image,
    .about-img-placeholder { width: 100%; max-width: 360px; margin-inline: auto; }
    .about-img-placeholder { height: auto; aspect-ratio: 1; }
    .about-badge-float,
    .about-badge { left: 8px; right: auto; bottom: -12px; padding: 10px 13px; font-size: .76rem; }
    [dir="ltr"] .about-badge-float,
    [dir="ltr"] .about-badge { left: auto; right: 8px; }

    .services-grid,
    .resources-grid,
    .meditation-grid,
    .testimonials-grid,
    .webinar-grid { grid-template-columns: 1fr; }
    .service-card { padding: 28px 22px; }
    .service-cover { margin: -28px -22px 22px; }
    .resource-actions .btn { flex: 1 1 100%; }
    .webinar-cover { height: 170px; }
    .webinar-body { padding: 20px; }
    .webinar-hero { min-height: 390px; padding: 122px 0 56px; }
    .webinar-hero::before { background: rgba(28,20,13,.76); }
    .webinar-hero h1 { font-size: clamp(1.65rem, 8vw, 2.25rem) !important; }
    .webinar-register-card { padding: 22px 18px; }

    .booking-form-wrap,
    .booking-info { padding: 24px 18px; }
    .booking-page [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }
    .payment-option-label { align-items: flex-start; padding: 13px 14px; }
    .bank-detail-row { align-items: flex-start; flex-direction: column; gap: 2px; }
    .session-cover-image { height: min(72vw, 360px); min-height: 180px; }
    .confirmation-card-body,
    .confirmation-page-body { padding-inline: 18px; }
    .confirmation-summary { grid-template-columns: 1fr; }
    .confirmation-calendar { align-items: stretch; flex-direction: column; }
    .confirmation-calendar .btn { width: 100%; }

    .contact-page [style*="grid-template-columns:1fr 1fr"],
    .meditations-page [style*="grid-template-columns"],
    .contact-page [style*="padding:36px"],
    .webinar-page [style*="padding:30px"] {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .contact-page [style*="padding:36px"] { padding: 22px !important; }

    .subscribe-form { width: 100%; }
    .subscribe-form .form-control,
    .subscribe-form input[style*="max-width"] {
        width: 100%;
        max-width: none !important;
        min-width: 0;
        flex: 1 1 100% !important;
    }
    .subscribe-form .btn { width: 100%; }
    .footer { padding-top: 52px; }
    .footer-grid { gap: 26px; }
    .sticky-whatsapp { width: 48px; height: 48px; left: 14px; bottom: 76px; }
    .scroll-top { left: 14px; bottom: 18px; }
    [dir="ltr"] .sticky-whatsapp,
    [dir="ltr"] .scroll-top { left: auto; right: 14px; }
}

@media (max-width: 480px) {
    .nav-container { padding-inline: 12px; }
    .nav-logo-img { max-width: 122px !important; }
    .lang-switch { padding: 7px 9px; }
    .lang-switch span { display: none; }
    .nav-toggle { padding: 4px 2px; }
    .page-hero { padding-top: 104px; padding-bottom: 44px; }
    .page-hero h1 { font-size: 1.75rem; }
    .breadcrumb { flex-wrap: wrap; }
    .hero-grid { padding-top: 46px; }
    .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .hero-stat { min-width: 0; }
    .hero-stat span { display: block; line-height: 1.45; }
    .about-badge-float,
    .about-badge { max-width: calc(100% - 16px); }
    .alert { align-items: flex-start; padding: 12px 14px; font-size: .82rem; }
    .custom-home-page-card { padding: 20px 16px; }
    .custom-media-audio { align-items: flex-start; padding: 16px; }
    .custom-media-audio audio { width: 100%; }
    .custom-media-file { padding-inline: 15px; }
    .confirmation-page-header { padding-inline: 18px; }
}

/* ============================================================
   Mobile navigation and final responsive safeguards
   ------------------------------------------------------------
   The menu is a real full-screen layer on small screens. Keeping
   it hidden with visibility/pointer-events as well as transform
   prevents menu labels from sitting on top of page content while
   the menu is closed, including during page load.
   ============================================================ */
html { overflow-x: clip; }
body.mobile-nav-open { overflow: hidden; }

.nav-menu { min-width: 0; }
.nav-link,
.btn,
.form-control,
.payment-option-label,
.footer-contact-item,
.confirmation-service,
.confirmation-calendar {
    min-width: 0;
}

.nav-toggle { position: relative; z-index: 1001; }
.nav-actions { position: relative; z-index: 1001; }
.nav-backdrop { display: none; }

h1, h2, h3, h4, h5, h6,
p, li, td, th, label, a, span {
    overflow-wrap: anywhere;
}

iframe, video, audio, canvas, svg, img { max-width: 100%; }
button, input, select, textarea { min-width: 0; }
.btn { max-width: 100%; white-space: normal; text-align: center; }
.footer-contact-item a { overflow-wrap: anywhere; }

@media (max-width: 991px) {
    .nav-menu {
        top: 80px;
        right: 0;
        left: auto;
        inset-inline-end: 0;
        inset-inline-start: auto;
        width: min(86vw, 340px);
        max-width: 340px;
        height: calc(100dvh - 80px);
        max-height: calc(100dvh - 80px);
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        padding: 22px 16px calc(32px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        /* Deliberately opaque: the hero image must never show through the drawer. */
        background-color: #fbf6ee;
        background-image: linear-gradient(180deg, #fdf8f1 0%, #fbf6ee 100%);
        background-clip: padding-box;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-left: 1px solid rgba(117,26,29,.16);
        box-shadow: -18px 0 45px rgba(28,20,13,.20);
        transform: translate3d(110%, 0, 0);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: transform .28s ease, opacity .2s ease, visibility 0s linear .28s;
    }
    .nav-menu.open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition-delay: 0s;
    }
    .nav-menu li { width: 100%; min-width: 0; }
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        text-align: start;
        font-size: 1rem;
        line-height: 1.45;
        border-radius: 12px;
    }
    .nav-link.active {
        box-shadow: inset 0 0 0 1px rgba(200,151,58,.18);
    }
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(28,20,13,.46);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .25s ease, visibility 0s linear .25s;
    }
    .nav-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }
}

@media (max-width: 767px) {
    .container { min-width: 0; }
    .section-header h2 { line-height: 1.4; }
    .page-hero h1,
    .page-header h1,
    .webinar-hero h1 { line-height: 1.35; }

    /* Normalize two-column blocks authored inline in public pages. */
    [class$="-page"] [style*="grid-template-columns"] {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
    }
    .booking-page [style*="grid-template-columns:1fr 1fr"],
    .contact-page [style*="grid-template-columns:1fr 1fr"] {
        gap: 0 !important;
    }

    .webinar-hero-content { width: 100%; }
    .nav-menu {
        top: 68px;
        height: calc(100dvh - 68px);
        max-height: calc(100dvh - 68px);
    }
    .nav-backdrop { top: 0; }
    .webinar-hero .breadcrumb {
        justify-content: flex-start;
        flex-wrap: wrap;
        row-gap: 4px;
        line-height: 1.6;
    }
    .webinar-meta,
    .webinar-foot { align-items: flex-start; }
    .payment-option-label > div,
    .confirmation-service > *,
    .confirmation-calendar > * { min-width: 0; }
    .payment-option-label small { line-height: 1.6; }
    .bank-detail-row span { max-width: 100%; overflow-wrap: anywhere; }

    .footer-bottom span { max-width: 100%; }
    .custom-page-media,
    .custom-home-page-body { width: 100%; }
    .custom-media-document { min-height: 68vh; }
    .custom-media-document iframe { height: 68vh; min-height: 420px; }
    .custom-media-embed { min-height: 220px; }
    .custom-media-embed iframe { min-height: 220px; }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 68px;
        height: calc(100dvh - 68px);
        max-height: calc(100dvh - 68px);
        padding-inline: 12px;
        width: min(88vw, 320px);
    }
    .nav-link { min-height: 46px; padding-inline: 14px; }
    .page-hero { padding-top: 104px; }
    .booking-form-wrap,
    .booking-info,
    .webinar-register-card { border-radius: 16px; }
    .payment-option-label { gap: 10px; }
    .payment-option-label .payment-icon { flex: 0 0 auto; }
}
