@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-wght.f6d31671339d.woff2") format("woff2 supports variations"),
    url("../fonts/Vazirmatn-wght.f6d31671339d.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #fff;
  --surface-muted: #eef5f4;
  --surface-accent: #e1f3f0;
  --ink: #13242c;
  --muted: #5d6b76;
  --line: #dce5e8;
  --line-strong: #c8d7db;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-soft: #e1f3f0;
  --amber: #b87900;
  --amber-soft: #fff3d4;
  --blue: #255e91;
  --green: #0f766e;
  --red: #b42318;
  --red-soft: #fee4e2;
  --shadow-sm: 0 1px 2px rgba(19, 36, 44, 0.06);
  --shadow: 0 12px 34px rgba(19, 36, 44, 0.1);
  --radius: 8px;
  --shell: 1180px;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-ltr {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -10rem;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body.is-home .site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 30, 36, 0.66), rgba(8, 30, 36, 0));
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

body.is-home.has-solid-header .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(19, 36, 44, 0.08);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.header-menu {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.menu-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

body.is-home .menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
  backdrop-filter: blur(12px);
}

body.is-home.has-solid-header .menu-toggle {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line-strong);
  color: var(--ink);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 14px rgba(15, 118, 110, 0.22);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

body.is-home .brand-mark {
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.is-home.has-solid-header .brand-mark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(15, 118, 110, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.25;
  transition: color 180ms ease;
}

body.is-home .brand small {
  color: rgba(255, 255, 255, 0.74);
}

body.is-home.has-solid-header .brand small {
  color: var(--muted);
}

.main-nav,
.header-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav {
  justify-content: center;
}

.main-nav a,
.site-footer nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.85rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: var(--radius);
  transition: background 180ms ease, color 180ms ease;
}

body.is-home .main-nav a {
  color: rgba(255, 255, 255, 0.9);
}

body.is-home.has-solid-header .main-nav a {
  color: var(--ink);
}

.main-nav a:hover,
.site-footer nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

body.is-home .main-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.is-home.has-solid-header .main-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.header-actions {
  justify-content: end;
}

.utility-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding-inline: 0.75rem;
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.utility-link:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.utility-link-strong {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.utility-link-strong:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.utility-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
}

.utility-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-home .utility-link {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body.is-home.has-solid-header .utility-link {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

body.is-home .utility-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

body.is-home.has-solid-header .utility-link:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

body.is-home .utility-link-strong {
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
  color: var(--primary-dark);
}

body.is-home.has-solid-header .utility-link-strong {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

body.is-home .utility-link-strong:hover {
  background: #fff;
  color: var(--primary-dark);
}

body.is-home.has-solid-header .utility-link-strong:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.primary-button,
.ghost-button,
.icon-button,
.text-button,
.contact-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.primary-button {
  background: var(--primary);
  color: #fff;
  padding-inline: 1.05rem;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.primary-button:hover {
  background: var(--primary-dark);
  color: #fff;
}

.ghost-button,
.icon-button {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  padding-inline: 0.9rem;
}

.ghost-button:hover,
.icon-button:hover {
  background: var(--surface-muted);
  border-color: #c9c9c9;
}

.text-button,
.contact-link {
  min-height: 36px;
  color: var(--blue);
  padding-inline: 0.15rem;
}

.compact-button {
  min-height: 36px;
  padding-inline: 0.9rem;
  font-size: 0.88rem;
}

.inverse-button {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.inverse-button:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.message-stack {
  padding-block-start: 1rem;
}

.message {
  margin: 0 0 0.55rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.message.success {
  border-color: rgba(15, 118, 110, 0.3);
  background: var(--primary-soft);
}

.hero-band,
.page-band,
.section-band,
.cta-band {
  padding-block: clamp(2rem, 5vw, 4.4rem);
}

.discovery-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #08252b 0%, #0f4f4d 52%, #16484f 100%);
  color: #fff;
  border-bottom: 1px solid var(--line);
  min-height: min(760px, 92vh);
  padding-block-start: clamp(7rem, 13vw, 10.5rem);
  padding-block-end: clamp(3.2rem, 7vw, 6rem);
  display: grid;
  align-items: center;
}

.discovery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 22, 28, 0.18), rgba(6, 22, 28, 0.68)),
    linear-gradient(90deg, rgba(6, 22, 28, 0.3), rgba(6, 22, 28, 0.04) 45%, rgba(6, 22, 28, 0.3));
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.95;
  pointer-events: none;
}

.hero-map-grid {
  position: absolute;
  inset: -12% -6%;
  background:
    radial-gradient(circle at 50% 50%, rgba(225, 243, 240, 0.1), transparent 43%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
  animation: grid-drift 18s linear infinite;
}

.earth-map-stage {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(1680px, 158vw);
  aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 43%, #000 0 48%, rgba(0, 0, 0, 0.74) 64%, transparent 92%);
  mask-image: radial-gradient(ellipse at 50% 43%, #000 0 48%, rgba(0, 0, 0, 0.74) 64%, transparent 92%);
}

.earth-map,
.route-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.earth-map {
  object-fit: contain;
  opacity: 0.66;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.22));
}

.route-lines {
  opacity: 0.74;
  overflow: visible;
}

.route-lines path {
  fill: none;
  stroke: rgba(219, 246, 242, 0.58);
  stroke-width: 2.1;
  stroke-dasharray: 11 16;
  stroke-linecap: round;
  animation: route-flow 13s linear infinite;
}

.route-lines path:nth-of-type(2) {
  animation-duration: 16s;
  opacity: 0.7;
}

.route-lines path:nth-of-type(3) {
  animation-duration: 19s;
  opacity: 0.62;
}

.route-lines path:nth-of-type(4) {
  animation-duration: 22s;
  opacity: 0.56;
}

.route-lines path:nth-of-type(5) {
  animation-duration: 18s;
  opacity: 0.64;
}

.route-lines path:nth-of-type(6) {
  animation-duration: 15s;
  opacity: 0.6;
}

.route-pulse {
  fill: rgba(255, 243, 212, 0.95);
  stroke: rgba(8, 30, 36, 0.42);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 10px rgba(255, 243, 212, 0.7));
}

.pulse-la {
  opacity: 0.82;
}

.pulse-london,
.pulse-vancouver,
.pulse-seoul,
.pulse-moscow {
  opacity: 0.72;
}

.map-city-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(8, 30, 36, 0.7), 0 0 14px rgba(8, 30, 36, 0.58);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.map-label-london {
  --x: 48.7%;
  --y: 18.6%;
}

.map-label-moscow {
  --x: 62.2%;
  --y: 16.4%;
}

.hero-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50% 50% 50% 0;
  background: var(--primary-soft);
  color: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 8px rgba(225, 243, 240, 0.1), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.pin-label {
  position: absolute;
  left: var(--label-x, 20px);
  top: var(--label-y, -38px);
  min-width: max-content;
  display: grid;
  gap: 0;
  padding: 0.22rem 0.44rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(8, 30, 36, 0.36);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transform: rotate(-45deg);
  backdrop-filter: blur(10px);
  text-align: start;
}

.is-rtl .pin-label {
  direction: rtl;
}

.pin-label strong,
.pin-label small {
  min-width: max-content;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.38);
}

.pin-label strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 900;
}

.pin-label small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 760;
}

/* Pin positions use equirectangular lon/lat projection matching the 1200x600 SVG map. */
.pin-vancouver {
  --x: 15.8%;
  --y: 22.6%;
  --label-x: 18px;
  --label-y: -48px;
}

.pin-toronto {
  --x: 28%;
  --y: 25.8%;
  --label-x: 22px;
  --label-y: -12px;
}

.pin-la {
  --x: 17.2%;
  --y: 31.1%;
  --label-x: 18px;
  --label-y: 14px;
}

.pin-london {
  --x: 50%;
  --y: 21.4%;
  --label-x: -116px;
  --label-y: -46px;
}

.pin-moscow {
  --x: 60.5%;
  --y: 19%;
  --label-x: -104px;
  --label-y: -50px;
}

.pin-london .pin-label,
.pin-moscow .pin-label {
  display: none;
}

.pin-tehran {
  --x: 64.3%;
  --y: 30.2%;
  --label-x: 20px;
  --label-y: -42px;
  background: var(--amber-soft);
  box-shadow: 0 0 0 10px rgba(255, 243, 212, 0.1), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.pin-seoul {
  --x: 85.3%;
  --y: 29.1%;
  --label-x: -88px;
  --label-y: 12px;
}

.service-node {
  position: absolute;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon meta";
  column-gap: 0.65rem;
  align-items: center;
  min-width: 184px;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  animation: node-float 6s ease-in-out infinite;
}

.service-node strong {
  grid-area: title;
  font-size: 1rem;
  line-height: 1.2;
}

.service-node small {
  grid-area: meta;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.node-icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
}

.node-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-law {
  inset-inline-start: 10%;
  top: 25%;
}

.node-health {
  inset-inline-end: 10%;
  top: 22%;
  animation-delay: -1.6s;
}

.node-food {
  inset-inline-start: 13%;
  bottom: 13%;
  animation-delay: -3.2s;
}

.node-groom {
  inset-inline-end: 12%;
  bottom: 14%;
  animation-delay: -4.4s;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  min-width: 0;
}

.hero-center {
  margin-inline: auto;
  text-align: center;
  min-width: 0;
}

.hero-copy h1,
.page-intro h1,
.section-heading h1,
.profile-main h1,
.prose-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4.65vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-statement {
  max-width: 740px;
  margin: 0.72rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2.1vw, 1.34rem);
  font-weight: 760;
  line-height: 1.7;
}

.hero-center .search-panel {
  margin-block-start: 1.15rem;
  margin-inline: auto;
}

.hero-lead,
.profile-lead,
.section-heading p,
.page-intro p,
.cta-inner p,
.onboarding-panel p {
  color: var(--muted);
  max-width: 68ch;
}

.discovery-hero .eyebrow,
.discovery-hero .hero-lead {
  color: rgba(255, 255, 255, 0.86);
}

.discovery-hero .hero-lead {
  margin: 0.7rem auto 1.2rem;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(230px, 1.12fr) minmax(230px, 1fr) 156px;
  gap: 0;
  align-items: stretch;
  width: min(100%, 900px);
  min-width: 0;
  min-height: 66px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-panel > * {
  min-width: 0;
}

.field-shell,
.form-field {
  display: grid;
  gap: 0.32rem;
}

.search-panel .field-shell {
  gap: 0;
  min-width: 0;
  text-align: start;
  border-inline-end: 1px solid var(--line);
}

.is-rtl .search-panel .field-shell {
  border-inline-end: 0;
  border-inline-start: 1px solid var(--line);
}

.search-panel .field-shell:last-of-type {
  border-inline-end: 0;
  border-inline-start: 0;
}

.field-label,
.field-shell > span:first-child,
.form-field label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.search-panel .field-label,
.search-panel .field-shell > span:first-child {
  display: block;
  min-width: 0;
  padding: 0.58rem 1rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-field {
  position: relative;
}

.location-control {
  display: block;
}

.search-input,
.field-control,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0.68rem 0.78rem;
}

.search-panel .search-input {
  border: 0;
  border-radius: 0;
  min-width: 0;
  min-height: 46px;
  padding: 0.34rem 1rem 0.74rem;
  line-height: 1.25;
}

.location-suggestions {
  position: absolute;
  z-index: 35;
  inset-block-start: calc(100% + 0.35rem);
  inset-inline: 0.55rem;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.location-option {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.48rem;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem 0.62rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.is-rtl .location-option {
  justify-content: end;
}

.location-option:hover,
.location-option.is-located {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.location-option:disabled {
  cursor: wait;
  opacity: 0.72;
}

.location-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.location-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-input:focus,
.field-control:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.search-panel .search-input:focus {
  box-shadow: inset 0 -2px 0 var(--primary);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 100%;
  border-radius: 0;
  border-start-end-radius: var(--radius);
  border-end-end-radius: var(--radius);
  padding-inline: 1rem;
  font-size: 0.98rem;
  white-space: nowrap;
}

.search-submit-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.search-submit-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

textarea.field-control,
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.4rem;
}

.form-field li label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.62rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}

.form-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: auto;
}

.popular-row,
.chip-row,
.card-actions,
.contact-grid,
.owner-actions,
.detail-list,
.badge-row,
.badge-stack,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.popular-row {
  margin-block-start: 0.85rem;
  justify-content: center;
}

.section-band {
  background: var(--surface);
}

.alt-band,
.page-band {
  background: var(--bg);
}

.compact-page {
  padding-block-end: 1rem;
}

.section-heading,
.page-intro {
  margin-block-end: 1.15rem;
}

.search-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.search-heading > p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
}

.page-intro {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.page-intro h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.intro-query {
  margin: 0;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}

.section-heading h2,
.trust-panel h2,
.profile-contact h2,
.profile-sections h2,
.country-group h2,
.dashboard-nav h1,
.compact-heading h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.28rem, 2.4vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.compact-heading {
  margin-block-end: 0.8rem;
}

.inline-heading,
.cta-inner,
.listing-card-top,
.owner-listing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.two-column,
.profile-grid,
.profile-sections,
.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(1rem, 3vw, 1.6rem);
}

.align-start {
  align-items: start;
}

.category-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.8rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 0.8rem;
}

.shortcut-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.wide-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.category-tile,
.listing-card,
.trust-panel,
.filter-panel,
.profile-contact,
.trust-box,
.form-surface,
.metric,
.owner-listing,
.history-item,
.country-group,
.onboarding-panel,
.timeline-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.category-tile {
  min-height: 142px;
  display: grid;
  align-content: start;
  justify-items: stretch;
  text-align: start;
  gap: 0.55rem;
  padding: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-tile:hover,
.location-strip a:hover,
.listing-card:hover,
.owner-listing:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.category-tile:hover {
  transform: translateY(-2px);
}

.category-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
}

.category-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 19px;
  color: var(--primary);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #e2f4f0, #f9fffd);
  box-shadow:
    inset 0 -10px 22px rgba(15, 118, 110, 0.08),
    0 8px 22px rgba(19, 36, 44, 0.06);
}

.category-icon svg {
  width: 35px;
  height: 35px;
  overflow: visible;
}

.category-icon--lawyers {
  color: #9d3f12;
  border-color: rgba(157, 63, 18, 0.18);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #fff1d8, #fffaf1);
}

.category-icon--doctors {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.2);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #dff7f3, #f7fffd);
}

.category-icon--restaurants {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.18);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #ffe5df, #fff8f5);
}

.category-icon--barbershops {
  color: #255e91;
  border-color: rgba(37, 94, 145, 0.18);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #e4effb, #f8fbff);
}

.category-icon--shopping {
  color: #7a4b00;
  border-color: rgba(184, 121, 0, 0.2);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #fff2c7, #fffaf0);
}

.category-icon--auto {
  color: #155e75;
  border-color: rgba(21, 94, 117, 0.2);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #dff5fb, #f6fcff);
}

.category-icon--financial-advisors {
  color: #26734d;
  border-color: rgba(38, 115, 77, 0.2);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #e1f6e9, #f7fff9);
}

.category-icon--real-estate {
  color: #6b4e16;
  border-color: rgba(107, 78, 22, 0.2);
  background:
    radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #f4ead3, #fffaf0);
}

.category-tile strong,
.listing-card h3,
.owner-listing h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.34;
}

.category-tile > span:not(.category-card-top),
.listing-summary,
.trust-line,
.detail-list,
.owner-listing p,
.history-item p,
.listing-meta,
.country-group p {
  color: var(--muted);
}

.category-tile small,
.location-strip small {
  width: max-content;
  min-width: 34px;
  min-height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-accent);
  color: var(--primary);
  font-weight: 900;
  padding-inline: 0.55rem;
}

.trust-panel,
.filter-panel,
.profile-contact,
.form-surface,
.onboarding-panel,
.timeline-panel {
  padding: 1rem;
}

.business-cta-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-block-end: 1rem;
}

.business-visual-mini {
  min-height: 178px;
  display: grid;
  place-items: center;
  gap: 0.25rem;
  margin-block-end: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(15, 118, 110, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.1) 1px, transparent 1px),
    var(--primary-soft);
  background-size: 34px 34px;
  color: var(--primary-dark);
  text-align: center;
}

.business-visual-mini span {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.business-visual-mini small {
  color: var(--muted);
  font-weight: 850;
}

.filter-head h2,
.filter-panel h2 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.location-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(176px, 1fr);
  gap: 0.7rem;
  overflow-x: auto;
  padding-block-end: 0.25rem;
}

.location-strip.wrap {
  grid-auto-flow: initial;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  overflow: visible;
}

.location-strip a {
  min-height: 104px;
  display: grid;
  gap: 0.24rem;
  align-content: center;
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.location-strip span {
  color: var(--muted);
}

.location-country,
.country-heading,
.country-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.location-country {
  min-width: 0;
}

.location-country > span:last-child {
  min-width: 0;
}

.city-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0.8rem;
}

.city-search-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.city-search-card-head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.city-search-card-head strong {
  display: block;
  line-height: 1.25;
}

.city-search-card-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.city-search-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.city-search-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink);
  padding-inline: 0.68rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.city-search-chip:hover {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(15, 118, 110, 0.25);
}

.country-heading {
  margin-block-end: 0.75rem;
}

.country-flag {
  width: 28px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(19, 36, 44, 0.14);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(19, 36, 44, 0.08);
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-flag-code {
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.listing-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.listing-card.sponsored-card {
  border-color: #f3c19d;
  background: linear-gradient(180deg, #fff, #fffaf6);
}

.listing-thumb {
  display: block;
  width: 148px;
  height: 148px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-accent);
}

.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.18)),
    #fff;
  color: var(--primary);
  font-size: 3rem;
  font-weight: 900;
}

.listing-body {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.listing-card-title {
  min-width: 0;
}

.listing-card h3 a {
  display: inline-block;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.9rem;
}

.listing-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin-inline: 0.25rem 0.45rem;
  border-radius: 999px;
  background: var(--line-strong);
  vertical-align: middle;
}

.badge-stack {
  justify-content: end;
  align-self: start;
}

.sponsored-badge,
.trust-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding-inline: 0.6rem;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.sponsored-badge {
  background: var(--amber-soft);
  color: #8a3700;
  border: 1px solid #ffc287;
}

.trust-badge.checked {
  background: #e6f6ef;
  color: var(--green);
}

.trust-badge.neutral {
  background: var(--surface-muted);
  color: var(--muted);
}

.trust-badge.pending {
  background: var(--amber-soft);
  color: #8a3700;
}

.chip,
.detail-list span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  padding-inline: 0.68rem;
  color: var(--ink);
  font-weight: 760;
  font-size: 0.88rem;
}

.trust-line {
  margin: 0;
  font-size: 0.9rem;
}

.listing-stack,
.dashboard-list,
.country-stack,
.history-list {
  display: grid;
  gap: 0.8rem;
}

.disclosure-actions {
  display: flex;
  justify-content: center;
  margin-block-start: 0.95rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0.8rem;
}

.activity-item {
  min-width: 0;
}

.activity-item .listing-card {
  height: 100%;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.78rem;
}

.activity-item .listing-thumb {
  width: 96px;
  height: 96px;
}

.activity-item .listing-body {
  gap: 0.42rem;
}

.activity-item .listing-card-top {
  align-items: start;
  gap: 0.55rem;
}

.activity-item .listing-card h3,
.activity-item .listing-card h3 a {
  font-size: 1rem;
  line-height: 1.28;
}

.activity-item .listing-meta {
  font-size: 0.82rem;
}

.activity-item .listing-summary {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.activity-item .chip-row,
.activity-item .trust-line,
.activity-item .card-actions .contact-link {
  display: none;
}

.activity-item .card-actions {
  margin-block-start: auto;
}

.activity-item .card-actions .text-button {
  min-height: 28px;
  font-size: 0.82rem;
}

.activity-item .sponsored-badge,
.activity-item .trust-badge {
  min-height: 24px;
  padding-inline: 0.48rem;
  font-size: 0.68rem;
}

.compact-stack .listing-card {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.75rem;
  box-shadow: none;
}

.compact-stack .listing-thumb {
  width: 92px;
  height: 92px;
}

.results-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 330px;
  gap: 1rem;
  align-items: start;
}

.filter-panel,
.profile-contact,
.dashboard-nav,
.results-map {
  position: sticky;
  top: 88px;
}

.map-panel {
  margin-block-end: 1rem;
}

.map-surface {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 115, 187, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 115, 187, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 27% 32%, rgba(15, 118, 110, 0.18), transparent 18%),
    radial-gradient(circle at 70% 66%, rgba(184, 121, 0, 0.14), transparent 16%),
    #eef5f4;
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
}

.map-pin {
  position: absolute;
  inset-inline-start: var(--x, 50%);
  top: var(--y, 50%);
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(45, 46, 47, 0.24);
}

.is-rtl .map-pin {
  transform: translate(50%, -50%) rotate(45deg);
}

.sponsored-pin {
  background: var(--amber);
}

.single-pin .map-pin {
  --x: 50%;
  --y: 50%;
}

.profile-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  max-height: 330px;
  overflow: hidden;
  background: var(--line);
}

.profile-gallery img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.profile-hero {
  padding-block: clamp(1.5rem, 4vw, 2.7rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.profile-hero-card {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  align-items: start;
}

.profile-main .badge-row {
  margin-block-end: 0.7rem;
}

.badge-row .eyebrow {
  margin: 0;
}

.profile-contact h2 {
  font-size: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-block: 0.7rem;
}

.profile-sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-sections > section {
  min-height: 180px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.trust-box {
  padding: 0.9rem;
  background: var(--surface-muted);
  border: 0;
  box-shadow: none;
}

.mobile-contact-bar {
  display: none;
}

.form-page {
  max-width: 760px;
}

.form-surface {
  display: grid;
  gap: 0.9rem;
}

.editor-surface,
.verification-surface {
  gap: 1rem;
}

.field-error {
  color: var(--red);
  background: var(--red-soft);
  border-radius: var(--radius);
  padding: 0.35rem 0.5rem;
  margin: 0;
}

.help-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.onboarding-panel {
  align-self: stretch;
}

.step-row {
  display: grid;
  gap: 0.65rem;
  margin-block-start: 1rem;
}

.step-row div {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.step-row span {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.form-actions {
  justify-content: end;
}

.sticky-actions {
  position: sticky;
  bottom: 0.75rem;
  z-index: 5;
  padding: 0.65rem;
  margin-inline: -0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.cta-band {
  background: var(--primary);
  color: #fff;
}

.cta-inner {
  align-items: center;
}

.cta-inner .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 1.6rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-block: 1.4rem 4rem;
}

.dashboard-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.dashboard-nav h1 {
  font-size: 1.25rem;
}

.dashboard-nav nav {
  display: grid;
  gap: 0.28rem;
}

.dashboard-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding-inline: 0.7rem;
  color: var(--ink);
  font-weight: 850;
}

.dashboard-nav a:hover {
  background: var(--surface-accent);
  color: var(--primary);
}

.dashboard-content {
  display: grid;
  gap: 1rem;
}

.dashboard-intro {
  margin-block-end: 0;
}

.metric {
  padding: 1rem;
  border-top: 4px solid var(--primary);
}

.metric span,
.metric small {
  display: block;
  color: var(--muted);
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1.2;
}

.owner-listing {
  padding: 1rem;
}

.progress-track {
  width: min(260px, 100%);
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-muted);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

.data-table th {
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.9rem;
}

.history-item,
.country-group {
  padding: 1rem;
}

.history-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.empty-state {
  padding: 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface-muted);
}

.prose-page {
  max-width: 820px;
}

.page-chips {
  margin-block-end: 1rem;
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(72px, 72px, 0);
  }
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -180;
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-map-grid,
  .route-lines path,
  .service-node {
    animation: none;
  }

  .route-pulse {
    display: none;
  }
}

@media (max-width: 1180px) {
  .results-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .results-map {
    display: none;
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 64px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.65rem;
    padding-block: 0.55rem;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  body.is-home .site-header {
    background: linear-gradient(180deg, rgba(8, 30, 36, 0.76), rgba(8, 30, 36, 0.2));
    backdrop-filter: blur(12px);
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .header-menu {
    flex: 0 0 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.is-home .header-menu {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(8, 30, 36, 0.9);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
  }

  body.is-home.has-solid-header .header-menu {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.is-menu-open .header-menu {
    display: grid;
  }

  .main-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    width: 100%;
  }

  .main-nav a,
  .header-actions a {
    min-height: 40px;
    justify-content: start;
    padding: 0.5rem 0.6rem;
    font-size: 0.88rem;
  }

  .is-rtl .main-nav a,
  .is-rtl .header-actions a {
    justify-content: end;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    width: 100%;
  }

  .utility-link {
    min-width: 0;
    padding-inline: 0.6rem;
  }

  body.is-home .discovery-hero {
    min-height: 760px;
    padding-block-start: 15rem;
  }

  .earth-map-stage {
    top: 44%;
    width: min(1500px, 190vw);
  }

  .service-node {
    min-width: 156px;
    padding: 0.62rem;
  }

  .node-law,
  .node-food {
    inset-inline-start: 4%;
  }

  .node-health,
  .node-groom {
    inset-inline-end: 4%;
  }

  .main-nav,
  .header-actions {
    justify-content: start;
  }

  .is-rtl .main-nav,
  .is-rtl .header-actions {
    justify-content: end;
  }

  .two-column,
  .profile-grid,
  .results-layout,
  .dashboard-shell,
  .profile-hero-card {
    grid-template-columns: 1fr;
  }

  .filter-panel,
  .profile-contact,
  .dashboard-nav,
  .results-map {
    position: static;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
    width: min(100%, 760px);
  }

  .search-panel .primary-button {
    grid-column: 1 / -1;
  }

  .search-submit {
    min-height: 50px;
    border-start-end-radius: 0;
    border-end-start-radius: var(--radius);
    border-end-end-radius: var(--radius);
  }

  .search-panel .field-shell {
    border-block-end: 1px solid var(--line);
    border-inline-end: 0;
  }

  .is-rtl .search-panel .field-shell {
    border-inline-start: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 22px), var(--shell));
  }

  .hero-band,
  .page-band,
  .section-band,
  .cta-band {
    padding-block: 1.45rem;
  }

  body.is-home .discovery-hero {
    min-height: 620px;
    padding-block-start: 5.2rem;
    padding-block-end: 1.6rem;
  }

  .hero-visual {
    opacity: 0.52;
    overflow: hidden;
    contain: paint;
    clip-path: inset(0);
  }

  .earth-map-stage {
    top: 30%;
    width: 100%;
    transform: translate(-50%, -50%) scale(1.86);
  }

  .route-lines {
    opacity: 0.46;
  }

  #route-la,
  #route-vancouver,
  #route-seoul,
  #route-moscow,
  .pulse-la,
  .pulse-vancouver,
  .pulse-seoul,
  .pulse-moscow,
  .pin-la,
  .pin-vancouver,
  .pin-seoul,
  .pin-moscow {
    display: none;
  }

  .hero-pin {
    width: 7px;
    height: 7px;
    border-width: 1px;
    box-shadow: 0 0 0 3px rgba(225, 243, 240, 0.07), 0 5px 14px rgba(0, 0, 0, 0.16);
  }

  .map-city-label {
    display: none;
  }

  .service-node {
    display: none;
  }

  .pin-label {
    display: none;
  }

  .hero-copy h1 {
    max-width: 18rem;
    margin-inline: auto;
    font-size: clamp(1.28rem, 5.65vw, 1.64rem);
    line-height: 1.22;
    text-wrap: balance;
  }

  .hero-copy {
    width: min(calc(100% - 22px), var(--shell));
    padding-inline: 1rem;
  }

  .hero-statement {
    max-width: 17rem;
    margin-block-start: 0.56rem;
    font-size: clamp(0.86rem, 3.45vw, 0.96rem);
    line-height: 1.78;
  }

  .hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .is-rtl .hero-center {
    direction: rtl;
  }

  .hero-center .search-panel {
    position: static;
    left: auto;
    width: min(100%, 22rem);
    margin-inline: auto;
    margin-block-start: 0.82rem;
    transform: none;
  }

  .is-rtl .hero-center .search-panel {
    direction: rtl;
    transform: none;
  }

  .discovery-hero .hero-lead {
    margin-block: 0.55rem 0.8rem;
    font-size: 0.9rem;
  }

  .discovery-hero .eyebrow {
    font-size: 0.72rem;
    margin-block-end: 0.25rem;
  }

  .site-header {
    max-height: 100dvh;
    overflow-y: auto;
  }

  .header-inner {
    min-height: 58px;
    gap: 0.55rem;
    padding-block: 0.45rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .brand strong {
    font-size: 1rem;
  }

  .header-menu {
    gap: 0.35rem;
    padding: 0.45rem;
  }

  .main-nav a,
  .header-actions a {
    min-height: 38px;
    justify-content: start;
    padding: 0.44rem 0.55rem;
    font-size: 0.86rem;
  }

  .utility-link {
    padding-inline: 0.55rem;
    min-height: 38px;
  }

  .utility-icon {
    width: 20px;
    height: 20px;
  }

  .search-panel,
  .profile-sections,
  .metric-grid,
  .page-intro {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .shortcut-category-grid {
    grid-template-columns: 1fr;
  }

  .search-panel {
    display: grid;
    width: min(100%, calc(100vw - 22px));
    max-width: 100%;
    min-width: 0;
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(19, 36, 44, 0.14);
  }

  .search-panel .field-shell {
    min-height: auto;
  }

  .search-panel .field-shell > span:first-child {
    font-size: 0.7rem;
  }

  .search-panel .search-input {
    min-height: 42px;
    padding: 0.3rem 0.75rem 0.55rem;
    font-size: 0.92rem;
  }

  .search-submit {
    min-height: 44px;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .location-control {
    display: block;
  }

  .location-suggestions {
    inset-inline: 0.4rem;
  }

  .location-option {
    min-height: 40px;
    font-size: 0.86rem;
  }

  .popular-row {
    margin-block-start: 0.58rem;
    gap: 0.32rem;
  }

  .popular-row .chip {
    min-height: 28px;
    padding-inline: 0.52rem;
    font-size: 0.78rem;
  }

  .inline-heading,
  .search-heading,
  .cta-inner,
  .listing-card-top,
  .owner-listing,
  .footer-grid,
  .page-intro {
    align-items: stretch;
    flex-direction: column;
  }

  .page-intro {
    display: grid;
  }

  .listing-card,
  .compact-stack .listing-card,
  .activity-item .listing-card {
    grid-template-columns: 1fr;
  }

  .listing-thumb,
  .compact-stack .listing-thumb,
  .activity-item .listing-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .owner-actions,
  .card-actions,
  .contact-grid,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .badge-stack {
    justify-content: start;
  }

  .primary-button,
  .ghost-button,
  .icon-button,
  .text-button,
  .contact-link {
    width: 100%;
  }

  .profile-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .profile-gallery img {
    height: 210px;
  }

  .profile-gallery img:first-child {
    grid-column: 1 / -1;
  }

  .profile-contact {
    display: none;
  }

  .mobile-contact-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.5rem;
    padding: 0.65rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar:empty {
    display: none;
  }
}
