/* FindSetu.in — base styles (Part 1). Full UI polish comes in Part 10. */
:root {
    --setu: #1E63E9;        /* primary: bright blue (Part 18 redesign) */
    --setu-dark: #1550C4;
    --marigold: #F2A541;    /* accent */
    --ink: #0D1B3E;         /* deep navy text */
    --muted: #5B6478;
    --surface: #F4F7FC;
    --line: #E3E8F0;
    --radius-sm: 8px;
    --radius-lg: 14px;
    --red: #E5332A;
    --green: #1E9E4A;
}

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
    color: var(--ink);
    background: #fff;
    padding-bottom: 76px; /* room for mobile bottom nav */
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

a { color: var(--setu); }
a:focus-visible, button:focus-visible, .form-control:focus {
    outline: 3px solid var(--marigold);
    outline-offset: 2px;
    box-shadow: none;
}

.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: 6px 10px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.brand { font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand span { color: var(--setu); }
.navbar .nav-link { color: var(--ink); font-weight: 500; }
.navbar .nav-link.active { color: var(--setu); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Buttons */
.btn-setu { background: var(--setu); color: #fff; border: 0; }
.btn-setu:hover { background: var(--setu-dark); color: #fff; }
.btn-outline-setu { border: 1px solid var(--setu); color: var(--setu); }
.btn-outline-setu:hover { background: var(--setu); color: #fff; }
.btn-marigold { background: var(--marigold); color: var(--ink); font-weight: 700; border: 0; }
.btn-marigold:hover { background: #E0932D; color: var(--ink); }

/* Hero: a solid teal band that reads like a river the "setu" (bridge) crosses */
.hero { background: var(--setu); color: #fff; padding: 2.5rem 0 3rem; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.hero-sub { color: #CFE5EA; max-width: 46ch; margin-bottom: 1.25rem; }
.hero-search { display: flex; gap: .5rem; max-width: 640px; }
.hero-search .form-control { border: 0; border-radius: var(--radius-sm); }
@media (max-width: 575px) { .hero-search { flex-direction: column; } }

/* Sections */
.section { padding: 2rem 0 .5rem; }
.section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
.category-tile {
    display: flex; flex-direction: column; gap: .25rem;
    padding: 1rem; min-height: 96px;
    border: 1px solid var(--line); border-left: 4px solid var(--setu);
    border-radius: var(--radius-sm);
    color: var(--ink); text-decoration: none; background: #fff;
}
.category-tile span { color: var(--muted); font-size: .875rem; }
.category-tile:hover { border-color: var(--setu); background: var(--surface); }

.state-list { list-style: none; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.state-list li { display: flex; justify-content: space-between; padding: .75rem 1rem; background: var(--surface); border-radius: var(--radius-sm); }
.state-list span { color: var(--muted); font-size: .875rem; }

/* Footer */
.site-footer { margin-top: 3rem; padding: 2rem 0; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); }
.brand-footer { font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { font-size: .8rem; margin: 1.5rem 0 .5rem; max-width: 80ch; }

/* Mobile bottom navigation */
.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-top: 1px solid var(--line);
}
.bottom-nav a { text-align: center; padding: .85rem 0; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.bottom-nav a.active { color: var(--setu); }
.bottom-nav .bottom-nav-post { color: var(--setu); }

/* Error page */
.error-page { padding-top: 4rem; padding-bottom: 4rem; max-width: 560px; }
.error-code { font-size: 4rem; font-weight: 800; color: var(--line); margin: 0; line-height: 1; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------------- Part 2: auth & dashboard ---------------- */
.auth-wrap { max-width: 440px; padding-top: 2.5rem; padding-bottom: 2rem; }
.auth-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.auth-lead { color: var(--muted); margin-bottom: 1.5rem; }
.auth-switch { margin-top: 1.5rem; text-align: center; }
.otp-input { letter-spacing: .5em; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }

.dash { padding-top: 2rem; }
.dash-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .25rem; }
.dash-sub { font-size: 1.1rem; font-weight: 700; margin: 2rem 0 .75rem; }
.dash-form { max-width: 560px; }
.dash-form .dash-title { margin-bottom: 1rem; }

.dash-nav { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.dash-nav a, .dash-logout {
    white-space: nowrap; padding: .5rem .75rem; border-radius: var(--radius-sm);
    color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; text-align: left;
}
.dash-nav a.active { background: var(--surface); color: var(--setu); font-weight: 700; }
.dash-nav a:hover, .dash-logout:hover { background: var(--surface); }
.dash-logout { color: var(--muted); }
@media (min-width: 992px) {
    .dash-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); padding: 0 1rem 0 0; }
    .dash-nav a.active { border-left: 3px solid var(--setu); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
}

.badge-verified { display: inline-block; margin-left: .35rem; padding: .1rem .5rem; border-radius: 99px;
    background: #E3F4EA; color: #1B7F3B; font-size: .8rem; font-weight: 600; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1rem; background: var(--surface); border-radius: var(--radius-sm); display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; line-height: 1.1; color: var(--setu); }
.stat span { color: var(--muted); font-size: .875rem; }

.empty-box { padding: 1.25rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.count-list { list-style: none; padding: 0; margin: 0; }
.count-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }

.delete-box { padding: 1rem 1.25rem; background: #FFF6EC; border-left: 4px solid var(--marigold); border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.delete-box ul { margin-bottom: 0; padding-left: 1.1rem; }

/* ---------------- Part 3: locations ---------------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0 0 .75rem; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .25rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.loc-page { padding-top: 1.5rem; }
.loc-title { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.loc-lead { color: var(--muted); margin-bottom: 1.5rem; }
.place-list { list-style: none; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.place-list li { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.place-list li span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.place-list a { font-weight: 600; text-decoration: none; }
.loc-pending { color: #8A5A00; background: #FFF6EC; padding: .5rem .75rem; border-radius: var(--radius-sm); }
.loc-add { margin-top: .5rem; padding: 1rem; background: var(--surface); border-radius: var(--radius-sm); }
.area-finder { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------------- Part 4: workers & tutors ---------------- */
.filter-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: 1.25rem; }
.filter-box summary { font-weight: 600; cursor: pointer; }
.p-list { display: grid; gap: .75rem; }
@media (min-width: 992px) { .p-list { grid-template-columns: 1fr 1fr; } }
.p-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.p-card.is-featured { border-color: var(--marigold); box-shadow: inset 4px 0 0 var(--marigold); }
.p-card-link { display: flex; gap: .9rem; padding: 1rem; color: var(--ink); text-decoration: none; }
.p-card-link:hover { background: var(--surface); }
.p-card-photo { flex: 0 0 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--surface);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; color: var(--setu); }
.p-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.p-card-body { min-width: 0; }
.p-card-name { font-size: 1.05rem; font-weight: 700; margin: 0 0 .15rem; }
.p-card-what { margin: 0 0 .35rem; color: var(--ink); }
.p-card-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: 0; color: var(--muted); font-size: .875rem; }
.p-card-flag { position: absolute; top: .6rem; right: .6rem; font-size: .75rem; font-weight: 700; color: #8A5A00; background: #FFF3DF; padding: .1rem .5rem; border-radius: 99px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--muted); }

.profile-head { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.profile-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--surface);
    display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 800; color: var(--setu); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-what { font-size: 1.1rem; margin-bottom: .35rem; }
.badge-featured { display: inline-block; margin-left: .35rem; padding: .1rem .5rem; border-radius: 99px; background: #FFF3DF; color: #8A5A00; font-size: .8rem; font-weight: 700; vertical-align: middle; }
.login-wall { margin-top: 1.5rem; padding: 1.5rem; border: 1px dashed var(--setu); border-radius: var(--radius-sm); background: var(--surface); max-width: 640px; }
.profile-desc { white-space: normal; max-width: 70ch; }
.profile-dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; }
.profile-dl dt { color: var(--muted); font-weight: 500; }
.profile-dl dd { margin: 0; }
.contact-box { position: sticky; top: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.gallery-item { text-align: center; }

.listing-form fieldset { margin-bottom: 2rem; }
.listing-form legend { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.my-list { list-style: none; padding: 0; }
.my-list li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.my-actions { display: flex; gap: .25rem; align-items: flex-start; }

/* ---------------- Part 5: jobs, rentals, businesses ---------------- */
.p-card-photo.is-square, .profile-photo.is-square { border-radius: var(--radius-sm); }
.biz-cover { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1rem; }

/* ---------------- Part 6: Lost & Found, messages, search ---------------- */
.lf-tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 99px; }
.lf-lost { background: #FDE8E6; color: #9B2C1F; }
.lf-found { background: #E3F4EA; color: #1B7F3B; }
.lf-photo { max-width: 100%; max-height: 420px; border-radius: var(--radius-sm); }
.search-page-form { max-width: 720px; }
.search-tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.search-tabs a { white-space: nowrap; padding: .5rem .75rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.search-tabs a.active { color: var(--setu); border-bottom-color: var(--setu); font-weight: 700; }
.search-results { list-style: none; padding: 0; margin: 0 0 .5rem; }
.search-results li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 600; }
.search-section { margin-bottom: 1.5rem; }
.msg-row { color: var(--ink); text-decoration: none; flex: 1; }
.thread { display: flex; flex-direction: column; gap: .5rem; max-width: 640px; }
.bubble { align-self: flex-start; max-width: 85%; padding: .6rem .85rem; background: var(--surface); border-radius: 12px 12px 12px 2px; }
.bubble.is-mine { align-self: flex-end; background: #E1F0F3; border-radius: 12px 12px 2px 12px; }

/* ---------------- Part 7: payments ---------------- */
.pay-amount { font-size: 2rem; font-weight: 800; color: var(--setu); margin: .25rem 0; }
.pay-box { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.pay-upi { font-size: 1.2rem; font-weight: 700; word-break: break-all; }
.pay-qr { width: 220px; max-width: 100%; height: auto; background: #fff; padding: .5rem; border-radius: var(--radius-sm); }
.pay-actions { margin-top: .4rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.print-body { padding: 0; }
.receipt { max-width: 640px; margin: 2rem auto; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.receipt h1 { font-size: 1.5rem; font-weight: 800; margin: 0; }
@media print { .receipt { border: 0; margin: 0; } }

/* ---------------- Part 9: reporting ---------------- */
.report-box { margin-top: 2rem; max-width: 420px; font-size: .9rem; }
.report-box summary { color: var(--muted); cursor: pointer; }

/* ---------------- Part 10: homepage & UI polish ---------------- */
.hero { background: linear-gradient(180deg, var(--setu) 0%, var(--setu-dark) 100%); }
.hero-chips { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.hero-chips a { color: #fff; text-decoration: none; font-size: .85rem; padding: .25rem .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; }
.hero-chips a:hover { background: rgba(255,255,255,.12); }
.home-tiles .category-tile { border-left-width: 1px; }
.tile-icon { font-size: 1.6rem; line-height: 1; margin-bottom: .25rem; }
.tile-post { border: 1px dashed var(--setu); background: var(--surface); }
.home-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .9rem; }
.home-sec-head a { font-size: .9rem; text-decoration: none; white-space: nowrap; }
.how-steps { display: grid; gap: .75rem; padding-left: 1.25rem; max-width: 820px; }
@media (min-width: 992px) { .how-steps { grid-template-columns: repeat(3, 1fr); padding-left: 0; list-style-position: inside; } }
.trust-box { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; }
.trust-box p { color: var(--muted); font-size: .9rem; margin: .25rem 0 0; }
.nav-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
    background: #D93A2B; color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.bottom-nav .nav-badge { top: 4px; right: 18%; }
.is-unread { background: #F2F8FA; }
.post-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; max-width: 900px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-tile { display: grid; grid-template-columns: 3rem 1fr; grid-template-rows: auto auto; column-gap: .75rem; padding: 1rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.post-tile:hover { border-color: var(--setu); background: var(--surface); }
.post-icon { grid-row: span 2; font-size: 2rem; line-height: 1; }
.post-tile span:last-child { color: var(--muted); font-size: .9rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.2rem; font-weight: 700; margin-top: 1.75rem; }
.prose p, .prose li { line-height: 1.65; }
/* Loading state for buttons that submit forms */
button[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------------- Part 11: reviews & saved ---------------- */
.reviews { margin-top: 2rem; max-width: 760px; }
.rating-sum { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: .5rem; }
.review-list { list-style: none; padding: 0; }
.review-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.stars { color: #E0932D; letter-spacing: .05em; margin-right: .4rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .1rem; border: 0; padding: 0; margin: 0 0 .5rem; }
.star-input legend { float: left; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.8rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 .1rem; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #E0932D; }
.star-input input:focus-visible + label { outline: 3px solid var(--marigold); border-radius: 4px; }
.review-form { margin-top: 1rem; }
.fav-btn { font-weight: 600; text-decoration: none; }
.fav-btn[aria-pressed="true"] { color: #D93A2B; }
.msg-box summary { cursor: pointer; font-weight: 600; color: var(--setu); }

/* ---------------- Part 14: notifications & chat ---------------- */
.pref-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: .75rem; }
.msg-img { max-width: 220px; max-height: 220px; border-radius: var(--radius-sm); display: block; margin-bottom: .25rem; }
.pre-line { white-space: pre-line; }
.brand-logo { height: 36px; width: auto; display: block; }

/* =====================================================================
   Part 18: redesign — header, homepage, bottom navigation
   ===================================================================== */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -.22em; }
.ic-xs { width: .9em; height: .9em; vertical-align: -.12em; }
.ic-sm { width: 1em; height: 1em; vertical-align: -.14em; }
.ic-lg { width: 1.6em; height: 1.6em; }
.ic-red { color: var(--red); }
.ic-gold { color: #F7B500; }
h1, h2, h3, .fs-brand-name { letter-spacing: -.01em; }

/* Buttons */
.fs-btn-primary { background: var(--setu); color: #fff; font-weight: 600; border-radius: 10px; padding: .6rem 1.2rem; }
.fs-btn-primary:hover { background: var(--setu-dark); color: #fff; }
.fs-btn-post { background: var(--setu); color: #fff; font-weight: 600; border-radius: 99px; padding: .45rem 1rem; align-items: center; gap: .35rem; }
.fs-btn-post:hover { background: var(--setu-dark); color: #fff; }
.fs-btn-ghost { color: var(--ink); font-weight: 600; border: 1px solid var(--line); border-radius: 99px; padding: .45rem 1rem; }
.fs-btn-ghost:hover { border-color: var(--setu); color: var(--setu); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1020; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(13,27,62,.05); }
.fs-header { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.fs-brand { display: flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--ink); min-width: 0; }
.fs-brand-pin { width: 30px; height: 38px; flex: 0 0 auto; }
.fs-brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.fs-brand-name { font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.fs-brand-name span { color: var(--setu); }
.fs-brand-tag { font-size: .74rem; color: var(--muted); margin-top: .15rem; white-space: nowrap; }
.fs-desk-nav { gap: .15rem; margin-left: .5rem; }
.fs-desk-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; padding: .4rem .6rem; border-radius: 8px; white-space: nowrap; }
.fs-desk-nav a:hover, .fs-desk-nav a.active { color: var(--setu); background: #EEF4FF; }
.fs-head-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.fs-loc-pill { display: inline-flex; align-items: center; gap: .3rem; height: 42px; padding: 0 .85rem; border: 0; border-radius: 99px;
    background: #F2F5FA; color: var(--ink); font-weight: 600; font-size: .95rem; max-width: 11rem; }
.fs-loc-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-loc-pill:hover { background: #E8EEF8; }
.fs-loc-menu { max-height: 60vh; overflow: auto; }
.fs-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
    background: #F2F5FA; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.fs-icon-btn:hover { background: #E8EEF8; color: var(--setu); }
.fs-icon-btn .nav-badge { top: -2px; right: -2px; }
.fs-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: none; color: var(--ink); padding: 0; }
@media (min-width: 1400px) { .fs-menu-btn { display: none; } }
.fs-btn-post, .fs-btn-ghost { white-space: nowrap; }
@media (max-width: 420px) {
    .fs-header { gap: .4rem; min-height: 58px; }
    .fs-brand-pin { width: 24px; height: 31px; }
    .fs-brand-name { font-size: 1.12rem; }
    .fs-brand-tag { font-size: .62rem; }
    .fs-head-actions { gap: .3rem; }
    .fs-loc-pill { height: 36px; padding: 0 .6rem; font-size: .85rem; max-width: 7.5rem; }
    .fs-icon-btn, .fs-menu-btn { width: 36px; height: 36px; }
}
@media (max-width: 350px) { .fs-brand-tag { display: none; } }

/* Slide-in menu */
.fs-menu { max-width: 320px; }
.fs-menu .offcanvas-title { font-weight: 700; font-size: 1.1rem; }
.fs-menu-list { list-style: none; padding: 0; margin: 0; }
.fs-menu-list a, .fs-menu-logout { display: block; width: 100%; text-align: left; padding: .6rem .25rem; color: var(--ink); text-decoration: none; font-weight: 500; background: none; border: 0; font: inherit; }
.fs-menu-list a.active, .fs-menu-list a:hover { color: var(--setu); }
.fs-menu-small a { font-size: .9rem; color: var(--muted); padding: .35rem .25rem; }

/* Hero */
.fs-hero { position: relative; overflow: hidden; color: #fff; background: #1F4F96; isolation: isolate; }
.fs-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; z-index: -2; }
.fs-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(8,28,66,.78) 0%, rgba(8,28,66,.5) 45%, rgba(8,28,66,.12) 75%, rgba(8,28,66,0) 100%),
                linear-gradient(0deg, rgba(8,28,66,.55) 0%, rgba(8,28,66,0) 45%); }
.fs-hero-inner { padding-top: 1.6rem; padding-bottom: 1.4rem; }
.fs-hero h1 { font-size: clamp(1.75rem, 6.2vw, 3.2rem); font-weight: 700; line-height: 1.12; margin: 0 0 .6rem; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.fs-hero-sub { font-size: clamp(.92rem, 2.6vw, 1.15rem); font-weight: 500; max-width: 30rem; margin-bottom: 1.1rem; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.fs-hero-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; max-width: 820px; }
.fs-hero-q { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 12px; padding: 0 1rem; height: 52px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18); color: var(--ink); }
.fs-hero-q input { border: 0; outline: 0; flex: 1 1 auto; min-width: 0; font-size: 1rem; color: var(--ink); background: transparent; height: 100%; }
.fs-hero-q input::placeholder { color: #6B7489; }
.fs-hero-q:focus-within { outline: 3px solid var(--marigold); outline-offset: 2px; }
.fs-hero-loc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.fs-hero-loc .form-select { height: 50px; border: 0; border-radius: 10px; font-weight: 600; color: var(--ink); font-size: .95rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.15); padding-right: 2rem; text-overflow: ellipsis; }
.fs-hero-loc .form-select:disabled { background-color: #fff; color: #7A8296; opacity: 1; }
.fs-hero-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 54px; border-radius: 12px; font-size: 1.12rem; font-weight: 600;
    color: #fff; background: var(--setu); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(30,99,233,.45); }
.fs-hero-btn:hover { background: var(--setu-dark); }
@media (max-width: 420px) {
    .fs-hero-loc { gap: .4rem; }
    .fs-hero-loc .form-select { font-size: .8rem; padding-left: .55rem; padding-right: 1.5rem; background-position: right .4rem center; height: 46px; }
}
@media (min-width: 992px) {
    .fs-hero-inner { padding-top: 3.2rem; padding-bottom: 3rem; }
}

/* Sections */
.fs-sec { padding-top: 1.4rem; }
.fs-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.fs-sec-head h2 { display: flex; align-items: center; gap: .5rem; font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 700; margin: 0; color: var(--ink); }
.fs-sec-head .fs-h2-sm { font-size: clamp(1rem, 3.4vw, 1.25rem); }
.fs-sec-head > a { color: var(--setu); font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.fs-sec-head > a:hover { text-decoration: underline; }
.ic-title { width: 1.45em; height: 1.45em; }
.fs-page-title { font-size: 1.6rem; font-weight: 700; margin: 0; }

/* Category tiles */
.fs-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .65rem; }
.fs-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: .85rem .45rem .9rem;
    border-radius: 14px; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.fs-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,27,62,.1); color: var(--ink); }
.fs-tile strong { font-size: .98rem; font-weight: 600; line-height: 1.2; margin-top: .35rem; }
.fs-tile > span:last-child { font-size: .78rem; color: #4F5870; line-height: 1.3; }
.fs-tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; }
.fs-tile-icon svg { width: 60%; height: 60%; }
.fs-tile-icon-sm { width: 40px; height: 40px; }
.tile-orange { background: #FFF4E8; } .tile-orange .fs-tile-icon, .fs-tile-icon.tile-orange { background: #FFE3C4; }
.tile-violet { background: #F2EFFF; } .tile-violet .fs-tile-icon, .fs-tile-icon.tile-violet { background: #E1DAFF; }
.tile-blue   { background: #EBF3FF; } .tile-blue .fs-tile-icon, .fs-tile-icon.tile-blue { background: #D4E5FF; }
.tile-peach  { background: #FFF1EA; } .tile-peach .fs-tile-icon, .fs-tile-icon.tile-peach { background: #FFDCC9; }
.tile-green  { background: #EAF8EF; } .tile-green .fs-tile-icon, .fs-tile-icon.tile-green { background: #CDEFD9; }
.tile-pink   { background: #FFEEF0; } .tile-pink .fs-tile-icon, .fs-tile-icon.tile-pink { background: #FFD6DA; }
.tile-sky    { background: #EDF3FF; } .tile-sky .fs-tile-icon, .fs-tile-icon.tile-sky { background: #D6E4FF; }
.tile-lilac  { background: #F4EEFF; } .tile-lilac .fs-tile-icon, .fs-tile-icon.tile-lilac { background: #E4D6FF; }
@media (max-width: 575px) {
    .fs-tiles { gap: .45rem; }
    .fs-tile { padding: .6rem .25rem .7rem; border-radius: 12px; }
    .fs-tile-icon { width: 46px; height: 46px; }
    .fs-tile strong { font-size: .74rem; margin-top: .25rem; letter-spacing: -.015em; }
    .fs-tile > span:last-child { font-size: .62rem; }
}

/* Chips (states / categories) */
.fs-chips { display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: none; }
.fs-chips::-webkit-scrollbar { display: none; }
.fs-chips-wrap { flex-wrap: wrap; overflow: visible; }
.fs-chip { flex: 0 0 auto; padding: .5rem 1.2rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
    font-weight: 500; text-decoration: none; white-space: nowrap; }
.fs-chip:hover { border-color: var(--setu); color: var(--setu); }
.fs-chip.active { background: var(--setu); border-color: var(--setu); color: #fff; font-weight: 600; }

/* Featured tabs + cards */
.fs-tabs { display: flex; gap: .5rem; overflow-x: auto; margin-bottom: .9rem; scrollbar-width: none; }
.fs-tabs::-webkit-scrollbar { display: none; }
.fs-tab { flex: 1 0 auto; min-width: 6.2rem; padding: .5rem 1rem; border: 0; border-radius: 10px; background: #EEF1F6; color: var(--ink); font-weight: 600; font-size: .95rem; }
.fs-tab.active { background: var(--setu); color: #fff; }
.fs-scroller { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .15rem .1rem .6rem; scrollbar-width: thin; }
.fs-scroller > * { scroll-snap-align: start; }
.fs-card { flex: 0 0 calc((100% - 1.5rem) / 3); display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 3px 14px rgba(13,27,62,.1); border: 1px solid #EEF1F6; }
@media (min-width: 992px) { .fs-card { flex-basis: calc((100% - 2.25rem) / 4); } }
@media (min-width: 1200px) { .fs-card { flex-basis: calc((100% - 3rem) / 5); } }
.fs-card-media { position: relative; display: block; aspect-ratio: 16 / 11; background: linear-gradient(135deg, #EAF1FF, #D7E4FB); }
.fs-card-media { overflow: hidden; }
.fs-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-card-media.is-contain img { object-fit: contain; padding: .75rem; background: #fff; }
.fs-card-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fs-card-ph svg { width: 44%; height: 60%; }
.fs-flag { position: absolute; top: .5rem; left: .5rem; display: inline-flex; align-items: center; gap: .2rem; padding: .15rem .5rem;
    border-radius: 7px; background: #FFC93C; color: #3A2A00; font-size: .74rem; font-weight: 600; }
.fs-rating { position: absolute; right: .45rem; bottom: .45rem; display: inline-flex; align-items: center; gap: .2rem; padding: .12rem .45rem;
    border-radius: 7px; background: rgba(13,27,62,.72); color: #fff; font-size: .78rem; font-weight: 600; }
.fs-rating .ic { color: #FFC93C; }
.fs-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .6rem .7rem .75rem; flex: 1 1 auto; }
.fs-card-body h3 { font-size: 1.02rem; font-weight: 600; margin: 0; line-height: 1.25; max-width: 100%; }
.fs-card-body h3 a { color: var(--ink); text-decoration: none; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-card-what { margin: 0; font-size: .9rem; color: #2D3650; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-card-place { margin: 0; font-size: .82rem; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-card-place .ic { color: #F29A1F; }
.fs-status { margin: .3rem 0 .15rem; padding: .1rem .55rem; border-radius: 6px; font-size: .8rem; font-weight: 600; max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-status-ok { background: #E3F6E9; color: var(--green); }
.fs-status-warn { background: #FFF3DC; color: #9A6200; }
.fs-status-off { background: #EEF1F6; color: var(--muted); }
.fs-status-price { background: #FFECEA; color: var(--red); }
.fs-card-btn { margin-top: auto; width: 100%; text-align: center; padding: .5rem .5rem; border-radius: 9px; background: var(--setu); color: #fff;
    font-weight: 600; font-size: .92rem; text-decoration: none; }
.fs-card-btn:hover { background: var(--setu-dark); color: #fff; }
.fs-card-body .fs-status + .fs-card-btn, .fs-card-body .fs-card-place + .fs-card-btn { margin-top: .45rem; }
@media (max-width: 575px) {
    .fs-scroller { gap: .5rem; }
    .fs-card { flex-basis: calc((100% - 1rem) / 3); border-radius: 12px; }
    .fs-card-body { padding: .45rem .5rem .55rem; }
    .fs-card-body h3 { font-size: .86rem; }
    .fs-card-what { font-size: .76rem; }
    .fs-card-place { font-size: .7rem; }
    .fs-status { font-size: .68rem; padding: .05rem .4rem; }
    .fs-card-btn { font-size: .78rem; padding: .38rem .3rem; border-radius: 7px; }
    .fs-flag { font-size: .64rem; padding: .1rem .35rem; top: .35rem; left: .35rem; }
    .fs-rating { font-size: .66rem; padding: .08rem .35rem; }
    .fs-tab { min-width: 4.8rem; padding: .42rem .7rem; font-size: .82rem; }
}
.fs-empty { padding: 1.5rem; text-align: center; background: var(--surface); border-radius: 14px; }
.fs-empty p { color: var(--muted); margin-bottom: .75rem; }

/* Latest local listings */
.fs-mini { flex: 0 0 auto; width: 13.5rem; display: flex; align-items: center; gap: .6rem; padding: .55rem; border-radius: 12px; background: #fff;
    box-shadow: 0 2px 12px rgba(13,27,62,.09); border: 1px solid #EEF1F6; text-decoration: none; color: var(--ink); }
.fs-mini:hover { border-color: #CFDCF5; color: var(--ink); }
.fs-mini-img { position: relative; flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: visible; background: linear-gradient(135deg, #EAF1FF, #D7E4FB);
    display: flex; align-items: center; justify-content: center; }
.fs-mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.fs-mini-img.is-contain img { object-fit: contain; background: #fff; }
.fs-mini-img svg { width: 55%; height: 55%; }
.fs-new { position: absolute; top: -6px; left: -6px; background: var(--red); color: #fff; font-size: .62rem; font-weight: 700; padding: .05rem .35rem; border-radius: 5px; }
.fs-mini-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.fs-mini-body strong { font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-mini-body span { font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575px) { .fs-mini { width: 11.2rem; } .fs-mini-img { flex-basis: 52px; height: 52px; } .fs-mini-body strong { font-size: .8rem; } .fs-mini-body span { font-size: .7rem; } }

/* Jobs + rentals lists */
.fs-round { display: inline-flex; align-items: center; justify-content: center; width: 1.9em; height: 1.9em; }
.fs-round svg { width: 100%; height: 100%; }
.fs-round-blue { background: #E4EEFF; border-radius: 50%; }
.fs-round-blue svg { width: 62%; height: 62%; }
.fs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fs-list a { display: flex; align-items: center; gap: .7rem; padding: .6rem; border-radius: 12px; background: #fff; border: 1px solid #EEF1F6;
    box-shadow: 0 2px 10px rgba(13,27,62,.07); color: var(--ink); text-decoration: none; }
.fs-list a:hover { border-color: #CFDCF5; }
.fs-list-icon { flex: 0 0 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #FFF1DD; }
.fs-list-icon svg { width: 60%; height: 60%; }
.fs-list-thumb { flex: 0 0 84px; height: 64px; border-radius: 10px; overflow: hidden; background: #FFF1EA; display: flex; align-items: center; justify-content: center; }
.fs-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fs-list-thumb svg { width: 50%; height: 60%; }
.fs-list-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.fs-list-body strong { font-weight: 600; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-list-body span { font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-list-body .fs-list-sub { color: #2D3650; font-weight: 500; }
.fs-price { color: var(--red) !important; font-weight: 600; }
@media (max-width: 575px) {
    .fs-list a { gap: .45rem; padding: .45rem; }
    .fs-list-icon { flex-basis: 36px; height: 36px; }
    .fs-list-thumb { flex-basis: 56px; height: 46px; }
    .fs-list-body strong { font-size: .8rem; }
    .fs-list-body span { font-size: .68rem; }
}

/* Categories page */
.fs-cat-block { margin-top: 1.5rem; }
.fs-cat-head { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 600; margin-bottom: .7rem; }
.fs-cat-head a { color: var(--ink); text-decoration: none; }
.fs-cat-block .fs-chip { padding: .35rem .85rem; font-size: .9rem; border-radius: 99px; }

/* Bottom navigation (phones) */
.bottom-nav { display: none !important; }
.fs-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: grid; grid-template-columns: repeat(5, 1fr);
    align-items: end; height: 66px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(13,27,62,.08); }
.fs-bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .15rem;
    height: 100%; padding-bottom: .5rem; color: #4F5870; text-decoration: none; font-size: .74rem; font-weight: 500; }
.fs-bottom-nav a .ic { width: 1.55rem; height: 1.55rem; }
.fs-bottom-nav a.active { color: var(--setu); font-weight: 600; }
.fs-bn-fab { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 62px; height: 62px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: var(--setu); color: #fff; border: 4px solid #fff;
    box-shadow: 0 6px 18px rgba(30,99,233,.45); }
.fs-bn-fab .ic { width: 1.7rem !important; height: 1.7rem !important; }
.fs-bottom-nav .nav-badge { top: 6px; right: 22%; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
.site-footer { margin-top: 2.5rem; }

@media (max-width: 359px) { .fs-col { flex: 0 0 100%; max-width: 100%; } }
.fs-list > li { min-width: 0; }
.fs-col { min-width: 0; }
@media (max-width: 575px) {
    .fs-sec-head { gap: .4rem; }
    .fs-sec-head .fs-h2-sm { font-size: .8rem; gap: .3rem; white-space: nowrap; }
    .fs-sec-head .fs-h2-sm + a { font-size: .72rem; }
    .fs-round { width: 1.6em; height: 1.6em; }
}
@media (max-width: 575px) { .fs-sec-head .fs-h2-sm { min-width: 0; overflow: hidden; } .fs-sec-head .fs-h2-sm + a .ic { display: none; } }
.fs-sec-head > a.btn { color: #fff; }
.fs-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
