/* =====================================================================
   Dil Konuşma Merkezi — Tasarım sistemi
   Keşif platformu. Neon, cam, gradient blob, stock insan yok.
   ===================================================================== */

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-primary: #0f5c73;
    --color-primary-hover: #0c4a5d;
    --color-primary-soft: #e7f1f4;
    --color-accent: #b4532a;
    --color-accent-hover: #933f1d;

    --color-text: #1a2832;
    --color-text-muted: #5b6a76;
    --color-ink: #14202b;

    --color-background: #ffffff;
    --color-surface: #f4f7f8;
    --color-surface-alt: #f7f4ef;
    --color-border: #e2e8ee;
    --color-border-strong: #c5d0d8;

    --color-success: #176b3a;
    --color-success-bg: #e7f4ea;
    --color-warning: #8a5a12;
    --color-warning-bg: #fdf3e3;
    --color-danger: #b3261e;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20, 32, 43, 0.05);
    --shadow-md: 0 6px 18px rgba(20, 32, 43, 0.06);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 80px;
    --space-10: 96px;

    --container: 1120px;
    --container-narrow: 720px;
    --measure: 40rem;
    --space-section: 80px;
    --header-height: 64px;
    --ease: 180ms ease;

    --font-sans: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open,
body.filter-open { overflow: hidden; }

h1, h2, h3, h4 {
    margin: 0 0 0.4em;
    line-height: 1.2;
    color: var(--color-ink);
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.125rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.015em; }

p { margin: 0 0 1rem; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); text-decoration: underline; }

img { max-width: 100%; height: auto; }

:focus-visible {
    outline: 3px solid rgba(15, 92, 115, 0.45);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    z-index: 100;
}
.skip-link:focus { left: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-tight { padding-top: 48px; padding-bottom: 48px; }
.section-surface { background: var(--color-surface); }
.section-warm { background: var(--color-surface-alt); }
.section-rule { border-top: 1px solid var(--color-border); }

.section-head { max-width: 36rem; margin-bottom: 32px; }
.section-head p { color: var(--color-text-muted); margin: 0; }
.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}
.section-head-row .section-head { margin-bottom: 0; }

.lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    max-width: var(--measure);
}
.muted { color: var(--color-text-muted); font-size: 0.95rem; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-weight: 650;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.site-header.is-stuck,
.site-header {
    border-bottom-color: var(--color-border);
}
.site-header .container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    height: var(--header-height);
}
.site-logo {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-ink);
    letter-spacing: -0.03em;
    white-space: nowrap;
}
.site-logo:hover { text-decoration: none; color: var(--color-ink); }
.site-logo b { color: var(--color-primary); font-weight: 700; }

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.site-nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}
.site-nav a:hover { color: var(--color-primary); text-decoration: none; background: var(--color-surface); }
.site-nav a.is-current { color: var(--color-primary); font-weight: 650; }

.site-actions { display: flex; align-items: center; gap: 12px; }
.site-actions form,
.panel-topbar form { margin: 0; }
.site-actions .nav-login { color: var(--color-text); font-weight: 600; font-size: 0.92rem; }
.site-actions .nav-login:hover { color: var(--color-primary); text-decoration: none; }
.site-actions .btn-primary { min-height: 40px; padding: 8px 14px; font-size: 0.88rem; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--color-ink);
    transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: rgba(20, 32, 43, 0.28);
    z-index: 45;
}
.nav-backdrop.is-open { display: block; }

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 46;
    padding: 16px 20px 32px;
    background: #fff;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a,
.mobile-nav button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 0;
    background: none;
    color: var(--color-ink);
    font: inherit;
    font-weight: 600;
    text-align: left;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.mobile-nav a:hover,
.mobile-nav button:hover { background: var(--color-surface); text-decoration: none; }
.mobile-nav .btn-primary {
    margin-top: 12px;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
}

/* ---------- Buttons ---------- */
.btn,
.btn-primary, .btn-secondary, .btn-ghost, .btn-danger, .btn-light, .btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover, .btn-primary:hover, .btn-secondary:hover,
.btn-ghost:hover, .btn-danger:hover, .btn-light:hover, .btn-accent:hover { text-decoration: none; }

.btn, .btn-primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn:hover, .btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: #fff; }

.btn-accent { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: #fff; }

.btn-secondary {
    background: #fff;
    color: var(--color-primary);
    border-color: var(--color-border-strong);
}
.btn-secondary:hover { background: var(--color-surface); color: var(--color-primary-hover); }

.btn-ghost { background: transparent; color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary-soft); }

.btn-light { background: #fff; color: var(--color-primary); border-color: var(--color-border); }
.btn-danger { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }
.btn-block { width: 100%; }
.btn[disabled], .btn-secondary[disabled], .btn-ghost[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Forms ---------- */
label { font-weight: 600; color: var(--color-ink); }

input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="url"], input[type="tel"],
select, textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    font: inherit;
    color: var(--color-ink);
    background: #fff;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    transition: border-color var(--ease), box-shadow var(--ease);
}
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6a76' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 92, 115, 0.16);
}
textarea { min-height: 120px; resize: vertical; }

.form-stack { display: grid; gap: 16px; }
.form-stack label { display: grid; gap: 6px; }
.form-section + .form-section {
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}
.form-section h3 { margin-bottom: 16px; }
.field-help { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 400; }
.field-error { font-size: 0.85rem; color: var(--color-danger); font-weight: 500; }

.notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 0.95rem;
}
.notice-error { border-color: #f0c4c1; background: #fdf1f0; color: #7d1a15; }
.notice-success { border-color: #b7dfc1; background: var(--color-success-bg); color: var(--color-success); }
.notice-info { border-color: #cfe2ea; background: var(--color-primary-soft); color: var(--color-primary-hover); }

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: #e8f1f4;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}
.hero-motif {
    position: absolute;
    right: 0;
    top: 48px;
    max-width: 11ch;
    margin: 0;
    color: rgba(15, 92, 115, 0.07);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 56px;
    padding-bottom: 40px;
    text-align: left;
    display: grid;
    gap: 32px;
}
.hero-copy { max-width: 38rem; }
.hero h1 {
    max-width: 16ch;
    margin: 0 0 16px;
}
.hero .lead {
    max-width: 42ch;
    margin: 0 0 20px;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: none;
    text-align: left;
}
.hero-search label { display: grid; gap: 6px; font-size: 0.78rem; color: var(--color-text-muted); letter-spacing: 0.02em; }
.hero-search label span:first-child,
.hero-search .field-name { color: var(--color-ink); font-weight: 650; font-size: 0.8rem; letter-spacing: 0; }
.hero-search select { min-height: 52px; background: var(--color-surface); }
.hero-search .btn-primary { min-width: 160px; min-height: 52px; }

.hero-trust {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.hero-trust strong { color: var(--color-ink); font-weight: 700; }
.hero-stats { display: contents; }

.hero-cities {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.hero-cities a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px;
    border: 1px solid rgba(15, 92, 115, 0.16);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.7);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
}
.hero-cities a:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; background: #fff; }

/* ---------- City grid ---------- */
.city-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.city-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 148px;
    padding: 20px 20px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    position: relative;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.city-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    text-decoration: none;
}
.city-card:focus-visible { transform: none; }
.city-card strong { color: var(--color-ink); font-size: 1.05rem; letter-spacing: -0.02em; }
.city-card .city-count {
    margin-top: auto;
    color: var(--color-ink);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
}
.city-card .city-label { color: var(--color-text-muted); font-size: 0.82rem; }
.city-card .city-go,
.service-card .city-go {
    position: absolute;
    top: 20px;
    right: 16px;
    margin-top: 0;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
}

/* ---------- Services ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-height: 120px;
    padding: 22px 36px 22px 20px;
    position: relative;
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: #fff;
    transition: border-color var(--ease), transform var(--ease);
}
.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    text-decoration: none;
}
.service-card strong { color: var(--color-ink); font-size: 1.05rem; }
.service-card span { color: var(--color-text-muted); font-size: 0.9rem; }

/* ---------- How it works ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.steps-grid::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--color-border);
}
.step-item { display: grid; gap: 10px; position: relative; }
.step-num {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.06em;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
}
.step-item h3 { margin: 0; }
.step-item p { margin: 0; color: var(--color-text-muted); max-width: 28ch; }

/* ---------- CTA bands ---------- */
.claim-band {
    background: var(--color-ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    display: grid;
    grid-template-columns: 1.6fr auto;
    gap: 32px;
    align-items: center;
}
.claim-band h2 { color: #fff; margin: 0 0 8px; max-width: 22ch; }
.claim-band p { color: rgba(255,255,255,0.76); margin: 0; max-width: 42ch; }
.claim-band .claim-actions { display: grid; gap: 8px; justify-items: start; }
.claim-band small { color: rgba(255,255,255,0.5); }

.expert-band {
    display: grid;
    grid-template-columns: 1.6fr auto;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
}
.expert-band h2 { margin: 0 0 8px; }
.expert-band p { margin: 0; color: var(--color-text-muted); max-width: 42ch; }
.expert-band .claim-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--color-border);
    background: #e8eef1;
}
.site-footer .container { padding-top: 56px; padding-bottom: 28px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, 1fr);
    gap: 28px;
}
.footer-brand strong { font-size: 1.05rem; color: var(--color-ink); }
.footer-brand p { color: var(--color-text-muted); font-size: 0.92rem; margin: 10px 0 0; max-width: 32ch; }
.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}
.footer-col a { display: block; color: var(--color-text); padding: 5px 0; font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-primary); text-decoration: none; }
.footer-bottom {
    border-top: 1px solid var(--color-border);
    margin-top: 36px;
    padding-top: 18px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

/* ---------- Breadcrumbs / directory ---------- */
.page-listing { background: var(--color-surface); }
.page-listing .container.section { padding-top: 32px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span[aria-hidden] { color: var(--color-border-strong); }

.listing-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}
.listing-header { margin-bottom: 24px; }
.listing-header h1 { margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.listing-toolbar {
    display: none;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-toggle { display: none; }
.filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 32, 43, 0.32);
    z-index: 48;
}
.filter-backdrop.is-open { display: block; }

.filters {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: grid;
    gap: 14px;
}
.filters-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.filters h2 { font-size: 0.95rem; margin: 0; }
.filters label { display: grid; gap: 6px; font-size: 0.86rem; }
.filters .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.filters .check input { width: auto; min-height: auto; }
.filter-close { display: none; }
.filter-clear { font-size: 0.86rem; }

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.active-filters li {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--color-text);
    font-size: 0.82rem;
    font-weight: 600;
}

.result-list { display: grid; gap: 10px; }
.result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.result-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.result-card h2 { margin: 0 0 4px; font-size: 0.98rem; letter-spacing: -0.015em; }
.result-card h2 a { color: var(--color-ink); }
.result-card h2 a:hover { color: var(--color-primary); text-decoration: none; }
.result-meta { color: var(--color-text-muted); font-size: 0.88rem; margin: 0; }
.result-card .result-cta { align-self: center; white-space: nowrap; }
.result-card .result-cta .btn-secondary {
    border-color: transparent;
    background: var(--color-primary-soft);
    min-height: 40px;
    padding: 8px 14px;
}

.avatar-initial {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
}
.result-main { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: var(--color-success-bg);
    color: var(--color-success);
    font-size: 0.75rem;
    font-weight: 700;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.pagination a {
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background: #fff;
}
.pagination a:hover { background: var(--color-surface); text-decoration: none; }
.pagination span { color: var(--color-text-muted); }

.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin-bottom: 36px;
}
.district-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color var(--ease);
}
.district-card:hover { border-color: var(--color-primary); text-decoration: none; }
.district-card span:first-child { color: var(--color-ink); font-weight: 600; }
.district-card span:last-child { color: var(--color-text-muted); font-size: 0.85rem; }

/* ---------- Center profile ---------- */
.profile-page { background: var(--color-surface); }
.profile-page .container.section { padding-top: 28px; }
.profile-panel {
    box-shadow: var(--shadow-sm);
}
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}
.profile-main,
.profile-aside { min-width: 0; }
.profile-panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 28px 8px;
}
.profile-header { margin-bottom: 8px; }
.profile-identity {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}
.profile-identity h1 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.profile-tags .pill {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.84rem;
}
.profile-section { padding: 24px 0 8px; border-top: 1px solid var(--color-border); margin-top: 20px; }
.profile-section h2 { font-size: 1.15rem; }
.profile-section .lead,
.profile-section p { max-width: var(--measure); }

.contact-card {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}
.contact-card .btn-primary,
.contact-card .btn-secondary { width: 100%; margin-bottom: 8px; }
.contact-row { padding: 10px 0; border-top: 1px solid var(--color-border); }
.contact-row:first-of-type { border-top: 0; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); }
.contact-value { color: var(--color-ink); font-weight: 500; word-break: break-word; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tag-list li {
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    font-size: 0.88rem;
}

.source-note {
    border: 0;
    border-top: 1px solid var(--color-border);
    background: transparent;
    border-radius: 0;
    padding: 16px 0 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    margin-top: 18px;
}
.claim-cta {
    border: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    padding: 22px;
}
.claim-cta h2 { font-size: 1.15rem; margin-bottom: 8px; }
.claim-cta p { margin-bottom: 14px; font-size: 0.95rem; }

/* ---------- Auth ---------- */
.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    place-items: center;
    padding: 48px 24px 64px;
    background: var(--color-surface);
}
.auth-shell {
    width: 100%;
    max-width: 480px;
    display: grid;
    gap: 20px;
}
.auth-brand { max-width: none; }
.auth-brand h2 { font-size: 1.45rem; }
.auth-brand p { color: var(--color-text-muted); margin: 0; }
.auth-card, .login-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}
.auth-card h1, .login-card h1 { font-size: 1.55rem; }
.auth-sub { color: var(--color-text-muted); margin-bottom: 22px; }
.auth-alt { margin-top: 18px; text-align: center; color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- Claim form ---------- */
.claim-page { background: var(--color-surface); }
.claim-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
}
.claim-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: claim;
}
.claim-progress li {
    position: relative;
    padding: 10px 8px 10px 0;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 650;
    border-bottom: 2px solid var(--color-border);
}
.claim-progress li.is-current,
.claim-progress li.is-done { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.claim-steps { display: grid; gap: 16px; }
.claim-fieldset {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 0;
}
.claim-fieldset legend { font-weight: 700; color: var(--color-ink); padding: 0 6px; }

/* ---------- Panel ---------- */
.panel-shell {
    display: grid;
    grid-template-columns: 232px 1fr;
    min-height: calc(100vh - var(--header-height));
    background: var(--color-surface);
}
.panel-sidebar {
    background: #fff;
    border-right: 1px solid var(--color-border);
    padding: 20px 12px;
}
.panel-nav-label {
    display: block;
    margin: 16px 12px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.panel-nav-label:first-child { margin-top: 0; }
.panel-sidebar a,
.panel-sidebar span {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.92rem;
}
.panel-sidebar a:hover { background: var(--color-surface); color: var(--color-primary); text-decoration: none; }
.panel-sidebar a.active {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 650;
}
.panel-sidebar .soon { color: var(--color-text-muted); font-weight: 400; font-size: 0.92rem; }
.panel-main { padding: 28px 32px 48px; }
.panel-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.panel-topbar-user { display: flex; align-items: center; gap: 12px; color: var(--color-text-muted); }

.progress-track { height: 8px; border-radius: var(--radius-pill); background: var(--color-surface); overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-primary); }
.checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.checklist li { color: var(--color-text); }
.checklist .done { color: var(--color-success); }
.checklist .todo { color: var(--color-text-muted); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px;
}
.stat-card strong { display: block; font-size: 1.35rem; line-height: 1.1; color: var(--color-ink); }
.stat-card span { color: var(--color-text-muted); font-size: 0.86rem; }

table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 11px 10px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
th { color: var(--color-text-muted); font-weight: 600; }

.definition-list { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 0; }
.definition-list dt { color: var(--color-text-muted); font-weight: 600; }
.definition-list dd { margin: 0; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.inline-form { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.empty-state {
    padding: 64px 28px;
    min-height: 280px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    text-align: center;
    display: grid;
    align-content: center;
    justify-items: center;
}
.empty-state h2 { font-size: 1.25rem; }
.empty-state p { color: var(--color-text-muted); max-width: 36ch; margin-left: auto; margin-right: auto; }
.empty-state .btn-primary,
.empty-state .btn-secondary { margin-top: 8px; }

.page-error { background: var(--color-surface); }
.error-box { max-width: 520px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.error-code { margin: 0 0 8px; font-size: 3.2rem; font-weight: 700; color: var(--color-border-strong); }
.error-message { color: var(--color-text-muted); }

.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; background: var(--color-surface); }
.admin-sidebar { background: #102a43; color: #fff; padding: 24px 18px; }
.admin-brand { margin-bottom: 24px; font-weight: 700; }
.admin-sidebar nav a { display: block; padding: 9px 10px; color: #d9e2ec; border-radius: var(--radius-sm); }
.admin-sidebar nav a:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.admin-main { padding: 28px; overflow-x: auto; }
.admin-topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.admin-topbar h1 { margin: 0; }

.u-mt-0 { margin-top: 0; }
.u-center { text-align: center; }

.center-mark {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--color-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235b6a76' stroke-width='1.6'%3E%3Cpath d='M4 20V9l8-5 8 5v11'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--color-border);
    object-fit: cover;
    display: inline-block;
}
.center-mark.lg { width: 72px; height: 72px; }
.hours-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: end; border: 0; padding: 0 0 12px; }
.gallery-admin { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.gallery-admin img, .media-preview { border: 1px solid var(--color-border); border-radius: var(--radius-sm); object-fit: cover; }

.prose {
    max-width: var(--measure);
    font-size: 1.05rem;
    line-height: 1.75;
}
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 16px;
    border-left: 3px solid var(--color-primary);
    color: var(--color-text-muted);
}

.consent-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 12px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    z-index: 30;
    font-size: 0.88rem;
    box-shadow: 0 -4px 16px rgba(20, 32, 43, 0.06);
}
.consent-bar p { margin: 0; max-width: 64ch; color: var(--color-text-muted); }
body:has(.consent-bar) { padding-bottom: 88px; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .city-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-search { grid-template-columns: 1fr 1fr; }
    .hero-search .btn-primary { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    :root { --space-section: 64px; }
    .listing-layout { grid-template-columns: 220px 1fr; gap: 22px; }
    .profile-layout { grid-template-columns: 1fr 260px; }
    .auth-shell { max-width: 480px; }
    .panel-shell { grid-template-columns: 200px 1fr; }
    .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .site-header .container { grid-template-columns: 1fr auto; height: 60px; }
    .site-nav, .site-actions { display: none; }
    .nav-toggle { display: inline-block; }
    :root { --header-height: 60px; --space-section: 56px; }

    .hero-motif { display: none; }
    .hero-inner { padding-top: 32px; padding-bottom: 28px; }
    .hero h1,
    .hero .lead { margin-left: 0; margin-right: 0; }
    .hero-search { grid-template-columns: 1fr; padding: 16px; }
    .hero-search select,
    .hero-search .btn-primary { min-height: 48px; }
    .hero-trust { justify-content: flex-start; }
    .hero-cities { justify-content: flex-start; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .steps-grid::before { display: none; }
    .city-grid { grid-template-columns: 1fr 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .claim-band,
    .expert-band { grid-template-columns: 1fr; padding: 28px 24px; }
    .expert-band { padding: 0; }

    .listing-layout { grid-template-columns: 1fr; }
    .listing-toolbar { display: flex; }
    .filter-toggle { display: inline-flex; }
    .filters {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(360px, 100%);
        z-index: 49;
        border-radius: 0;
        border: 0;
        border-left: 1px solid var(--color-border);
        transform: translateX(100%);
        transition: transform var(--ease);
        overflow-y: auto;
        align-content: start;
    }
    .filters.is-open { transform: translateX(0); }
    .filter-close { display: inline-flex; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-aside { order: -1; }
    .contact-card { position: static; }
    .profile-panel { padding: 20px 16px 8px; }
    .profile-identity { flex-direction: column; gap: 12px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .panel-shell { grid-template-columns: 1fr; }
    .panel-sidebar { border-right: 0; border-bottom: 1px solid var(--color-border); }
    .panel-main { padding: 20px; }
    .result-card { flex-direction: column; }
    .result-card .result-cta { align-self: stretch; }
    .result-card .result-cta .btn-secondary { width: 100%; }
    .admin-shell { grid-template-columns: 1fr; }
    .claim-progress { grid-template-columns: 1fr 1fr; }
    .claim-wrap { padding: 20px 16px; }
    .auth-page { padding: 32px 16px 48px; }
}

@media (max-width: 430px) {
    .city-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .container { padding-left: 16px; padding-right: 16px; }
    .claim-progress { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .city-card:hover,
    .service-card:hover { transform: none; }
}

@media (max-width: 768px) {
    .consent-bar, .hours-row { display: block; }
    .consent-bar { padding: 12px 16px 16px; }
    .consent-actions { margin-top: 10px; }
}
