/* MAYAG — landing (static) */
:root {
  --red: #e30613;
  --red-dark: #b80510;
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #f4f4f4;
  --bg-alt: #fbf8f5;
  --text: #141414;
  --muted: #5c5c5c;
  --line: rgba(10, 10, 10, 0.1);
  --shadow: 0 12px 40px rgba(10, 10, 10, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --content: 1080px;
  --narrow: 680px;
  --header-h: 84px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --focus: 0 0 0 3px rgba(227, 6, 19, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(10, 10, 10, 0.028) 0.7px, transparent 0.8px),
    radial-gradient(rgba(227, 6, 19, 0.018) 0.6px, transparent 0.7px);
  background-size: 18px 18px, 28px 28px;
  background-position: 0 0, 9px 14px;
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 246, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 var(--red);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  border-radius: 10px;
}

.brand:hover .brand__logo {
  filter: brightness(1.06);
  opacity: 0.92;
}

.brand:focus-visible {
  box-shadow: var(--focus);
}

.brand__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand__logo--full {
  height: 68px;
  max-width: min(220px, 42vw);
}

.brand__logo--round {
  height: 58px;
  width: 58px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: stretch;
  justify-content: center;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  min-height: 2.35rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--muted);
  white-space: normal;
  border: 1px solid var(--black);
  border-radius: 5px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.03);
}

.site-nav a.is-active {
  color: var(--red);
  border-color: var(--black);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--red);
}

.header-actions .btn {
  padding: 0.7rem 1.05rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  min-height: 42px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(10, 10, 10, 0.14);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(10, 10, 10, 0.1);
}

.btn:focus-visible {
  box-shadow: var(--focus), 0 8px 18px rgba(10, 10, 10, 0.12);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
}

.btn--telegram {
  background: #229ED9;
  color: var(--white);
}

.btn--telegram:hover {
  background: #1b8bc0;
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: #222;
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--ghost:hover {
  background: var(--black);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--black);
}

.btn--light:hover {
  background: var(--red);
  color: var(--white);
}

.btn--lg {
  min-height: 56px;
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero__panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  overflow: hidden;
}

.hero__logo {
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
}

.hero__lead,
.hero__sub {
  margin: 0 auto 1rem;
  max-width: 38rem;
  color: var(--text);
}

.hero__sub {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid rgba(10, 10, 10, 0.06);
}

.section__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-steps__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.1rem 1.35rem;
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.04);
}

.how-steps__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.55rem;
}

.how-steps__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.3;
}

.how-steps__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.audience-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.audience-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-nav__item:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.07);
}

.audience-nav__item:focus-visible {
  box-shadow: var(--focus);
}

.audience-nav__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9a9a9a;
}

.audience-nav__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.audience-nav__more {
  font-size: 0.88rem;
  color: var(--red);
  font-weight: 600;
}

/* Inner pages */
.page-top {
  padding: 1.35rem 0 0.35rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs a {
  font-weight: 600;
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--red);
}

.breadcrumbs__sep {
  color: #b0b0b0;
}

.breadcrumbs__current {
  font-weight: 700;
  color: var(--text);
}

.page-audience-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.5rem;
}

.page-audience-nav a {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
}

.page-audience-nav a:hover {
  border-color: var(--red);
  color: var(--text);
}

.page-audience-nav a.is-active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 6, 19, 0.06);
}

/* Feature blocks */
.feature-block {
  padding: 3.5rem 0;
}

.feature-block + .feature-block {
  border-top: 1px solid var(--line);
}

.feature-block__head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.feature-block__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--red);
}

.feature-block__subtitle {
  margin: 0;
  color: var(--muted);
}

.feature-block__note {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-weight: 600;
}

.is-hidden {
  display: none !important;
}

.eyebrow,
.cabinet-card__label {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cabinet-hero {
  padding: 2.5rem 0 1rem;
}

.cabinet-hero__head {
  text-align: center;
}

.cabinet-content {
  padding: 1rem 0 4rem;
}

.cabinet-card {
  margin-bottom: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cabinet-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.cabinet-card h3 {
  margin: 1.35rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

#cabinet-onboarding {
  display: grid;
  gap: 0.7rem;
}

#cabinet-phone-form {
  display: grid;
  gap: 0.55rem;
  max-width: 28rem;
}

#cabinet-phone-form label {
  font-size: 0.9rem;
  font-weight: 700;
}

#cabinet-phone-form input {
  min-height: 2.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--black);
  font: inherit;
}

#cabinet-phone-form input:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

#cabinet-phone-form button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.cabinet-card hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.cabinet-card p {
  color: var(--muted);
}

.cabinet-card__hint,
.cabinet-muted,
.cabinet-status {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cabinet-card--error {
  border-color: rgba(227, 6, 19, 0.45);
}

.cabinet-card--error h2 {
  color: var(--red);
}

.telegram-login {
  min-height: 44px;
  margin: 1.25rem 0 0.35rem;
}

.cabinet-actions,
.cabinet-preview__actions,
.cabinet-public-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.25rem;
}

.cabinet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cabinet-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cabinet-welcome p {
  margin-bottom: 0;
}

.cabinet-preview {
  background: var(--white);
}

.cabinet-preview__line {
  margin: 0.45rem 0;
  color: var(--text) !important;
  font-weight: 600;
}

.cabinet-links a {
  color: var(--red);
  font-weight: 700;
}

.cabinet-venues {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cabinet-venues li {
  display: grid;
  gap: 0.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.cabinet-venues li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cabinet-venues span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cabinet-documents {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.cabinet-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.cabinet-checklist li {
  display: grid;
  grid-template-columns: 1.35rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.cabinet-checklist li > span:first-child {
  color: var(--red);
  font-size: 1.15rem;
  font-weight: 800;
}

.cabinet-checklist li.is-complete > span:first-child {
  color: #16803c;
}

.cabinet-checklist strong {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.cabinet-next__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cabinet-next__items span {
  padding: 0.55rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cabinet-logout {
  display: flex;
  justify-content: flex-end;
}

.cabinet-public-card {
  max-width: 42rem;
  margin-inline: auto;
  background: var(--white);
}

.cabinet-public-card__name {
  color: var(--black);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.045);
}

.feature-card--soon h2,
.feature-card--soon h3 {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.2rem 0.4rem;
  padding-right: 0;
  color: #e30613;
  font-size: clamp(1.18rem, 2.6vw, 1.42rem);
}

.feature-card--soon .feature-card__badge,
.feature-card--soon .feature-card__star {
  color: #e30613;
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.12rem;
  transform: translateY(-0.28em);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: #e30613;
  white-space: nowrap;
  line-height: 1;
}

.feature-card__star {
  font-size: 0.55em;
  line-height: 1;
  margin-left: 0.12em;
  position: relative;
  top: -0.45em;
  color: #e30613;
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-card p + p {
  margin-top: 0.55rem;
}

.feature-callout {
  margin-top: 1.25rem;
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
}

.feature-callout__title {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
}

.feature-callout .feature-grid {
  gap: 0.75rem;
}

.feature-callout .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.feature-callout .feature-card h2,
.feature-callout .feature-card h3 {
  color: var(--white);
}

.feature-callout .feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* CTA */
.cta {
  padding: 3.75rem 0;
}

.cta__panel {
  background: var(--black);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  border: 1px solid rgba(227, 6, 19, 0.55);
  box-shadow:
    0 0 0 1px rgba(227, 6, 19, 0.12),
    0 16px 40px rgba(10, 10, 10, 0.22);
}

.cta__slogan {
  display: inline-block;
  margin: 0 0 0.95rem;
  padding-bottom: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  border-bottom: 2px solid var(--red);
}

.cta__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  font-weight: 800;
}

.cta__text {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
}

.contacts-page {
  padding: 0.5rem 0 3.5rem;
}

.contacts-page__head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.contacts-grid--single {
  grid-template-columns: minmax(0, 28rem);
  justify-content: start;
}

.contacts-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 44rem;
}

.contacts-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contacts-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contacts-card__icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.contacts-card__meta {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.contacts-card__btn {
  margin-top: 0.95rem;
  width: 100%;
}

.contacts-help {
  margin-top: 2.25rem;
}

.contacts-help__title {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 800;
  color: var(--black);
}

.contacts-help__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.contacts-help__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 0.9rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.contacts-help__item:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.cta__panel--compact {
  padding: clamp(1.15rem, 3vw, 1.85rem);
}

.cta__panel--compact .cta__slogan {
  margin-bottom: 0.45rem;
  font-size: clamp(0.75rem, 1.8vw, 0.92rem);
  padding-bottom: 0.28rem;
}

.cta__panel--compact .cta__title {
  margin-bottom: 0.45rem;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
}

.cta__panel--compact .cta__text {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cta__panel--compact .btn--lg {
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  font-size: 0.92rem;
}

.contacts-page__cta {
  padding-top: 2rem;
}

.contacts-card h2 {
  margin: 0 0 0.45rem;
}

.contacts-card__value {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--black);
  word-break: break-word;
}

.contacts-card__value:hover {
  color: var(--red);
}

.contacts-card__hint {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}

.contacts-card__hint a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contacts-card__hint a:hover {
  color: var(--red);
}

.contacts-card .btn {
  margin-top: 0.95rem;
}

/* Contacts (homepage teaser) */
.contacts {
  padding: 3rem 0 2rem;
  text-align: center;
}

.contacts__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
}

.contacts__phone {
  display: block;
  margin: 0.5rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contacts__phone:hover {
  color: var(--red);
}

.contacts__email {
  display: block;
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 700;
  color: var(--muted);
}

.contacts__teaser {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.contacts__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  box-shadow: inset 0 2px 0 var(--red);
  padding: 1.9rem 0 2.4rem;
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-footer__slogan {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin: 0 0 0.9rem;
}

.site-footer__nav a {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--red);
}

.site-footer__domain {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__domain:hover {
  color: var(--red);
}

/* Motion — subtle */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 980px) {
  :root {
    --header-h: auto;
  }

  .site-header {
    height: auto;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding: 0.55rem 0 0.65rem;
    row-gap: 0.45rem;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr;
    overflow: visible;
    gap: 0.35rem;
  }

  .site-nav a {
    width: auto;
    min-width: 0;
    flex: unset;
  }

  .feature-grid,
  .contacts-grid,
  .how-steps {
    grid-template-columns: 1fr;
  }

  .cabinet-grid {
    grid-template-columns: 1fr;
  }

  .contacts-help__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--content));
  }

  .brand__logo {
    height: 44px;
  }

  .brand__logo--full {
    height: 58px;
    max-width: min(180px, 48vw);
  }

  .brand__logo--round {
    height: 48px;
    width: 48px;
  }

  .header-phone {
    display: none;
  }

  .site-nav a {
    min-height: 2.5rem;
    font-size: 0.68rem;
    padding: 0.28rem 0.35rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    font-size: 0.84rem;
  }

  .header-actions .btn {
    padding-inline: 0.95rem;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero__panel {
    padding: 1.1rem 1rem 1.4rem;
  }

  .cabinet-hero {
    padding-top: 1.5rem;
  }

  .cabinet-welcome {
    align-items: stretch;
    flex-direction: column;
  }

  .cabinet-actions,
  .cabinet-preview__actions,
  .cabinet-public-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cabinet-actions .btn,
  .cabinet-preview__actions .btn,
  .cabinet-public-card__actions .btn {
    width: 100%;
  }

  .audience-nav {
    grid-template-columns: 1fr;
  }

  .contacts-help__grid {
    grid-template-columns: 1fr;
  }

  .section,
  .feature-block,
  .cta,
  .contacts {
    padding-block: 2.75rem;
  }

  .btn--lg {
    width: 100%;
  }

  .contacts__actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand__logo {
    height: 40px;
  }

  .brand__logo--full {
    height: 52px;
    max-width: min(160px, 52vw);
  }

  .brand__logo--round {
    height: 44px;
    width: 44px;
  }
}
