/* HA Realty v4 (17.10.2026) — по анкете агентства: зелёный мрамор + золото, строго и по-деловому, смешанный фон,
   современный строгий шрифт, средние фото (видно много квартир). Сначала телефон, потом компьютер. */
:root {
  /* 17.10: по просьбе Армена — зелёный как у Ameriabank (#72BF44), только акцентом на белом; тёмный мрамор убран */
  --green: #72BF44; --green-2: #64AC38; --green-text: #3B7D1E; --tint: #EEF7E8;
  --gold: #72BF44; --gold-2: #64AC38; --gold-text: #8FD067;
  --ivory: #F5F6F4; --beige: #EDEFEB; --white: #FFFFFF;
  --ink: #1D201D; --muted: #5C635C; --dark: #1D201D;
  --sage: #3B7D1E;
  --sans: "Montserrat", "Noto Sans Armenian", system-ui, sans-serif;
  --r: 4px;
  --m: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 72px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { padding: 0 var(--m); max-width: 1240px; margin: 0 auto; }

/* мрамор: настоящая фотография камня, перекрашенная в фирменный зелёный */
.marble { background: var(--dark); color: #fff; }

/* ── кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border: 0; border-radius: var(--r); background: var(--green); color: var(--ink); font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background-color 160ms ease, transform 120ms var(--ease);
}
.btn:hover { background: var(--gold-2); }
.btn:active { transform: scale(0.97); }
.btn.green { background: var(--dark); color: #fff; }
.btn.green:hover { background: #333833; }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ── шапка ── */
.hdr { position: sticky; top: 0; z-index: 20; background: #fff; color: var(--ink); box-shadow: 0 1px 0 #E6E9E5; }
.hdr .in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--m); max-width: 1240px; margin: 0 auto; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.logo svg { width: 54px; height: 29px; fill: var(--ink); }
.logo svg path:nth-child(4) { fill: var(--green); }
.ftr .logo { color: #fff; }
.ftr .logo svg { fill: #fff; }
.logo span { font-size: 9px; letter-spacing: 0.42em; margin-top: 2px; padding-left: 0.42em; }
.logo.big svg { width: 96px; height: 51px; }
.logo.big span { font-size: 14px; }
.nav { display: none; }
.acts { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 600; }
.lang a { text-decoration: none; color: var(--muted); padding: 6px 5px; border-radius: 3px; }
.lang a[aria-current="true"] { color: var(--ink); background: var(--tint); }
.ico { position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; justify-content: center; text-decoration: none; color: var(--ink); border-radius: var(--r); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ico.call svg { fill: var(--green-text); stroke: none; }
.call-t { display: none; font-weight: 600; font-size: 14px; }
.fav-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--green); color: var(--ink); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.fav-count:empty { display: none; }
.burger { background: none; border: 0; color: var(--ink); min-width: 40px; min-height: 44px; padding: 0; cursor: pointer; display: grid; place-items: center; }
.burger svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
.drawer { padding: 4px var(--m) 20px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 12px 0; font-size: 18px; text-decoration: none; }
.drawer nav a[aria-current="page"] { color: var(--green-text); }
.lang.big { display: flex; gap: 22px; margin-top: 12px; font-size: 16px; }

/* ── первый экран: фото Еревана с Араратом и одна фраза ── */
.hero { position: relative; min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 30, 23, 0.86) 0%, rgba(8, 30, 23, 0.25) 55%, rgba(8, 30, 23, 0.1) 100%); }
.hero .txt { position: relative; z-index: 1; padding: 0 var(--m) 28px; max-width: 1240px; margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(24px, 6.2vw, 56px); line-height: 1.12; max-width: 17em; text-wrap: balance; }
.hero p { margin-top: 12px; font-size: 16px; max-width: 34em; color: #E9EDE9; }
.hero .credit { position: absolute; z-index: 1; right: 8px; top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }

/* поиск под фото */
.search { position: relative; z-index: 2; margin: -1px 0 0; background: var(--white); padding: 18px var(--m) 20px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--beige); cursor: pointer; font-weight: 500; font-size: 15px; transition: background-color 160ms ease; }
.tab[aria-pressed="true"] { background: var(--dark); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.fields label { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.fields select, .fields input, .form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 4px; min-height: 48px; padding: 0 12px; border: 0; border-radius: var(--r);
  background: var(--beige); font-size: 16px; color: var(--ink);
}
.form textarea { padding: 12px; min-height: 96px; }
.fields .btn { grid-column: 1 / -1; }

/* ── секции ── */
.sec { padding: 40px 0 0; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sec-h h2 { font-size: 22px; }
.sec-h a { font-weight: 600; font-size: 14px; color: var(--green-text); white-space: nowrap; }

/* разделы — быстрые ссылки */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat { display: flex; flex-direction: column; justify-content: space-between; min-height: 84px; padding: 14px; border-radius: var(--r); background: var(--white); text-decoration: none; transition: background-color 160ms ease, transform 120ms var(--ease); }
.cat:active { transform: scale(0.98); }
.cat b { font-size: 16px; font-weight: 600; }
.cat span { font-size: 14px; color: var(--muted); }
.cat.dark { background: var(--green); color: var(--ink); }
.cat.dark span { color: var(--ink); }

/* карточки: средние фото, две в ряд на телефоне */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.card { display: block; text-decoration: none; min-width: 0; }
.card .ph { position: relative; border-radius: var(--r); overflow: hidden; background: var(--beige); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover img { transform: scale(1.04); }
.card .tag { position: absolute; left: 6px; bottom: 6px; background: var(--green); color: var(--ink); font-size: 14px; font-weight: 600; padding: 3px 7px; border-radius: 3px; }
.heart { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; transition: transform 140ms var(--ease); }
.heart:active { transform: scale(0.85); }
.heart svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; }
.heart[aria-pressed="true"] svg { fill: #B23A3A; stroke: #B23A3A; }
.card .tx { display: flex; flex-direction: column; padding-top: 8px; gap: 1px; }
.card .pr { font-size: 17px; font-weight: 700; color: var(--ink); }
.card .alt { font-size: 14px; color: var(--muted); }
.card .pa { font-size: 14px; margin-top: 3px; }
.card .st { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* карта */
.map { height: 380px; border-radius: var(--r); overflow: hidden; background: var(--beige); position: relative; z-index: 0; }
.map-note { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 70ch; }
.map-off { padding: 24px; }
.pin span { display: inline-block; transform: translate(-50%, -100%); background: var(--dark); color: #fff; font: 700 13px/1 var(--sans); padding: 6px 8px; border-radius: 4px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.pop { display: block; width: 180px; text-decoration: none; font: 13px/1.4 var(--sans); color: var(--ink); }
.pop img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; margin-bottom: 6px; }
.pop b { font-size: 15px; color: var(--ink); }

/* калькулятор */
.calc { background: var(--white); border-radius: var(--r); padding: 20px var(--m); }
.calc .row { margin-top: 18px; }
.calc .row:first-of-type { margin-top: 0; }
.calc label { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-weight: 500; }
.calc label output { color: var(--ink); font-weight: 600; }
.calc input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--green-2); height: 28px; }
.calc input[type="number"] { width: 100%; margin-top: 6px; min-height: 48px; padding: 0 12px; border: 0; border-radius: var(--r); background: var(--beige); font-size: 18px; font-weight: 600; }
.res { margin-top: 22px; padding: 18px; border-radius: var(--r); }
.res small { display: block; font-size: 14px; color: var(--ink); }
.res b { display: block; font-size: 30px; line-height: 1.15; margin-top: 2px; }
.res span { display: block; font-size: 14px; color: var(--ink); margin-top: 4px; }
.calc .note { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* «Продать / сдать» */
.sellband { margin-top: 40px; padding: 28px var(--m); }
.sellband h2 { font-size: 22px; max-width: 18em; }
.sellband p { margin-top: 8px; color: var(--muted); max-width: 34em; }
p { max-width: 72ch; }
.sellband .btn { margin-top: 18px; }

/* подвал */
.ftr { margin-top: 48px; }
.ftr .in { padding: 36px var(--m) 28px; max-width: 1240px; margin: 0 auto; }
.ftr .slog { margin-top: 14px; font-size: 15px; color: #fff; max-width: 26em; }
.ftr .cols { display: grid; gap: 16px; margin-top: 24px; }
.ftr .cols b { display: block; font-size: 14px; color: var(--gold-text); font-weight: 600; margin-bottom: 2px; }
.ftr .cols a { text-decoration: none; font-weight: 500; }
.ftr .legal { margin-top: 28px; font-size: 14px; color: #B7C4B8; }

/* нижняя панель на телефоне: телефон всегда под рукой */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--m) calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 #E6E9E5; }
.callbar .btn { min-height: 48px; }

/* ── каталог ── */
.page-h { padding: 22px 0 6px; }
.page-h h1 { font-size: 24px; }
.page-h p { color: var(--muted); margin-top: 4px; }
.bar { position: sticky; top: 64px; z-index: 10; background: var(--ivory); padding: 10px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bar .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
.bar select { min-height: 42px; border: 0; border-radius: var(--r); background: var(--beige); padding: 0 10px; font-size: 14px; margin-left: auto; flex: 1 1 140px; max-width: 260px; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--ivory); overflow: auto; padding: 0 var(--m) 100px; }
.sheet .top { position: sticky; top: 0; background: var(--ivory); display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.sheet .top b { font-size: 20px; }
.sheet .top button { background: none; border: 0; font-weight: 600; color: var(--sage); min-height: 44px; cursor: pointer; }
.sheet .grp { margin-top: 18px; }
.sheet .grp > span { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.sheet .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sheet .go { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: var(--white); display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--green-2); }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 4px; }
.dates label { font-size: 14px; color: var(--muted); font-weight: 500; }
.dates input { display: block; width: 100%; margin-top: 4px; min-height: 48px; border: 0; border-radius: var(--r); background: var(--white); padding: 0 10px; }
.card.busy { opacity: 0.45; }
.card .free { font-size: 14px; font-weight: 600; color: var(--sage); }
.card.busy .free { color: #9B3B3B; }
.empty { padding: 28px 18px; background: var(--white); border-radius: var(--r); text-align: center; color: var(--muted); }

/* ── объект ── */
.gal { position: relative; margin: 0 calc(-1 * var(--m)); }
.gal .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal .strip::-webkit-scrollbar { display: none; }
.gal .strip img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
.gal .count { position: absolute; right: 12px; bottom: 12px; background: rgba(29, 32, 29, 0.8); color: #fff; font-size: 14px; padding: 4px 10px; border-radius: 12px; }
.gal .heart { top: 12px; right: 12px; }
.gal .nav-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.88); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); display: grid; place-items: center; cursor: pointer; }
.gal .nav-arr svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gal .nav-arr:hover { background: #fff; }
.gal .nav-arr.prev { left: 12px; }
.gal .nav-arr.next { right: 12px; }
.gal .strip img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: #0B0D0B; }
.lightbox .lb-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox .lb-strip::-webkit-scrollbar { display: none; }
.lightbox .lb-strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.lightbox .lb-x { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, 0.14); display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-x svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.lightbox .lb-n { position: absolute; top: max(22px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); color: #fff; font-size: 15px; }
.lightbox .nav-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); display: grid; place-items: center; cursor: pointer; }
.lightbox .nav-arr svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox .nav-arr.prev { left: 14px; }
.lightbox .nav-arr.next { right: 14px; }
.thumbs { display: none; }
.obj-h { padding-top: 18px; }
.obj-h .pr { font-size: 28px; font-weight: 700; color: var(--ink); }
.obj-h .alt { color: var(--muted); font-size: 15px; }
.obj-h h1 { font-size: 19px; font-weight: 600; margin-top: 10px; }
.obj-h .st { color: var(--muted); margin-top: 2px; }
.obj-h .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.obj-h .badges span { background: var(--white); border-radius: 3px; padding: 5px 10px; font-size: 14px; font-weight: 500; }
.box { background: var(--white); border-radius: var(--r); padding: 18px var(--m); margin-top: 18px; }
.box h2 { font-size: 18px; margin-bottom: 8px; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 9px 0; }
.spec div + div { border-top: 1px solid var(--beige); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }
.box .addr { margin-top: 10px; font-size: 14px; color: var(--muted); }
.mini-map { height: 220px; border-radius: var(--r); overflow: hidden; margin-top: 12px; position: relative; z-index: 0; }

/* «Продать / сдать» форма */
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { font-size: 14px; color: var(--muted); font-weight: 500; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* появление */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ── планшет и компьютер ── */
@media (min-width: 720px) {
  :root { --m: 28px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .fields { grid-template-columns: repeat(4, 1fr); }
  .fields .btn { grid-column: auto; align-self: end; }
  .search { margin: -56px auto 0; max-width: 1180px; border-radius: var(--r); padding: 22px 24px; }
  .hero { min-height: 82svh; }
  .hero .txt { padding-bottom: 96px; }
  .sec-h h2, .sellband h2 { font-size: 28px; }
  .calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .ftr .cols { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; font-size: 17px; }
  .callbar { display: none; }
  .nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
  .nav a { text-decoration: none; opacity: 0.88; padding: 6px 0; }
  .nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--green-text); box-shadow: inset 0 -2px 0 var(--green); }
  .burger { display: none; }
  .call-t { display: inline; }
  .ico.call { padding: 0 12px; }
  .hdr .in { padding: 12px var(--m); }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .bar { top: 70px; }
  .cat-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
  .sheet { position: sticky; top: 140px; inset: auto; z-index: 1; padding: 4px 20px 20px; background: var(--white); border-radius: var(--r); max-height: calc(100svh - 160px); }
  .sheet[hidden] { display: block !important; }
  .sheet .top { background: var(--white); }
  .sheet .top button, .sheet .go .btn.line, #openF { display: none; }
  .sheet .go { position: static; padding: 18px 0 0; grid-template-columns: 1fr; background: none; }
  .cat-layout .grid { grid-template-columns: repeat(3, 1fr); }
  .obj-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; padding-top: 24px; }
  .gal { margin: 0; }
  .gal .strip img { border-radius: var(--r); }
  .thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
  .thumbs button { padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: pointer; opacity: 0.6; transition: opacity 160ms ease; }
  .thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; }
  .thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .side { position: sticky; top: 90px; }
  .side .acts2 { display: grid; gap: 8px; margin-top: 18px; }
  .obj-h { padding-top: 0; }
  .obj-h .pr { font-size: 34px; }
  .obj-h h1 { font-size: 22px; }
}
@media (max-width: 1023px) { .side .acts2 { display: none; } }

/* 17.10: просьба Армена — верх не белый, а светло-зелёный (фирменный #72BF44) */
.hdr, .hdr.marble { background: var(--green); color: var(--ink); box-shadow: none; }
.hdr .logo svg path:nth-child(4) { fill: #fff; }
.hdr .lang a { color: #24401A; }
.hdr .lang a[aria-current="true"] { background: #fff; color: var(--ink); }
.hdr .ico.call svg { fill: var(--ink); }
.hdr .nav a:hover, .hdr .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.hdr .fav-count { background: var(--ink); color: #fff; }
.drawer nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* светлые блоки вместо тёмного мрамора */
.res.marble { background: var(--green); color: var(--ink); }
.sellband.marble { background: var(--tint); color: var(--ink); }
.ftr .cols b { color: var(--gold-text); }
.ftr .legal { color: #A9B0A9; }
.drawer .lang.big a { font-size: 16px; padding: 8px 10px; }
.callbar .btn.line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cat, .calc, .box, .search, .empty { background: var(--ivory); }
.cat.dark { background: var(--green); }
.res span, .res small, .res b { color: var(--ink); }
@media (max-width: 380px) { .lang a { padding: 6px 3px; font-size: 12.5px; } .ico { min-width: 38px; } }

/* О нас (данные агентства 17.10) */
.about { padding: 48px var(--m) 0; }
.about-h { display: flex; gap: 18px; align-items: flex-start; }
.big-n { font-size: 72px; line-height: 0.9; font-weight: 700; color: var(--green-text); letter-spacing: -0.03em; }
.about-h h2 { font-size: 22px; }
.about-h p { margin-top: 8px; color: var(--muted); }
.about h3 { font-size: 17px; margin: 28px 0 10px; }
.serv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.serv li { background: var(--ivory); border-radius: var(--r); padding: 12px 14px; font-weight: 500; font-size: 15px; border-left: 4px solid var(--green); }
.bank { margin-top: 14px; font-weight: 600; }
.office { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--tint); display: grid; gap: 14px; }
.office div { display: flex; flex-direction: column; gap: 2px; }
.office a:not(.btn) { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.office span { color: var(--muted); font-size: 15px; }
@media (min-width: 720px) {
  .serv { grid-template-columns: repeat(3, 1fr); }
  .about-h h2 { font-size: 28px; }
  .big-n { font-size: 110px; }
  .office { grid-template-columns: 1fr auto; align-items: center; }
  .ftr .cols { grid-template-columns: repeat(3, 1fr); }
}

.ftr .legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* «Сайт работает на платформе Tnak» — тонкая светлая полоска сверху шапки (шапка липкая — полоска всегда видна) */
.tnak-bar { display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; font-size: 11.5px;
  letter-spacing: .02em; color: #5F685F; background: #F7F9F6; text-decoration: none; }
.tnak-bar img { height: 19px; width: auto; display: block; }
.tnak-bar:hover { color: var(--ink); }
