:root {
  --petrol: #0f4c5c;
  --petrol-dark: #0a3642;
  --emerald: #0d9488;
  --emerald-bright: #10b981;
  --navy: #0f172a;
  --ink: #1e293b;
  --ink-muted: #475569;
  --bg: #f4f8f7;
  --surface: #ffffff;
  --border: #d8e3e1;
  --amber-bg: #fffbeb;
  --amber-border: #f59e0b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--petrol); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px; flex-wrap: wrap; padding: 10px 0;
}
.brand-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.brand-link:hover { text-decoration: none; }
.brand-link img { height: 48px; width: auto; }
.brand-link.brand-stack { flex-direction: column; align-items: flex-start; gap: 0; }
.brand-link.brand-stack img { height: 40px; }
.brand-sub { font-size: 0.78rem; font-weight: 700; color: var(--petrol); padding-left: 49px; margin-top: -5px; line-height: 1.2; letter-spacing: 0.01em; }
.main-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.main-nav a:hover { color: var(--emerald); text-decoration: none; }
.nav-badge {
  background: #e6f7f5; color: var(--petrol); font-weight: 700; font-size: 0.82rem;
  padding: 5px 12px; border-radius: 999px; border: 1px solid #b5e3dd;
}

/* Breadcrumb */
.breadcrumb { margin: 18px 0 12px; font-size: 0.88rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }

/* Hero */
.hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #eef7f5 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  margin: 22px 0 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  background: #e6f4f1; color: var(--petrol); border: 1px solid #c3e2dc;
}
.pill-live-open { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.pill-live-closed { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
h1 { margin: 0 0 14px; font-size: clamp(1.85rem, 3.2vw, 2.55rem); line-height: 1.18; color: var(--navy); letter-spacing: -0.02em; }
h2 { margin: 0 0 12px; font-size: clamp(1.4rem, 2.3vw, 1.85rem); color: var(--navy); letter-spacing: -0.015em; }
h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--navy); }
.lead { font-size: 1.04rem; color: var(--ink-muted); margin: 0 0 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--petrol); color: #ffffff; }
.btn-primary:hover { background: var(--petrol-dark); }
.btn-emerald { background: var(--emerald); color: #ffffff; }
.btn-emerald:hover { background: #0f766e; }
.btn-outline { background: #ffffff; color: var(--petrol); border-color: var(--petrol); }
.btn-outline:hover { background: #eef7f5; }

/* KPI Strip */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 36px; }
.kpi-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.kpi-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; color: var(--emerald); }
.kpi-val { font-size: 1.38rem; font-weight: 800; color: var(--navy); margin: 4px 0 2px; }
.kpi-sub { font-size: 0.86rem; color: var(--ink-muted); }

/* Sections & Cards */
.section { margin: 0 0 44px; }
.section-sub { color: var(--ink-muted); margin: 0 0 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--petrol); color: #fff; font-size: 0.85rem; font-weight: 800; margin-right: 8px;
}

/* Comparison Table */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
table.cmp-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table thead th { background: #eef6f5; color: var(--navy); font-weight: 800; }
.cmp-table tr:last-child td { border-bottom: none; }
.tag-best { background: #dcfce7; color: #166534; font-weight: 700; font-size: 0.78rem; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #dcfce7; color: #15803d; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; margin-top: 2px;
}

/* Warning / Info Box */
.notice-box {
  background: var(--amber-bg); border: 1px solid #fcd34d; border-left: 4px solid var(--amber-border);
  border-radius: 12px; padding: 16px 20px; margin-top: 18px; font-size: 0.94rem;
}
.info-box {
  background: #eef7f5; border: 1px solid #b5e3dd; border-left: 4px solid var(--emerald);
  border-radius: 12px; padding: 16px 20px; margin-top: 18px; font-size: 0.94rem;
}

/* Interactive Quick Check */
.check-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.check-q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.check-q label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy); }
.check-q select, .search-input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #cbd5e1;
  font-size: 0.95rem; background: #fff; color: var(--navy);
}
.check-q select:focus, .search-input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15); }
.check-result { background: #eef7f5; border: 1px solid #b5e3dd; border-radius: 12px; padding: 16px 18px; }
.check-result strong { display: block; font-size: 1.05rem; color: var(--petrol-dark); margin-bottom: 4px; }

/* Directory Search */
.search-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.search-bar .search-input { flex: 1 1 280px; }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.15s, transform 0.15s;
}
.office-card:hover { border-color: var(--emerald); transform: translateY(-2px); text-decoration: none; }
.office-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.office-card strong { color: var(--navy); font-size: 1.04rem; }
.kz-tag { background: #e2e8f0; color: var(--navy); font-weight: 800; font-size: 0.78rem; padding: 2px 8px; border-radius: 6px; }
.office-meta { font-size: 0.88rem; color: var(--ink-muted); }
.office-cta { margin-top: auto; padding-top: 6px; font-size: 0.88rem; font-weight: 700; color: var(--emerald); }

/* Detail Page Contact & Hours */
.meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 22px; }
.meta-item { background: #f8fbfa; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.meta-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-muted); margin-bottom: 2px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hours-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); }
.hours-table tr.today { background: #eef7f5; font-weight: 700; color: var(--petrol-dark); }
.hours-table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px;
}
details.faq-item summary { font-weight: 700; cursor: pointer; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--emerald); font-weight: 800; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin: 10px 0 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Footer */
.site-footer {
  margin-top: 48px; background: #ffffff; color: var(--ink-muted); border-top: 1px solid var(--border); padding: 28px 0; font-size: 0.9rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: var(--petrol); font-weight: 400; }
.site-footer a:hover { color: var(--navy); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr; padding: 24px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .check-q-grid, .office-grid, .meta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .table-wrap { overflow-x: visible; border: none; background: transparent; }
  table.cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table td { display: block; width: 100%; }
  .cmp-table thead { display: none; }
  .cmp-table tr {
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  }
  .cmp-table tr:last-child { margin-bottom: 0; }
  .cmp-table td { padding: 4px 0; border-bottom: none; }
  .cmp-table td:nth-child(2) { font-size: 1.15rem; color: var(--petrol); }
  .cmp-table td:nth-child(3) { font-size: 0.9rem; color: var(--ink-muted); }
}

/* Full-width bottom cookie banner (slim white bar) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #ffffff;
  color: var(--ink);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06);
  padding: 8px 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-inner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
}
.cookie-inner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn {
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid var(--petrol);
  background: var(--petrol);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  cursor: pointer;
  font-family: inherit;
}
.cookie-btn:hover,
.cookie-btn-accept:hover {
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}
