:root {
  --deep-petrol: #123e3b;
  --petrol-dark: #0a302e;
  --moss: #6f8f73;
  --honey: #d6a13d;
  --honey-light: #f2ca6b;
  --sky: #9abfc8;
  --bone: #f5f0e7;
  --paper: #fffdf8;
  --graphite: #202826;
  --muted: #69726f;
  --line: rgba(18, 62, 59, 0.14);
  --warning: #d57846;
  --critical: #c94942;
  --shadow: 0 18px 55px rgba(32, 40, 38, 0.10);
  --shadow-soft: 0 8px 24px rgba(32, 40, 38, 0.08);
  --container: 1520px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--graphite);
  background: var(--bone);
  font-family: "Onest", "Golos Text", "Manrope", Arial, sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(18, 62, 59, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 62, 59, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid var(--honey-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 1000;
  padding: 12px 18px;
  color: white;
  background: var(--deep-petrol);
  border-radius: var(--radius);
  transition: top 180ms ease;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--container), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand { display: inline-flex; align-items: center; width: 172px; height: 54px; overflow: hidden; }
.brand img { width: 158px; height: 54px; object-fit: contain; object-position: left center; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.5vw, 28px); }
.site-nav a, .login-link { font-size: 13px; font-weight: 650; white-space: nowrap; }
.site-nav a { position: relative; padding: 25px 0 23px; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 17px;
  height: 2px;
  background: var(--honey);
  transition: right 180ms ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--deep-petrol);
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}
.icon-button svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }

.button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button.honey { color: #172522; background: var(--honey-light); }
.button.honey:hover { background: #f7d57c; }
.button.petrol { color: white; background: var(--deep-petrol); }
.button.petrol:hover { background: var(--petrol-dark); }
.button.ghost { color: var(--deep-petrol); border-color: rgba(18, 62, 59, 0.3); background: transparent; }
.header-cta { min-height: 44px; padding-inline: 20px; font-size: 13px; }

.search-dialog {
  width: min(620px, calc(100% - 32px));
  padding: 34px;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.search-dialog::backdrop { background: rgba(8, 31, 29, 0.58); backdrop-filter: blur(3px); }
.search-dialog .dialog-close { position: absolute; top: 16px; right: 16px; }
.search-dialog h2 { margin: 4px 0 20px; font-size: 30px; color: var(--deep-petrol); }
.search-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--graphite);
  background: white;
  border: 1px solid rgba(18, 62, 59, 0.22);
  border-radius: 6px;
}
textarea { resize: vertical; }
.quick-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.quick-links a { padding: 8px 12px; background: var(--bone); border-radius: 999px; font-size: 13px; font-weight: 650; }

.page-shell { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.landing-main { padding-bottom: 0; }

.hero {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 22px;
  padding: 38px max(6vw, calc((100vw - var(--container)) / 2 + 32px)) 36px;
  overflow: hidden;
  color: var(--deep-petrol);
  background-image: linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.86) 31%, rgba(255, 253, 248, 0.20) 61%, rgba(9, 44, 40, 0.04) 100%), url('/assets/hero-country-v3.jpg');
  background-size: cover;
  background-position: center 54%;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 45, 41, 0.12));
}
.hero-content { position: relative; z-index: 1; max-width: 720px; align-self: center; }
.hero-kicker, .eyebrow {
  margin: 0 0 8px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(46px, 4.25vw, 70px); line-height: .98; letter-spacing: 0; text-wrap: balance; }
.hero-descriptor { margin: 12px 0 20px; font-size: clamp(22px, 2vw, 30px); font-weight: 520; }
.benefit-list {
  width: min(700px, 100%);
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}
.benefit-list li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; line-height: 1.25; }
.benefit-list svg { width: 30px; height: 30px; stroke-width: 1.7; }
.hero-action-row { display: flex; align-items: center; gap: 20px; }
.hero-action-row .button { min-width: 210px; }
.hero-support { max-width: 265px; margin: 0; color: #3f514d; font-size: 13px; }

.brand-statement {
  position: relative;
  z-index: 1;
  width: 210px;
  min-height: 276px;
  margin-right: 2vw;
  padding: 28px;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: rgba(11, 61, 56, 0.95);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(5, 35, 32, .25);
}
.brand-statement > svg { width: 34px; height: 34px; color: var(--honey-light); }
.brand-statement strong { display: block; margin-bottom: 8px; font-size: 28px; }
.brand-statement p { margin: 0; font-size: 18px; line-height: 1.24; }
.round-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }

.home-composition {
  width: min(var(--container), calc(100% - 64px));
  margin: -12px auto 0;
  position: relative;
  z-index: 5;
}
.service-grid { display: grid; grid-template-columns: 1fr 1.42fr 1.14fr; gap: 10px; align-items: stretch; }
.service-grid > *, .lower-grid > * { min-width: 0; }
.service-block, .lower-block {
  padding: 18px;
  background: rgba(255, 253, 248, .98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.service-heading, .section-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.service-heading h2, .section-heading h2, .lower-block h2 { margin: 0; color: var(--deep-petrol); font-size: clamp(20px, 1.7vw, 28px); line-height: 1.05; }
.service-heading p, .section-heading p, .lower-block p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--deep-petrol); font-size: 12px; font-weight: 750; white-space: nowrap; }
.text-link svg { width: 15px; height: 15px; }

.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 126px; gap: 10px; min-height: 286px; }
.map-canvas {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 68% 68%, rgba(82, 152, 166, .65) 0 4%, transparent 4.4%),
    linear-gradient(36deg, transparent 48%, rgba(255,255,255,.84) 48% 51%, transparent 51%),
    linear-gradient(112deg, transparent 45%, rgba(255,255,255,.72) 45% 48%, transparent 48%),
    linear-gradient(160deg, #b5cfad, #e3d7a4 54%, #9abfc8);
}
.map-canvas::before, .map-canvas::after { content: ""; position: absolute; inset: -12%; opacity: .5; transform: rotate(-11deg); }
.map-canvas::before { background: repeating-linear-gradient(90deg, transparent 0 56px, rgba(255,255,255,.7) 57px 60px); }
.map-canvas::after { transform: rotate(18deg); background: repeating-linear-gradient(0deg, transparent 0 66px, rgba(255,255,255,.62) 67px 70px); }
.map-label { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); min-width: 134px; padding: 10px 13px; display: flex; align-items: center; gap: 7px; color: white; background: var(--deep-petrol); border-radius: 999px; font-size: 12px; font-weight: 750; box-shadow: var(--shadow-soft); }
.map-label svg { width: 17px; }
.map-pin { position: absolute; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--deep-petrol); border: 3px solid white; border-radius: 50%; box-shadow: var(--shadow-soft); }
.map-pin svg { width: 16px; }
.pin-a { left: 15%; top: 17%; }
.pin-b { right: 14%; top: 24%; background: var(--warning); }
.pin-c { left: 18%; bottom: 13%; background: #25866e; }
.pin-d { right: 15%; bottom: 16%; background: #4f7890; }
.category-list { display: flex; flex-direction: column; gap: 7px; }
.category-list a { min-height: 48px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; font-weight: 750; transition: background 180ms ease; }
.category-list a:hover { background: var(--bone); }
.category-list svg { width: 17px; color: var(--deep-petrol); }

.professionals-grid, .offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.profile-card, .offer-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 7px; }
.card-photo { height: 112px; background-size: 310% auto; background-repeat: no-repeat; }
.profile-card:nth-child(1) .card-photo { background-image: url('/assets/professionals-v3.jpg'); background-position: 6% 50%; }
.profile-card:nth-child(2) .card-photo { background-image: url('/assets/professionals-v3.jpg'); background-position: 50% 50%; }
.profile-card:nth-child(3) .card-photo { background-image: url('/assets/professionals-v3.jpg'); background-position: 94% 50%; }
.offer-card:nth-child(1) .card-photo { background-image: url('/assets/together-v3.jpg'); background-position: 6% 52%; }
.offer-card:nth-child(2) .card-photo { background-image: url('/assets/together-v3.jpg'); background-position: 50% 52%; }
.offer-card:nth-child(3) .card-photo { background-image: url('/assets/together-v3.jpg'); background-position: 94% 52%; }
.card-body { padding: 11px; }
.demo-label { display: inline-flex; margin-bottom: 5px; padding: 3px 6px; color: var(--deep-petrol); background: #e6eee5; border-radius: 4px; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.card-body h3 { margin: 0; color: var(--deep-petrol); font-size: 14px; line-height: 1.15; }
.card-body p { margin: 4px 0 8px; color: var(--muted); font-size: 11px; }
.trust-facts { display: grid; gap: 5px; }
.trust-facts span, .interest { display: flex; align-items: center; gap: 5px; color: #445653; font-size: 10px; font-weight: 650; }
.trust-facts svg, .interest svg { width: 13px; height: 13px; color: #28795f; }

.lower-grid { margin-top: 10px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 10px; }
.community-block { min-height: 250px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.community-photo { position: relative; min-height: 212px; overflow: hidden; border-radius: 7px; background: url('/assets/community-v3.jpg') center / cover no-repeat; }
.community-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 54, 50, .1), transparent); }
.feature-list { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.feature-list span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.feature-list svg { width: 20px; color: var(--deep-petrol); }
.ecosystem-block { display: flex; flex-direction: column; }
.channel-grid { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.channel { min-height: 142px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: var(--deep-petrol); background: var(--bone); border: 1px solid var(--line); border-radius: 7px; }
.channel svg { width: 26px; height: 26px; }
.channel strong { display: block; margin-top: 18px; font-size: 14px; }
.channel small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.channel a { margin-top: 10px; font-size: 11px; font-weight: 750; }

.closing-strip {
  width: min(var(--container), calc(100% - 64px));
  min-height: 250px;
  margin: 10px auto 0;
  padding: 36px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background-image: linear-gradient(90deg, rgba(5, 43, 40, .94), rgba(5, 43, 40, .68) 55%, rgba(5, 43, 40, .18)), url('/assets/community-v3.jpg');
  background-size: cover;
  background-position: center 60%;
  border-radius: 8px 8px 0 0;
}
.closing-content { max-width: 710px; }
.closing-content h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 58px); line-height: 1; }
.closing-content p { max-width: 610px; margin: 0 0 20px; color: rgba(255,255,255,.82); font-size: 17px; }
.closing-links { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { color: white; background: #092e2c; }
.footer-inner { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; padding: 28px 0; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 28px; }
.footer-wordmark { color: white; font-size: 30px; font-weight: 850; line-height: 1; }
.footer-brand p { margin: 5px 0 0; color: rgba(255,255,255,.66); font-size: 12px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; }
.footer-nav a { font-size: 12px; font-weight: 650; }
.footer-note { margin: 0; color: rgba(255,255,255,.58); font-size: 11px; text-align: right; }

/* Interior pages */
.page-hero { position: relative; min-height: 300px; display: grid; align-items: end; overflow: hidden; color: white; background-color: var(--deep-petrol); }
.page-hero.photo-home { background-image: linear-gradient(90deg, rgba(7,45,42,.90), rgba(7,45,42,.34)), url('/assets/hero-country-v3.jpg'); background-size: cover; background-position: center; }
.page-hero.photo-people { background-image: linear-gradient(90deg, rgba(7,45,42,.93), rgba(7,45,42,.35)), url('/assets/professionals-v3.jpg'); background-size: cover; background-position: center; }
.page-hero.photo-together { background-image: linear-gradient(90deg, rgba(7,45,42,.93), rgba(7,45,42,.36)), url('/assets/together-v3.jpg'); background-size: cover; background-position: center; }
.page-hero.photo-community { background-image: linear-gradient(90deg, rgba(7,45,42,.93), rgba(7,45,42,.35)), url('/assets/community-v3.jpg'); background-size: cover; background-position: center; }
.page-hero-inner { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 52px 0 44px; }
.page-hero .eyebrow { color: var(--honey-light); }
.page-hero h1 { max-width: 820px; margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: .98; }
.page-hero p { max-width: 700px; margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: 18px; }
.page-main { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 40px 0 72px; }
.page-main.wide { width: min(var(--container), calc(100% - 64px)); }
.intro-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.intro-row h2, .content-section h2 { margin: 0 0 12px; color: var(--deep-petrol); font-size: clamp(28px, 3vw, 42px); line-height: 1.05; }
.intro-row p, .content-section > p { color: var(--muted); font-size: 17px; }
.content-section { margin-top: 46px; }
.content-section:first-child { margin-top: 0; }
.info-card, .form-card, .detail-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.info-card h3, .form-card h2, .detail-card h2, .detail-card h3 { margin-top: 0; color: var(--deep-petrol); }
.plain-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.plain-list li { padding-left: 28px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 15px; height: 15px; background: var(--moss); border-radius: 50%; box-shadow: inset 0 0 0 5px var(--paper); border: 1px solid var(--moss); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { min-height: 190px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.feature-card > svg { width: 30px; height: 30px; color: var(--deep-petrol); }
.feature-card h3 { margin: 24px 0 7px; color: var(--deep-petrol); font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-card .text-link { margin-top: 16px; }
.callout { margin-top: 36px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: white; background: var(--deep-petrol); border-radius: 8px; }
.callout h2, .callout h3 { margin: 0; }
.callout p { margin: 7px 0 0; color: rgba(255,255,255,.72); }

/* Ask */
.ask-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 18px; }
.ask-modes { margin-bottom: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode-button { min-height: 84px; padding: 12px; display: grid; place-items: center; gap: 7px; color: var(--deep-petrol); background: var(--bone); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.mode-button[aria-pressed="true"] { color: white; background: var(--deep-petrol); }
.mode-button svg { width: 23px; height: 23px; }
.form-stack { display: grid; gap: 14px; }
.form-stack label { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.form-note { margin: 0; color: var(--muted); font-size: 12px; }
.demo-panel { min-height: 100%; padding: 28px; color: white; background: var(--deep-petrol); border-radius: 8px; }
.demo-panel h2 { margin: 8px 0 12px; font-size: 30px; }
.demo-panel p { color: rgba(255,255,255,.76); }
.ask-result { scroll-margin-top: 90px; }
.answer-steps { display: grid; gap: 9px; margin: 20px 0; }
.answer-steps a, .answer-steps button { width: 100%; min-height: 50px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: var(--graphite); background: white; border: 0; border-radius: 6px; font-weight: 700; cursor: pointer; }
.answer-steps svg { width: 18px; }
.safety-note { padding: 12px; color: #27423f; background: #eef3ed; border-radius: 6px; font-size: 12px; }

/* Nearby */
.nearby-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 14px; }
.filter-panel { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.filter-panel h2 { margin: 0 0 14px; font-size: 20px; color: var(--deep-petrol); }
.filter-list { display: grid; gap: 7px; }
.filter-button { min-height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 9px; text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.filter-button[aria-pressed="true"] { color: white; background: var(--deep-petrol); }
.filter-button svg { width: 17px; }
.large-map { min-height: 570px; }
.large-map .map-pin { width: 48px; height: 48px; }
.map-status { position: absolute; z-index: 5; top: 16px; left: 16px; padding: 10px 13px; background: rgba(255,255,255,.94); border-radius: 6px; font-weight: 750; }

/* Catalogs */
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.catalog-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.catalog-photo { height: 190px; background-size: 300% auto; background-repeat: no-repeat; }
.catalog-card:nth-child(1) .catalog-photo { background-image: url('/assets/professionals-v3.jpg'); background-position: 6% 50%; }
.catalog-card:nth-child(2) .catalog-photo { background-image: url('/assets/professionals-v3.jpg'); background-position: 50% 50%; }
.catalog-card:nth-child(3) .catalog-photo { background-image: url('/assets/professionals-v3.jpg'); background-position: 94% 50%; }
.catalog-card .catalog-body { padding: 20px; }
.catalog-card h2, .catalog-card h3 { margin: 0; color: var(--deep-petrol); }
.catalog-card p { color: var(--muted); }
.evidence { margin: 14px 0; display: grid; gap: 7px; }
.evidence span { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; }
.evidence svg { width: 16px; color: #28795f; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 20px; }
.profile-gallery { height: 330px; background: url('/assets/professionals-v3.jpg') 8% 50% / 300% auto no-repeat; border-radius: 8px; }
.profile-meta { display: grid; gap: 14px; }
.profile-meta dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.profile-meta dt { color: var(--muted); font-size: 12px; }
.profile-meta dd { margin: 0; font-weight: 700; }
.offer-catalog .catalog-card:nth-child(1) .catalog-photo { background-image: url('/assets/together-v3.jpg'); }
.offer-catalog .catalog-card:nth-child(2) .catalog-photo { background-image: url('/assets/together-v3.jpg'); }
.offer-catalog .catalog-card:nth-child(3) .catalog-photo { background-image: url('/assets/together-v3.jpg'); }

.legal { max-width: 850px; }
.legal h2 { margin-top: 36px; color: var(--deep-petrol); }
.legal p, .legal li { color: #4f5b58; }
.site-toast { position: fixed; right: 20px; bottom: 20px; z-index: 400; max-width: 380px; padding: 14px 17px; color: white; background: var(--deep-petrol); border-radius: 7px; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.site-toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1240px) {
  .header-inner { grid-template-columns: 162px 1fr auto; gap: 14px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 12px; }
  .login-link { display: none; }
  .service-grid { grid-template-columns: 1fr 1.34fr; }
  .together-block { grid-column: 1 / -1; }
  .together-block .offer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .site-header { height: 66px; }
  .header-inner { width: min(100% - 36px, var(--container)); grid-template-columns: 1fr auto auto; }
  .brand { width: 152px; height: 48px; }
  .brand img { width: 146px; height: 48px; }
  .nav-toggle { display: inline-grid; grid-column: 3; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .search-toggle, .login-link { display: none; }
  .header-cta { min-width: 44px; width: 44px; padding: 0; overflow: hidden; color: transparent !important; gap: 0; }
  .header-cta svg { color: #172522; flex: 0 0 auto; }
  .site-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 74px;
    padding: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .hero { min-height: 565px; grid-template-columns: 1fr; padding-inline: 32px; background-image: linear-gradient(90deg, rgba(255,253,248,.96), rgba(255,253,248,.77) 48%, rgba(255,253,248,.12)), url('/assets/hero-country-v3.jpg'); }
  .brand-statement { display: none; }
  .home-composition, .closing-strip, .footer-inner, .page-shell, .page-main, .page-main.wide { width: min(100% - 36px, var(--container)); }
  .service-grid { grid-template-columns: 1fr; }
  .together-block { grid-column: auto; }
  .lower-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-note { text-align: center; }
  .intro-row, .ask-layout, .profile-layout { grid-template-columns: 1fr; }
  .nearby-layout { grid-template-columns: 1fr; }
  .filter-list { grid-template-columns: repeat(3, 1fr); }
  .filter-button { justify-content: center; }
}

@media (max-width: 720px) {
  .hero { min-height: auto; padding: 242px 18px 26px; background-image: linear-gradient(180deg, transparent 0 34%, rgba(255,253,248,.88) 48%, rgba(255,253,248,.98) 68%), url('/assets/hero-country-v3.jpg'); background-position: 68% top; background-size: auto 300px; background-repeat: no-repeat; }
  .hero-content { max-width: none; }
  .hero h1 { font-size: 39px; line-height: 1.02; }
  .hero-descriptor { margin-top: 10px; font-size: 21px; }
  .benefit-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 8px; }
  .benefit-list li { grid-template-columns: 30px 1fr; font-size: 11px; }
  .benefit-list svg { width: 24px; height: 24px; }
  .hero-action-row { align-items: stretch; flex-direction: column; gap: 10px; }
  .hero-action-row .button { width: 100%; }
  .home-composition { margin-top: 0; }
  .service-block, .lower-block { padding: 15px; }
  .service-heading { align-items: stretch; flex-direction: column; }
  .text-link { min-height: 44px; align-self: flex-start; }
  .map-layout { grid-template-columns: 1fr; }
  .category-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .category-list a { justify-content: center; font-size: 10px; }
  .professionals-grid, .offer-grid, .together-block .offer-grid, .catalog-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .profile-card, .offer-card, .catalog-card { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }
  .community-block { grid-template-columns: 1fr; }
  .community-photo { min-height: 190px; grid-row: 1; }
  .channel-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .closing-strip { padding: 28px 20px; }
  .closing-content h2 { font-size: 36px; }
  .page-hero { min-height: 270px; }
  .page-hero-inner { width: calc(100% - 36px); padding: 38px 0 32px; }
  .page-hero h1 { font-size: 40px; }
  .page-hero p { font-size: 16px; }
  .page-main { padding: 28px 0 52px; }
  .card-grid { grid-template-columns: 1fr; }
  .callout { align-items: stretch; flex-direction: column; }
  .callout .button { width: 100%; }
  .ask-modes { grid-template-columns: 1fr; }
  .mode-button { min-height: 58px; display: flex; justify-content: flex-start; padding: 0 16px; }
  .filter-list { grid-template-columns: repeat(2, 1fr); }
  .large-map { min-height: 440px; }
  .profile-gallery { height: 240px; }
  .search-dialog { padding: 28px 20px 20px; }
  .search-row { grid-template-columns: 1fr; }
  .search-row .button { width: 100%; }
  .site-toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 380px) {
  .header-inner { width: calc(100% - 24px); }
  .brand { width: 132px; }
  .brand img { width: 130px; }
  .header-actions { gap: 7px; }
  .hero { padding-inline: 14px; }
  .hero h1 { font-size: 34px; }
  .home-composition, .closing-strip, .footer-inner, .page-main, .page-main.wide { width: calc(100% - 24px); }
  .category-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-list, .channel-grid { grid-template-columns: 1fr; }
  .filter-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
