@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --ink: #141414;
  --ink-soft: #3f3f3f;
  --muted: #6d6d6d;
  --line: #e6e6e6;
  --line-strong: #d4d4d4;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-stone: #f3f1ee;
  --dark: #0e0e10;
  --dark-2: #17171b;
  --accent: #c190ff;
  --accent-hover: #b07af5;
  --accent-soft: #f4ebff;
  --ink-deep: #181e15;
  --blue: #6d28d9;
  --navy: #181e15;
  --cta: #c190ff;
  --cta-hover: #b07af5;
  --mint: #c190ff;
  --mint-soft: #f4ebff;
  --search: #181e15;
  --display: 'Instrument Sans', Arial, Helvetica, sans-serif;
  --sans: 'Instrument Sans', Arial, Helvetica, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(14, 14, 16, 0.08);
  --page-gutter: 32px;
  --page-max: 1180px;
  --page-width: min(var(--page-max), calc(100% - var(--page-gutter)));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; width: 100%; }
#site-footer { margin-top: auto; width: 100%; flex-shrink: 0; }
body.nav-open { overflow: hidden; }
#site-header { position: sticky; top: 0; z-index: 80; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

.wrap { width: var(--page-width); margin: 0 auto; }

h1, h2, h3, h4 { letter-spacing: -0.035em; }

.eyebrow,
.tiny {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }
.lede { margin: 14px 0 0; max-width: 40rem; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

.btn,
.btn-otsi,
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 650;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.btn-otsi,
.btn-primary {
  background: var(--accent);
  color: var(--ink-deep);
  border-color: var(--accent);
  border-radius: 999px;
}

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

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover { border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-on-dark {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-on-dark:hover { background: var(--accent-soft); }

/* Top bar + header */

.topbar {
  background: #c190ff;
  color: var(--ink-deep);
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.topbar p { margin: 0; color: var(--ink-deep); }
.topbar a { color: var(--ink-deep); font-weight: 700; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  background: #181e15;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header.is-scrolled { border-bottom-color: rgba(255,255,255,.14); }

.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.site-brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
}

.site-brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.site-brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.045em;
  color: #fff;
  white-space: nowrap;
}

.site-brand-sub { display: none; }

.ee-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 6px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ee-flag {
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}

.desk-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.desk-link,
.desk-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
  font-weight: 500;
  border-radius: 10px;
}

.desk-link:hover,
.desk-quiet:hover { background: rgba(255,255,255,.08); }

.desk-drop { position: relative; }

.desk-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}

.desk-drop:hover .desk-menu,
.desk-drop:focus-within .desk-menu { display: grid; }

.desk-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  font-weight: 500;
}

.desk-menu a:hover { background: var(--bg-soft); }
.desk-menu a small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 400; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-toggle .nav-ico, .nav-ico { width: 20px; height: 20px; }

.cat-bar { display: none; }

/* Hero */

.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(720px 360px at 50% -10%, rgba(193, 144, 255, 0.28), transparent 62%),
    #181e15;
  color: #fff;
}

.hero .eyebrow { color: rgba(255,255,255,.58); }
.hero h1 { color: #fff; }
.hero-lead { color: rgba(255,255,255,.78); }
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: transparent;
}
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: end;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(46px, 5.8vw, 76px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 38rem;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.hero-search-kicker {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Search shared */

.kv-search-wrap {
  width: 100%;
  background: var(--bg-soft);
  padding: 28px 0 8px;
  color: var(--ink);
}

.kv-search {
  display: grid;
  gap: 14px;
}

.kv-search.wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.kv-search-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: end;
}

.kv-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  min-height: 48px;
}

.kv-checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.kv-checks input { accent-color: var(--accent); width: 16px; height: 16px; }

.kv-search-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kv-advanced {
  margin-left: auto;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.kv-advanced:hover { text-decoration: underline; }

.kv-field { display: grid; gap: 6px; position: relative; }

.kv-field > label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.kv-field input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  outline: none;
}

.kv-field input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,20,20,.06); }

.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.hero-search .btn-otsi { width: 100%; }

.kv-search-extra,
.kv-search .search-popular {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.kv-search-extra a,
.kv-search .search-popular a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.kv-search-extra a:hover,
.kv-search .search-popular a:hover { color: var(--accent); }
.quick-sep { margin: 0 4px; color: #c8c8c8; }

.search-suggest {
  position: static;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: auto;
  max-height: 520px;
}

.search-suggest[hidden] { display: none; }

.search-suggest-label,
.search-suggest-empty {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}

.search-suggest button:hover,
.search-suggest button.is-on { background: var(--bg-soft); }
.search-suggest button small { display: block; color: var(--muted); font-size: 12px; }

.search-suggest-more {
  display: block;
  padding: 10px 14px 12px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.quick-strip { display: none; }

/* Marquee */

.marquee {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}

.marquee-label {
  width: var(--page-width);
  margin: 18px auto 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-viewport {
  overflow: hidden;
  padding: 18px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.marquee-track span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #b5b5b5;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-stone { background: var(--bg-stone); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.block-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 20ch;
}

.section-head p { margin: 8px 0 0; color: var(--ink-soft); max-width: 36rem; }

.section-more {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.section-more:hover { color: var(--accent); border-color: var(--accent); }

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.carousel-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  max-width: 16ch;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.carousel-nav .section-more { margin-right: 8px; }

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-viewport {
  overflow: hidden;
  padding: 8px 2px 14px;
  margin: -8px -2px -14px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(.22, .7, .2, 1);
  will-change: transform;
}

.carousel-track-cards > * { flex: 0 0 calc((100% - 48px) / 4); }
.carousel-track-guides > * { flex: 0 0 calc((100% - 32px) / 3); }

.carousel-track > .story-slide { flex: 0 0 100%; }

.story-slide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 280px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.story-slide h3 {
  margin: 12px 0 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 16ch;
}

.story-slide p { margin: 0; color: var(--ink-soft); font-size: 18px; max-width: 38rem; }

.will-rise {
  opacity: 0;
  transform: translateY(18px);
}

.will-rise.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s ease;
}

/* Solution tabs */

.sol-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 18px;
}

.sol-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sol-tab.is-on,
.sol-tab:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.sol-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  min-height: 360px;
}

.sol-panel.is-in .sol-copy,
.sol-panel.is-in .sol-visual {
  animation: solIn .42s ease;
}

@keyframes solIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.sol-copy { padding: 36px 36px 32px; }

.sol-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sol-copy p { margin: 0 0 16px; color: var(--ink-soft); font-size: 17px; max-width: 38rem; }

.sol-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sol-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15px;
}

.sol-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.sol-visual {
  margin: 16px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.08), transparent 40%),
    #12141a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.sol-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,144,255,.9), transparent 68%);
}

.sol-visual::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,114,206,.7), transparent 70%);
}

.sol-visual b,
.sol-visual span { position: relative; z-index: 1; }
.sol-visual b {
  font-size: clamp(56px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.sol-visual span { margin-top: 8px; color: rgba(255,255,255,.75); font-size: 15px; }

/* Proof + stats */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-card h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.04em; }
.proof-card p { margin: 0; color: var(--ink-soft); }

.stats-band {
  background: var(--dark);
  color: #fff;
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.stats-grid h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.stat b {
  display: block;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.68); font-size: 14px; }

/* Cards */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.offer-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid transparent;
  min-width: 0;
  height: 100%;
  transition: transform .25s ease;
}

.offer-card:hover { transform: translateY(-4px); }

.offer-card:hover .offer-title { color: var(--accent); }

.offer-media {
  aspect-ratio: 4 / 3;
  background: #eceae6;
  overflow: hidden;
  border-radius: 22px;
  position: relative;
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.offer-card:hover .offer-media img { transform: scale(1.04); }

.offer-card-wide { grid-column: span 2; }
.offer-card-wide .offer-media { aspect-ratio: 16 / 10; }

.offer-body { padding: 14px 4px 4px; }

.offer-price {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.offer-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.offer-loc,
.offer-flags {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-grid,
.card-grid,
.feat-grid,
.grant-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card,
.card,
.grant-card,
.why-card,
.price-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  min-height: 180px;
  height: 100%;
  transition: transform .25s ease, border-color .2s ease;
}

.guide-card:hover { transform: translateY(-4px); }

.guide-card:hover,
.card:hover { border-color: var(--ink); }

.guide-card h3,
.card h3,
.grant-card h3,
.why-card h3,
.price-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.guide-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.guide-featured img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.guide-featured-body { padding: 28px; }
.guide-featured h2 { margin: 10px 0; font-size: 32px; letter-spacing: -0.04em; }

/* Listing */

.page-hero,
.listing-page { padding: 36px 0 64px; }

.page-hero h1,
.listing-page h1,
.article-page h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 700;
  max-width: 20ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.crumbs a { color: var(--ink); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--accent); }

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}

.results-bar h1 { margin: 0; }

.listing-count,
.found,
.sort-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.listing-count b { color: var(--ink); }

.filter-strip {
  display: flex;
  gap: 18px;
  overflow: auto;
  padding: 4px 0 16px;
  margin-bottom: 8px;
}

.filter-title { display: none; }

.filter-block { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: max-content; }
.filter-block .tiny { margin: 0 6px 0 0; }

.filter-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.filter-link span { color: var(--muted); font-weight: 500; }
.filter-link.is-on,
.filter-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-link.is-on span,
.filter-link:hover span { color: rgba(255,255,255,.7); }

.company-list { display: grid; gap: 12px; }
.object-head { display: none; }

.object-row,
.listing-card,
.company-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto auto;
  gap: 16px 18px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
}

.object-row:hover,
.listing-card:hover,
.company-row:hover { border-color: var(--ink); }

.object-media,
.listing-avatar {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  background: #eceae6;
}

.object-media img,
.listing-avatar img,
.profile-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.object-media.company-mark,
.offer-media.company-mark,
.profile-hero-media.company-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(120% 90% at var(--mark-x, 20%) var(--mark-y, 10%), var(--mark, #314032), transparent 62%),
    linear-gradient(var(--mark-angle, 145deg), var(--mark-deep, #181e15), var(--mark, #314032));
}

.facts-table a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-mark-letters {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.offer-media .company-mark-letters { font-size: 40px; }
.profile-hero-media .company-mark-letters { font-size: 48px; }

.company-mark .service-ico { position: absolute; left: 12px; top: 12px; color: #fff; }
.company-mark .service-ico svg { width: 22px; height: 22px; }

.object-desc h3,
.listing-body h3,
.company-row h3 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.object-amenity,
.object-flags,
.listing-top {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.object-about,
.listing-about,
.company-row .about {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.object-stat,
.listing-meta,
.company-row .meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.object-price,
.listing-cta,
.company-side { text-align: right; }

.object-price b,
.listing-cta {
  display: block;
  color: var(--accent);
  font-size: 14px;
}

.object-price small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.badge,
.pill,
.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.pill:hover, .pill.is-on, .badge-ghost { background: var(--bg-soft); }

.trade-board { display: grid; gap: 10px; }

.trade-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  background: #fff;
}

.trade-row:hover { border-color: var(--ink); }
.trade-row h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -0.03em; }
.trade-row p { margin: 0; color: var(--muted); font-size: 14px; }
.trade-count {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.service-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: #fff;
}

.service-ico svg { width: 22px; height: 22px; }

.city-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.city-chip {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: #fff;
}

.city-chip:hover { border-color: var(--ink); }
.city-chip strong { font-size: 20px; letter-spacing: -0.03em; }
.city-chip small { color: var(--muted); }

/* Prices, FAQ, profile, articles */

.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price-calc {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.price-result-num {
  margin: 8px 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price-range { position: relative; height: 8px; border-radius: 99px; background: var(--bg-soft); margin: 12px 0; }
.price-range b { display: block; height: 100%; width: 70%; border-radius: inherit; background: var(--accent); }
.price-range i { position: absolute; top: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }

.price-split { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
.price-table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price-table tr { cursor: pointer; }
.price-table tr.is-on { background: var(--accent-soft); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

#price-form {
  display: grid;
  gap: 16px;
}

#price-form > .btn {
  justify-self: start;
  margin-top: 8px;
}

.faq-list-wrap { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 18px;
  font-weight: 650;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  color: var(--ink);
}
.faq-item p { display: none; margin: 0 0 16px; color: var(--ink-soft); max-width: 46rem; }
.faq-item.is-open p { display: block; }

.profile-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 22px;
}

.profile-hero-media {
  width: 100%;
  height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: #eceae6;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.facts-table { width: 100%; border-collapse: collapse; }
.facts-table th, .facts-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.facts-table th { width: 38%; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.contact-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  position: sticky;
  top: 96px;
  background: #fff;
}

.contact-card .tiny { background: var(--dark); color: #fff; margin: 0; padding: 14px 16px; }
.contact-card > p:not(.tiny) { margin: 0; padding: 12px 16px 0; }
.contact-card .btn { width: calc(100% - 32px); margin: 12px 16px 0; }
.contact-card .btn:last-child { margin-bottom: 16px; }

.article-page { padding: 36px 0 72px; }
.article h2 { font-size: 28px; margin: 36px 0 10px; letter-spacing: -0.04em; scroll-margin-top: 96px; }
.article h3 { font-size: 20px; margin: 22px 0 8px; letter-spacing: -0.03em; scroll-margin-top: 96px; }
.article p, .article li { color: var(--ink-soft); line-height: 1.7; }
.article p { margin: 0 0 12px; }
.article ul, .article ol { margin: 8px 0 16px; padding-left: 1.2rem; }
.article a { color: var(--blue); }
.article-hero .lede { font-size: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.article-cover { margin-top: 22px; }
.article-cover img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; background: var(--bg-soft); }
.article-cover figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.article-takeaways { margin: 0 0 12px; padding: 18px 18px 8px; background: var(--accent-soft); border-radius: 18px; }
.article-takeaways strong { display: block; margin-bottom: 8px; }
.article-note, .doc-cta { margin: 18px 0; padding: 18px; background: var(--bg-soft); border-radius: 18px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.article th, .article td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.article-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.doc-meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.doc-cta p { margin: 0 0 12px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.contact-grid .panel h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.contact-grid .panel p, .contact-grid .panel li { color: var(--ink-soft); }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.how-step { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.how-step b { display: block; margin-bottom: 8px; font-size: 18px; letter-spacing: -0.03em; }
.how-step p { margin: 0; color: var(--ink-soft); }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; margin-top: 28px; }
.guide-toc { position: sticky; top: 108px; align-self: start; }
.guide-toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.guide-toc a.is-on { color: var(--ink); font-weight: 700; }

.review-card { padding: 0 0 16px; }
.review-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.review-stars svg { width: 14px; height: 14px; fill: #ddd; }
.review-stars .is-on svg { fill: var(--accent); }
.review-meta { color: var(--muted); font-size: 13px; }
.review-viewport { overflow: hidden; }
.review-track { display: grid; grid-auto-flow: column; gap: 14px; }
.review-dots { display: flex; gap: 6px; }
.review-dot { width: 8px; height: 8px; border-radius: 99px; border: 0; background: #ddd; }
.review-dot.is-on { background: var(--ink); }

/* SEO + close */

.seo-band { padding: 56px 0 72px; }
.seo-page-copy, .seo-local { padding: 28px 0 8px; }
.seo-intro h2 {
  margin: 0 0 12px;
  max-width: 16ch;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.seo-page-copy h2, .seo-local h2 { font-size: 28px; letter-spacing: -0.04em; margin: 0 0 10px; }
.seo-intro p, .seo-page-copy p, .seo-combo-intro p, .seo-local p { color: var(--ink-soft); max-width: 40rem; margin: 0; }
.seo-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 48px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.seo-directory h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.seo-map h3, .seo-combos h3, .seo-local h3 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.seo-page-copy h3 {
  margin: 22px 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.35;
}
.seo-page-copy .seo-local-links { max-width: none; }

/* City service pages: advice, then two related-link groups */
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  margin-top: 28px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h2,
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > p:not(.seo-local-links) {
  grid-column: 1 / -1;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h2 {
  max-width: 24em;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > p:not(.seo-local-links) {
  margin: 0 0 22px;
  max-width: 44rem;
  line-height: 1.65;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3 {
  display: flex;
  align-items: flex-end;
  height: 100%;
  margin: 0;
  padding: 16px 16px 0;
  background: var(--bg-soft);
  border-radius: 16px 16px 0 0;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3:nth-of-type(1) {
  grid-column: 1;
  grid-row: 3;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links:nth-of-type(2) {
  grid-column: 1;
  grid-row: 4;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3:nth-of-type(2) {
  grid-column: 2;
  grid-row: 3;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links:nth-of-type(3) {
  grid-column: 2;
  grid-row: 4;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links {
  margin: 0;
  padding: 12px 16px 16px;
  background: var(--bg-soft);
  border-radius: 0 0 16px 16px;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links a {
  background: #fff;
  border: 1px solid transparent;
}
.seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links a:hover {
  border-color: var(--line-strong);
}
.seo-map { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.seo-map-list, .seo-combo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-directory .seo-map-list { flex-direction: column; gap: 0; }
.seo-map-list a, .seo-local-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.seo-directory .seo-map-list a {
  min-height: 44px;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  letter-spacing: -0.02em;
}
.seo-directory .seo-map-list a:hover { color: var(--accent); }
.seo-local-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-combos { margin-top: 16px; }
.seo-combo-intro { margin: 8px 0 16px; }

.close-cta {
  margin: 24px auto 72px;
  width: var(--page-width);
  background: var(--dark);
  color: #fff;
  border-radius: 32px;
  padding: 64px 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.close-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(193,144,255,.85), transparent 68%);
}

.close-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.close-cta p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.72); max-width: 28rem; }
.close-cta .hero-actions { position: relative; z-index: 1; }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background: var(--bg-soft);
  margin-top: 28px;
}

.cta-band h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.04em; }

/* Footer */

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.78);
  padding: 72px 0 0;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.35fr);
  gap: 48px 72px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-word {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.footer-lead {
  margin: 12px 0 22px;
  max-width: 22rem;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,.72);
}

.footer-meta { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.48); }

.footer-navs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.site-footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 12px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-primary,
.site-footer .btn-primary:hover { color: var(--ink-deep); }

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  padding-bottom: 28px;
  border-top: 0;
}
.footer-copy, .footer-note { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.5); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-left: auto; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.62); }

.footer-mark {
  position: relative;
  height: clamp(108px, 13vw, 200px);
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 1.5px, transparent 1.5px 7px),
    linear-gradient(180deg, #c190ff 0%, #6d78f0 46%, #3ec6c8 100%);
}

.footer-mark span {
  position: absolute;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  font-size: clamp(132px, 15vw, 250px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.76;
  color: #fff;
  white-space: nowrap;
}

/* Nav overlay */

.nav-overlay { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.nav-overlay.is-open { visibility: visible; pointer-events: auto; }
.nav-overlay-scrim { position: absolute; inset: 0; background: rgba(14,14,16,.45); opacity: 0; transition: opacity .2s ease; }
.nav-overlay.is-open .nav-overlay-scrim { opacity: 1; }
.nav-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100%;
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform .25s ease;
}
.nav-overlay.is-open .nav-panel { transform: translateX(0); }
.nav-panel-bar { display: flex; justify-content: flex-end; padding: 12px; }
.nav-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.nav-panel-scroll { flex: 1; overflow: auto; }
.nav-sheet { display: none; }
.nav-sheet.is-active { display: block; }
.nav-item, .nav-back, .nav-sub-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.nav-item:hover, .nav-back:hover, .nav-sub-link:hover { background: var(--bg-soft); }
.nav-item-label { flex: 1; }
.nav-sub-title { margin: 0; padding: 16px 18px 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.news-list { display: grid; gap: 10px; }
.news-row, .side-news-row {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.news-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.news-title { font-weight: 650; font-weight: 600; letter-spacing: -0.02em; }
.news-date { color: var(--muted); font-size: 13px; }

.home-board, .home-split, .home-aside, .side-box, .side-stats, .side-prices, .side-actions { display: block; }

@media (max-width: 1200px) {
  .site-header-inner { gap: 12px; }
  .desk-link { padding: 0 8px; font-size: 14px; }
}

@media (max-width: 980px) {
  .desk-nav, .desk-quiet { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 40px; }
  .hero-grid,
  .sol-panel,
  .stats-grid,
  .proof-grid,
  .guide-featured,
  .guide-layout,
  .contact-grid,
  .profile-hero,
  .profile-grid,
  .price-calc,
  .price-split,
  .how-steps,
  .kv-search-top,
  .object-row,
  .listing-card,
  .company-row,
  .footer-inner,
  .close-cta,
  .cta-band {
    grid-template-columns: 1fr;
  }
  .stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .seo-directory { grid-template-columns: 1fr; gap: 28px; }
  .carousel-track-cards > * { flex-basis: calc((100% - 16px) / 2); }
  .carousel-track-guides > * { flex-basis: calc((100% - 16px) / 2); }
  .story-slide { padding: 28px 24px; min-height: 240px; }
  .stats-grid h2 { grid-column: 1 / -1; }
  .offer-grid, .offer-grid-4, .city-strip { grid-template-columns: 1fr 1fr; }
  .why-grid, .card-grid, .guide-grid, .feat-grid, .grant-grid, .price-strip { grid-template-columns: 1fr; }
  .object-media, .listing-avatar { width: 100%; height: 160px; }
  .object-price, .listing-cta { text-align: left; }
  .object-stat { white-space: normal; }
  .contact-card { position: static; }
  .close-cta { padding: 36px 24px; margin-bottom: 36px; }
  .footer-navs { grid-template-columns: 1fr 1fr; }
  .guide-toc { position: static; display: flex; flex-wrap: wrap; gap: 0 14px; }
  .article-cover img { height: 220px; }
  .hero h1 { max-width: none; }
}

@media (max-width: 720px) {
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) {
    grid-template-columns: minmax(0, 1fr);
  }
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3:nth-of-type(1),
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3:nth-of-type(2),
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links:nth-of-type(2),
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > .seo-local-links:nth-of-type(3) {
    grid-column: 1;
    grid-row: auto;
  }
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3 {
    height: auto;
  }
  .seo-page-copy:has(> h2 + p + h3 + .seo-local-links + h3 + .seo-local-links) > h3:nth-of-type(2) {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  :root { --page-gutter: 20px; }
  .topbar-inner { align-items: flex-start; padding: 8px 0; }
  .topbar p { font-size: 12px; }
  .offer-grid, .offer-grid-4, .city-strip, .stats-grid, .footer-navs { grid-template-columns: 1fr; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .carousel-track-cards > *,
  .carousel-track-guides > * { flex-basis: 100%; }
  .offer-card-wide { grid-column: auto; }
  .header-actions .btn { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { margin-left: 0; }
  .footer-note { text-align: left; }
  .section { padding: 56px 0; }
  .kv-search-bottom { flex-wrap: wrap; }
  .kv-advanced { margin-left: 0; }
  .btn-otsi { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .nav-overlay-scrim,
  .nav-panel,
  .offer-media img,
  .sol-panel.is-in .sol-copy,
  .sol-panel.is-in .sol-visual { animation: none; transition: none; }
  .carousel-track,
  .offer-card,
  .guide-card,
  .will-rise { transition: none; transform: none; opacity: 1; }
}
