/* ============================================================
   Book Julian — Design System
   Light background · Blue & green · Rounded · Inter/Poppins
   ============================================================ */

:root {
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --green-600: #0d9488;
  --green-500: #14b8a6;
  --green-100: #ccfbf1;
  --green-50: #f0fdfa;
  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --ink: #1e293b;
  --ink-2: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-lg: 0 10px 30px rgba(15,23,42,.12);
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
a { color: var(--blue-600); text-decoration: none; }
img { max-width: 100%; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.page-content { min-height: 62vh; padding: 32px 0 64px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { font-size: 28px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.site-nav { display: flex; gap: 4px; align-items: center; }
.site-nav a {
  padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 15px;
  transition: .15s;
}
.site-nav a:hover { background: var(--blue-50); color: var(--blue-600); }
.site-nav a.active { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.site-nav a.nav-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  color: #fff; font-weight: 600; padding: 9px 18px; border-radius: 10px;
}
.site-nav a.nav-cta:hover { opacity: .92; }
.site-nav a.admin-link { color: var(--green-600); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  color: #fff; border-radius: 20px; padding: 48px 40px; margin-bottom: 40px;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.hero-text { flex: 1 1 340px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.hero p { font-size: 18px; opacity: .94; max-width: 560px; }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { flex: 0 1 300px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 12px; }
.hero-card .em { font-size: 30px; }
.hero-card small { opacity: .85; display: block; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 16px; cursor: pointer; border: none; transition: .15s; font-family: var(--font-body);
}
.btn-primary { background: #fff; color: var(--blue-600); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: linear-gradient(135deg, var(--blue-600), var(--green-600)); color: #fff; }
.btn-blue:hover { opacity: .92; }
.btn-outline { background: #fff; color: var(--blue-600); border: 1.5px solid var(--blue-500); }
.btn-outline:hover { background: var(--blue-50); }
.btn-danger { background: var(--red-500); color: #fff; }
.btn-danger:hover { opacity: .9; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Cards & sections ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { margin-bottom: 44px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: 30px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 8px auto 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: .18s; display: flex; flex-direction: column;
}
.service-card {
  cursor: pointer; text-decoration: none; color: inherit;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-300); }
.service-icon { font-size: 40px; margin-bottom: 12px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { color: var(--ink-2); flex: 1; }
.service-card .price { margin-top: 14px; font-weight: 700; color: var(--green-600); }
.service-card .btn { margin-top: 18px; align-self: start; }
.service-arrow { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--blue-600); align-self: start; }
.service-card:hover .service-arrow { color: var(--green-600); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step { text-align: center; padding: 22px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.step-num { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; background: linear-gradient(135deg,var(--blue-600),var(--green-600)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); }
.step h4 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Notice / disclaimer ---------- */
.notice { background: var(--green-50); border-left: 4px solid var(--green-600); padding: 16px 18px; border-radius: 10px; margin: 18px 0; color: #155e75; }
.notice.warn { background: #fffbeb; border-left-color: var(--amber-500); color: #92500f; }
.trust-box { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin: 10px 0 30px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 500; }

/* ---------- Forms ---------- */
.form-card { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group label .req { color: var(--red-500); }
.form-group .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px;
  font-family: var(--font-body); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
textarea { min-height: 90px; resize: vertical; }
.check-group { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); }
.check-item { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; transition: .15s; }
.check-item:hover { border-color: var(--blue-500); }
.check-item.selected { border-color: var(--blue-600); background: var(--blue-50); }
.check-item input { accent-color: var(--blue-600); margin-top: 4px; }
.check-item .c-name { font-weight: 600; font-size: 14px; }
.check-item .c-desc { font-size: 12.5px; color: var(--muted); }
.radio-row { display: flex; gap: 12px; }
.radio-card {
  flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer;
  text-align: center; background: var(--bg); transition: all .15s; position: relative; user-select: none;
  display: block; }
.radio-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow); }
.radio-card:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.radio-card .em { font-size: 26px; display: block; margin-bottom: 4px; }
.radio-card small { color: var(--muted); }
.radio-card:has(input:checked) small { color: var(--blue-600); }
.radio-card input[type="radio"] {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
  z-index: 2; margin: 0;
}
.radio-dot {
  position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; z-index: 1; pointer-events: none; transition: all .15s;
}
.radio-card:has(input:checked) .radio-dot {
  border-color: var(--blue-600); background: var(--blue-600); box-shadow: inset 0 0 0 3px #fff;
}
.radio-card.selected { /* fallback for browsers without :has */
  border-color: var(--blue-600); background: var(--blue-50); box-shadow: inset 0 0 0 1.5px var(--blue-600);
}
.radio-card.selected .radio-dot {
  border-color: var(--blue-600); background: var(--blue-600); box-shadow: inset 0 0 0 3px #fff;
}
.field-error { color: var(--red-500); font-size: 13px; margin-top: 5px; }
.checkbox-agree { display: flex; gap: 10px; align-items: flex-start; background: var(--green-50); border-radius: 10px; padding: 14px; }
.checkbox-agree input { accent-color: var(--green-600); margin-top: 4px; }

/* ---------- Booking schedule ---------- */
.booking-layout { max-width: 960px; margin: 0 auto; }
.schedule-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.calendar-nav { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.calendar-nav select { max-width: 200px; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.slot-btn {
  padding: 12px 8px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: .13s; text-align: center; color: var(--ink);
}
.slot-btn:hover:not(:disabled) { border-color: var(--blue-600); background: var(--blue-50); }
.slot-btn.free { border-color: var(--blue-200); }
.slot-btn.free:hover { border-color: var(--blue-600); }
.slot-btn.selected { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.slot-btn:disabled { opacity: .42; cursor: not-allowed; background: var(--bg); }
.slot-btn.cont-block { background: var(--amber-500); color: #fff; border-color: var(--amber-500); cursor: not-allowed; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 14px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.duration-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.duration-pill { padding: 12px 18px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 14px; }
.duration-pill:hover:not(:disabled) { border-color: var(--blue-600); }
.duration-pill.selected { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.duration-pill:disabled { opacity: .4; cursor: not-allowed; }
.selection-summary { background: var(--blue-50); border-radius: 10px; padding: 12px 14px; margin-top: 14px; font-size: 15px; }
.selection-summary strong { color: var(--blue-600); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
th { background: var(--blue-50); color: var(--ink); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #f8fafc; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.badge-pending { background: #fff7ed; color: #c2410c; }
.badge-confirmed { background: var(--blue-100); color: var(--blue-600); }
.badge-cancelled { background: #f1f5f9; color: var(--muted); }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table-actions form { display: inline; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; background: var(--green-50); color: var(--green-600); margin: 2px; }

/* ---------- Availability page ---------- */
.av-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.av-day { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-height: 120px; }
.av-day h4 { font-size: 14px; text-align: center; margin-bottom: 8px; }
.av-slot-free { background: var(--green-100); color: var(--green-600); }
.av-slot-busy { background: var(--line); color: var(--muted); }
.av-slot { border-radius: 6px; padding: 3px 6px; font-size: 12px; margin: 2px 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: var(--card); overflow: hidden; }
.faq-q { padding: 16px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--card); border: none; width: 100%; text-align: left; font-family: var(--font-body); font-size: 16px; color: var(--ink); }
.faq-q .chev { transition: .2s; color: var(--muted); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--ink-2); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 16px; }

/* ---------- Page header block ---------- */
.page-head { margin-bottom: 30px; }
.page-head h1 { font-size: 34px; margin-bottom: 8px; }
.page-head p { color: var(--muted); font-size: 17px; max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; padding: 40px 20px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 16px; }
.site-footer a { display: block; color: #cbd5e1; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.footer-note { background: rgba(255,255,255,.06); border-radius: 12px; padding: 16px; }
.footer-note p { font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; text-align: center; font-size: 13.5px; color: #94a3b8; }

/* ---------- Alerts ---------- */
.alert { position: relative; padding: 14px 40px 14px 18px; border-radius: 10px; margin: 16px auto; max-width: 1120px; font-weight: 500; display: flex; flex-direction: column; gap: 4px; }
.alert p { margin: 0; }
.alert-success { background: var(--green-100); color: #065f46; border: 1px solid var(--green-500); }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid var(--red-500); }
.alert-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; line-height: 1; }

/* ---------- Center columns ---------- */
.center-col { max-width: 480px; margin: 0 auto; }
.center-col-wide { max-width: 560px; margin: 0 auto; }

/* ---------- Misc ---------- */
.pill { display: inline-block; background: var(--blue-50); color: var(--blue-600); padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mb-8 { margin-bottom: 8px; }
.mt-32 { margin-top: 32px; }
.emoji-big { font-size: 48px; display: block; margin-bottom: 8px; }

/* ============================================================
   Admin styles
   ============================================================ */
.admin-body { background: var(--bg); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--ink); color: #cbd5e1; flex-shrink: 0; padding: 20px 0; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.admin-sidebar .brand { padding: 0 20px 18px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 14px; }
.admin-nav { flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: #cbd5e1; font-weight: 500; font-size: 15px; border-left: 3px solid transparent; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--green-500); }
.admin-nav .em { width: 20px; text-align: center; }
.admin-main { flex: 1; padding: 26px 30px; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 26px; }
.admin-user { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.stat-card .num { font-size: 30px; font-weight: 800; font-family: var(--font-display); color: var(--blue-600); }
.stat-card .lbl { color: var(--muted); font-size: 14px; }

.mobile-nav-toggle { display: none; }

/* Calendar height */
#calendar { height: 640px; background: var(--card); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow); }

/* Admin login */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, var(--blue-600), var(--green-600)); padding: 20px; }
.login-card { background: #fff; border-radius: 20px; padding: 36px; max-width: 400px; width: 100%; box-shadow: var(--shadow-lg); }
.login-card h1 { text-align: center; font-size: 24px; margin-bottom: 22px; }
.login-back { text-align: center; margin-top: 16px; font-size: 14px; }

/* Recurring picker on calendar / event form */
.mini-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-form .full { grid-column: 1 / -1; }

/* ============================================================
   Service Detail Pages
   ============================================================ */
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 500; font-size: 15px; color: var(--blue-600); }
.back-link:hover { color: var(--green-600); }
.service-hero { text-align: center; padding: 38px 20px 30px; background: linear-gradient(135deg, var(--blue-50), var(--green-50)); border-radius: var(--radius); margin-bottom: 28px; border: 1px solid var(--line); }
.service-hero-icon { font-size: 56px; display: block; margin-bottom: 12px; }
.service-hero h1 { font-size: 32px; margin-bottom: 6px; }
.service-subtitle { font-size: 18px; color: var(--ink-2); max-width: 620px; margin: 0 auto; }
.service-body { max-width: 800px; margin: 0 auto; }
.service-section { margin-bottom: 32px; }
.service-section h2 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.service-section p { color: var(--ink-2); line-height: 1.7; margin-bottom: 10px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 12px; }
.help-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-weight: 500; font-size: 14.5px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.help-item span { font-size: 20px; }
.step-list { list-style: none; counter-reset: step-counter; padding: 0; }
.step-list li { counter-increment: step-counter; padding: 12px 0 12px 44px; position: relative; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.step-list li::before {
  content: counter(step-counter); position: absolute; left: 0; top: 10px;
  width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.detail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 12px; }
.detail-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow); text-align: center;
}
.detail-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.detail-card strong { display: block; margin-bottom: 4px; font-size: 15px; }
.detail-card p { font-size: 14px; color: var(--muted); margin: 0; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.example-card { background: var(--blue-50); border-color: var(--blue-100); }
.example-card p { margin: 0 0 6px 0; }
.service-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Preselected service banner ---------- */
.preselected-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--blue-50); border: 2px solid var(--blue-300); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 18px;
}
.preselected-banner p { margin: 0; color: var(--ink-2); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .av-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-150%); transition: transform .22s; z-index: 60;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { width: 100%; text-align: center; padding: 12px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar {
    width: 100%; height: auto; position: static; flex-direction: row; align-items: center; padding: 10px 16px;
  }
  .admin-sidebar .brand { border: none; padding: 0; margin: 0 12px 0 0; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-nav a { padding: 8px 10px; border: none; border-radius: 8px; font-size: 14px; }
  .admin-nav a.active { border-left: none; }
  .admin-topbar h1 { font-size: 22px; }
  .av-grid { grid-template-columns: 1fr; }
}
