/* ===== gidiyoor tema ===== */
:root {
    --green:        #16a34a;
    --green-600:    #15a04a;
    --green-700:    #15803d;
    --green-800:    #166534;
    --green-050:    #eef8f1;
    --green-100:    #dcf1e3;
    --ink:          #1f2937;
    --ink-soft:     #4b5563;
    --muted:        #6b7280;
    --line:         #e5ece8;
    --line-soft:    #eef2f0;
    --bg:           #f7faf8;
    --card:         #ffffff;
    --amber:        #f5a623;
    --radius:       14px;
    --radius-sm:    10px;
    --shadow:       0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
    --shadow-md:    0 6px 20px rgba(16,24,40,.08);
    --container:    1120px;
    --font:         'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0; line-height: 1.2; font-weight: 800; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1200px; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 15px;
    border: 1px solid transparent; transition: .15s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-700); }
.btn-outline { background: transparent; border-color: #cbd5d1; color: var(--ink); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-ghost { background: #f1f5f3; color: var(--ink); }
.btn-ghost:hover { background: #e7efe9; }
.btn-white { background: #fff; color: var(--ink); border: 1.5px solid #fff; }
.btn-white:hover { background: #f3f4f6; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-wa { background: #22a45d; color: #fff; }

/* ---- Header ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-top { display: flex; align-items: center; gap: 18px; padding: 14px 20px; max-width: 1200px; margin: 0 auto; }
.logo { display: inline-flex; align-items: center; font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: var(--green); }
.logo .dot { color: var(--amber); }

.searchbar {
    flex: 1; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line);
    border-radius: 12px; overflow: hidden; max-width: 720px; box-shadow: var(--shadow);
}
.searchbar input, .searchbar select {
    border: 0; padding: 12px 14px; background: transparent; outline: none; color: var(--ink);
}
.searchbar .sb-input { flex: 1; min-width: 100px; }
.searchbar .sb-div { width: 1px; height: 26px; background: var(--line); }
.searchbar select { cursor: pointer; color: var(--ink-soft); }
.searchbar .sb-btn {
    background: var(--green); color: #fff; border: 0; padding: 0 26px; align-self: stretch;
    font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.searchbar .sb-btn:hover { background: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line);
    background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-soft);
}
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.link-btn { padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; }
.link-btn:hover { border-color: var(--green); color: var(--green); }

/* ---- Nav ---- */
.main-nav { border-top: 1px solid var(--line); background: #fff; }
.nav-inner { display: flex; gap: 6px; max-width: 1200px; margin: 0 auto; padding: 4px 12px; overflow-x: auto; }
.nav-inner a {
    display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; color: var(--ink-soft);
    font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent;
}
.nav-inner a svg { width: 17px; height: 17px; color: var(--green); }
.nav-inner a:hover { color: var(--green); }
.nav-inner a.active { color: var(--green); border-bottom-color: var(--green); }

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

/* ---- Breadcrumb ---- */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 14px 20px; color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: #cbd5d1; }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ---- Flash ---- */
.flash { max-width: 1200px; margin: 14px auto 0; padding: 0 20px; }
.flash > div { padding: 13px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.flash .ok  { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash .err { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* ================= DETAIL PAGE ================= */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(115deg, #0f5a2f 0%, #14803f 46%, #0d5027 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 78% 40%, rgba(255,255,255,.14), transparent 45%);
    pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 46px 20px 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; position: relative; z-index: 1; }
.hero-city { font-size: 22px; font-weight: 600; opacity: .95; }
.hero h1 { font-size: 58px; line-height: .98; margin: 2px 0; letter-spacing: -1px; }
.hero h1 .sub { display: block; font-weight: 800; }
.hero-slogan { font-size: 20px; font-weight: 800; margin: 16px 0 8px; }
.hero-desc { font-size: 15.5px; opacity: .92; max-width: 520px; }
.hero-meta { display: flex; gap: 34px; margin: 22px 0 24px; flex-wrap: wrap; }
.hero-meta .hm { display: flex; gap: 10px; align-items: flex-start; }
.hero-meta .hm svg { color: #a7f3c8; margin-top: 2px; }
.hero-meta .hm b { display: block; font-size: 16px; }
.hero-meta .hm span { font-size: 13px; opacity: .85; }
.hero-rating .rv { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 800; }
.hero-rating .rv svg { color: var(--amber); width: 18px; height: 18px; fill: var(--amber); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { display: flex; align-items: center; justify-content: center; }
.hero-media .badge-logo {
    width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06);
    border: 3px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(0,0,0,.3); overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Tabs ---- */
.tabs-wrap { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.tabs { max-width: 1120px; margin: 0 auto; display: flex; gap: 4px; padding: 0 20px; overflow-x: auto; }
.tabs a {
    display: inline-flex; align-items: center; gap: 8px; padding: 18px 18px; font-weight: 700; color: var(--muted);
    border-bottom: 3px solid transparent; white-space: nowrap; font-size: 14.5px;
}
.tabs a svg { width: 18px; height: 18px; }
.tabs a.active, .tabs a:hover { color: var(--green); border-bottom-color: var(--green); }

/* ---- Feature strip ---- */
.features { background: #f4f8f5; border: 1px solid var(--line); border-radius: var(--radius); margin: 26px 0; padding: 22px; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.feature { display: flex; gap: 12px; align-items: flex-start; }
.feature .fi { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.feature b { display: block; font-size: 14.5px; }
.feature span { font-size: 12.5px; color: var(--muted); }

/* ---- Section grid ---- */
.section { padding: 8px 0 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; align-items: start; }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; box-shadow: var(--shadow);
}
.card h2 { font-size: 21px; margin-bottom: 16px; }
.card h3.head-lg { font-size: 21px; margin-bottom: 16px; }
.sec-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-title h2 { font-size: 21px; }
.sec-title a { color: var(--green); font-weight: 700; font-size: 14px; }

/* about table */
.about-desc { color: var(--ink-soft); margin-bottom: 18px; }
.info-rows { display: flex; flex-direction: column; }
.info-rows .ir { display: grid; grid-template-columns: 190px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); align-items: center; }
.info-rows .ir:first-child { border-top: 0; }
.info-rows .ir .k { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-weight: 600; font-size: 14px; }
.info-rows .ir .k svg { width: 17px; height: 17px; color: var(--green); }
.info-rows .ir .v { font-weight: 600; }

/* program checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); }
.checklist li svg { color: var(--green); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* coach CTA card */
.coach-cta { margin-top: 20px; background: linear-gradient(135deg, var(--green-700), var(--green)); color: #fff; border-radius: var(--radius); padding: 22px; }
.coach-cta h3 { font-size: 18px; margin-bottom: 8px; }
.coach-cta p { opacity: .92; font-size: 14px; margin-bottom: 16px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery .g-item { border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; background: var(--green-050); cursor: pointer; }
.gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery .g-item:hover img { transform: scale(1.05); }
.gallery.mini { grid-template-columns: repeat(4,1fr); }

/* info contact list */
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list .ci { display: flex; gap: 12px; }
.contact-list .ci .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .ci b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-list .ci span { font-weight: 600; }

/* map */
.map-box { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 260px; position: relative; }
#map { width: 100%; height: 100%; border: 0; }
.map-addr { background: rgba(255,255,255,.95); padding: 12px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md); position: absolute; top: 14px; left: 14px; right: 14px; z-index: 500; max-width: 260px; }

/* reviews */
.review { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.review:first-child { border-top: 0; padding-top: 0; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.review-head b { font-size: 15px; }
.review-head .when { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.rating-stars { display: inline-flex; gap: 2px; }
.rating-stars svg { width: 15px; height: 15px; }
.star-full svg { color: var(--amber); fill: var(--amber); }
.star-empty svg { color: #d1d5db; fill: #d1d5db; }
.review p { color: var(--ink-soft); font-size: 14px; margin: 6px 0 0; }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 15px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { transition: .2s; color: var(--green); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 18px 16px; color: var(--ink-soft); font-size: 14px; }

/* bottom CTA */
.cta-banner { background: linear-gradient(120deg, #f0f9f2, #e5f5ea); border: 1px solid var(--green-100); border-radius: 16px; padding: 26px 30px; display: flex; align-items: center; gap: 22px; margin: 30px 0; }
.cta-banner .cta-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; }
.cta-banner h3 { color: var(--green-800); font-size: 20px; }
.cta-banner p { color: var(--ink-soft); font-size: 14px; margin-top: 3px; }
.cta-banner .btn { margin-left: auto; }

/* pill badges */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-premium { background: #fef3c7; color: #92400e; }
.pill-green { background: var(--green-100); color: var(--green-700); }
.pill-gray { background: #f3f4f6; color: #4b5563; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-red { background: #fee2e2; color: #b91c1c; }

/* video */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 12px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ================= HOME ================= */
.home-hero { background: linear-gradient(120deg, #0f5a2f, #16a34a); color: #fff; padding: 60px 0 70px; text-align: center; }
.home-hero h1 { font-size: 42px; letter-spacing: -1px; }
.home-hero p { font-size: 18px; opacity: .92; margin-top: 12px; }
.home-search { background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); padding: 16px; max-width: 940px; margin: 28px auto 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr auto; gap: 10px; }
.home-search select, .home-search input { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.home-search .btn { padding: 13px 24px; }

.section-pad { padding: 46px 0; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { font-size: 30px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin-top: 8px; }

.cat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; text-align: center; box-shadow: var(--shadow); transition: .15s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow-md); }
.cat-card .ci { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.cat-card .ci svg { width: 24px; height: 24px; }
.cat-card b { font-size: 15px; }
.cat-card span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* listing cards */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.inst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .15s; display: flex; flex-direction: column; }
.inst-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.inst-card .thumb { aspect-ratio: 16/10; background: var(--green-050); position: relative; }
.inst-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.inst-card .thumb .fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); border: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.inst-card .thumb .fav.on { color: #e11d48; }
.inst-card .thumb .fav.on svg { fill: #e11d48; }
.inst-card .thumb .premium-tag { position: absolute; top: 12px; left: 12px; }
.inst-card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.inst-card .cat { color: var(--green-700); font-size: 12px; font-weight: 700; }
.inst-card h3 { font-size: 17px; }
.inst-card .loc { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.inst-card .loc svg { width: 14px; height: 14px; }
.inst-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.inst-card .foot .rate { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14px; }
.inst-card .foot .rate svg { width: 15px; height: 15px; color: var(--amber); fill: var(--amber); }

/* ================= SEARCH ================= */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start; padding: 26px 0; }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.filter-card h3 { font-size: 16px; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field select, .field input { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; }
.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.results-head b { font-size: 20px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ================= AUTH ================= */
.auth-wrap { max-width: 440px; margin: 50px auto; padding: 0 20px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 26px; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.auth-card .field label { font-size: 14px; }
.auth-card .btn { margin-top: 8px; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-alt a { color: var(--green); font-weight: 700; }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.role-choice label { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; cursor: pointer; font-weight: 600; font-size: 14px; }
.role-choice input { display: none; }
.role-choice input:checked + span { color: var(--green); }
.role-choice label:has(input:checked) { border-color: var(--green); background: var(--green-050); }

/* ================= FOOTER ================= */
.site-footer { background: #0f2a1a; color: #cbd5c9; margin-top: 40px; padding: 46px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer .logo { color: #fff; }
.site-footer .logo .dot { color: var(--amber); }
.footer-grid p { font-size: 13.5px; margin-top: 12px; opacity: .8; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-grid ul a { opacity: .85; }
.footer-grid ul a:hover { color: #fff; opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; text-align: center; font-size: 13px; opacity: .7; }

/* ================= PANEL / ADMIN ================= */
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side {
    background: #0f2a1a; color: #cdd8cf; padding: 22px 14px; display: flex; flex-direction: column; gap: 4px;
}
.side .brand { color: #fff; font-size: 22px; font-weight: 800; padding: 6px 12px 18px; display: block; }
.side .brand .dot { color: var(--amber); }
.side a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 9px; color: #cdd8cf; font-weight: 600; font-size: 14px; }
.side a svg { width: 18px; height: 18px; opacity: .85; }
.side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.active { background: var(--green); color: #fff; }
.side .side-sep { height: 1px; background: rgba(255,255,255,.1); margin: 12px 6px; }
.side .badge-count { margin-left: auto; background: var(--amber); color: #422006; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 800; }
.dash-main { padding: 26px 30px; background: var(--bg); }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.dash-head h1 { font-size: 24px; }
.dash-head .who { color: var(--muted); font-size: 14px; }

.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat .lab { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat .num { font-size: 30px; font-weight: 800; margin-top: 6px; }
.stat .ic { float: right; width: 40px; height: 40px; border-radius: 10px; background: var(--green-100); color: var(--green-700); display: flex; align-items: center; justify-content: center; }

.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 22px; }
.panel-card h2 { font-size: 19px; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; }
.form-grid textarea { min-height: 90px; resize: vertical; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.table th { color: var(--muted); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .3px; }
.table tr:hover td { background: #fafcfb; }
.table .actions { display: flex; gap: 6px; }
.table-wrap { overflow-x: auto; }

.inline-form { display: inline; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 12px; }
.mini-photo { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1/1; }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-photo .del { position: absolute; top: 6px; right: 6px; }

.notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.notice-green { background: var(--green-050); border-color: var(--green-100); color: var(--green-800); }

/* premium plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan { border: 2px solid var(--line); border-radius: 16px; padding: 24px; }
.plan.pro { border-color: var(--green); position: relative; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .price { font-size: 30px; font-weight: 800; margin: 10px 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.plan ul li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.plan ul li svg { color: var(--green); width: 17px; height: 17px; }

/* ===== modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 28px; max-width: 440px; width: 100%; position: relative; box-shadow: var(--shadow-md); max-height: 92vh; overflow-y: auto; }
.modal h3 { font-size: 21px; }
.modal-close { position: absolute; top: 14px; right: 14px; background: #f3f4f6; border: 0; width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.modal-close:hover { background: #e5e7eb; }
.award-ico { color: var(--green); width: 26px; height: 26px; }

/* ===== responsive ===== */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .hero-media .badge-logo { width: 200px; height: 200px; }
    .hero h1 { font-size: 44px; }
    .two-col, .three-col { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .cat-grid { grid-template-columns: repeat(3,1fr); }
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .search-layout { grid-template-columns: 1fr; }
    .filter-card { position: static; }
    .home-search { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .dash { grid-template-columns: 1fr; }
    .side { flex-direction: row; overflow-x: auto; }
    .side .brand { display: none; }
    .side .side-sep { display: none; }
    .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .header-top { flex-wrap: wrap; }
    .searchbar { order: 3; width: 100%; max-width: none; }
    .searchbar select { display: none; }
    .gallery, .gallery.mini { grid-template-columns: repeat(2,1fr); }
    .cat-grid { grid-template-columns: repeat(2,1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .home-search { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .cta-banner { flex-direction: column; text-align: center; }
    .cta-banner .btn { margin: 0; }
    .info-rows .ir { grid-template-columns: 1fr; gap: 3px; }
}
