/* ============================================================
   Красавчик — студия груминга
   Тёплая кремово-бежевая палитра, стеклянные карточки
   ============================================================ */

:root {
  --bg: #FAF3E8;
  --bg-soft: #F5EADA;
  --sand: #F0E2CC;
  --card-glass: rgba(249, 236, 217, 0.6);
  --white: #FFFDF8;
  --ink: #46331F;
  --ink-soft: #8A7157;
  --accent: #C99B6C;
  --accent-deep: #B4844F;
  --radius: 26px;
  --shadow: 0 30px 60px -28px rgba(122, 84, 44, 0.38);
  --shadow-soft: 0 16px 40px -20px rgba(122, 84, 44, 0.28);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

section { scroll-margin-top: 90px; }

/* ---------------- Кнопки ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn--solid {
  background: linear-gradient(135deg, #5A442C, #46331F);
  color: #FFF4E2;
  box-shadow: 0 14px 30px -14px rgba(70, 51, 31, 0.55);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(70, 51, 31, 0.6); }

.btn--glass {
  background: rgba(255, 252, 246, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.btn--glass:hover { background: rgba(255, 252, 246, 0.85); transform: translateY(-2px); }

.btn--pill {
  padding: 10px 24px;
  font-size: 10.5px;
  background: rgba(255, 253, 248, 0.85);
  border: 1px solid rgba(201, 155, 108, 0.35);
  color: var(--ink);
}
.btn--pill:hover { background: var(--white); border-color: var(--accent); transform: translateY(-1px); }

/* ---------------- Шапка ---------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.header.scrolled {
  background: rgba(250, 243, 232, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -18px rgba(122, 84, 44, 0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  transition: padding 0.3s ease;
}
.header.scrolled .header__inner { padding: 12px 0; }

.logo {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.3em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo span {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.nav > a:not(.nav__phone) {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav > a:not(.nav__phone)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.nav > a:not(.nav__phone):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__phone, .header__phone {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.nav__phone { display: none; }
.nav__cta { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 60;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Хиро ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg img { object-fit: cover; object-position: 62% 30%; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(250, 243, 232, 0.97) 0%,
      rgba(250, 243, 232, 0.9) 32%,
      rgba(250, 243, 232, 0.45) 56%,
      rgba(250, 243, 232, 0.05) 78%),
    linear-gradient(to top, rgba(250, 243, 232, 0.95) 0%, rgba(250, 243, 232, 0) 26%),
    linear-gradient(to bottom, rgba(250, 243, 232, 0.55) 0%, rgba(250, 243, 232, 0) 18%);
}

.hero__inner { position: relative; z-index: 2; }

.hero__content { max-width: 560px; padding: 140px 0 120px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 4.3vw, 50px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.hero__text {
  font-size: 16.5px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 430px;
  margin-bottom: 36px;
}

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

.hero__note {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* мягкий светлый ореол — текст поверх фото читается увереннее */
.hero h1,
.hero__text,
.hero__note,
.hero .eyebrow {
  text-shadow: 0 1px 2px rgba(250, 243, 232, 0.65), 0 0 28px rgba(250, 243, 232, 0.5);
}

/* Плавающие карточки */

.hero__cards {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-card {
  position: absolute;
  pointer-events: auto;
  background: var(--card-glass);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite alternate;
}

.hero-card img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.hero-card__body { padding: 14px 8px 8px; text-align: center; }
.hero-card__body h3 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-card__body .btn { width: 100%; }

.hero-card--map .hero-card__map { border-radius: 18px; overflow: hidden; }
.hero-card--map svg { width: 100%; display: block; }

.hero-card--dog { right: 6%; bottom: 12%; width: 250px; }
.hero-card--cat { right: 40%; top: 17%; width: 190px; animation-delay: 1.2s; animation-duration: 8s; }
.hero-card--map { right: 4%; top: 14%; width: 230px; animation-delay: 0.6s; animation-duration: 9s; }

@keyframes float {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}

.map-pin { animation: pinFloat 3.5s ease-in-out infinite alternate; transform-origin: center; }
@keyframes pinFloat { from { transform: translateY(0); } to { transform: translateY(-5px); } }

.map-pulse { animation: pulse 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.45; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(70, 51, 31, 0.4);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--ink-soft);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------------- Секции ---------------- */

.section { padding: 110px 0; }

.section-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title--left { text-align: left; text-indent: 0; letter-spacing: 0.22em; }

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 520px;
  margin: 0 auto 60px;
}

/* ---------------- Услуги ---------------- */

.services { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-soft) 18%, var(--bg-soft) 82%, var(--bg) 100%); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.service-card__photo { overflow: hidden; }
.service-card__photo img {
  width: 100%;
  aspect-ratio: 3 / 3.3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__photo img { transform: scale(1.06); }

.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-card__body p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}
.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.price { font-weight: 600; font-size: 14px; color: var(--accent-deep); white-space: nowrap; }

/* ---------------- Цены ---------------- */

.prices__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.prices__photo {
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prices__photo img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }

.price-group { margin-bottom: 40px; }
.price-group h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
}
.price-row i {
  flex: 1;
  border-bottom: 1.5px dotted #CDB493;
  transform: translateY(-4px);
}
.price-row b { font-weight: 600; white-space: nowrap; }

.prices__cta { text-align: center; margin-top: 14px; }

/* ---------------- О нас ---------------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__photo img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; }

.about__lead {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 18px;
}
.about__text { color: var(--ink-soft); font-size: 15px; margin-bottom: 34px; }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.feature__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border-radius: 14px;
  font-size: 19px;
}
.feature b { display: block; font-size: 13.5px; letter-spacing: 0.04em; }
.feature small { color: var(--ink-soft); font-size: 12px; line-height: 1.45; display: block; margin-top: 3px; }

.about__stats { display: flex; gap: 46px; flex-wrap: wrap; }
.stat b {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1.1;
}
.stat span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------- Галерея ---------------- */

.gallery { padding-bottom: 90px; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: slide 55s linear infinite;
  padding-block: 10px;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__track img {
  height: 270px;
  width: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}
@keyframes slide { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------------- Контакты ---------------- */

.contacts { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-soft) 20%, var(--bg-soft) 100%); padding-bottom: 130px; }

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-card {
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.contact-card__photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 24px;
}

.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border-radius: 14px;
  font-size: 18px;
}
.contact-list b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.contact-list span, .contact-list a { font-size: 15px; font-weight: 500; }
.contact-list a:hover { color: var(--accent-deep); }

.contact-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(201, 155, 108, 0.4);
  border-radius: 999px;
  font-size: 12px !important;
  letter-spacing: 0.08em;
}
.contact-tag:hover { background: var(--white); border-color: var(--accent); }

.contact-card__hint {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed #D8C4A6;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.map-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
}
.map-card__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card__cta {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
}
.map-card__cta:hover { transform: translateX(-50%) translateY(-2px); }

/* ---------------- Подвал ---------------- */

.footer { border-top: 1px solid rgba(70, 51, 31, 0.1); padding: 44px 0 30px; }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__nav a:hover { color: var(--ink); }

.footer__contacts { display: flex; flex-direction: column; text-align: right; }
.footer__contacts a { font-weight: 600; }
.footer__contacts span { font-size: 12px; color: var(--ink-soft); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(70, 51, 31, 0.08);
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------------- Модальное окно ---------------- */

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 41, 22, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease;
}

.modal__card {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 30px;
  padding: 40px 38px 34px;
  box-shadow: var(--shadow);
  animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1;
  padding: 6px;
  transition: color 0.25s ease, transform 0.25s ease;
}
.modal__close:hover { color: var(--ink); transform: rotate(90deg); }

.modal__form h3, .modal__success h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal__sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-bottom: 28px;
}

.modal__form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.modal__form label small { text-transform: none; letter-spacing: 0.02em; font-weight: 400; }

.modal__form input, .modal__form select, .modal__form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 16px;
  border: 1.5px solid #E6D5BC;
  border-radius: 15px;
  background: #FBF5EA;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.modal__form input:focus, .modal__form select:focus, .modal__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.modal__form textarea { resize: vertical; min-height: 58px; }

.modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.modal__submit { width: 100%; margin-top: 8px; }

.modal__privacy {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
}

.modal__success { text-align: center; padding: 20px 0 8px; }
.modal__paw { font-size: 52px; margin-bottom: 14px; }
.modal__success p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 26px; }

body.modal-open { overflow: hidden; }

/* ---------------- Появление при скролле ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card, .marquee__track, .map-pin, .map-pulse { animation: none; }
}

/* ---------------- Адаптив ---------------- */

@media (max-width: 1240px) {
  .hero-card--dog { width: 230px; }
}

@media (max-width: 1279px) {
  /* карточки хиро становятся лентой под текстом */
  .hero__cards {
    position: static;
    pointer-events: auto;
    display: flex;
    gap: 18px;
    width: 100%;
    overflow-x: auto;
    padding: 0 4vw 40px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-left: 4vw;
    -webkit-overflow-scrolling: touch;
  }
  .hero__cards::-webkit-scrollbar { display: none; }
  .hero-card { position: static; flex: none; animation: none; scroll-snap-align: start; }
  .hero-card--dog, .hero-card--cat, .hero-card--map { width: 218px; }
  .hero { align-items: flex-start; flex-direction: column; }
  .hero__content { padding: 150px 0 44px; }
}

@media (max-width: 1100px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .prices__grid { grid-template-columns: 1fr; gap: 40px; }
  .prices__photo { position: static; max-height: 360px; }
  .prices__photo img { min-height: 0; height: 360px; }
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__photo { max-width: 560px; }
  .about__photo img { aspect-ratio: 16 / 10; }
  .contacts__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header__phone, .header__cta { display: none; }
  .nav__phone, .nav__cta { display: inline-flex; }
  .nav__phone { font-size: 15px; margin: 6px 0 2px; }
  .nav__cta { width: 100%; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(250, 243, 232, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav > a:not(.nav__phone) { font-size: 17px; }

  .burger { display: inline-flex; margin-left: auto; margin-right: -6px; }

  .section { padding: 80px 0; }
  .section-title { letter-spacing: 0.28em; text-indent: 0.28em; }
}

@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .about__stats { gap: 30px; }
  .modal__row { grid-template-columns: 1fr; }
  .modal__card { padding: 34px 24px 28px; }
  .marquee__track img { height: 200px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__contacts { text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero__scroll { display: none; }
  .hero__content { padding-top: 130px; }
}
