:root {
    --bg: #ffffff;
    --bg-soft: #f3f2f1;
    --line: #cbd5c0;
    --text: #0b0c0c;
    --muted: #505a5f;
    --brand: #007f3b;
    --brand-2: #00a64e;
    --brand-light: #eaf4ee;
    --success: #007f3b;
    --error: #d4351c;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --hero-bg: #0b2d16;
    --hero-line: rgba(255,255,255,0.14);
    --hero-panel: rgba(255,255,255,0.07);
    --hero-muted: #9ab8a4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* ── Hero (dark green) ── */
.hero {
    padding: 24px 0 50px;
    min-height: 50vh;
    background: var(--hero-bg);
    color: #ffffff;
}
.nav, .dashboard-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.brand { display: flex; gap: 14px; align-items: center; }
.brand-logo {
    width: 48px; height: 48px; border-radius: 12px; object-fit: contain;
}
.brand strong { color: #ffffff; }
.brand small { color: var(--hero-muted); }
.nav-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Centered stacked nav (homepage) */
.nav-centered { flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding-bottom: 8px; }
.nav-centered .brand { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.nav-centered .brand strong,
.nav-centered .brand small { display: block; }
.nav-centered .brand-logo { width: 80px; height: 80px; border-radius: 18px; }
.nav-centered .nav-links { justify-content: center; }

/* Buttons */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
    padding: 14px 20px; border-radius: 16px; color: white;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 4px 16px rgba(0,127,59,0.35); font: inherit; font-weight: 600;
}
.button.ghost {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--hero-line);
    box-shadow: none;
    color: white;
}
/* Ghost button outside hero (dashboard, footer, login) */
.dashboard-top .button.ghost,
.footer .button.ghost,
.login-shell .button.ghost {
    background: transparent;
    border: 1.5px solid var(--line);
    color: var(--text);
}
.button.small { padding: 10px 14px; border-radius: 12px; }

/* Pills / eyebrows */
.pill {
    display: inline-block; padding: 8px 12px; border-radius: 999px;
    background: rgba(255,255,255,0.09); border: 1px solid var(--hero-line); color: var(--hero-muted);
}
.eyebrow {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--brand-light); border: 1px solid rgba(0,127,59,0.22); color: var(--brand);
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.mini-pill {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    background: var(--brand); color: white; font-size: 0.8rem; font-weight: 600;
}

/* Hero layout */
.hero-grid, .split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.hero-grid { padding-top: 40px; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.05; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -0.04em; }
h1 span { color: #7de09e; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.03em; }
.lede { font-size: 1.1rem; max-width: 640px; color: var(--hero-muted); }
.cta-row, .stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* Hero stats */
.stats div {
    background: var(--hero-panel); backdrop-filter: blur(16px);
    border: 1px solid var(--hero-line); border-radius: 28px;
    padding: 16px 18px; min-width: 160px;
}
.stats strong { display: block; font-size: 1.15rem; color: #ffffff; }
.stats span { color: var(--hero-muted); font-size: 0.95rem; }

/* Hero card (right side) */
.hero-card {
    background: var(--hero-panel); backdrop-filter: blur(16px);
    border: 1px solid var(--hero-line); border-radius: 28px;
    padding: 28px; position: relative; overflow: hidden; color: #ffffff;
}
.hero-card p, .hero-card li { color: var(--hero-muted); }
.mock-card.top {
    height: 120px; border-radius: 22px;
    background: linear-gradient(135deg, rgba(0,127,59,0.55), rgba(0,166,78,0.25));
    border: 1px solid var(--hero-line);
}
.hero-card-logo {
    width: 140px; height: 140px; object-fit: contain; display: block;
    margin: -20px auto 18px; border-radius: 16px;
}

/* ── Photo strip (extends hero bg) ── */
.photo-strip { background: var(--hero-bg); padding-bottom: 64px; }
.photo-img {
    width: 100%; height: 420px; object-fit: cover; object-position: center 20%; border-radius: 28px; display: block;
}

/* ── Main content (white) ── */
.section { padding: 60px 0; }
.section-head { margin-bottom: 28px; text-align: center; }

/* Cards */
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
    padding: 24px; background: #ffffff;
    border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); }
.card.featured { transform: translateY(-8px); border-color: var(--brand); }

/* Feature check grid */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.check-grid div {
    padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px;
    background: var(--brand-light); color: var(--text); font-weight: 500;
}

/* "Why Julie" panel (right side of split) */
.glass-panel {
    padding: 24px; background: #ffffff;
    border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.mini-window { display: flex; gap: 8px; margin-bottom: 18px; }
.mini-window span { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline-item { padding: 18px 0; border-top: 1px solid var(--line); }
.timeline-item p { color: var(--muted); }

/* Booking form */
.form-card {
    padding: 28px; background: #ffffff;
    border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
label { display: grid; gap: 8px; font-weight: 500; color: var(--text); }
.full-width { grid-column: 1 / -1; }
input, select, textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px;
    border: 1.5px solid var(--line); background: #ffffff; color: var(--text); font: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0,127,59,0.15);
}
select option { color: #111; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; }
.alert.success { background: var(--brand-light); border: 1px solid rgba(0,127,59,0.35); color: var(--brand); }
.alert.error { background: #fde8e8; border: 1px solid rgba(212,53,28,0.35); color: var(--error); }

/* Footer */
.footer {
    display: flex; justify-content: space-between; gap: 20px; align-items: center;
    padding: 32px 0 56px; border-top: 1px solid var(--line);
}
.footer p { color: var(--muted); }

/* Login page */
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg-soft); }
.login-shell {
    width: min(520px, 100%); padding: 32px;
    background: #ffffff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.login-shell .eyebrow { margin-bottom: 10px; display: inline-block; }
.login-shell p { color: var(--muted); }
.stack-form { display: grid; gap: 16px; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 0.95rem; }
.back-link:hover { color: var(--brand); }

/* Dashboard */
.dashboard-top {
    padding: 24px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.dashboard-top .eyebrow { margin-bottom: 8px; display: inline-block; }
.table-wrap { overflow: auto; background: #ffffff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 980px; }
th {
    text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
    background: var(--brand-light); color: var(--brand); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em;
}
td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
td small { color: var(--muted); }
.inline-form { display: grid; gap: 10px; }
.compact-stats .card { text-align: center; }
.compact-stats strong { display: block; font-size: 1.8rem; color: var(--brand); font-weight: 700; }
.compact-stats span { color: var(--muted); font-size: 0.95rem; }

/* ── Dashboard ── */
.dash-body { background: var(--bg-soft); }
.dash-topbar {
    background: var(--hero-bg); color: #ffffff;
    padding: 16px 0; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.dash-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dash-topbar .brand strong,
.dash-topbar .brand small { color: inherit; }
.dash-topbar .brand small { color: var(--hero-muted); }
.dash-ghost { background: rgba(255,255,255,0.08) !important; border-color: var(--hero-line) !important; color: white !important; }
.dash-wrap { padding: 32px 0 64px; }

/* Stats row */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card {
    padding: 22px 24px; background: #ffffff;
    border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.stat-val { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 4px; }
.stat-label { color: var(--muted); font-size: 0.88rem; }
.stat-new .stat-val       { color: #1d70b8; }
.stat-scheduled .stat-val { color: #007f3b; }
.stat-completed .stat-val { color: #505a5f; }

/* Main 2-col: calendar + upcoming */
.dash-main { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-bottom: 28px; align-items: start; }

/* Calendar */
.cal { background: #ffffff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.cal-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cal-header h3 { margin: 0; font-size: 1.05rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--brand-light); color: var(--brand); font-weight: 700; font-size: 1.1rem; text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.cal-nav a:hover { background: var(--brand); color: #ffffff; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--bg-soft); }
.cal-dow span {
    padding: 9px 0; text-align: center; font-size: 0.72rem; font-weight: 700;
    color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em;
    border-bottom: 1px solid var(--line);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-cell {
    min-height: 76px; padding: 6px 7px;
    border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.empty { background: #fafafa; }
.cal-cell.has-bookings { background: #f5fbf7; }
.cal-day {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%; font-size: 0.82rem; font-weight: 600;
    color: var(--muted); margin-bottom: 3px;
}
.cal-cell.today .cal-day { background: var(--brand); color: #ffffff; }
.cal-pill {
    display: block; font-size: 0.69rem; font-weight: 600; padding: 2px 5px; border-radius: 5px;
    margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #ffffff;
}
.cal-more { display: block; font-size: 0.69rem; color: var(--muted); padding: 1px 4px; }

/* Upcoming panel */
.upcoming { background: #ffffff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.upcoming-header { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.upcoming-header h3 { margin: 0 0 2px; font-size: 1.05rem; }
.upcoming-header p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.upcoming-list { list-style: none; margin: 0; padding: 4px 0; }
.upcoming-item {
    display: grid; grid-template-columns: 44px 1fr; gap: 12px;
    padding: 12px 20px; border-bottom: 1px solid var(--line); align-items: start;
}
.upcoming-item:last-child { border-bottom: none; }
.upcoming-date { text-align: center; padding-top: 2px; }
.u-day { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand); line-height: 1; }
.u-mon { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
.upcoming-info strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.upcoming-info span { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.upcoming-empty { padding: 28px; text-align: center; color: var(--muted); font-size: 0.9rem; }

/* Table header inside card */
.table-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.table-header h3 { margin: 0; font-size: 1.05rem; }
.table-count { color: var(--muted); font-size: 0.88rem; }

/* Status badge */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }

/* Required field marker */
.req { color: var(--error); }

/* Add modal */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(11,45,22,0.6);
    display: none; align-items: center; justify-content: center;
    z-index: 200; padding: 24px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
    background: #ffffff; border-radius: 24px; padding: 32px;
    width: min(600px, 100%); position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25); max-height: 90vh; overflow-y: auto;
}
.modal h2 { margin: 0 0 24px; }
.modal-close {
    position: absolute; top: 14px; right: 18px;
    background: none; border: none; font-size: 2rem; line-height: 1;
    cursor: pointer; color: var(--muted);
}
.modal-close:hover { color: var(--text); }

/* ── Dashboard tabs ── */
.dash-tabs { display: flex; gap: 6px; margin-bottom: 24px; }
.tab-btn {
    padding: 10px 22px; border-radius: 12px; border: 1.5px solid var(--line);
    background: #ffffff; font: inherit; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; color: var(--muted); transition: all 0.15s;
}
.tab-btn.active { background: var(--brand); color: #ffffff; border-color: var(--brand); }
.tab-btn:hover:not(.active) { border-color: var(--brand); color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Learner tab layout */
.learner-tab-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.dash-card { box-shadow: var(--shadow); }
.dash-card h3 { margin: 0 0 6px; }

/* Document icons (small, in table) */
.doc-icon-sm {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    font-size: 0.62rem; font-weight: 800; color: #ffffff; letter-spacing: 0.02em;
}

/* Danger button */
.btn-danger { background: #fde8e8 !important; color: var(--error) !important; box-shadow: none !important; border: 1px solid rgba(212,53,28,0.3) !important; }
.btn-danger:hover { background: var(--error) !important; color: #fff !important; }

/* Bulk action bar */
.bulk-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: #e8f4ee; border: 1px solid #b3d9c4; border-radius: 6px;
    padding: 10px 16px; margin-bottom: 12px; font-size: 0.9rem;
}
.bulk-bar select { padding: 4px 8px; border-radius: 4px; border: 1px solid #ccc; font-family: inherit; font-size: 0.9rem; }

/* ── Learner portal ── */
.doc-grid { display: grid; gap: 12px; }
.doc-card {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    background: #ffffff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow); text-decoration: none; color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.doc-card:hover { border-color: var(--brand); box-shadow: 0 4px 24px rgba(0,127,59,0.12); }
.doc-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
    font-size: 0.7rem; font-weight: 800; color: #ffffff; letter-spacing: 0.02em;
}
.icon-pdf  { background: #d4351c; }
.icon-doc  { background: #1d70b8; }
.icon-img  { background: #007f3b; }
.icon-vid  { background: #7a2191; }
.icon-file { background: #505a5f; }
.doc-info { flex: 1; min-width: 0; }
.doc-info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-info span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.doc-dl { font-size: 1.4rem; color: var(--brand); flex-shrink: 0; }
.empty-state { text-align: center; padding: 72px 24px; }
.empty-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { color: var(--muted); }

/* ── Standalone page header (booking etc.) ── */
.page-header {
    background: var(--hero-bg); color: #ffffff; padding: 24px 0 48px;
}
.page-title { padding-top: 48px; }
.page-title h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.page-title p { color: var(--hero-muted); margin: 0; font-size: 1.05rem; }

/* Booking CTA block on homepage */
.booking-cta {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; flex-wrap: wrap; padding: 36px;
    background: var(--hero-bg); border-color: transparent; color: #ffffff;
}
.booking-cta h2 { color: #ffffff; margin-bottom: 6px; font-size: 2rem; }
.booking-cta p { color: var(--hero-muted); margin: 0; }
.booking-cta .eyebrow { margin-bottom: 10px; background: rgba(255,255,255,0.1); border-color: var(--hero-line); color: var(--hero-muted); }
.booking-cta .button { white-space: nowrap; flex-shrink: 0; font-size: 1.05rem; padding: 16px 28px; }

/* Section intro text */
.section-intro { color: var(--muted); font-size: 1.05rem; margin: 8px auto 0; max-width: 640px; }

/* ── Steps / road to passing ── */
.steps { display: grid; gap: 0; max-width: 720px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 28px; position: relative; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step::before {
    content: ''; position: absolute; left: 27px; top: 58px; bottom: 0;
    width: 2px; background: var(--line);
}
.step:last-child::before { display: none; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%; background: var(--brand);
    color: white; font-size: 1.25rem; font-weight: 700;
    display: grid; place-items: center; flex-shrink: 0; position: relative; z-index: 1;
    box-shadow: 0 4px 16px rgba(0,127,59,0.3);
}
.step-body { padding-top: 10px; }
.step-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step-body p { color: var(--muted); margin: 0 0 12px; line-height: 1.65; }
.step-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 16px; border-radius: 999px;
    background: var(--brand-light); border: 1.5px solid rgba(0,127,59,0.25);
    color: var(--brand); font-weight: 600; font-size: 0.88rem;
    transition: background 0.15s, border-color 0.15s;
}
.step-link:hover { background: rgba(0,127,59,0.12); border-color: var(--brand); }

/* ── Key facts band ── */
.band-soft { background: var(--brand-light); }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card {
    background: #ffffff; border: 1px solid var(--line); border-radius: 24px;
    padding: 24px; box-shadow: var(--shadow);
}
.info-label {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 16px;
}
.fact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 0; }
.fact-list li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.fact-list li:last-child { border-bottom: none; }
.fact-key { color: var(--muted); }
.fact-val { font-weight: 600; color: var(--text); text-align: right; }

/* ── FAQ accordion ── */
.faq { display: grid; gap: 8px; }
.faq-item {
    background: #ffffff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.faq-item summary {
    padding: 20px 24px; font-weight: 600; font-size: 1rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.5rem; line-height: 1; color: var(--brand); flex-shrink: 0;
    transition: transform 0.2s;
}
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item[open] > summary { border-bottom: 1px solid var(--line); }
.faq-item > p { margin: 0; padding: 20px 24px; color: var(--muted); line-height: 1.7; }

/* ── Footer links ── */
.footer-links { display: grid; gap: 6px; }
.footer-links strong { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 4px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; display: block; }
.footer-links a:hover { color: var(--brand); }

/* ── Dashboard tab badge ── */
.tab-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    background: #d4351c; color: #fff; font-size: 0.72rem; font-weight: 700;
    margin-left: 6px; vertical-align: middle;
}

/* ── Dashboard gallery grid ── */
.dash-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
.dash-gallery-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.dash-gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.dash-gallery-item p { padding: 8px 10px 4px; font-size: 0.82rem; color: var(--muted); margin: 0; }
.dash-gallery-item form { padding: 4px 10px 10px; }

/* ── Dashboard review rows ── */
.review-row { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.review-row:last-child { border-bottom: none; }
.review-row.pending { background: #fffbf0; }
.review-row-stars { color: #f0b429; font-size: 1rem; letter-spacing: 1px; margin-bottom: 4px; }
.review-row strong { display: block; font-size: 0.92rem; }
.review-row p { color: var(--muted); font-size: 0.88rem; margin: 4px 0; line-height: 1.5; }
.review-row small { color: var(--muted); font-size: 0.78rem; }
.review-row-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ── Reviews ── */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: #f0b429; font-size: 1.3rem; letter-spacing: 2px; }
.review-text { color: var(--muted); line-height: 1.7; margin: 0; flex: 1; font-style: italic; }
.review-name { color: var(--text); font-size: 0.95rem; }

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(11,45,22,0.85));
    color: #ffffff; font-size: 0.8rem; font-weight: 500;
    padding: 24px 12px 10px; line-height: 1.3;
}

/* ── Star picker (review form) ── */
.star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-top: 8px; }
.star-picker input[type="radio"] { display: none; }
.star-picker label { font-size: 2rem; color: #d0d5d0; cursor: pointer; transition: color 0.1s; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: #f0b429; }

/* ── Voucher preview card ── */
.voucher-card-preview { display: flex; align-items: center; justify-content: center; }
.voucher-preview {
    width: 100%; max-width: 340px; aspect-ratio: 1.6;
    border-radius: 24px; background: linear-gradient(135deg, var(--hero-bg), #1a5c34);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 40px rgba(0,127,59,0.3); overflow: hidden; position: relative;
}
.voucher-preview::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0,166,78,0.25) 0%, transparent 60%);
}
.vp-inner { text-align: center; color: #ffffff; position: relative; z-index: 1; padding: 24px; }
.vp-logo { width: 60px; height: 60px; border-radius: 12px; margin-bottom: 12px; }
.vp-inner h3 { margin: 0 0 4px; font-size: 1.4rem; letter-spacing: -0.02em; }
.vp-inner p { color: rgba(255,255,255,0.7); margin: 0 0 16px; font-size: 0.9rem; }
.vp-ribbon {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
}

/* ── Show Me Tell Me grid ── */
.smtm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.smtm-card {
    display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px;
    background: #ffffff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.smtm-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%; background: var(--brand);
    color: #ffffff; font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.smtm-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

@media (max-width: 900px) {
    /* Grids → single column */
    .hero-grid, .split, .cards.three, .field-grid, .check-grid, .info-grid { grid-template-columns: 1fr; }

    /* Hero */
    .hero { min-height: auto; padding-bottom: 32px; }
    .hero-grid { padding-top: 36px; }
    h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }

    /* Nav — keep horizontal, tighten up */
    .nav { flex-wrap: wrap; gap: 12px; }
    .nav-links { gap: 6px; flex-wrap: wrap; }
    .nav-links a { font-size: 0.88rem; }

    /* Stats — stack full width, no min-width overflow */
    .stats { flex-direction: column; gap: 10px; }
    .stats div { min-width: 0; width: 100%; }

    /* Hero card — hide on mobile to keep hero clean */
    .hero-card { display: none; }

    /* Photo */
    .photo-img { height: 220px; }
    .photo-strip { padding-bottom: 36px; }

    /* Sections */
    .section { padding: 40px 0; }
    .section-head { margin-bottom: 16px; }

    /* Pricing cards — no offset on featured */
    .card.featured { transform: none; }

    /* Booking CTA */
    .booking-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .booking-cta h2 { font-size: 1.6rem; }
    .booking-cta .button { width: 100%; text-align: center; }

    /* Steps */
    .step { grid-template-columns: 40px 1fr; gap: 16px; }
    .step-num { width: 40px; height: 40px; font-size: 0.95rem; }
    .step::before { left: 19px; top: 42px; }

    /* Key facts band */
    .band-soft .section { padding: 40px 0; }

    /* FAQ */
    .faq-item summary { padding: 16px 18px; font-size: 0.95rem; }
    .faq-item > p { padding: 16px 18px; }

    /* Booking form */
    .form-card { padding: 20px; }

    /* Footer & dashboard */
    .dashboard-top, .footer { flex-direction: column; align-items: flex-start; }
    .footer { padding: 24px 0 40px; }

    /* Page header (booking.php) */
    .page-title { padding-top: 28px; }
    .page-title h1 { font-size: 2rem; }

    /* Reviews / gallery / smtm */
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .smtm-grid { grid-template-columns: 1fr; }
    .voucher-card-preview { display: none; }

    /* Dashboard */
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-main { grid-template-columns: 1fr; }
    .learner-tab-grid { grid-template-columns: 1fr; }
    .dash-topbar-inner { flex-wrap: wrap; gap: 12px; }
    .cal-cell { min-height: 56px; }
    .cal-pill { display: none; }
    .cal-more { display: none; }
    .cal-cell.has-bookings .cal-day { background: var(--brand); color: #fff; border-radius: 50%; }
}
