:root {
    --bg: #f8f9fa;
    --surface: #ffffff;
    --text: #202124;
    --muted: #5f6368;
    --line: #dadce0;
    --accent: #1a73e8;
    --accent-hover: #1765cc;
    --accent-soft: #e8f0fe;
    --ok: #137333;
    --err: #c5221f;
    --radius: 8px;
    --sans: "Google Sans", "Roboto", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-hover: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #202124;
        --surface: #303134;
        --text: #e8eaed;
        --muted: #9aa0a6;
        --line: #5f6368;
        --accent: #8ab4f8;
        --accent-hover: #aecbfa;
        --accent-soft: #394457;
        --ok: #81c995;
        --err: #f28b82;
        --shadow: 0 1px 2px 0 rgba(0,0,0,.3), 0 1px 3px 1px rgba(0,0,0,.15);
        --shadow-hover: 0 1px 3px 0 rgba(0,0,0,.3), 0 4px 8px 3px rgba(0,0,0,.15);
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.5 var(--sans);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* Header - Google style */
.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    position: sticky; top: 0; z-index: 20;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 56px; gap: 16px; max-width: 960px; margin: 0 auto; padding: 0 16px;
}
.brand {
    font: 500 20px/1 var(--sans);
    color: var(--text);
    letter-spacing: -0.02em;
}
.brand:hover { color: var(--accent); }
.site-nav { display: flex; gap: 8px; align-items: center; }
.site-nav a {
    font-size: 13px; font-weight: 500; color: var(--muted);
    padding: 8px 12px; border-radius: 4px;
}
.site-nav a[aria-current="page"], .site-nav a:hover {
    color: var(--accent); background: var(--accent-soft);
}
.site-nav .lang {
    border: 1px solid var(--line); border-radius: 4px;
    padding: 4px 10px; font-size: 12px; font-weight: 500;
}
.nav-toggle {
    display: none; background: none; border: 0;
    width: 40px; height: 40px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 1px; }

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 56px;
        flex-direction: column; align-items: stretch;
        background: var(--surface); border-bottom: 1px solid var(--line);
        padding: 8px 12px 12px; gap: 2px;
    }
    .nav-open .site-nav { display: flex; }
}

.main { padding: 24px 16px 64px; max-width: 960px; margin: 0 auto; }

/* Hero / Search - Google Jobs style */
.hero {
    text-align: left; margin: 0 auto 28px; max-width: 100%;
}
.hero h1, .region-title, .page h1 {
    font: 400 28px/1.25 var(--sans); margin: 0 0 6px; letter-spacing: -0.02em;
}
.hero .muted { font-size: 14px; margin-bottom: 16px; }
.search {
    width: 100%; max-width: 560px; padding: 12px 16px 12px 44px;
    font: 16px var(--sans); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%235f6368'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 14px center no-repeat;
    color: var(--text); border: 1px solid var(--line); border-radius: 24px;
    outline: none; box-shadow: var(--shadow);
}
.search:focus {
    border-color: var(--accent);
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
}

/* Category / City list */
.category-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px;
}
.category-list a {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .15s, border-color .15s;
}
.category-list a:hover {
    border-color: var(--accent); box-shadow: var(--shadow); color: var(--text);
}
.category-list .plate {
    font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums;
    min-width: 22px; font-weight: 500;
}
.category-list .cname { font: 500 15px/1.3 var(--sans); flex: 1; }
.category-list .count { font-size: 12px; color: var(--accent); white-space: nowrap; }
.empty-search { text-align: center; margin-top: 24px; }

/* Breadcrumb */
.breadcrumb {
    font-size: 13px; color: var(--muted);
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; align-items: center;
}
.breadcrumb a:hover { color: var(--accent); }

.region-title { margin-bottom: 4px; }
.region-count { margin: 0 0 20px; font-size: 13px; }

/* Job cards - Google Jobs inspired */
.model-list, .job-list {
    list-style: none; padding: 0; margin: 0 0 40px;
    display: flex; flex-direction: column; gap: 10px;
}
.model, .job-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .15s, border-color .15s;
    overflow: hidden;
}
.model:hover, .job-card:hover {
    box-shadow: var(--shadow-hover); border-color: #c6c9cd;
}
.job-card-inner {
    display: flex; gap: 16px; padding: 16px; align-items: flex-start;
}
.model-photo {
    display: block; width: 72px; height: 72px; min-width: 72px;
    object-fit: cover; object-position: 50% 25%;
    border-radius: 8px; background: #e8eaed;
}
.job-body {
    flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.model-name, .job-title {
    font: 500 16px/1.35 var(--sans); color: var(--text);
    letter-spacing: -0.01em;
}
.model-age, .job-meta {
    font-size: 13px; color: var(--muted);
}
.btn-contact {
    align-self: flex-start; margin-top: 8px;
    background: transparent; color: var(--accent);
    border: 1px solid var(--line); border-radius: 4px;
    padding: 6px 14px; font: 500 13px var(--sans);
    cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-contact:hover {
    background: var(--accent-soft); border-color: var(--accent);
}

.empty {
    padding: 32px; text-align: center; color: var(--muted);
    border: 1px dashed var(--line); border-radius: var(--radius); margin-bottom: 40px;
    background: var(--surface);
}

/* District chips */
.region-districts { margin-top: 8px; }
.region-districts h2 {
    font: 500 16px/1.3 var(--sans); margin: 0 0 12px; color: var(--text);
}
.chips {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.chips a {
    display: inline-block; padding: 6px 14px;
    border: 1px solid var(--line); border-radius: 16px;
    font-size: 13px; font-weight: 500; background: var(--surface);
    transition: background .15s, border-color .15s;
}
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.chips a[aria-current="page"] {
    background: var(--accent); border-color: var(--accent); color: #fff;
}

/* Page / Contact */
.page { max-width: 720px; margin: 0 auto; }
.prose { font-size: 15px; line-height: 1.6; }
.prose p { margin: 0 0 1em; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; margin-top: 24px;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dt {
    font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); font-weight: 500;
}
.contact-info dd { margin: 2px 0 16px; font-size: 14px; }
.contact-form { display: grid; gap: 12px; }
.contact-form label {
    display: grid; gap: 4px; font-size: 13px; font-weight: 500; color: var(--muted);
}
.contact-form input, .contact-form textarea {
    font: 14px var(--sans); color: var(--text); background: var(--surface);
    border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.btn {
    display: inline-block; background: var(--accent); color: #fff; border: 0; cursor: pointer;
    padding: 10px 24px; border-radius: 4px; font: 500 14px var(--sans);
    transition: background .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow); }
.alert {
    padding: 10px 14px; border-radius: 4px; margin: 0; font-size: 13px;
}
.alert.ok { background: #e6f4ea; color: var(--ok); }
.alert.err { background: #fce8e6; color: var(--err); }
@media (prefers-color-scheme: dark) {
    .alert.ok { background: #0d3311; }
    .alert.err { background: #3c1210; }
}

/* Modal */
.modal {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
    position: absolute; inset: 0; background: rgba(32,33,36,.5);
}
.modal-box {
    position: relative; background: var(--surface); border-radius: 8px;
    padding: 24px; width: 100%; max-width: 420px;
    box-shadow: 0 8px 28px rgba(0,0,0,.28); z-index: 1;
}
.modal-box h2 {
    font: 500 18px/1.3 var(--sans); margin: 0 0 4px;
}
.modal-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: 0; font-size: 24px; line-height: 1;
    color: var(--muted); cursor: pointer; padding: 4px 8px;
}
.modal-close:hover { color: var(--text); }

/* Footer */
.site-footer {
    border-top: 1px solid var(--line); padding: 20px 0;
    font-size: 12px; color: var(--muted); text-align: center;
}

@media (max-width: 560px) {
    .hero h1, .region-title, .page h1 { font-size: 22px; }
    .job-card-inner { flex-direction: column; gap: 12px; }
    .model-photo { width: 100%; height: auto; aspect-ratio: 16/9; min-width: 0; }
}


.job-attrs {
    display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 6px 0 4px;
}
.job-attrs .attr {
    font-size: 12px; color: var(--muted);
    background: var(--bg); border: 1px solid var(--line);
    padding: 2px 8px; border-radius: 12px;
}
.job-about {
    margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55;
    max-height: 9.5em; overflow: hidden; position: relative;
}
.job-card:hover .job-about, .job-card:focus-within .job-about {
    max-height: none; overflow: visible;
}

.job-attrs .attr-price { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); font-weight: 500; }
