:root {
  --bg: #ffffff;
  --bg-strong: #f6f6f4;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-muted: #fafaf8;
  --text: #182019;
  --muted: #586057;
  --muted-strong: #39433c;
  --line: rgba(24, 32, 25, 0.1);
  --line-strong: rgba(24, 32, 25, 0.16);
  --sage: #73816e;
  --sage-deep: #324338;
  --accent: #f47b20;
  --accent-deep: #d86510;
  --accent-soft: #fff0e3;
  --accent-soft-strong: #ffe3c7;
  --shadow-soft: 0 18px 40px rgba(29, 38, 30, 0.08);
  --shadow-strong: 0 26px 70px rgba(29, 38, 30, 0.14);
  --radius-lg: 8px;
  --radius-md: 8px;
  --shell: 1240px;
  --font-main: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-main);
  background: var(--bg);
}

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

figure {
  margin: 0;
}

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

button,
input,
textarea {
  font-family: var(--font-main);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section--contrast {
  background:
    linear-gradient(180deg, rgba(250, 250, 248, 0.92), rgba(247, 247, 245, 0.92)),
    linear-gradient(135deg, rgba(115, 129, 110, 0.03), rgba(180, 107, 49, 0.03));
  border-top: 1px solid rgba(24, 32, 25, 0.05);
  border-bottom: 1px solid rgba(24, 32, 25, 0.05);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.button {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  align-self: center;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 32px rgba(244, 123, 32, 0.28);
}

.button--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: var(--accent-deep);
  border-color: rgba(244, 123, 32, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(24, 32, 25, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: clamp(52px, 6vw, 72px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  inline-size: 52px;
  block-size: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1.5px solid rgba(244, 123, 32, 0.48);
  border-radius: 50%;
  color: var(--accent-deep);
  line-height: 1;
  background: #fff;
  box-shadow: 0 12px 28px rgba(244, 123, 32, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(244, 123, 32, 0.78);
  color: var(--accent);
  background: var(--accent-soft);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-icon--telegram {
  color: var(--accent-deep);
}

.social-icon--viber {
  color: var(--accent-deep);
}

.social-icon--instagram {
  color: var(--accent-deep);
}

.site-nav > a:not(.button) {
  padding: 10px 2px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero {
  overflow: clip;
  padding-top: 34px;
  padding-bottom: 56px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.hero__content {
  display: grid;
  gap: 0;
  padding-top: 22px;
}

.hero__content h1 {
  max-width: 12ch;
  font-size: 4.7rem;
  line-height: 1.03;
}

.hero__lead {
  max-width: 58ch;
  margin-top: 24px;
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 12px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 248, 0.94));
  box-shadow: var(--shadow-soft);
}

.hero__facts li:first-child {
  border-color: rgba(244, 123, 32, 0.22);
  background: linear-gradient(180deg, rgba(255, 243, 231, 0.98), rgba(255, 250, 245, 0.98));
}

.hero__facts strong {
  color: var(--muted-strong);
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero__facts span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero__visual {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 68px;
  min-height: 0;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(24, 32, 25, 0.08);
  box-shadow: 0 18px 50px rgba(29, 38, 30, 0.12);
  background: var(--surface-solid);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--doctor {
  grid-row: 1 / span 2;
  min-height: 590px;
}

.hero-card--doctor img {
  object-position: 52% 44%;
}

.hero-card--salon,
.hero-card--workshop {
  min-height: 286px;
}

.hero-card--salon img {
  object-position: center;
}

.hero-card--workshop img {
  object-position: center;
}

.ribbon {
  padding-top: 0;
  padding-bottom: 0;
}

.ribbon__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 4px;
}

.ribbon__grid p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 18px 20px;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.ribbon__grid p:nth-child(2),
.ribbon__grid p:nth-child(4) {
  border-color: rgba(244, 123, 32, 0.2);
  background: linear-gradient(180deg, rgba(255, 243, 230, 0.98), rgba(255, 255, 255, 0.96));
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: 3.35rem;
}

.services-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.step {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 249, 247, 0.94));
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
}

.service-card::before,
.step::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ffc089);
}

.service-card__index,
.step__num {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--accent);
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
  border-color: rgba(244, 123, 32, 0.16);
  background: linear-gradient(180deg, rgba(255, 245, 235, 0.98), rgba(255, 251, 246, 0.94));
}

.service-card h3,
.step h3,
.location h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
}

.story-grid__media img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.story-grid__content {
  display: grid;
  gap: 18px;
}

.story-grid__content h2,
.contacts-grid__content h2,
.gallery__content h2 {
  font-size: 3.2rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted-strong);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb271);
  box-shadow: 0 0 0 5px rgba(244, 123, 32, 0.12);
}

.brands {
  padding-top: 72px;
  padding-bottom: 72px;
}

.brands__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.brand-chip {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 32, 25, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.brand-chip:nth-child(2) {
  border-color: rgba(244, 123, 32, 0.18);
  background: linear-gradient(180deg, rgba(255, 243, 230, 0.98), rgba(255, 255, 255, 0.96));
}

.brand-chip img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
}

.gallery__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.gallery__content {
  align-self: center;
  max-width: 420px;
  padding-right: 0;
}

.gallery__content h2 {
  max-width: 9ch;
}

.gallery__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery__item,
.gallery__item img {
  border-radius: var(--radius-lg);
}

.gallery__item {
  overflow: hidden;
  border: 1px solid rgba(24, 32, 25, 0.08);
  box-shadow: var(--shadow-soft);
  background: var(--surface-solid);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--feature {
  grid-column: span 3;
  aspect-ratio: 2.05 / 1;
}

.gallery__item:not(.gallery__item--feature) {
  aspect-ratio: 1.35 / 1;
}

.reviews {
  background: var(--surface-muted);
}

.reviews-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.reviews-widget {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 680px;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.reviews-widget iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
}

.embed-fallback {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(244, 123, 32, 0.28);
  border-radius: 999px;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.reviews-103 {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 680px;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.reviews-103__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 96px;
  padding: 24px;
  border-bottom: 1px solid rgba(24, 32, 25, 0.08);
}

.reviews-103__head strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.25;
}

.reviews-103__head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}

.reviews-103__head a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: #24c7d6;
}

.reviews-103__list {
  display: grid;
  gap: 0;
  overflow: auto;
  max-height: 584px;
  scrollbar-color: rgba(244, 123, 32, 0.55) rgba(24, 32, 25, 0.08);
}

.review-103-card {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(24, 32, 25, 0.08);
}

.review-103-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.review-103-card__meta span {
  color: var(--text);
  font-weight: 800;
}

.review-103-card__meta small {
  color: var(--muted);
  font-weight: 600;
}

.review-103-card__stars {
  color: #ffc400;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

.review-103-card p {
  color: var(--muted-strong);
  line-height: 1.58;
}

.review-103-card em {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1c98a5;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  background: rgba(36, 199, 214, 0.1);
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.reviews-more {
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(244, 123, 32, 0.28);
  border-radius: 999px;
  color: var(--accent-deep);
  font-weight: 800;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.instagram-strip__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.instagram-strip__head h2 {
  font-size: 3.2rem;
}

.instagram-feed {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(244, 123, 32, 0.55) rgba(24, 32, 25, 0.08);
}

.instagram-post {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 25, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.instagram-post:hover,
.instagram-post:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(244, 123, 32, 0.28);
  box-shadow: 0 24px 50px rgba(24, 32, 25, 0.12);
}

.instagram-post__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(24, 32, 25, 0.06);
  color: var(--text);
  text-decoration: none;
}

.instagram-post__top > span:nth-child(2) {
  display: grid;
  gap: 1px;
  min-width: 0;
  margin-right: auto;
}

.instagram-post__top strong {
  overflow: hidden;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.instagram-post__top small {
  overflow: hidden;
  color: #4f574f;
  font-size: 0.78rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.instagram-post__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.instagram-post__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.instagram-post__more {
  color: #161b16;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.instagram-post__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 14.82;
  background: #f5f5f5;
  color: inherit;
  text-decoration: none;
}

.instagram-post__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-post__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 12px 4px;
}

.instagram-post__icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.instagram-post__actions svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #161b16;
  stroke-width: 1.9;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.instagram-post__actions .instagram-post__heart {
  fill: #ed1c24;
  stroke: #ed1c24;
}

.instagram-post__save {
  margin-left: auto;
}

.instagram-post__caption {
  display: grid;
  gap: 7px;
  padding: 0 12px 14px;
  font-size: 0.93rem;
  line-height: 1.34;
}

.instagram-post__caption strong {
  font-size: 0.9rem;
  font-weight: 800;
}

.instagram-post__caption p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.75em;
  color: #161b16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.instagram-post__caption b {
  font-weight: 800;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: stretch;
}

.contacts-grid__content {
  display: grid;
  gap: 22px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-channel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(244, 123, 32, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 241, 0.86);
}

.contact-channel span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 123, 32, 0.34);
  border-radius: 50%;
  color: var(--accent-deep);
  background: #fff;
}

.contact-channel svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-channel strong {
  display: block;
  color: var(--text);
  line-height: 1.25;
}

.contact-channel small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.locations {
  display: grid;
  gap: 10px;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.location:first-child {
  border-color: rgba(244, 123, 32, 0.22);
  background: linear-gradient(180deg, rgba(255, 241, 226, 0.98), rgba(255, 255, 255, 0.96));
}

.location p {
  margin: 8px 0 10px;
}

.location h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.location a {
  color: var(--accent-deep);
  font-weight: 700;
}

.location__phone {
  font-size: 0.95rem;
}

.location__map {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(244, 123, 32, 0.24);
  border-radius: 999px;
  background: rgba(255, 246, 237, 0.9);
  white-space: nowrap;
}

.map-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(420px, 1fr);
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(24, 32, 25, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  background: var(--surface-solid);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.site-footer {
  padding: 26px 0 38px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 32, 25, 0.08);
}

.site-footer__inner p {
  color: var(--text);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__links a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero__grid,
  .story-grid,
  .contacts-grid,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .steps-grid,
  .ribbon__grid,
  .brands__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    padding-top: 0;
    min-height: 0;
  }

  .hero-card--doctor {
    min-height: 560px;
  }

  .hero-card--salon,
  .hero-card--workshop {
    min-height: 260px;
  }

  .gallery__content {
    grid-row: auto;
    padding-right: 0;
  }

  .gallery__item--feature {
    grid-column: span 3;
  }

  .gallery__item--feature,
  .gallery__item:not(.gallery__item--feature) {
    aspect-ratio: 16 / 9;
  }

  .reviews-sources {
    grid-template-columns: 1fr;
  }

  .reviews-widget,
  .reviews-widget iframe,
  .reviews-103 {
    min-height: 680px;
  }
}

@media (max-width: 900px) {
  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__content {
    padding-top: 8px;
  }

  .hero__content h1 {
    max-width: 12ch;
    font-size: 3.45rem;
  }

  .section-heading h2,
  .story-grid__content h2,
  .contacts-grid__content h2,
  .gallery__content h2,
  .instagram-strip__head h2 {
    font-size: 2.55rem;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .site-header__inner {
    min-height: 76px;
  }

  .nav-toggle {
    position: relative;
    display: grid;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(24, 32, 25, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 250, 244, 0.96);
    box-shadow: 0 24px 70px rgba(31, 35, 32, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    padding: 10px 0;
  }

  .site-nav__socials {
    justify-content: center;
  }

  .ribbon__grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .services-grid,
  .steps-grid,
  .brands__row {
    grid-template-columns: 1fr;
  }

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

  .gallery__item--feature {
    grid-column: auto;
  }

  .instagram-strip__head {
    display: grid;
    align-items: start;
  }

  .instagram-strip__head .button {
    width: 100%;
  }

  .instagram-feed {
    grid-auto-columns: minmax(220px, 80vw);
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .reviews-widget,
  .reviews-widget iframe,
  .reviews-103 {
    min-height: 620px;
  }

  .reviews-103__list {
    max-height: 524px;
  }

  .reviews-actions {
    display: grid;
  }

  .reviews-more {
    width: 100%;
  }

  .hero__visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .hero-card--doctor,
  .hero-card--salon,
  .hero-card--workshop {
    aspect-ratio: 16 / 10;
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .hero-card--doctor img {
    object-position: 50% 26%;
  }

  .hero__facts li {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .button {
    width: 100%;
  }

  .location {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .location__map {
    width: 100%;
  }

  .map-card iframe {
    min-height: 420px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .hero__content h1 {
    font-size: 2.65rem;
  }

  .section-heading h2,
  .story-grid__content h2,
  .contacts-grid__content h2,
  .gallery__content h2,
  .instagram-strip__head h2 {
    font-size: 2.15rem;
  }

  .section {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
