/* TutorFinder.in — stylesheet (no framework) */
:root {
  --brand: #0b5ed7;
  --brand-600: #094fb5;
  --brand-700: #0a2a66;
  --brand-50: #eaf2fd;
  --brand-100: #cfe0fa;
  --sun: #ffc61a;
  --sun-50: #fff6dc;
  --coral: #e0282e;
  --ink: #0b1a3f;
  --ink-2: #3a4766;
  --muted: #69738c;
  --line: #e0e5ef;
  --bg: #f6f8fc;
  --card: #ffffff;
  --danger: #c93a2a;
  --danger-50: #fdecea;
  --ok: #1d7f45;
  --ok-50: #e6f5ec;
  --info-50: #e9f1fd;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 35, 31, .06), 0 1px 3px rgba(19, 35, 31, .05);
  --shadow: 0 6px 24px -8px rgba(19, 35, 31, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .95rem/1 var(--font); padding: .8em 1.25em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--sun); color: var(--ink); }
.btn-accent:hover { background: #ffb700; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: #1faa53; color: #fff; }
.btn-wa:hover { background: #178a43; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a82e21; color: #fff; }
.btn-sm { padding: .55em .9em; font-size: .85rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo { height: 58px; width: auto; display: block; }
.site-header .brand { padding: 4px 0; }
.brand-tile { background: #fff; border-radius: 14px; padding: 8px 10px; display: inline-flex; }
.brand-tile .logo { height: 84px; }
.brand-tile-sm { padding: 3px 5px; border-radius: 8px; }
.brand-tile-sm .logo { height: 40px; }
.brand-login .logo { height: 110px; margin: 0 auto; }
.hero-text { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: clamp(1.3rem, 5.4vw, 2.6rem); font-size: clamp(1.3rem, 6.1cqi, 2.9rem); }
.hero h1 .line { display: block; white-space: nowrap; }
@media (max-width: 640px) { .hero .lead { font-size: 1rem; } }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-text b { color: var(--brand); font-weight: 800; }
.brand-light, .brand-light .brand-text { color: #fff; }
.brand-light .brand-text b { color: var(--sun); }
.site-nav { display: flex; align-items: center; gap: 20px; flex: 1; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0 auto 0 12px; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--brand); background: var(--brand-50); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; box-shadow: var(--shadow); }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; margin: 0; }
  .site-nav ul a { padding: 12px; font-size: 1rem; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
}

.flash-wrap { padding-top: 16px; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; font-weight: 500; border: 1px solid transparent; }
.alert-success { background: var(--ok-50); color: var(--ok); border-color: #bfe3cc; }
.alert-error { background: var(--danger-50); color: var(--danger); border-color: #f4c3bd; }
.alert-info { background: var(--info-50); color: #24509a; border-color: #c9dbf6; }
.alert-warn { background: var(--sun-50); color: #7a5500; border-color: #f5dd9a; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(900px 400px at 85% -10%, rgba(255, 194, 51, .28), transparent 60%),
  radial-gradient(700px 500px at -10% 110%, rgba(11, 94, 215, .12), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .85rem; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-100); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #1faa53; box-shadow: 0 0 0 4px rgba(31, 170, 83, .18); }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--brand); }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; background: var(--sun); opacity: .55; z-index: -1; border-radius: 4px; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }

.search-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 10px; margin-top: 26px; display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 6px; border: 1px solid var(--line); }
.search-card .field { display: flex; flex-direction: column; padding: 8px 14px; border-radius: 12px; }
.search-card .field + .field { border-left: 1px solid var(--line); }
.search-card label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search-card select, .search-card input { border: 0; padding: 4px 0; font: 500 1rem var(--font); background: transparent; color: var(--ink); width: 100%; outline: none; }
.search-card .btn { border-radius: 14px; padding: 0 26px; }
@media (max-width: 860px) {
  .search-card { grid-template-columns: 1fr; }
  .search-card .field + .field { border-left: 0; border-top: 1px solid var(--line); }
  .search-card .btn { padding: 16px; }
}
.quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.quick-tags span { font-size: .85rem; color: var(--muted); margin-right: 2px; }

.hero-art { position: relative; }
.hero-stack { display: grid; gap: 14px; }
.hero-stack .mini-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-sm); }
.hero-stack .mini-card:nth-child(2) { margin-left: 36px; }
.hero-stack .mini-card:nth-child(3) { margin-left: 12px; }
.mini-card strong { display: block; font-size: .98rem; }
.mini-card small { color: var(--muted); }
.mini-card .pill { margin-left: auto; }
.hero-badge { position: absolute; right: -6px; top: -58px; background: var(--brand); color: #fff; border-radius: 16px; padding: 12px 16px; font-weight: 700; font-family: var(--font-display); box-shadow: var(--shadow); transform: rotate(3deg); }
.hero-badge small { display: block; font-family: var(--font); font-weight: 500; opacity: .85; font-size: .75rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { padding: 36px 0 48px; } }

/* ---------- Chips / pills / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
a.chip:hover { border-color: var(--brand); color: var(--brand); }
.pill { display: inline-block; white-space: nowrap; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--brand-50); color: var(--brand-700); }
.pill-sun { background: var(--sun-50); color: #7a5500; }
.pill-grey { background: #eef1ef; color: var(--ink-2); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 8px; font-size: .75rem; font-weight: 700; text-transform: capitalize; }
.badge-pending, .badge-new { background: var(--sun-50); color: #7a5500; }
.badge-approved, .badge-matched, .badge-contacted { background: var(--ok-50); color: var(--ok); }
.badge-rejected { background: var(--danger-50); color: var(--danger); }
.badge-hidden, .badge-closed { background: #eef1ef; color: var(--muted); }
.badge-in-progress { background: var(--info-50); color: #24509a; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-size: .8rem; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 40em; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; display: block; }
@media (max-width: 640px) { .section { padding: 48px 0; } }

.subject-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.subject-tile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s, transform .15s, box-shadow .15s; }
.subject-tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.subject-tile .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); font-size: 1.25rem; }
.subject-tile small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--bg); border-radius: var(--radius-lg); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; margin-bottom: 14px; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card { border-radius: var(--radius-lg); padding: 34px; position: relative; overflow: hidden; }
.cta-card h2 { font-size: 1.7rem; }
.cta-card ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.cta-card li { margin-bottom: 4px; }
.cta-parents { background: var(--brand); color: #e7f3ef; }
.cta-parents h2 { color: #fff; }
.cta-tutors { background: var(--sun); color: #3d2d00; }
.cta-tutors .btn-primary { background: var(--ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; color: var(--brand); }
.stat span { color: var(--muted); font-size: .88rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.area-list { display: flex; flex-wrap: wrap; gap: 10px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

/* ---------- Tutor cards ---------- */
.tutor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.tutor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s, border-color .15s; position: relative; }
.tutor-card:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.tutor-card .top { display: flex; gap: 14px; align-items: center; }
.tutor-card h3 { margin: 0; font-size: 1.12rem; }
.tutor-card h3 a { color: var(--ink); text-decoration: none; }
.tutor-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tutor-card .headline { color: var(--ink-2); font-size: .92rem; margin: 0; }
.tutor-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.tutor-card .meta span { display: inline-flex; gap: 5px; align-items: center; }
.tutor-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tutor-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
.tutor-card .fee { font-weight: 700; color: var(--ink); font-size: .95rem; }
.tutor-card .foot .btn { position: relative; z-index: 1; }

.avatar { flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.avatar-sm { width: 40px; height: 40px; font-size: .9rem; }
.avatar-md { width: 60px; height: 60px; font-size: 1.2rem; }
.avatar-lg { width: 128px; height: 128px; font-size: 2.6rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.avatar-c0 { background: #0b5ed7; } .avatar-c1 { background: #e0282e; } .avatar-c2 { background: #5b5bd6; }
.avatar-c3 { background: #2a9d3a; } .avatar-c4 { background: #0e7490; } .avatar-c5 { background: #a16207; }

.empty { text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 48px 24px; }
.empty h3 { font-size: 1.3rem; }

/* ---------- Search page ---------- */
.page-head { padding: 36px 0 20px; }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.search-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 88px; }
.filters h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.filters .fgroup { margin-bottom: 16px; }
.filters .fgroup > label, .filters legend { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.filters fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.filters .opt { display: flex; gap: 8px; align-items: center; font-size: .92rem; padding: 3px 0; cursor: pointer; }
.filters .opt input { accent-color: var(--brand); width: 16px; height: 16px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.results-bar .count { font-weight: 600; }
.results-bar select { width: auto; padding: 8px 12px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters a { text-decoration: none; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination span:not(.current) { border: 0; background: none; }

/* ---------- Profile page ---------- */
.profile-hero { background: linear-gradient(180deg, var(--brand-50), var(--bg)); padding: 36px 0 12px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.profile-top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.profile-top h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 6px; }
.profile-top .headline { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 10px; }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 24px 0 64px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.panel h2 { font-size: 1.25rem; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.facts div { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.bio { white-space: pre-line; color: var(--ink-2); }
.contact-box { position: sticky; top: 88px; }
.contact-box .fee-big { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25; font-weight: 700; margin-bottom: 4px; }
.contact-box .btn { margin-bottom: 10px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; margin: 14px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } .contact-box { position: static; } .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-page { padding: 36px 0 72px; }
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-wrap.narrow { max-width: 440px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.2rem; margin: 8px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-card h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .form-card { padding: 20px; } }
.fg { margin-bottom: 16px; }
.fg > label, .fg > .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.fg .req { color: var(--coral); }
.fg .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.fg .err { font-size: .82rem; color: var(--danger); margin-top: 4px; font-weight: 500; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 94, 215, .14); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--danger); }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chips label { position: relative; cursor: pointer; }
.check-chips input { position: absolute; opacity: 0; pointer-events: none; }
.check-chips span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; background: #fff; transition: all .12s; user-select: none; }
.check-chips input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.check-chips input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.check-chips .cat { width: 100%; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.photo-field { display: flex; align-items: center; gap: 16px; }
.photo-field .avatar, .photo-field img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.benefits { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.benefits li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: .9rem; }
.benefits b { display: block; }
@media (max-width: 640px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c7c2; padding: 56px 0 24px; margin-top: 0; }
.site-footer a { color: #dfe9e5; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid h3 { color: #fff; font-size: .95rem; font-family: var(--font); letter-spacing: .02em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; font-size: .92rem; }
.footer-brand p { font-size: .92rem; margin-top: 14px; }
.footer-brand .org { color: #fff; font-weight: 600; }
.footer-brand .org a { color: var(--sun); }
.site-footer .muted { color: #8fa39c; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1faa53; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31, 170, 83, .4); z-index: 40; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- Content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; padding-bottom: 72px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.contact-list b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.success-card { text-align: center; }
.success-card .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; font-size: 2rem; }

/* ---------- Dashboard / Admin ---------- */
.app-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 72px); }
.app-side { background: #fff; border-right: 1px solid var(--line); padding: 20px 12px; }
.app-side a { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; margin-bottom: 2px; }
.app-side a:hover, .app-side a.on { background: var(--brand-50); color: var(--brand-700); }
.app-side .count { background: var(--coral); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 8px; font-weight: 700; }
.app-side .side-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 14px 6px; }
.app-main { padding: 28px; min-width: 0; }
.app-main h1 { font-size: 1.7rem; }
@media (max-width: 860px) {
  .app-layout { grid-template-columns: 1fr; }
  .app-side { display: flex; overflow-x: auto; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-side a { white-space: nowrap; margin: 0; }
  .app-side .side-title { display: none; }
  .app-main { padding: 20px 16px; }
}
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-cards a, .stat-cards div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.stat-cards b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.1; }
.stat-cards span { color: var(--muted); font-size: .85rem; }
.stat-cards .warn b { color: #b07800; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: #fafcfb; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data .who { display: flex; gap: 10px; align-items: center; }
table.data .actions { display: flex; gap: 6px; flex-wrap: wrap; }
table.data .actions form { margin: 0; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.toolbar input, .toolbar select { width: auto; padding: 8px 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.status-banner { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 20px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.enq-list { display: grid; gap: 12px; }
.enq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.enq-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.enq p { margin: 6px 0 10px; color: var(--ink-2); }
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar .header-inner { min-height: 56px; }
.admin-bar .brand, .admin-bar .brand-text { color: #fff; }
.admin-bar .brand-text b { color: var(--sun); }
.admin-bar a.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
