﻿/* aisi.am — «Тёплый шалфей» */
:root {
  --cream: #FBF8F1;
  --sand: #F3ECDF;
  --sage-50: #F2F5EE;
  --sage-100: #E4ECDF;
  --sage-200: #CCDAC4;
  --sage-500: #6F8C62;
  --sage-700: #46613B;
  --sage-800: #344A2C;
  --terra: #B5623C;
  --terra-dark: #964D2D;
  --terra-50: #F8E9E0;
  --ink: #26301F;
  --text: #3A4533;
  --muted: #667260;
  --line: #E2DDD0;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(52, 74, 44, .06), 0 8px 24px rgba(52, 74, 44, .07);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
  --header-h: 68px;
}
html:lang(hy) { --font: 'Noto Sans Armenian', 'Nunito', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-700); text-underline-offset: 3px; }
a:hover { color: var(--terra-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(30px, 5.2vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; border-radius: 6px; }
.icon { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn--lg { padding: 15px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--terra); color: #fff; }
.btn--accent:hover { background: var(--terra-dark); color: #fff; }
.btn--primary { background: var(--sage-700); color: #fff; }
.btn--primary:hover { background: var(--sage-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--sage-800); border-color: var(--sage-200); }
.btn--ghost:hover { border-color: var(--sage-700); color: var(--sage-800); background: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; text-decoration: none; color: var(--sage-800); }
.chip:hover { border-color: var(--sage-500); }

/* topbar */
.topbar { display: none; background: var(--sage-800); color: #E9EFE4; font-size: 14px; }
.topbar__in { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar__item .icon { width: 17px; height: 17px; opacity: .8; }
.topbar__wa:hover { color: #fff; }
.topbar .lang { margin-left: auto; }
@media (min-width: 1200px) { .topbar { display: block; } }

.lang { display: inline-flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang__item { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: inherit; text-decoration: none; }
.lang__item.is-active { background: var(--cream); color: var(--sage-800); }
.lang__item.is-soon { opacity: .45; cursor: default; }
a.lang__item:hover { background: rgba(255,255,255,.15); color: inherit; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sage-800); min-width: 0; }
.brand__logo { width: 42px; height: auto; flex: none; }
.brand__name { font-weight: 800; font-size: 14px; line-height: 1.2; max-width: 190px; }
.header__cta { display: none; margin-left: auto; padding: 10px 18px; font-size: 15px; }
.burger { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--sage-800); cursor: pointer; flex: none; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
@media (min-width: 560px) { .header__cta { display: inline-flex; } .burger { margin-left: 0; } .brand__name { font-size: 15px; max-width: 230px; } }

.nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); padding: 12px var(--gutter) 32px; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; border-top: 1px solid var(--line); }
.nav.is-open { opacity: 1; transform: none; visibility: visible; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 14px 4px; font-size: 19px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav__list a[aria-current="page"] { color: var(--terra); }
.nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; color: var(--sage-800); }
.nav__extra .lang { background: var(--sage-100); }
.nav__extra .lang__item.is-active { background: var(--sage-700); color: #fff; }
.nav__contact { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; text-decoration: none; }
body.nav-open { overflow: hidden; }

@media (min-width: 1200px) {
  :root { --header-h: 76px; }
  .burger { display: none; }
  .nav { position: static; transform: none; visibility: visible; opacity: 1; background: none; padding: 0; overflow: visible; border: 0; margin-left: auto; }
  .nav__list { display: flex; gap: 2px; }
  .nav__list a { font-size: 15px; padding: 8px 9px; border: 0; border-radius: 10px; white-space: nowrap; color: var(--text); }
  .nav__list a:hover { background: var(--sage-100); color: var(--ink); }
  .nav__list a[aria-current="page"] { color: var(--sage-800); background: var(--sage-100); }
  .nav__extra { display: none; }
  .header__cta { margin-left: 8px; }
  .brand { flex: none; }
  .brand__logo { width: 46px; }
  .brand__name { width: 170px; max-width: none; font-size: 14.5px; }
}
@media (min-width: 1280px) { .nav__list a { padding: 8px 11px; } }

/* sections */
.section { padding: 56px 0; }
.section--flush { padding-top: 8px; }
.section--tint { background: var(--sage-50); }
.section__head { max-width: 720px; margin-bottom: 28px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }
.section__more { margin: 28px 0 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } .section--flush { padding-top: 16px; } }

/* hero slider */
.hero { padding: 20px 0 32px; background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: 22px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { order: -1; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage-100); }
.slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--sage-700); background: var(--sage-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.slide__title { font-size: clamp(30px, 5.4vw, 52px); margin-bottom: 14px; }
.slide__lead { font-size: 18px; color: var(--text); max-width: 540px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.slider-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.slider-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--sage-800); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.slider-btn:hover { border-color: var(--sage-500); }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-btn--pause { margin-left: auto; }
.slider-btn .i-play { display: none; }
.hero.is-paused .i-play { display: block; }
.hero.is-paused .i-pause { display: none; }
.dots { display: flex; gap: 4px; }
.dot { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dot::before { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--sage-200); transition: width .3s, background .3s; }
.dot.is-active::before { width: 26px; background: var(--sage-700); }
@media (max-width: 559px) { .slide__actions .btn { width: 100%; } }
@media (min-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .slide { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .slide__media { order: 0; aspect-ratio: 4 / 4.4; }
  .slider-ctrl { width: 52%; }
}

/* cards & grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--help, .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--help, .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 20px; } }

.card { position: relative; display: flex; flex-direction: column; padding: 22px 22px 52px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.card:hover { border-color: var(--sage-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-100); color: var(--sage-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card__icon .icon { width: 26px; height: 26px; }
.card__title { font-size: 19px; margin-bottom: 6px; }
.card__text { color: var(--muted); font-size: 16px; margin: 0; }
.card__meta { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--sage-700); }
.card__more { position: absolute; left: 22px; bottom: 18px; color: var(--terra); }
.card__more .icon { width: 20px; height: 20px; transition: transform .2s; }
.card:hover .card__more .icon { transform: translateX(4px); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 20px 20px 20px 72px; border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-700); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3, .step h2 { font-size: 19px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .step { padding: 70px 20px 22px; }
  .step::before { top: 20px; }
  .steps--page { grid-template-columns: 1fr; max-width: 820px; }
  .steps--page .step { padding: 22px 24px 22px 80px; }
}

/* therapy groups */
.tgroups { display: grid; gap: 16px; }
.tgroup { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.tgroup h3 { font-size: 17px; color: var(--sage-700); text-transform: none; }
.tgroup ul { list-style: none; margin: 0; padding: 0; }
.tgroup li + li { border-top: 1px dashed var(--line); }
.tgroup a { display: block; padding: 9px 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.tgroup a:hover { color: var(--terra-dark); }
@media (min-width: 640px) { .tgroups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tgroups { grid-template-columns: repeat(4, 1fr); } }

/* trust */
.trust__item { display: flex; gap: 16px; align-items: flex-start; padding: 6px 0; }
.trust__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--terra-50); color: var(--terra-dark); display: inline-flex; align-items: center; justify-content: center; }
.trust__item h3 { font-size: 18px; margin-bottom: 4px; }
.trust__item p { margin: 0; color: var(--muted); font-size: 16px; }
.grid--3.trust { row-gap: 26px; }

/* team */
.grid--team { grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .grid--team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--team { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.mini-person { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.mini-person img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; margin-bottom: 12px; transition: transform .2s; }
.mini-person:hover img { transform: scale(1.02); }
.mini-person__name { font-weight: 800; color: var(--ink); line-height: 1.3; }
.mini-person__role { font-size: 14px; color: var(--muted); line-height: 1.4; }

.team-list { display: grid; gap: 20px; }
.person { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.person__photo { width: 100%; max-width: 280px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.person__name { font-size: 22px; margin-bottom: 2px; }
.person__role { color: var(--sage-700); font-weight: 700; margin-bottom: 10px; }
.person__edu-h { font-size: 16px; margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sage-100); color: var(--sage-800); }
.edu { padding-left: 18px; margin: 0; color: var(--muted); font-size: 15.5px; }
.edu li + li { margin-top: 6px; }
@media (min-width: 768px) { .person { grid-template-columns: 220px 1fr; padding: 24px; gap: 28px; } }

/* space */
.space { display: grid; gap: 24px; align-items: center; }
.space__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.space__photos img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.space__photos img:nth-child(2) { margin-top: 28px; }
@media (min-width: 900px) { .space { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* prices */
.prices-teaser { display: grid; gap: 24px; align-items: start; }
.price-list { margin: 0; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 6px 20px; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; align-items: baseline; }
.price-list div + div { border-top: 1px solid var(--line); }
.price-list dt { color: var(--text); }
.price-list dd { margin: 0; font-weight: 800; color: var(--ink); white-space: nowrap; }
@media (min-width: 900px) { .prices-teaser { grid-template-columns: 1fr 1fr; gap: 56px; } }

.table-wrap { margin-bottom: 28px; }
.ptable { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ptable__h { font-size: 22px; margin-bottom: 12px; }
.ptable th, .ptable td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable thead th { background: var(--sage-50); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ptable tbody th { font-weight: 600; }
.ptable tbody th a { color: var(--ink); text-decoration: none; }
.ptable tbody th a:hover { color: var(--terra-dark); text-decoration: underline; }
.ptable td { white-space: nowrap; }
.ptable td:last-child { font-weight: 800; color: var(--ink); text-align: right; }
.ptable thead th:last-child { text-align: right; }
@media (max-width: 599px) {
  .ptable thead { display: none; }
  .ptable, .ptable tbody { display: block; }
  .ptable tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable th, .ptable td { padding: 0; border: 0; }
  .ptable tbody th { grid-column: 1 / -1; }
  .ptable td:nth-of-type(1) { color: var(--muted); }
}

/* faq */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .2s; color: var(--sage-700); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 18px 6px; color: var(--text); }

/* page head */
.phead { padding: 22px 0 28px; background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); position: relative; }
.phead .lead { font-size: 19px; max-width: 760px; color: var(--text); }
.phead__icon { position: absolute; right: var(--gutter); top: 64px; width: 64px; height: 64px; border-radius: 18px; background: var(--sage-100); color: var(--sage-700); display: none; align-items: center; justify-content: center; }
.phead__icon .icon { width: 34px; height: 34px; }
@media (min-width: 900px) { .phead { padding: 30px 0 44px; } .phead .container { position: relative; } .phead__icon { display: inline-flex; top: 52px; } }
.phead--center { text-align: center; padding: 80px 0; }
.phead--center .lead { margin-left: auto; margin-right: auto; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--sage-200); }
.crumbs a { color: var(--muted); }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.facts div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 14px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 800; color: var(--ink); }

/* content layout */
.layout { display: grid; gap: 32px; }
.prose { max-width: 720px; min-width: 0; }
.prose h2 { font-size: clamp(22px, 2.8vw, 27px); margin-top: 1.5em; }
.prose > h2:first-child { margin-top: 0; }
.ticks, .dots-list, .numbered { padding: 0; margin: 0 0 1.2em; list-style: none; }
.ticks li, .dots-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346613B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dots-list li::before { content: ''; position: absolute; left: 7px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 40px; margin-bottom: 12px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sage-100); color: var(--sage-800); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.notice { display: flex; gap: 14px; background: var(--terra-50); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.notice > .icon { color: var(--terra-dark); width: 26px; height: 26px; margin-top: 2px; }
.notice h3 { font-size: 17px; margin-bottom: 4px; }
.notice p:last-child { margin-bottom: 0; }
.notice--soft { background: var(--sage-50); border: 1px solid var(--sage-100); }
.notice--soft > .icon { color: var(--sage-700); }

.aside { display: grid; gap: 16px; align-content: start; }
.aside__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.aside__box .facts { margin: 0 0 16px; }
.aside__box .facts div { background: var(--sage-50); border: 0; }
.aside__h { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 10px; }
.aside__list { list-style: none; margin: 0; padding: 0; }
.aside__list li { padding: 8px 0; border-top: 1px dashed var(--line); }
.aside__list li:first-child { border-top: 0; padding-top: 0; }
.aside__list a { font-weight: 700; text-decoration: none; color: var(--ink); display: block; }
.aside__list a:hover { color: var(--terra-dark); }
.aside__list span { font-size: 14px; color: var(--muted); }
.aside__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.aside__people a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); }
.aside__people img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.aside__people strong { display: block; color: var(--ink); line-height: 1.3; }
.aside__people small { color: var(--muted); font-size: 13.5px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } .aside { position: sticky; top: calc(var(--header-h) + 20px); } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--sage-100); color: var(--sage-800); font-weight: 700; font-size: 15px; text-decoration: none; }
.pill:hover { background: var(--sage-200); color: var(--ink); }

.group-h { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 18px; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.value { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.value p { margin: 0; color: var(--muted); font-size: 16px; }

.cta-band { background: var(--sage-700); color: #fff; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.cta-band p { margin: 0; font-size: 19px; font-weight: 700; max-width: 640px; }
@media (min-width: 768px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 40px; } }

/* contacts */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card h2 { font-size: 20px; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sage-100); color: var(--sage-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.contact-links a:hover { color: var(--terra-dark); }
.contact-links .icon { color: var(--sage-700); }

/* booking */
.booking { background: var(--sage-800); color: #E9EFE4; padding: 56px 0; }
.booking__in { display: grid; gap: 32px; }
.booking h2 { color: #fff; }
.booking__intro p { color: #D8E2D1; }
.booking__or { margin-top: 20px; font-weight: 700; color: #fff !important; }
.booking__links { display: flex; flex-wrap: wrap; gap: 10px; }
.booking__links .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.booking__links .chip:hover { background: rgba(255,255,255,.18); }
.booking__facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.booking__facts li { display: flex; gap: 10px; align-items: center; }
.booking__facts .icon { opacity: .75; }
@media (min-width: 900px) { .booking { padding: 80px 0; } .booking__in { grid-template-columns: .9fr 1.1fr; gap: 56px; } }

.form { background: var(--cream); color: var(--text); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { grid-column: 1 / -1; min-width: 0; border: 0; margin: 0; padding: 0; }
.field--half { grid-column: span 2; }
@media (min-width: 560px) { .form { padding: 32px; } .field--half { grid-column: span 1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; padding: 0; }
.req { color: var(--terra); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346613B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-500); box-shadow: 0 0 0 3px var(--sage-100); }
.field.has-error input, .field.has-error .check span::before { border-color: var(--terra); }
.field__err { margin: 6px 0 0; color: var(--terra-dark); font-size: 14px; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.field--ways { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.field--ways legend { width: 100%; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; }
.radio input:checked + span { border-color: var(--sage-700); background: var(--sage-100); color: var(--sage-800); }
.radio input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 2px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 14.5px !important; color: var(--muted) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sage-700); flex: none; }
.form .btn { grid-column: 1 / -1; }
.form__status { grid-column: 1 / -1; background: var(--terra-50); border-radius: var(--radius-sm); padding: 16px; }
.form__status p { color: var(--ink); font-weight: 600; margin: 0; }
.form__status .btn { margin-top: 12px; }
.form__status[data-state="sending"] { background: var(--sage-50); }
.form__status[data-state="sent"] { background: var(--sage-100); }
.form .sq-hp { position: absolute; }
.form { position: relative; }

/* screening */
.sq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
@media (min-width: 768px) { .sq { padding: 36px; } }
.sq-screen > .btn { margin-top: 8px; }
.sq-meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sage-700); background: var(--sage-50); padding: 6px 14px; border-radius: 999px; }
.sq-meta .icon { width: 18px; height: 18px; }
.sq-error { color: var(--terra-dark); font-weight: 700; }
.sq-progress { height: 8px; border-radius: 999px; background: var(--sage-100); overflow: hidden; margin-bottom: 16px; }
.sq-progress span { display: block; height: 100%; width: 0; background: var(--sage-700); border-radius: 999px; transition: width .3s ease; }
.sq-count { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.sq-question { font-size: clamp(21px, 3vw, 26px); min-height: 3.7em; margin-bottom: 18px; }
.sq-question:focus { outline: none; }
.sq-options { display: grid; gap: 10px; margin-bottom: 18px; }
@media (min-width: 640px) { .sq-options { grid-template-columns: repeat(2, 1fr); } }
.sq-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font: inherit; padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; min-height: 64px; }
.sq-opt:hover { border-color: var(--sage-500); }
.sq-opt[aria-pressed="true"] { border-color: var(--sage-700); background: var(--sage-100); }
.sq-opt__label { font-weight: 800; font-size: 17px; }
.sq-opt__hint { font-size: 14px; color: var(--muted); }
.sq-form { background: none; padding: 0; }
.sq-form h2 { margin-bottom: 4px; }
.sq-form__back { justify-self: start; }
.sq { position: relative; }
.sq-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sq-status { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 22px; background: var(--sage-50); border: 1px solid var(--sage-100); }
.sq-status p { margin: 0; font-weight: 700; color: var(--ink); }
.sq-status[data-state="sent"] { background: var(--sage-100); border-color: var(--sage-200); }
.sq-status[data-state="error"] { background: var(--terra-50); border-color: #EBCDBD; }
.sq-status__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sq-cards { display: grid; gap: 12px; margin: 20px 0; }
.sq-card { border: 1px solid var(--line); border-left: 6px solid var(--band); border-radius: var(--radius-sm); padding: 16px 18px; --band: var(--sage-500); }
.sq-band-0 { --band: #8FB287; }
.sq-band-1 { --band: #D9B45A; }
.sq-band-2 { --band: #D98A4E; }
.sq-band-3 { --band: #B5503C; }
.sq-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; align-items: baseline; }
.sq-card__head h3 { font-size: 17px; margin: 0; }
.sq-badge { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--band); color: #fff; white-space: nowrap; }
.sq-band-0 .sq-badge, .sq-band-1 .sq-badge { color: var(--ink); }
.sq-bar { height: 8px; border-radius: 999px; background: var(--sage-50); margin: 12px 0 10px; overflow: hidden; }
.sq-bar span { display: block; height: 100%; background: var(--band); border-radius: 999px; }
.sq-card__text { margin: 0; font-size: 15.5px; color: var(--text); }
.sq-flag { margin: 8px 0 0; font-size: 14.5px; font-weight: 700; color: var(--terra-dark); }
.sq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 559px) { .sq-actions .btn, .sq-screen > .btn--lg { width: 100%; } }
.aside__cta { display: block; margin-top: 10px; }

/* blog */
.post-card { padding: 0 0 52px; overflow: hidden; }
.post-card > :not(.post-card__img) { margin-left: 22px; margin-right: 22px; }
.post-card__img { display: block; aspect-ratio: 16 / 10; background: var(--sage-100); margin-bottom: 16px; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card:not(:has(.post-card__img)) { padding-top: 22px; }
.post-card__date { display: block; font-size: 14px; font-weight: 700; color: var(--sage-700); margin-bottom: 6px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.pager__num { font-weight: 700; color: var(--muted); }
.post__date { font-weight: 700; color: var(--sage-700); margin-bottom: 8px; }
.post__draft { display: inline-block; background: var(--terra-50); color: var(--terra-dark); font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.post__cover { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.post__cover img, .post-figure img { width: 100%; height: auto; }
.post__body { max-width: none; }
.post__body h2 { margin-top: 1.6em; }
.post__body ul, .post__body ol { padding-left: 22px; margin: 0 0 1.2em; }
.post__body li + li { margin-top: 6px; }
.post__body blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sage-200); color: var(--muted); }
.post-figure { margin: 1.8em 0; }
.post-figure img { border-radius: var(--radius-sm); }
.post-figure figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.post__back { margin-top: 36px; }

/* materials */
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.file { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.file__ext { width: 52px; height: 52px; border-radius: 14px; background: var(--terra-50); color: var(--terra-dark); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.file__body h3 { font-size: 18px; margin-bottom: 4px; }
.file__body p { margin: 0 0 4px; color: var(--muted); font-size: 15.5px; }
.file__meta { font-size: 14px !important; font-weight: 700; }
.file__btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .file { grid-template-columns: auto 1fr auto; } .file__btn { grid-column: auto; } }

/* footer */
.footer { background: var(--ink); color: #C9D2C2; padding: 48px 0 24px; font-size: 15.5px; }
.footer a { color: #E8EEE3; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; }
.brand--footer { color: #fff; }
.brand--footer .brand__logo { background: var(--cream); border-radius: 10px; padding: 4px; width: 50px; }
.footer__tag { margin: 14px 0 8px; color: #E8EEE3; }
.footer__note { font-size: 14px; color: #9EA99A; }
.footer__h { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #9EA99A; margin-bottom: 12px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contacts .icon { width: 19px; height: 19px; margin-top: 3px; opacity: .7; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: rgba(255,255,255,.16); }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #9EA99A; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; } }
