:root { --fog-img: url('/assets/static/img/dryice/did_hero.jpeg'); --hero-img: url('/assets/static/img/dryice/did_hero.jpeg'); }
:root {
  --navy-950: #050b16;
  --navy-900: #071221;
  --navy-850: #0a1830;
  --navy-800: #0c1f3d;
  --blue-700: #1258c4;
  --blue-600: #1a6fe0;
  --blue-500: #1f7aed;
  --blue-400: #3d90f5;
  --blue-100: #e7f1fd;
  --blue-50: #f3f8fe;
  --ice: #8ec9ff;
  --ink: #172033;
  --ink-2: #4a5a70;
  --ink-3: #7a889b;
  --line: #e3ebf4;
  --line-2: #d5e0ec;
  --bg: #f2f6fb;
  --white: #ffffff;
  --ok: #1f9d6a;
  --shadow: 0 10px 32px rgba(16, 42, 84, .07);
  --shadow-lg: 0 18px 50px rgba(10, 30, 70, .12);
  --r: 16px;
  --r-sm: 12px;
  --r-pill: 999px;
  --font: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --max: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }
html, body { min-height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #071221;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(31,122,237,.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 800; letter-spacing: .04em;
  font-size: 15.5px; color: #fff;
}
.brand-name span { color: var(--blue-400); }
.brand-sub {
  margin-top: 3px;
  font-size: 8.5px; letter-spacing: .22em;
  color: rgba(255,255,255,.55); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.brand-sub::before, .brand-sub::after {
  content: ""; height: 1px; width: 14px;
  background: rgba(255,255,255,.28);
}
.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 2px;
}
.nav a, .nav button.nav-link, .nav .nav-link {
  color: rgba(255,255,255,.8);
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
  background: none; border: 0;
}
.nav a:hover, .nav button.nav-link:hover, .nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a.active, .nav button.nav-link.active, .nav .nav-link.active { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 10px;
  font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .15s, box-shadow .15s, background .15s, filter .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, #2b86f5, var(--blue-600));
  color: #fff;
  box-shadow: 0 6px 16px rgba(31,122,237,.35);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}
.btn-outline {
  background: #fff;
  color: var(--blue-600);
  border: 1.5px solid #c9ddf7;
}
.btn-outline:hover { background: var(--blue-50); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 13.5px; border-radius: 12px; }
.burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  align-items: center; justify-content: center; color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 72% 45%, rgba(50,130,220,.28), transparent 55%),
    linear-gradient(180deg, #071221 0%, #0a1a33 58%, #0d2448 100%);
  color: #fff;
  overflow: hidden;
  min-height: 540px;
}
.hero-ice {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: auto;
  max-width: 58%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.85) 22%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.85) 22%, #000 100%);
  filter: saturate(1.05) contrast(1.05);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 118px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.05; max-width: 640px;
}
.hero h1 em {
  font-style: normal;
  display: block;
  color: #4aa3ff;
  margin-top: 4px;
}
.hero-lead {
  margin-top: 18px; max-width: 460px;
  color: rgba(255,255,255,.72);
  font-size: 15px; font-weight: 500; line-height: 1.55;
}
.search-row {
  margin-top: 32px;
  display: flex; align-items: center; gap: 12px;
  max-width: 640px; flex-wrap: wrap;
}
.search-box {
  flex: 1; min-width: 260px;
  display: flex; align-items: center;
  background: #fff; border-radius: var(--r-pill);
  height: 52px; padding: 4px 4px 4px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.search-box input {
  flex: 1; border: 0; outline: none;
  font-size: 14px; color: var(--ink); background: transparent;
}
.search-box input::placeholder { color: #9aa8b8; }
.search-go {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-500); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(31,122,237,.4);
}
.search-go:hover { background: var(--blue-600); }
.adv-btn {
  height: 52px; padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.32);
  color: rgba(255,255,255,.9);
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  line-height: 1.25; text-align: center;
  background: rgba(255,255,255,.04);
}
.adv-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ===== CATEGORIES ===== */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.cats {
  margin-top: -48px;
  position: relative; z-index: 3;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.8);
}
.cat {
  padding: 24px 16px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  color: var(--ink);
  transition: background .15s;
  min-height: 148px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.cat:last-child { border-right: 0; }
.cat:hover { background: var(--blue-50); }
.cat svg { width: 36px; height: 36px; color: var(--blue-500); flex-shrink: 0; }
.cat span {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  line-height: 1.35; color: #243044; text-align: center;
}
.cat.active { background: var(--blue-50); box-shadow: inset 0 -3px 0 var(--blue-500); }

/* ===== SECTIONS ===== */
.section { padding: 56px 0 24px; }
.section-h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 22px;
}
.section-h h2 {
  font-size: 15px; font-weight: 800; letter-spacing: .12em;
  color: #243044;
}
.link-all {
  font-size: 12.5px; font-weight: 700; color: var(--blue-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.link-all:hover { text-decoration: underline; }

/* ===== FIRM CARDS ===== */
.firm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.firm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 18px;
  position: relative;
  box-shadow: 0 4px 16px rgba(20,40,80,.04);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column; min-height: 248px;
}
.firm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cfe0f5;
}
.bookmark {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 8px;
  color: #b8c4d4;
  display: grid; place-items: center;
}
.bookmark:hover, .bookmark.on { color: var(--blue-500); }
.bookmark.on svg { fill: var(--blue-500); }
.firm-logo {
  width: 72px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: #17345e;
}
.firm-logo svg { width: 52px; height: 52px; }
.firm-card h3 {
  font-size: 15px; font-weight: 800; letter-spacing: .04em;
  color: #1a2740;
}
.firm-card .kind {
  margin-top: 4px;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.firm-card .loc {
  margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-3); font-weight: 500;
}
.firm-card .loc svg { color: var(--blue-500); flex-shrink: 0; }
.tags { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 8px; border-radius: 6px;
  background: #eef3f9; color: #5c6d84;
  border: 1px solid #e3ebf3;
}

/* ===== STATS ===== */
.stats {
  margin: 36px 0 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 4px 16px rgba(20,40,80,.04);
}
.stat {
  padding: 28px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.stat:last-child { border-right: 0; }
.stat svg { color: #8aa0b8; width: 28px; height: 28px; }
.stat b {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: #1a2740;
  line-height: 1;
}
.stat span {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3);
}

/* ===== JOIN / FOOTER CTA ===== */
.join {
  position: relative;
  margin-top: 48px;
  background:
    radial-gradient(800px 200px at 70% 120%, rgba(80,160,255,.25), transparent 60%),
    linear-gradient(90deg, #071221, #0b1c36 50%, #0a1730);
  color: #fff;
  overflow: hidden;
}
.join .fog {
  position: absolute; inset: 0 0 0 0;
  background-image: var(--fog-img);
  background-size: cover; background-position: center right;
  opacity: .25; pointer-events: none; mix-blend-mode: luminosity;
}
.join-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 42px 24px;
  display: flex; align-items: center; gap: 28px;
}
.join-mark { width: 72px; height: 72px; flex-shrink: 0; }
.join h2 { font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.join p { margin-top: 6px; color: rgba(255,255,255,.65); font-size: 14.5px; font-weight: 500; }
.join .btn { margin-left: auto; }

.site-footer {
  margin-top: auto;
  background: #050b16; color: rgba(255,255,255,.55);
  padding: 22px 24px 28px;
  font-size: 12.5px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }

/* ===== INNER PAGES ===== */
.page { display: none; }
.page.on { display: block; }
.page-hero {
  background: linear-gradient(180deg, #071221, #0c2040);
  color: #fff; padding: 36px 0 40px;
}
.page-hero h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.page-hero p { margin-top: 8px; color: rgba(255,255,255,.7); max-width: 560px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 16px rgba(20,40,80,.04);
}
.prose { padding: 28px; color: var(--ink-2); font-size: 15px; }
.prose h3 { color: var(--ink); font-size: 18px; margin: 18px 0 8px; }
.prose p + p { margin-top: 10px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding: 28px 0 48px; }
.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-card .body { padding: 18px 18px 20px; }
.news-card time { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.news-card h3 { margin: 6px 0 8px; font-size: 16px; }
.news-card p { font-size: 13.5px; color: var(--ink-2); }

.filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
}
.chip {
  height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: #fff;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
}
.chip.on, .chip:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; color: #3a4a60; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 0 12px; font-size: 14px; color: var(--ink); background: #fff;
}
.field textarea { height: 110px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 4px rgba(31,122,237,.12);
}

/* ===== MODAL ===== */
.overlay {
  position: fixed; inset: 0; background: rgba(6,12,24,.55);
  backdrop-filter: blur(6px);
  z-index: 80; display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.overlay.on { display: flex; }
.modal {
  background: #fff; border-radius: 18px; width: min(560px, 100%);
  max-height: min(88vh, 720px); overflow: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  padding: 28px;
}
.modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.modal .sub { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }
.modal-close {
  float: right; width: 36px; height: 36px; border-radius: 10px;
  color: var(--ink-3);
}
.modal-close:hover { background: var(--bg); color: var(--ink); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #122033; color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 90;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.empty {
  text-align: center; padding: 48px 16px; color: var(--ink-3);
}
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ===== COMPANY PAGE ===== */
.co-hero {
  position: relative; height: 280px;
  background: linear-gradient(90deg, #0a1a33 0%, #10284c 42%, #163a68 100%);
  overflow: hidden;
}
.co-hero-ice {
  position: absolute;
  right: -20px; top: -30%;
  height: 165%;
  width: auto;
  max-width: 62%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}
.co-hero .veil { display: none; }
.crumbs {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 24px 0;
  font-size: 12.5px; color: var(--ink-3); font-weight: 500;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs .sep { opacity: .5; }
.co-head {
  max-width: var(--max); margin: -92px auto 0;
  position: relative; z-index: 2;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px 28px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.co-logo-hex {
  width: 92px; height: 92px;
}
.co-head h1 {
  font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
}
.co-head .kind { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; font-weight: 500; }
.co-head .meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.co-bm {
  align-self: start;
  width: 40px; height: 40px; border-radius: 10px; color: #b8c4d4;
  display: grid; place-items: center;
}
.co-bm.on, .co-bm:hover { color: var(--blue-500); }

.contact-bar {
  max-width: var(--max); margin: 16px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(20,40,80,.04);
}
.ci {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 4px 12px;
  border-right: 1px solid var(--line);
}
.ci:last-of-type { border-right: 0; }
.ci svg { color: var(--blue-500); margin-top: 2px; flex-shrink: 0; }
.ci small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.ci b { display: block; font-size: 14px; font-weight: 700; color: #1a2740; }
.ci a:hover { color: var(--blue-600); }

.co-layout {
  max-width: var(--max); margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  padding-bottom: 20px;
}
.block { padding: 26px 26px 22px; }
.block h2 {
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  margin-bottom: 14px; color: #1a2740;
}
.about p { color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.checks { margin-top: 16px; display: grid; gap: 9px; }
.check {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: #2a3a52;
}
.check i {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-500); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}

.offer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
}
.offer {
  border-radius: 14px; overflow: hidden;
}
.offer img { width: 100%; height: 128px; object-fit: cover; border-radius: 12px; }
.offer h3 { margin-top: 10px; font-size: 14.5px; font-weight: 800; }
.offer p { margin-top: 4px; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }

.apps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px;
}
.app {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: #2a3a52;
}
.app svg { color: var(--blue-500); width: 20px; height: 20px; flex-shrink: 0; }

.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.gallery button {
  border-radius: 10px; overflow: hidden; height: 92px;
  border: 0; padding: 0;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery button:hover img { transform: scale(1.06); }

.dl { display: flex; flex-direction: column; }
.dl a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: #2a3a52;
}
.dl a:last-child { border-bottom: 0; }
.dl a svg:first-child { color: var(--blue-500); }
.dl a .dl-ico { margin-left: auto; color: var(--blue-500); }

.facts { display: grid; gap: 10px; }
.fact { display: grid; grid-template-columns: 42% 1fr; gap: 8px; font-size: 13.5px; }
.fact dt { color: var(--ink-3); font-weight: 600; }
.fact dd { font-weight: 700; color: #1a2740; }

.map-card address {
  font-style: normal; font-size: 14px; color: var(--ink-2); line-height: 1.5;
  font-weight: 600; margin-bottom: 12px;
}
.map-frame {
  margin-top: 12px; border-radius: 12px; overflow: hidden;
  height: 168px; border: 1px solid var(--line);
  position: relative; background: #e7edf3;
}
.map-frame svg { width: 100%; height: 100%; display: block; }
.map-btn { margin-top: 4px; width: 100%; }

.co-cta {
  max-width: var(--max); margin: 8px auto 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 4px 16px rgba(20,40,80,.04);
}
.co-cta .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-500);
  display: grid; place-items: center; flex-shrink: 0;
}
.co-cta h3 { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.co-cta p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.co-cta .btn { margin-left: auto; }

.lightbox {
  position: fixed; inset: 0; background: rgba(5,10,20,.82);
  z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 32px;
}
.lightbox.on { display: flex; }
.lightbox img {
  max-width: min(960px, 100%); max-height: 86vh;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.mobile-nav {
  display: none; position: fixed; inset: 74px 0 0 0;
  background: rgba(5,11,22,.97);
  z-index: 45; padding: 18px;
  flex-direction: column; gap: 6px;
}
.mobile-nav.on { display: flex; }
.mobile-nav a, .mobile-nav button {
  color: #fff; text-align: left;
  padding: 14px 12px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: none; border: 0;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: rgba(255,255,255,.06); }

@media (max-width: 1024px) {
  .firm-grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
  .co-layout { grid-template-columns: 1fr; }
  .contact-bar { grid-template-columns: 1fr 1fr; }
  .contact-bar .ci { border-right: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button { height: 120px; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-inner .btn-primary { display: none; }
  .cats { grid-template-columns: repeat(5, minmax(140px, 1fr)); overflow-x: auto; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .join-inner { flex-direction: column; align-items: flex-start; }
  .join .btn { margin-left: 0; }
  .co-head { grid-template-columns: auto 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-ice { max-width: 70%; opacity: .85; }
  .co-hero { height: 200px; }
  .co-hero-ice { max-width: 80%; height: 180%; top: -40%; }
  .co-cta { flex-wrap: wrap; }
  .co-cta .btn { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .firm-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 40px; }
  .hero h1 { font-size: 32px; }
  .contact-bar { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .co-head h1 { font-size: 26px; }
  .header-inner { padding: 0 14px; }
  .wrap { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ===== TRUST & LEGAL SUBPAGES (About, Terms, Privacy) ===== */
.trust-hero {
  background: linear-gradient(180deg, #071221 0%, #0a1a33 60%, #0e2243 100%);
  color: #fff;
  padding: 50px 0 42px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-container {
  max-width: 960px;
  margin: 40px auto 64px;
  padding: 0 20px;
}
.trust-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  padding: 36px;
  margin-bottom: 28px;
}
.trust-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 840px) {
  .trust-grid-3 { grid-template-columns: 1fr; }
}
.pillar-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform .18s, border-color .18s;
}
.pillar-box:hover {
  border-color: #bee3f8;
  transform: translateY(-2px);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef6ff;
  color: #0284c7;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.pillar-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}
.pillar-text {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}
.trust-prose {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
}
.trust-prose h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.01em;
  margin: 30px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}
.trust-prose h2:first-child { margin-top: 0; }
.trust-prose p { margin-bottom: 16px; }
.trust-prose ul { margin: 0 0 18px 22px; }
.trust-prose li { margin-bottom: 8px; }
.highlight-note {
  background: #f0f7ff;
  border-left: 4px solid #0284c7;
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: #0c4a6e;
  line-height: 1.6;
}
.legal-callout {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0ea5e9;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}
.last-updated {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 24px;
}

/* ===== CONTACT SUBPAGE ===== */
.contact-hero {
  background: linear-gradient(180deg, #071221 0%, #0a1a33 60%, #0e2243 100%);
  color: #fff;
  padding: 50px 0 42px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  margin: 36px auto 56px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  padding: 32px;
}
.contact-info-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #edf2f7;
  margin-bottom: 16px;
}
.contact-info-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  margin-bottom: 6px;
}
.contact-info-val {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.form-label span.req { color: #e11d48; margin-left: 2px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: #2b86f5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(43, 134, 245, .15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
}
.hp-field { display: none !important; }

/* ===== MAP SUBPAGE ===== */
.map-pin-item.active {
  border-color: #0284c7 !important;
  background: #f0f9ff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, .15);
}
.map-page-hero {
  background: linear-gradient(180deg, #071221 0%, #0a1a33 60%, #0e2243 100%);
  color: #fff;
  padding: 44px 0 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.map-layout {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 48px;
}
@media (max-width: 980px) {
  .map-layout { grid-template-columns: 1fr; }
}
#map-container {
  height: 620px;
  width: 100%;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, .8);
  box-shadow: 0 8px 30px rgba(7, 18, 33, .08);
  overflow: hidden;
  z-index: 10;
  background: #e2e8f0;
}
.map-sidebar {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  height: 620px;
  overflow: hidden;
}
.map-sidebar-head {
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.map-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.map-sidebar-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--blue-50);
  color: var(--blue-600);
  padding: 3px 8px;
  border-radius: 999px;
}
.map-pins-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.map-pin-item {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.map-pin-item:hover {
  border-color: #bee3f8;
  background: #f0f7ff;
  transform: translateY(-1px);
}
.map-pin-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
}
.map-pin-item-sub {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 4px;
}
.leaflet-popup-content {
  margin: 12px 14px;
  font-family: inherit;
  line-height: 1.4;
}
.map-popup-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #2b86f5;
  background: #eef6ff;
  padding: 2px 7px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.map-popup-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}
.map-popup-meta {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 8px;
}
.map-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #2b86f5;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter .15s;
}
.map-popup-link:hover { filter: brightness(1.08); }

