/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --navy:   #1a3a5c;
  --gold:   #e8a000;
  --blue:   #2d7dd2;
  --blue-l: #eaf2fb;
  --red:    #c0392b;
  --green:  #27ae60;
  --text:   #1e2d3d;
  --muted:  #6b7a8d;
  --border: #dde3ec;
  --bg:     #f4f7fb;
  --white:  #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(26,58,92,.10);
  --shadow-lg: 0 6px 32px rgba(26,58,92,.16);
  --ff: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.layout-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.section { padding: 4rem 0; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.site-header .container { display: flex; align-items: center; gap: 2rem; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; font-weight: 800; color: var(--white); text-decoration: none; }
.logo-dot { color: var(--gold); }
.logo-icon { font-size: 1.2rem; }
.main-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500; padding: .4rem .6rem; border-radius: 6px; transition: background .15s, color .15s; }
.main-nav a:hover { background: rgba(255,255,255,.12); color: var(--white); text-decoration: none; }
.main-nav .btn-outline { border: 1.5px solid var(--gold); color: var(--gold); padding: .35rem .85rem; }
.main-nav .btn-outline:hover { background: var(--gold); color: var(--navy); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .2s; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.4rem; border-radius: var(--radius); font-size: .95rem; font-weight: 600; cursor: pointer; transition: all .15s; border: none; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #d49200; }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost  { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--border); }
.btn-danger { background: var(--red); color: var(--white); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .88rem; }
.btn-xs { padding: .3rem .7rem; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Tags ──────────────────────────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; padding: .25rem .75rem; background: var(--blue-l); color: var(--blue); border-radius: 20px; font-size: .82rem; font-weight: 500; transition: background .15s; }
.tag:hover { background: var(--blue); color: var(--white); text-decoration: none; }
.tag-sm { padding: .2rem .6rem; font-size: .78rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #0d2340 100%); color: var(--white); padding: 5rem 0 4.5rem; text-align: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.hero-sub { font-size: 1.1rem; opacity: .8; margin-bottom: 2.5rem; }
.hero-search { max-width: 760px; margin: 0 auto; }
.search-form .search-fields { display: flex; gap: .5rem; background: var(--white); border-radius: var(--radius); padding: .5rem; }
.search-input { flex: 1; border: none; outline: none; font-size: 1rem; padding: .5rem .75rem; color: var(--text); }
.search-select { border: none; outline: none; font-size: .92rem; padding: .5rem; color: var(--text); background: var(--bg); border-radius: 6px; cursor: pointer; }
.btn-geo { margin-top: 1rem; color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.3); }
.btn-geo:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* ── Section titles ────────────────────────────────────────────────────── */
.section-title { text-align: center; font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 3rem; }

/* ── Category grid ─────────────────────────────────────────────────────── */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.category-card { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.5rem 1rem; background: var(--white); border-radius: var(--radius); border: 2px solid var(--border); transition: all .2s; text-decoration: none; color: var(--text); }
.category-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cat-icon { font-size: 2rem; }
.cat-name { font-weight: 600; font-size: .92rem; text-align: center; }

/* ── City grid ─────────────────────────────────────────────────────────── */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.city-grid-full { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.city-card { display: flex; flex-direction: column; padding: .85rem 1rem; background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); transition: all .2s; text-decoration: none; }
.city-card:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; }
.city-name { font-weight: 600; color: var(--navy); }
.city-count { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* ── Why cards ─────────────────────────────────────────────────────────── */
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.why-card { padding: 1.75rem; border-radius: var(--radius); background: var(--bg); }
.why-icon { font-size: 2rem; display: block; margin-bottom: .75rem; }
.why-card h3 { font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.why-card p { color: var(--muted); font-size: .93rem; }

/* ── Article cards ─────────────────────────────────────────────────────── */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.article-grid-large { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.article-card { display: flex; flex-direction: column; padding: 1.5rem; background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); transition: all .2s; text-decoration: none; color: var(--text); }
.article-card:hover { border-color: var(--blue); box-shadow: var(--shadow); text-decoration: none; }
.article-date { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; display: block; }
.article-card h2, .article-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.article-card p { font-size: .9rem; color: var(--muted); flex: 1; }
.read-more { margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--blue); display: block; }

/* ── Company cards ─────────────────────────────────────────────────────── */
.company-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 1.25rem 1.5rem; margin-bottom: 1rem; transition: box-shadow .2s; }
.company-card:hover { box-shadow: var(--shadow); }
.company-card-body { flex: 1; }
.company-card-name { font-size: 1.1rem; margin-bottom: .35rem; }
.company-card-name a { color: var(--navy); font-weight: 700; }
.company-card-name a:hover { color: var(--blue); text-decoration: none; }
.company-card-address { font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.company-card-distance { font-size: .85rem; color: var(--blue); margin-bottom: .4rem; }
.company-card-services { display: flex; flex-wrap: wrap; gap: .35rem; }
.company-card-action { display: flex; flex-direction: column; gap: .5rem; min-width: 130px; }

/* ── Company page ──────────────────────────────────────────────────────── */
.company-page { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; padding-top: 2rem; padding-bottom: 4rem; }
.company-header { margin-bottom: 1.5rem; }
.company-badge { display: inline-block; background: #e9f5ee; color: var(--green); font-size: .8rem; font-weight: 700; padding: .2rem .75rem; border-radius: 20px; margin-bottom: .75rem; }
.company-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: .5rem; }
.company-location { color: var(--muted); }
.company-info-card, .company-description, .company-services, .company-map-wrap, .company-reviews { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 1.5rem; margin-bottom: 1.5rem; }
.company-info-card h2, .company-description h2, .company-services h2, .company-map-wrap h2, .company-reviews h2 { font-size: 1.1rem; color: var(--navy); margin-bottom: 1rem; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th { text-align: left; padding: .5rem 1rem .5rem 0; color: var(--muted); font-weight: 600; font-size: .88rem; width: 110px; vertical-align: top; }
.info-table td { padding: .5rem 0; font-size: .95rem; }
.phone-link { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.btn-call { margin-top: 1.25rem; width: 100%; justify-content: center; font-size: 1.1rem; }
.review-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.review-btn { font-size: .88rem; }
.nearby-list { list-style: none; }
.nearby-item { border-bottom: 1px solid var(--border); }
.nearby-item:last-child { border-bottom: none; }
.nearby-link { display: block; padding: .85rem 0; text-decoration: none; }
.nearby-link strong { display: block; color: var(--navy); font-size: .95rem; }
.nearby-link span { display: block; font-size: .82rem; color: var(--muted); }
.nearby-phone { color: var(--blue) !important; margin-top: .2rem; }
.company-sidebar h3 { font-size: 1rem; color: var(--navy); margin-bottom: 1rem; }

/* ── Map ───────────────────────────────────────────────────────────────── */
.map-container { width: 100%; height: 340px; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--border); }
.map-large { height: 440px; }

/* ── Page headers ──────────────────────────────────────────────────────── */
.page-header { padding: 2.5rem 0 2rem; }
.page-header h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--navy); margin-bottom: .75rem; }
.page-header p { color: var(--muted); font-size: 1.05rem; }
.result-count { margin-top: .75rem; font-size: 1rem; }
.cat-hero-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ── Sidebar ───────────────────────────────────────────────────────────── */
.sidebar-box { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 1.25rem; margin-bottom: 1.25rem; }
.sidebar-box h3 { font-size: 1rem; color: var(--navy); margin-bottom: .75rem; }
.filter-list { list-style: none; }
.filter-list li { border-bottom: 1px solid var(--border); }
.filter-list li:last-child { border-bottom: none; }
.filter-list a { display: block; padding: .5rem 0; font-size: .9rem; color: var(--text); }
.filter-list a:hover { color: var(--blue); text-decoration: none; }

/* ── Article page ──────────────────────────────────────────────────────── */
.article-container { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; padding: 2rem 0 4rem; }
.article-header { margin-bottom: 2rem; }
.article-meta { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.article-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: .75rem; }
.article-lead { font-size: 1.1rem; color: var(--muted); font-style: italic; }
.article-content { line-height: 1.8; }
.article-content h2 { font-size: 1.4rem; color: var(--navy); margin: 2rem 0 1rem; }
.article-content h3 { font-size: 1.15rem; color: var(--navy); margin: 1.5rem 0 .75rem; }
.article-content p { margin-bottom: 1.1rem; }
.article-content ul, .article-content ol { margin: .75rem 0 1.1rem 1.5rem; }
.article-content li { margin-bottom: .4rem; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.article-content th, .article-content td { padding: .65rem 1rem; border: 1px solid var(--border); text-align: left; }
.article-content th { background: var(--bg); font-weight: 700; }
.article-content a { font-weight: 600; }
.article-faq { margin-top: 2.5rem; }
.article-faq h2 { font-size: 1.4rem; color: var(--navy); margin-bottom: 1rem; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; }
.faq-item summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; color: var(--navy); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p { padding: 1rem 1.25rem; color: var(--muted); }
.article-tags, .article-tags-small { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.related-list { list-style: none; }
.related-list li { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.related-list li:last-child { border-bottom: none; }
.search-input-sm { width: 100%; padding: .6rem .85rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .92rem; outline: none; }
.search-input-sm:focus { border-color: var(--blue); }

/* ── Breadcrumb ────────────────────────────────────────────────────────── */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; padding: .85rem 0; font-size: .85rem; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin: 0 .4rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* ── Pagination ────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin: 2rem 0; }
.page-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .9rem; color: var(--text); }
.page-link.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-link:hover:not(.active) { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea { padding: .7rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 1rem; color: var(--text); font-family: var(--ff); transition: border-color .15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group-wide { grid-column: span 2; }
.form-group-narrow { max-width: 120px; }
.form-section { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.form-section h2 { font-size: 1.1rem; color: var(--navy); margin-bottom: 1.25rem; }
.form-checkbox label { display: flex; align-items: flex-start; gap: .6rem; font-weight: normal; cursor: pointer; }
.form-checkbox input { margin-top: .2rem; flex-shrink: 0; }
.register-container { max-width: 720px; padding-bottom: 4rem; }
.register-form { margin-top: 1.5rem; }

/* ── Alerts ────────────────────────────────────────────────────────────── */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.25rem; }
.alert-success { background: #e9f5ee; color: #1a7a40; border: 1.5px solid #a3d4b4; }
.alert-error   { background: #fdf0ef; color: #a82a1d; border: 1.5px solid #f0a49e; }
.alert ul { margin-top: .5rem; padding-left: 1.25rem; }

/* ── Search page ───────────────────────────────────────────────────────── */
.search-form-full { background: var(--white); border-radius: var(--radius); padding: 1.25rem; border: 1.5px solid var(--border); margin-bottom: 1.5rem; }
.search-form-full .search-fields { background: var(--bg); border-radius: var(--radius); }
.result-summary { margin-bottom: 1.25rem; font-size: .95rem; color: var(--muted); }
.search-tips h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; }
.search-tips ul { padding-left: 1.25rem; }
.search-tips li { margin-bottom: .5rem; }

/* ── SEO text ──────────────────────────────────────────────────────────── */
.seo-text { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1.5px solid var(--border); }
.seo-text h2 { color: var(--navy); margin-bottom: 1rem; }
.seo-text p { color: var(--muted); margin-bottom: .75rem; }

/* ── Regions ───────────────────────────────────────────────────────────── */
.region-section { margin-bottom: 2.5rem; }
.region-title { font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; border-bottom: 2px solid var(--border); padding-bottom: .5rem; }

/* ── City map ──────────────────────────────────────────────────────────── */
.city-map-wrap h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: .75rem; }

/* ── Error page ────────────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 5rem 0; }
.error-icon { font-size: 4rem; margin-bottom: 1rem; }
.error-page h1 { font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
.error-page p { color: var(--muted); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-nav h4 { font-size: .92rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: .4rem; }
.footer-nav a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-nav a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.55); }

/* ── Admin layout ──────────────────────────────────────────────────────── */
.admin-body { background: #f0f2f5; }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy); color: var(--white); padding: 1.5rem 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-logo { padding: 0 1.25rem 1.5rem; font-size: 1.1rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-logo a { color: var(--white); }
.admin-nav { list-style: none; padding: .75rem 0; }
.admin-nav li { }
.admin-nav a { display: block; padding: .65rem 1.25rem; font-size: .9rem; color: rgba(255,255,255,.75); transition: all .15s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: var(--white); text-decoration: none; }
.admin-nav-sep { height: 1px; background: rgba(255,255,255,.1); margin: .75rem 1.25rem; }
.admin-main { display: flex; flex-direction: column; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
.admin-topbar h1 { font-size: 1.2rem; color: var(--navy); }
.admin-content { padding: 1.5rem; flex: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 1.5rem; text-align: center; }
.stat-highlight { border-color: var(--gold); }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--navy); }
.stat-label { font-size: .85rem; color: var(--muted); }
.admin-section { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 1.25rem; margin-bottom: 1.25rem; }
.admin-section h2 { font-size: 1rem; color: var(--navy); margin-bottom: .75rem; }
.quick-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.quick-link { display: inline-block; padding: .65rem 1.25rem; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .9rem; color: var(--text); }
.quick-link:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }
.admin-table th { background: var(--bg); padding: .75rem 1rem; text-align: left; font-size: .85rem; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--border); }
.admin-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); font-size: .9rem; }
.admin-table tr:last-child td { border-bottom: none; }
.table-actions { display: flex; gap: .5rem; }
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-green { background: #e9f5ee; color: var(--green); }
.badge-yellow { background: #fef9e7; color: #9a7d0a; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.admin-search-form { display: flex; gap: .5rem; }
.admin-search-form input { padding: .45rem .85rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .9rem; }
.application-list { display: flex; flex-direction: column; gap: 1.25rem; }
.application-card { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 1.25rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.application-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 1rem; }
.application-actions { display: flex; flex-direction: column; gap: .5rem; min-width: 110px; }
.admin-form .form-row { margin-bottom: 1rem; }
.admin-form .form-group { margin-bottom: 1rem; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; margin-top: .4rem; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-size: .9rem; font-weight: normal; }
.form-hint { font-size: .8rem; color: var(--muted); }
.form-actions { display: flex; gap: .75rem; margin-top: 1.25rem; }
.code-textarea { font-family: 'Courier New', monospace; font-size: .88rem; }
.empty-state { padding: 3rem; text-align: center; color: var(--muted); font-size: 1.05rem; }
.admin-login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login-wrap { background: var(--white); border-radius: var(--radius); border: 1.5px solid var(--border); padding: 2.5rem; width: 100%; max-width: 380px; }
.admin-login-logo { font-size: 1.5rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 1.25rem; }
.admin-login-wrap h1 { font-size: 1.3rem; text-align: center; color: var(--navy); margin-bottom: 1.5rem; }
.admin-setup-wrap { max-width: 420px; margin: 4rem auto; background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1.5px solid var(--border); }
.admin-setup-wrap h1 { font-size: 1.4rem; color: var(--navy); margin-bottom: 1.5rem; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .company-page { grid-template-columns: 1fr; }
  .article-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .search-form .search-fields { flex-direction: column; }
  .search-select { border-radius: 8px; }
  .company-card { flex-direction: column; }
  .company-card-action { flex-direction: row; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .form-group-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1rem; gap: .5rem; }
  .main-nav.open { display: flex; }
  .hero h1 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .error-actions { flex-direction: column; align-items: center; }
  .application-card { flex-direction: column; }
}
