@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-500-cyr.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-500-lat.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-500i-cyr.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyr.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-lat.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1b1b1a;
  --ink-soft: #3d3b38;
  --muted: #55534f;
  --paper: #f6f5f2;
  --paper-2: #ebe9e5;
  --card: #fcfcfa;
  --dark: #141413;
  --dark-2: #1d1c1a;
  --on-dark: #e9e6e2;
  --on-dark-muted: #b8b4ad;
  --accent: #836e51;
  --accent-light: #c2b397;
  --line: rgba(27, 27, 26, 0.14);
  --line-dark: rgba(233, 230, 226, 0.14);

  --serif: "Cormorant", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 144px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--card);
  color: var(--ink);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section) 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.hero__fact strong,
.plan__price,
.step__num {
  font-variant-numeric: lining-nums;
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.7;
}

.photo {
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 72px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(20, 20, 19, 0), rgba(20, 20, 19, 0.82));
  color: var(--on-dark);
}
.photo__name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.15;
}
.photo__role {
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--light {
  background: var(--on-dark);
  color: var(--dark);
}
.btn--light:hover {
  background: #fff;
}
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover {
  background: #000;
}
.btn--ghost {
  border-color: currentColor;
}
.btn--ghost:hover {
  background: rgba(233, 230, 226, 0.08);
}
.btn--outline {
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--ink);
}
.btn__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Шапка */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--dark);
  border-bottom-color: var(--line-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.26em;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}
.nav__list {
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
}
.nav__link {
  position: relative;
  font-size: 14px;
  color: var(--on-dark-muted);
  transition: color 0.3s;
}
.nav__link:hover {
  color: var(--on-dark);
}
.header__phone {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.header__cta {
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-toggle span:nth-child(1) {
  top: 17px;
}
.menu-toggle span:nth-child(2) {
  top: 26px;
}
.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* Первый экран */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(40px, 8vw, 96px)) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.hero__eyebrow {
  color: var(--accent-light);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 8.2vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.hero__title em {
  display: block;
  color: var(--accent-light);
  font-style: italic;
}
.hero__text {
  max-width: 440px;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--on-dark-muted);
  font-size: clamp(17px, 1.6vw, 20px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}
.hero__photo {
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  width: 100%;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 19, 0) 55%, rgba(20, 20, 19, 0.55));
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line-dark);
}
.hero__fact {
  padding: 22px 24px 0 0;
  color: var(--on-dark-muted);
  font-size: 14px;
}
.hero__fact strong {
  display: block;
  margin-bottom: 2px;
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.2;
}

/* Мошенники */
.warning {
  background: var(--paper-2);
}
.warning__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.warning__title {
  font-size: clamp(34px, 4.4vw, 58px);
}
.warning__text {
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--accent);
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
}

/* О нас */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head--single {
  grid-template-columns: 1fr;
}
.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.trust__photo {
  aspect-ratio: 4 / 5;
}
.trust__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}
.trust__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust__name {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.15;
}
.team {
  margin-top: clamp(56px, 8vw, 112px);
}
.team__title {
  margin-bottom: 28px;
}
.team__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.team__photo {
  aspect-ratio: 4 / 5;
}
.team__photo .photo__caption {
  padding: 56px clamp(16px, 2vw, 24px) clamp(16px, 2vw, 22px);
}
.team__photo .photo__name {
  font-size: clamp(20px, 2vw, 26px);
}
.team__photo .photo__role {
  font-size: 11px;
}

/* Услуги */
.services {
  padding-top: 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 48px);
}
.service__photo {
  aspect-ratio: 3 / 2;
  margin-bottom: 28px;
}
.service__photo img {
  transition: transform 1.2s var(--ease);
}
.service:hover .service__photo img {
  transform: scale(1.03);
}
.service__name {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.1;
}
.service__text {
  max-width: 460px;
  color: var(--muted);
}

/* Цены */
.prices {
  background: var(--paper-2);
}
.prices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
}
.plan--featured {
  background: var(--dark);
  color: var(--on-dark);
  border-color: var(--dark);
}
.plan__name {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.plan--featured .plan__name {
  color: var(--accent-light);
}
.plan__calc {
  min-height: 1.6em;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
}
.plan--featured .plan__calc {
  color: var(--on-dark-muted);
}
.plan__price {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(44px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.plan__list {
  margin: 32px 0;
  border-top: 1px solid var(--line);
}
.plan--featured .plan__list {
  border-top-color: var(--line-dark);
}
.plan__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}
.plan--featured .plan__list li {
  border-bottom-color: var(--line-dark);
}
.plan__list span:last-child {
  flex-shrink: 0;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}
.plan__list .is-free {
  color: var(--accent);
}
.plan--featured .plan__list .is-free {
  color: var(--accent-light);
}
.plan .btn {
  margin-top: auto;
}
.plan--featured .btn--outline {
  border-color: var(--line-dark);
  color: var(--on-dark);
}
.plan--featured .btn--outline:hover {
  border-color: var(--on-dark);
}
.prices__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 6vw, 72px);
}
.prices__notes p {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  color: var(--ink-soft);
  font-size: 15px;
}
.prices__notes strong {
  color: var(--ink);
}
.cremation {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--card);
  border: 1px solid var(--line);
}
.cremation .plan__price {
  margin-top: 28px;
}
.cremation__text {
  max-width: 400px;
  margin: 24px 0 32px;
  color: var(--ink-soft);
  font-size: 17px;
}
.cremation__label {
  color: var(--muted);
  font-size: 15px;
}
.cremation__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.cremation__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}
.cremation__list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Схема работы */
.process {
  background: var(--dark);
  color: var(--on-dark);
}
.process .eyebrow {
  color: var(--accent-light);
}
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.process__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.process__photo {
  aspect-ratio: 4 / 5;
  max-height: 62vh;
  margin-top: clamp(32px, 4vw, 56px);
}
.step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 36px 0 44px;
  border-top: 1px solid var(--line-dark);
}
.step__num {
  color: var(--accent-light);
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.9;
}
.step__name {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.15;
}
.step__text {
  color: var(--on-dark-muted);
}
.process__area {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
}
.process__area svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent-light);
}

/* Контакты */
/* Отзывы */
.reviews {
  background: var(--paper-2);
}
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.reviews__aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.reviews__text {
  margin-top: 24px;
}
.reviews__btn {
  margin-top: 36px;
}
.reviews__widget {
  position: relative;
  height: 680px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--card);
}
.reviews__widget iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.55) sepia(0.12);
}
.reviews__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  padding: 24px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.reviews__fallback a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}

.contact {
  background: var(--paper);
}
.cta {
  padding: var(--section) 0;
  text-align: center;
}
.cta__title {
  font-size: clamp(44px, 7vw, 96px);
}
.cta__text {
  max-width: 640px;
  margin: 24px auto 40px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
}
.cta__text a {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--accent);
}
.location {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 48px);
  padding-bottom: var(--section);
}
.location__title {
  font-size: clamp(34px, 4vw, 52px);
}
.location__address {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 19px;
}
.location__photo {
  aspect-ratio: 4 / 3;
  margin-top: 40px;
}
.location__hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}
.map {
  position: relative;
  min-height: 420px;
  height: 100%;
  overflow: hidden;
  background: var(--paper-2);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(0.95);
}
.map__links {
  position: absolute;
  left: 8px;
  bottom: 6px;
  z-index: 1;
  display: flex;
  gap: 10px;
  font-size: 11px;
}
.map__links a {
  color: var(--muted);
}

.footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  font-size: 15px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px 48px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
}
.footer .brand {
  color: var(--on-dark);
}
.footer a:hover {
  color: var(--on-dark);
}
.footer__phone {
  color: var(--on-dark);
  font-weight: 600;
}

/* Мобильная кнопка звонка */
.callbar {
  display: none;
}

/* Анимация появления */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Планшет */
@media (max-width: 1100px) {
  .header__phone {
    display: none;
  }
  .prices__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }
  .prices__notes,
  .cremation {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 640px) {
  .cremation__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  :root {
    --header-h: 64px;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--dark);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .menu-open .nav {
    opacity: 1;
    visibility: visible;
  }
  .menu-open .header {
    background: var(--dark);
  }
  .menu-open {
    overflow: hidden;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--on-dark);
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.2;
  }
  .header__phone {
    display: block;
    font-size: 20px;
  }
  .header__cta {
    min-height: 56px;
  }

  .hero__grid,
  .warning__grid,
  .section-head,
  .trust__grid,
  .process__grid,
  .reviews__grid,
  .location {
    grid-template-columns: 1fr;
  }
  .reviews__aside {
    position: static;
  }
  .reviews__widget {
    height: 600px;
  }
  .hero__content,
  .hero__facts {
    position: relative;
    z-index: 1;
  }
  .hero__photo {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    max-height: none;
    opacity: 0.4;
  }
  .hero__photo::after {
    background: linear-gradient(180deg, rgba(20, 20, 19, 0.2), var(--dark) 92%);
  }
  .hero__facts {
    grid-template-columns: 1fr;
  }
  .hero__fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .hero__fact strong {
    margin: 0;
    font-size: 24px;
  }
  .trust__photo {
    aspect-ratio: 4 / 3;
  }
  .trust__photo img {
    object-position: center 15%;
  }
  .process__aside {
    position: static;
  }
  .process__photo {
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .location__photo {
    margin-top: 32px;
  }
  .map {
    min-height: 360px;
    margin: 0 calc(var(--gutter) * -1);
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .callbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--dark);
    border-top: 1px solid var(--line-dark);
  }
  .callbar .btn {
    flex: 1;
    min-height: 52px;
    padding: 0 16px;
  }
  .menu-open .callbar {
    display: none;
  }
  #chatra:not(.chatra--expanded) {
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
  }
}

/* Телефон */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .trust__list,
  .services__grid {
    grid-template-columns: 1fr;
  }
  .trust__item {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
  }
  .team__list {
    display: flex;
    gap: 12px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .team__list::-webkit-scrollbar {
    display: none;
  }
  .team__list li {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0 32px;
  }
  .step__num {
    font-size: 44px;
  }
  .plan__list li {
    font-size: 14px;
  }
  .cta {
    text-align: left;
  }
  .cta__text {
    margin-left: 0;
  }
  .cta .btn {
    width: 100%;
  }
}