/* ==========================================================================
   ШЫҒЫС ШАҚЫРАДЫ — altynqaqpa.kz
   Palette derived from the official program emblem:
   deep teal ring, golden sunburst, mountain/river base, cream ground.
   ========================================================================== */

:root {
  --teal-900: #0c3a47;
  --teal-800: #114a5a;
  --teal-700: #166173;
  --teal-600: #1c7d92;
  --teal-500: #2497ad;
  --teal-100: #e4f0f2;

  --gold-600: #c98a1f;
  --gold-500: #e2a53a;
  --gold-400: #edbb5c;
  --gold-100: #faf1de;

  --ground: #f6f3ea;
  --ground-alt: #efe9d8;
  --paper: #ffffff;
  --ink: #16323d;
  --ink-soft: #3d5763;
  --line: #ddd3ba;

  --ok: #2f7a4f;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(12,58,71,.06), 0 6px 20px rgba(12,58,71,.07);
  --shadow-lg: 0 10px 40px rgba(12,58,71,.14);

  --font-display: 'Montserrat', 'Noto Sans', sans-serif;
  --font-body: 'Noto Sans', 'PT Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--teal-900);
}
p { margin: 0 0 1em; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
[lang-ru], [lang-kz], [lang-en] { display: none; }
html[data-lang="kz"] [lang-kz] { display: revert; }
html[data-lang="ru"] [lang-ru] { display: revert; }
html[data-lang="en"] [lang-en] { display: revert; }
html[data-lang="kz"] span[lang-kz],
html[data-lang="ru"] span[lang-ru],
html[data-lang="en"] span[lang-en] { display: inline; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--teal-900);
  color: #cfe4e9;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 6px;
}
.topbar a { text-decoration: none; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-contacts { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-social { display: flex; gap: 10px; align-items: center; }
.topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.12); transition: background .15s, transform .15s;
}
.topbar-social a:hover { background: var(--gold-500); transform: translateY(-1px); text-decoration: none; }
.topbar-social svg { width: 14px; height: 14px; fill: #fff; }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 20px; padding: 2px; }
.lang-switch button {
  border: 0; background: transparent; color: #cfe4e9;
  padding: 3px 12px; border-radius: 20px; font: inherit; cursor: pointer;
  font-weight: 600; letter-spacing: .03em;
}
.lang-switch button.active { background: var(--gold-500); color: var(--teal-900); }

/* ---------- header / nav ---------- */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-text { font-family: var(--font-display); line-height: 1.1; }
.brand-text .kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.brand-text .title { font-size: 18px; font-weight: 800; color: var(--teal-900); }

nav.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: var(--radius); transition: background .15s, color .15s;
}
nav.main-nav a:hover, nav.main-nav a.active { background: var(--teal-100); color: var(--teal-800); }

.burger { display: none; }

@media (max-width: 860px) {
  nav.main-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px; box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: flex; }
  .burger {
    display: block; border: 1px solid var(--line); background: var(--paper);
    border-radius: var(--radius); padding: 8px 12px; font-size: 20px; cursor: pointer;
  }
  header.site-header { position: sticky; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(226,165,58,.20), transparent 45%),
    linear-gradient(160deg, var(--teal-900) 0%, var(--teal-700) 62%, var(--teal-600) 100%);
  color: #eef7f8;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 42px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 76px 0 84px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(226,165,58,.16); border: 1px solid rgba(226,165,58,.5);
  color: var(--gold-400); font-weight: 700; font-size: 13px; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: 46px; font-weight: 800; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead {
  font-size: 18px; color: #d8ebee; max-width: 54ch; margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-emblem {
  display: flex; justify-content: center;
}
.hero-emblem img {
  width: min(320px, 100%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--teal-900); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 8px 20px rgba(226,165,58,.35); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: var(--teal-800); }

/* ---------- stats strip ---------- */
.stats-strip {
  background: var(--teal-800);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stats-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-cell {
  padding: 22px 20px; text-align: center; color: #eef7f8;
  border-left: 1px solid rgba(255,255,255,.12);
}
.stat-cell:first-child { border-left: none; }
.stat-cell .num { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--gold-400); }
.stat-cell .lbl { font-size: 13px; color: #b9d6da; margin-top: 4px; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero-emblem { order: -1; }
  .hero-emblem img { width: 180px; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
}

/* ---------- sections ---------- */
section { padding: 68px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow {
  color: var(--gold-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px;
}
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* program cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 {grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--teal-100);
  display: flex; align-items: center; justify-content: center; color: var(--teal-700); margin-bottom: 4px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; }
.card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 6px; }
.card .amount { font-family: var(--font-display); font-weight: 800; color: var(--gold-600); font-size: 22px; }

.card-teal { background: linear-gradient(160deg, var(--teal-800), var(--teal-700)); color: #fff; border: none; }
.card-teal h3, .card-teal .amount { color: #fff; }
.card-teal .icon { background: rgba(255,255,255,.14); color: var(--gold-400); }
.card-teal p { color: #d3e8ec; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px 22px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold-500); color: var(--teal-900);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* countries / origin table */
.origin-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.origin-table th, .origin-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.origin-table th { background: var(--teal-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.origin-table tr:last-child td { border-bottom: none; }
.origin-table tr:nth-child(even) td { background: var(--ground); }

/* condition list */
.condlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.condlist li {
  display: flex; gap: 12px; align-items: flex-start; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 14.5px;
}
.condlist .num {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800);
  font-weight: 800; font-family: var(--font-display); font-size: 13px; display: flex; align-items: center; justify-content: center;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700));
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e8ec; max-width: 60ch; margin: 0 auto 26px; }

/* footer */
footer.site-footer {
  background: var(--teal-900); color: #b9d6da; padding: 46px 0 24px; font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid a { display: block; text-decoration: none; color: #b9d6da; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand strong { color: #fff; font-family: var(--font-display); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #7ea3a9; font-size: 13px; }

/* ---------- inner pages: tools bar / filters ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--teal-900), var(--teal-700));
  color: #fff; padding: 42px 0 34px;
}
.page-hero h1 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: #cfe4e9; margin: 0; }
.breadcrumb { font-size: 13px; color: #a9cdd2; margin-bottom: 10px; }
.breadcrumb a { color: #a9cdd2; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.note-banner {
  background: var(--gold-100); border: 1px solid var(--gold-400); color: #6b4a0f;
  border-radius: var(--radius); padding: 12px 16px; font-size: 13.5px; margin: 22px 0; display: flex; gap: 10px; align-items: flex-start;
}

.toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px; margin-bottom: 20px; box-shadow: var(--shadow);
  position: sticky; top: 78px; z-index: 20;
}
.toolbar input[type="search"], .toolbar select {
  font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ground); color: var(--ink); min-width: 160px;
}
.toolbar input[type="search"] { flex: 1; min-width: 220px; }
.toolbar label { font-size: 12px; color: var(--ink-soft); font-weight: 700; display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; }
.toolbar .field { display: flex; flex-direction: column; }
.result-count { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; }
.result-count strong { color: var(--teal-800); }

.data-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.data-table thead th {
  background: var(--teal-900); color: #fff; text-align: left; padding: 12px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em;
  position: sticky; top: 0;
}
table.data-table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data-table tbody tr:nth-child(even) { background: var(--ground); }
table.data-table tbody tr:hover { background: var(--teal-100); }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
  background: var(--teal-100); color: var(--teal-800);
}
.price-tag { font-family: var(--font-display); font-weight: 800; color: var(--gold-600); white-space: nowrap; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.pager { display: flex; justify-content: center; gap: 6px; margin: 22px 0 0; flex-wrap: wrap; }
.pager button {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit;
  padding: 7px 13px; border-radius: var(--radius); cursor: pointer; font-weight: 600;
}
.pager button.active { background: var(--teal-800); color: #fff; border-color: var(--teal-800); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 700px) {
  .toolbar { position: static; }
  table.data-table { min-width: 600px; }
}

/* ---------- housing photo cards ---------- */
.house-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.house-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.house-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.house-photo {
  position: relative; aspect-ratio: 4/3; background: var(--ground-alt);
  cursor: pointer; overflow: hidden;
}
.house-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.house-photo .photo-count {
  position: absolute; right: 8px; bottom: 8px; background: rgba(12,58,71,.75); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; display: flex; align-items: center; gap: 4px;
}
.house-photo .no-photo {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 13px; text-align: center; padding: 10px; background: var(--ground-alt);
}
.house-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.house-district { font-size: 11.5px; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: .03em; }
.house-address { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--teal-900); }
.house-settlement { font-size: 13px; color: var(--ink-soft); }
.house-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.house-meta span { background: var(--ground); border-radius: 20px; padding: 3px 10px; }
.house-price { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; color: var(--gold-600); font-size: 19px; }
.house-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }

/* lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(12,20,24,.92); z-index: 200;
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img-wrap { position: relative; max-width: min(900px, 92vw); max-height: 72vh; display: flex; align-items: center; justify-content: center; }
.lightbox-img-wrap img { max-width: 100%; max-height: 72vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-nav.prev { left: -10px; }
.lightbox-nav.next { right: -10px; }
@media (max-width: 700px) {
  .lightbox-nav.prev { left: 2px; }
  .lightbox-nav.next { right: 2px; }
}
.lightbox-close {
  position: absolute; top: 18px; right: 20px; background: transparent; border: none; color: #fff;
  font-size: 30px; cursor: pointer; line-height: 1;
}
.lightbox-caption { color: #dcebee; font-size: 13.5px; margin-top: 14px; text-align: center; max-width: 700px; }
.lightbox-counter { color: #8fb4ba; font-size: 12.5px; margin-top: 6px; }
.lightbox-thumbs { display: flex; gap: 6px; margin-top: 14px; overflow-x: auto; max-width: 92vw; padding-bottom: 4px; }
.lightbox-thumbs img { width: 52px; height: 40px; object-fit: cover; border-radius: 4px; cursor: pointer; opacity: .55; border: 2px solid transparent; flex: none; }
.lightbox-thumbs img.active { opacity: 1; border-color: var(--gold-500); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold-500); color: var(--teal-900);
  padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- floating social buttons ---------- */
.float-social {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.float-social a {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s;
}
.float-social a:hover { transform: scale(1.08); }
.float-social svg { width: 26px; height: 26px; fill: #fff; }
.float-social .fs-whatsapp { background: #25D366; }
.float-social .fs-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }

/* ---------- documents page ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.doc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.doc-card .doc-icon { font-size: 28px; }
.doc-card h3 { font-size: 15.5px; line-height: 1.35; margin: 0; }
.doc-card .doc-meta { font-size: 12.5px; color: var(--ink-soft); }
.doc-card .doc-dl {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px;
  color: var(--teal-800); text-decoration: none;
}
.doc-card .doc-dl:hover { text-decoration: underline; }

/* ---------- contacts (career centers) ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 18px; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.contact-card h4 { font-size: 15px; margin: 0 0 8px; color: var(--teal-800); }
.contact-card .person { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); }
.contact-card .person:first-of-type { border-top: none; }
.contact-card .person-name { font-size: 13.5px; font-weight: 600; }
.contact-card .person-role { font-size: 12px; color: var(--ink-soft); }
.contact-card .person a { font-size: 13px; color: var(--teal-700); text-decoration: none; white-space: nowrap; }
.contact-card .person a:hover { text-decoration: underline; }
.contact-toolbar { margin-bottom: 6px; }
