:root {
  --brand: #ef6e7c;
  --brand-dark: #d85a68;
  --brand-light: #fce8ea;
  --accent: #a5a05b;
  --accent-light: #ebe9d8;
  --text: #363330;
  --bg: #fcfaf7;
  --border: #efe8e1;
  --header-h: 100px;
  --promo-ticker-h: 38px;
  --hero-min-h: calc(100svh - var(--header-h) - var(--promo-ticker-h));
  --shadow: 0 8px 32px rgba(54, 51, 48, 0.12);

  --panel: #f5f1eb;
  --white: #ffffff;
  --muted: rgba(54, 51, 48, 0.62);

  --radius-xl: 48px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-soft: var(--shadow);
  --transition: 0.3s ease;

  --font-nunito: 'Nunito', sans-serif;
  --font-hero: 'Nunito Sans', sans-serif;
  --font-ui: 'Rubik', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--header-h);
}

body {
  font-family: var(--font-nunito);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-nunito);
  line-height: 1.15;
  color: var(--accent);
}

h1 {
  font-weight: 800;
}

h2 {
  font-weight: 700;
}

h3, h4 {
  font-weight: 700;
}

p {
  color: var(--muted);
}

.section-label,
.hero-label {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-family: var(--font-nunito);
}

.hero-text {
  font-family: var(--font-hero);
  font-weight: 400;
}

.title-heart {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.12em;
  margin-left: 0.15em;
}

.title-heart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-heart {
  display: inline-flex;
  width: 0.75em;
  height: 0.75em;
  vertical-align: 0.05em;
  margin-left: 0.1em;
}

.logo-heart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-flower {
  display: inline-flex;
  width: 0.75em;
  height: 0.75em;
  vertical-align: 0.05em;
  margin-left: 0.1em;
}

.logo-flower img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Декоративные сердечки */
.deco-heart {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  width: clamp(20px, 2.8vw, 36px);
  height: auto;
  opacity: 0.75;
  animation: deco-float 6s ease-in-out infinite;
}

@keyframes deco-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

.deco-heart--hero-1 {
  top: 22%;
  right: 8%;
  width: clamp(24px, 3vw, 40px);
  animation-delay: 0.5s;
}

.deco-heart--hero-2 {
  bottom: 18%;
  left: 42%;
  opacity: 0.5;
  animation-delay: 1.5s;
}

.deco-heart--hero-3 {
  top: 45%;
  left: 2%;
  width: clamp(18px, 2.2vw, 28px);
  animation-delay: 2.2s;
}

.services,
.about,
.prices,
.reviews,
.footer {
  position: relative;
  overflow: visible;
}

.deco-heart--services-1 {
  top: 12%;
  right: 3%;
  animation-delay: 0.3s;
}

.deco-heart--services-2 {
  bottom: 8%;
  left: 2%;
  opacity: 0.55;
  width: clamp(16px, 2vw, 26px);
  animation-delay: 1.8s;
}

.deco-heart--about-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0.8s;
}

.deco-heart--about-2 {
  bottom: 15%;
  right: 4%;
  opacity: 0.6;
  animation-delay: 2s;
}

.deco-heart--prices-1 {
  top: 20%;
  right: 2%;
  width: clamp(22px, 3vw, 38px);
  animation-delay: 1s;
}

.deco-heart--reviews-1 {
  top: 5%;
  left: 8%;
  opacity: 0.5;
  animation-delay: 0.4s;
}

.deco-heart--footer-1 {
  top: 25%;
  left: 12%;
  opacity: 0.45;
  animation-delay: 1.2s;
}

.deco-heart--footer-2 {
  top: 40%;
  right: 25%;
  width: clamp(16px, 2vw, 24px);
  opacity: 0.4;
  animation-delay: 2.5s;
}

@media (prefers-reduced-motion: reduce) {
  .deco-heart {
    animation: none;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-family: var(--font-nunito);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand);
}

.logo-title__olive {
  color: var(--accent);
}


.logo-sub {
  font-family: var(--font-nunito);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.menu a {
  font-family: var(--font-ui);
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition);
}

.menu a:hover {
  color: var(--brand);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition);
  background: var(--white);
}

.social:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.social svg {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(239, 110, 124, 0.35);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent-light);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.burger {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--accent);
}

/* Hero — только по высоте до низа экрана (ширина контента как была) */
.hero {
  position: relative;
  box-sizing: border-box;
  min-height: var(--hero-min-h);
  min-height: calc(100dvh - var(--header-h) - var(--promo-ticker-h));
  padding: clamp(1rem, 2.5vh, 2rem) 0 clamp(1.25rem, 3vh, 2rem);
  overflow: hidden;
}

.hero .hero-grid {
  min-height: inherit;
  align-items: center;
}

body:not(:has(.promo-ticker:not([hidden]))) {
  --promo-ticker-h: 0px;
}

.hero-bg-flower {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  width: clamp(40px, 5vw, 64px);
  height: auto;
  opacity: 0.9;
  animation: hero-flower-float 7s ease-in-out infinite;
}

.hero-bg-flower--1 {
  top: 8%;
  left: 4%;
  width: clamp(48px, 6vw, 80px);
  animation-delay: 0s;
}

.hero-bg-flower--2 {
  top: 60%;
  left: 38%;
  width: clamp(36px, 4vw, 56px);
  opacity: 0.7;
  animation-delay: 1.2s;
}

.hero-bg-flower--3 {
  top: 14%;
  right: 38%;
  width: clamp(32px, 3.5vw, 48px);
  animation-delay: 2s;
}

.hero-bg-flower--4 {
  bottom: 18%;
  right: 4%;
  width: clamp(40px, 4.5vw, 60px);
  opacity: 0.85;
  animation-delay: 0.6s;
}

.hero-bg-flower--5 {
  top: 50%;
  right: 8%;
  width: clamp(28px, 3vw, 42px);
  opacity: 0.55;
  animation-delay: 3s;
}

.hero-bg-flower--6 {
  bottom: 6%;
  left: 14%;
  width: clamp(36px, 4vw, 56px);
  opacity: 0.75;
  animation-delay: 1.8s;
}

@keyframes hero-flower-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-flower {
    animation: none;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.hero-text {
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: contain;
}

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

/* Sections */
section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-link,
.price-more {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-nunito);
  transition: opacity var(--transition);
}

.section-link:hover,
.price-more:hover {
  opacity: 0.8;
}

.arrow-wavy {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.22em;
  vertical-align: 0.1em;
  position: relative;
  flex-shrink: 0;
}

.arrow-wavy::before {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

/* Promo ticker под шапкой */
.promo-ticker {
  position: sticky;
  top: var(--header-h);
  z-index: 999;
  flex-shrink: 0;
  min-height: var(--promo-ticker-h);
  background: #fdeef4;
  border-bottom: 1px solid rgba(239, 110, 124, 0.14);
}

.promo-ticker[hidden] {
  display: none;
}

.promo-ticker__viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.promo-ticker__track {
  display: flex;
  width: max-content;
  animation: promo-ticker-scroll var(--ticker-duration, 30s) linear infinite;
}

.promo-ticker__track:hover {
  animation-play-state: paused;
}

.promo-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.55rem 0;
}

.promo-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0 1.75rem;
  white-space: nowrap;
}

.promo-ticker__text,
.promo-ticker__link {
  font-family: var(--font-ui);
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}

.promo-ticker__link {
  text-decoration: none;
  transition: color var(--transition);
}

.promo-ticker__link:hover {
  color: var(--brand);
}

.promo-ticker__sep {
  color: var(--brand);
  font-size: 0.65rem;
  opacity: 0.9;
}

@keyframes promo-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-ticker__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .promo-ticker__group[aria-hidden='true'] {
    display: none;
  }

  .promo-ticker__viewport {
    mask-image: none;
  }
}

/* Services */
.services-head {
  margin-bottom: 2rem;
}

.services-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 12px 26px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 400;
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.services-all:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(54, 51, 48, 0.08);
}

.services-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 0;
  box-shadow: var(--shadow-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1080px;
  margin-inline: auto;
  gap: 0;
}

.service-card {
  position: relative;
  text-align: center;
  padding: 0.5rem 1.75rem;
  transition: transform var(--transition);
}

.service-card__badges {
  position: absolute;
  top: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.service-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-rubik);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.service-badge--sm {
  font-size: 0.58rem;
  padding: 0.15rem 0.45rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.service-card--popular .service-photo {
  box-shadow: 0 0 0 2px var(--brand);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}

@media (min-width: 1101px) {
  .service-card {
    border-right: 1px solid var(--border);
  }

  .service-card:last-child {
    border-right: none;
  }
}

.service-photo {
  width: clamp(88px, 10vw, 120px);
  height: clamp(88px, 10vw, 120px);
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.service-card h3 {
  font-family: var(--font-nunito);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 180px;
  margin-inline: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 1.25rem;
}

.about-content > p {
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin: 2rem 0 2.25rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 140px;
}

.feature-icon {
  color: var(--brand);
  display: flex;
}

.feature p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

/* Promo banner */
.prices .promo-banner {
  margin-bottom: 2rem;
}

.promo-banner[hidden] {
  display: none;
}

.promo-banner__card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(239, 110, 124, 0.13);
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 110, 124, 0.1), transparent 30%),
    linear-gradient(118deg, #fff8fa 0%, #fffdfb 58%, #f8f6e9 100%);
  box-shadow: 0 22px 58px rgba(81, 69, 48, 0.1);
}

.promo-banner__visual {
  position: relative;
  min-height: 280px;
  background: var(--brand-light);
}

.promo-banner__visual--decor {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96) 0 30%, transparent 31%),
    linear-gradient(145deg, #fdebf1 0%, #fff7f8 55%, #f2f1d9 100%);
}

.promo-banner__visual--decor::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(167, 167, 86, 0.22);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.promo-banner__eyebrow {
  position: relative;
  z-index: 2;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-banner__discount-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-banner__discount {
  position: relative;
  z-index: 2;
  font-family: var(--font-nunito);
  font-size: clamp(3.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--brand);
  letter-spacing: -0.07em;
  text-shadow: 0 12px 30px rgba(239, 110, 124, 0.16);
}

.promo-banner__discount-caption {
  margin-top: 0.65rem;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-banner__deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

.promo-banner__deco--1 {
  top: 10%;
  left: 9%;
  width: clamp(48px, 8vw, 72px);
  opacity: 0.78;
}

.promo-banner__deco--2 {
  bottom: 10%;
  right: 9%;
  width: clamp(40px, 7vw, 60px);
  opacity: 0.75;
}

.promo-banner__deco--3 {
  top: 13%;
  right: 17%;
  width: clamp(28px, 5vw, 40px);
  opacity: 0.55;
}

.promo-banner__card--decor .promo-banner__content {
  position: relative;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(4px);
}

.promo-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}

.promo-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.25rem);
}

.promo-banner__badge {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-banner__title {
  max-width: 17ch;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  color: var(--accent);
}

.promo-banner__text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 36ch;
}

.promo-banner__note {
  color: var(--muted);
  font-size: 0.82rem;
}

.promo-banner__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  box-shadow: 0 12px 28px rgba(239, 110, 124, 0.24);
}

@media (max-width: 820px) {
  .promo-banner__card {
    grid-template-columns: 1fr;
  }

  .promo-banner__visual,
  .promo-banner__image {
    min-height: 230px;
    max-height: 250px;
  }

  .promo-banner__content {
    text-align: center;
    align-items: center;
  }

  .promo-banner__badge,
  .promo-banner__cta {
    align-self: center;
  }

  .promo-banner__text {
    max-width: none;
  }

  .promo-banner__title {
    max-width: 21ch;
  }
}

@media (max-width: 520px) {
  .prices .promo-banner {
    margin-inline: -0.25rem;
  }

  .promo-banner__card {
    border-radius: 28px;
  }

  .promo-banner__visual,
  .promo-banner__image {
    min-height: 205px;
    max-height: 220px;
  }

  .promo-banner__visual--decor {
    gap: 0.75rem;
    padding: 1.4rem;
  }

  .promo-banner__visual--decor::after {
    width: 170px;
    height: 170px;
  }

  .promo-banner__discount {
    font-size: 4.5rem;
  }

  .promo-banner__content {
    gap: 0.7rem;
    padding: 1.75rem 1.35rem 2rem;
  }

  .promo-banner__note {
    margin-top: 0.1rem;
  }
}

/* Отложенное предложение */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.promo-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.promo-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(50, 44, 36, 0.38);
  backdrop-filter: blur(5px);
}

.promo-popup__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.88fr) minmax(340px, 1.12fr);
  width: min(880px, 100%);
  max-height: min(680px, calc(100dvh - 2.5rem));
  overflow: auto;
  border: 1px solid rgba(239, 110, 124, 0.15);
  border-radius: 36px;
  background: #fffdfb;
  box-shadow: 0 30px 90px rgba(49, 42, 31, 0.24);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
}

.promo-popup.is-open .promo-popup__dialog {
  transform: translateY(0) scale(1);
}

.promo-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(167, 167, 86, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.promo-popup__close:hover {
  transform: rotate(6deg);
  border-color: var(--brand);
}

.promo-popup__visual {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96) 0 30%, transparent 31%),
    linear-gradient(145deg, #fdebf1 0%, #fff7f8 55%, #f2f1d9 100%);
}

.promo-popup__visual::after {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(167, 167, 86, 0.22);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.promo-popup__eyebrow,
.promo-popup__discount,
.promo-popup__discount-caption {
  position: relative;
  z-index: 2;
}

.promo-popup__eyebrow {
  margin-bottom: 1.1rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-popup__discount {
  color: var(--brand);
  font-family: var(--font-nunito);
  font-size: clamp(4.4rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-shadow: 0 12px 30px rgba(239, 110, 124, 0.16);
}

.promo-popup__discount-caption {
  margin-top: 0.8rem;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-popup__deco {
  position: absolute;
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
}

.promo-popup__deco--1 {
  top: 10%;
  left: 10%;
  width: 70px;
}

.promo-popup__deco--2 {
  right: 10%;
  bottom: 10%;
  width: 58px;
}

.promo-popup__deco--3 {
  top: 16%;
  right: 17%;
  width: 38px;
  opacity: 0.6;
}

.promo-popup__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3.25rem clamp(2rem, 5vw, 4rem) 2.75rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 110, 124, 0.08), transparent 34%),
    #fffdfb;
}

.promo-popup__badge {
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.promo-popup__title {
  max-width: 16ch;
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  line-height: 1.1;
}

.promo-popup__text {
  max-width: 34ch;
  margin: 1rem 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.promo-popup__note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.promo-popup__cta {
  margin-top: 1.35rem;
  box-shadow: 0 12px 28px rgba(239, 110, 124, 0.24);
}

.promo-popup__later {
  margin: 0.8rem 0 0;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.promo-popup-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .promo-popup {
    place-items: end center;
    padding: 0.75rem;
  }

  .promo-popup__dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100dvh - 1.5rem);
    border-radius: 30px;
  }

  .promo-popup__visual {
    min-height: 190px;
  }

  .promo-popup__visual::after {
    width: 160px;
    height: 160px;
  }

  .promo-popup__eyebrow {
    margin-bottom: 0.65rem;
  }

  .promo-popup__discount {
    font-size: 4.7rem;
  }

  .promo-popup__discount-caption {
    margin-top: 0.45rem;
  }

  .promo-popup__deco--1 {
    top: 14%;
    width: 52px;
  }

  .promo-popup__deco--2 {
    width: 46px;
  }

  .promo-popup__content {
    align-items: center;
    padding: 1.4rem 1.35rem 1.55rem;
    text-align: center;
  }

  .promo-popup__badge {
    margin-bottom: 0.65rem;
  }

  .promo-popup__title {
    max-width: 20ch;
    font-size: clamp(1.55rem, 7.4vw, 2rem);
  }

  .promo-popup__text {
    margin-top: 0.7rem;
    line-height: 1.45;
  }

  .promo-popup__note {
    margin-top: 0.45rem;
  }

  .promo-popup__cta {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-popup,
  .promo-popup__dialog {
    transition: none;
  }
}

/* Prices */
.price-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.price-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  transition: opacity 0.35s ease;
}

.price-columns--refreshing {
  opacity: 0.45;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

a.price-item--link {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background var(--transition);
}

a.price-item--link:hover {
  color: var(--brand-dark);
}

a.price-item--link:hover strong {
  color: var(--brand);
}

.price-item span {
  color: var(--text);
}

.price-item strong {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--font-nunito);
}

.price-item--popular > span:first-child {
  color: var(--brand-dark);
}

.service-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: #8a847c;
  line-height: 1.35;
}

.service-meta__duration {
  display: block;
}

.service-meta__note {
  display: block;
  font-style: italic;
}

.price-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-img {
  display: block;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  object-fit: contain;
}

.price-more {
  display: inline-flex;
  margin-top: 0.5rem;
}

/* Works */
.works-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.works-slider__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 2;
}

.works-slider__nav::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.works-slider__nav--prev::before {
  transform: rotate(-135deg);
}

.works-slider__nav:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.works-slider__nav:active {
  transform: scale(0.96);
}

.works-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  cursor: grab;
  touch-action: pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.works-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.works-slider::-webkit-scrollbar {
  display: none;
}

.works-slide {
  flex: 0 0 calc(20% - 1rem);
  min-width: 200px;
  padding: 0;
  border: none;
  background: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
  display: block;
}

.works-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
  pointer-events: none;
  -webkit-user-drag: none;
}
.works-slide__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}

.works-slide__brand {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255,255,255,.96);
  font-family: var(--font-nunito);
  font-size: .94rem;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-shadow: 0 2px 9px rgba(20, 22, 18, .72), 0 0 2px rgba(20, 22, 18, .48);
  pointer-events: none;
  user-select: none;
}

.works-slide__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #34402f;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(34, 39, 31, 0.14);
  opacity: 0;
  transform: translateY(-5px) scale(0.96);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  pointer-events: none;
}

.works-slide__zoom svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.works-slider:not(.is-dragging) .works-slide:hover .works-slide__zoom,
.works-slide:focus-visible .works-slide__zoom {
  opacity: 1;
  transform: none;
}

.works-slide:focus-visible {
  outline: 3px solid rgba(115, 128, 78, 0.42);
  outline-offset: 4px;
}


.works-slider:not(.is-dragging) .works-slide:hover img {
  transform: scale(1.03);
}

/* Лайтбокс портфолио */
.works-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.works-lightbox[hidden] {
  display: none !important;
}

.works-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(38, 38, 34, 0.92);
  cursor: zoom-out;
  animation: worksBackdropIn .18s ease both;
}

.works-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 2.5rem));
  max-height: calc(100svh - 2rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  animation: worksLightboxIn .24s cubic-bezier(.2,.75,.2,1) both;
}

.works-lightbox__figure {
  margin: 0;
  pointer-events: auto;
  text-align: center;
}
.works-lightbox__media {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.works-lightbox__brand {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: rgba(255,255,255,.96);
  font-family: var(--font-nunito);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.68), 0 0 3px rgba(0,0,0,.35);
  pointer-events: none;
  user-select: none;
}


.works-lightbox__img {
  max-width: 100%;
  max-height: min(86svh, 980px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.works-lightbox__caption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.works-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
}

.works-lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.works-lightbox__close:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.works-lightbox__nav {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  padding: 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.works-lightbox__nav::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.works-lightbox__nav--prev::before {
  transform: rotate(-135deg);
}

.works-lightbox__nav:hover {
  background: var(--brand-light);
  color: var(--brand);
}

body.works-lightbox-open {
  overflow: hidden;
}

.works-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--brand);
}

/* Benefits */
.benefits {
  padding: 0;
  margin: 20px 0 50px;
}

.benefits-grid {
  background: var(--accent-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit {
  text-align: center;
}

.benefit-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.benefit h4 {
  font-family: var(--font-nunito);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.benefit p {
  font-size: 0.8rem;
  line-height: 1.55;
}

/* Reviews */
.reviews-wrap {
  position: relative;
}

.reviews-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.reviews-summary__main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.reviews-summary__score {
  font-family: var(--font-nunito);
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.reviews-summary__info .stars {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.reviews-summary__count {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.reviews-summary__source {
  font-size: 0.8rem;
  color: var(--muted);
}

.reviews-summary__source-label {
  color: var(--accent);
  font-weight: 600;
}

.reviews-summary__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 280px;
}

.reviews-summary__prompt {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.reviews-summary__cta {
  white-space: nowrap;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.review-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-card h3 {
  font-family: var(--font-nunito);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.review-card .stars {
  font-size: 0.9rem;
}

.review-card__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.review-card__more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  margin-top: auto;
}

.review-card__more:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.stars {
  color: var(--accent);
  letter-spacing: 1px;
}

.stars__half {
  opacity: 0.55;
}

.stars__empty {
  color: var(--border);
}

.reviews-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.reviews-footer__link {
  min-width: min(100%, 320px);
  justify-content: center;
}

.reviews-footer__note {
  font-size: 0.78rem;
  color: var(--muted);
}

.reviews-footer__note a {
  color: var(--accent);
  text-decoration: none;
}

.reviews-footer__note a:hover {
  text-decoration: underline;
}

.reviews-deco {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: clamp(56px, 8vw, 88px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* Booking */
.booking {
  position: relative;
  padding: 20px 0 80px;
  overflow: visible;
  z-index: 2;
}

.booking-inner {
  position: relative;
  background: var(--accent);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem 3rem calc(3.5rem + 360px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  overflow: visible;
  z-index: 1;
}

.booking-visual {
  position: absolute;
  left: 1.5rem;
  bottom: -15px;
  width: 400px;
  pointer-events: none;
  z-index: 2;
}

.booking-visual img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.booking-text h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.booking-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.booking-btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.anchor-target {
  display: block;
  height: 0;
  scroll-margin-top: var(--header-h);
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(to bottom, var(--panel), var(--bg));
  padding: 100px 0 50px;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-brand .copyright,
.footer-legal,
.footer-policy {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-policy {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
}

.footer-policy:hover {
  color: var(--brand);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}

.footer-col h4 {
  font-family: var(--font-nunito);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-col > a,
.footer-col > p,
.footer-contacts > a:not(.social),
.footer-contacts > p {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer-col > a:hover,
.footer-contacts > a:not(.social):hover {
  color: var(--brand);
}

.footer-contacts a[href^="tel"],
.footer-contacts a[href^="mailto"],
.footer-contacts a[href^="http"] {
  font-weight: 600;
  color: var(--text);
}

.footer-address__meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-socials .social {
  display: grid;
  flex-shrink: 0;
  margin-bottom: 0;
  color: var(--accent);
  background: var(--white);
}

.footer-socials .social:hover {
  color: var(--brand);
}

.footer-deco {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: clamp(64px, 10vw, 100px);
  height: auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .service-card {
    padding: 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .works-slide {
    flex: 0 0 calc(33.333% - 0.85rem);
  }

  .works-slider__nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 980px) {
  .menu {
    position: fixed;
    top: var(--header-h);
    left: -100%;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    transition: left 0.35s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--border);
  }

  .menu.active {
    left: 0;
  }

  .burger {
    display: block;
  }

  .nav-right .socials {
    display: none;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - var(--header-h) - var(--promo-ticker-h));
    min-height: calc(100dvh - var(--header-h) - var(--promo-ticker-h));
    padding: 1rem 0 1.25rem;
  }

  .hero-visual {
    order: -1;
    min-height: clamp(180px, 30vh, 280px);
  }

  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-panel {
    padding: 1.5rem 0;
  }

  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .price-layout {
    grid-template-columns: 1fr;
  }

  .price-visual {
    display: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-summary__actions {
    max-width: none;
    width: 100%;
  }

  .reviews-summary__cta {
    width: 100%;
    justify-content: center;
  }

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

  .booking-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.75rem;
  }

  .booking-visual {
    display: none;
  }

  .booking-btn {
    justify-self: center;
    width: 100%;
    max-width: 320px;
    min-height: 48px;
  }

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

@media (max-width: 640px) {
  .nav-btn {
    display: none;
  }

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

  .service-card {
    padding: 1.5rem 1rem;
  }

  .services-all {
    width: 100%;
    justify-content: center;
  }

  .price-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .works-slide {
    flex: 0 0 75%;
    min-width: 260px;
  }

  .works-lightbox__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
  }

  .works-lightbox__nav--prev {
    grid-row: 2;
    grid-column: 1;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .works-lightbox__nav--next {
    grid-row: 2;
    grid-column: 1;
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .works-lightbox__figure {
    grid-row: 2;
    width: 100%;
  }

  .works-lightbox__close {
    top: 0;
    right: 0.5rem;
  }

  .works-slider-wrap {
    gap: 0.35rem;
  }

  .works-slider__nav {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }

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

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

  /* Мобильная версия: компактный футер */
  .footer-grid > .footer-col:nth-child(2),
  .footer-grid > .footer-col:nth-child(3) {
    display: none;
  }

  section {
    padding: 50px 0;
  }

  .booking {
    padding-bottom: 56px;
  }

  .booking-inner {
    padding: 2rem 1.25rem;
    gap: 1.25rem;
  }

  .booking-text h2 {
    font-size: 1.45rem;
  }

  .booking-btn {
    max-width: none;
  }
}

@media (min-width: 981px) and (max-width: 1220px) {
  .menu { gap: 1rem; }
  .menu a { font-size: 0.84rem; }
  .nav-right { gap: 0.6rem; }
}

@keyframes worksBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes worksLightboxIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .works-slide__brand { left: 11px; bottom: 10px; font-size: .88rem; }
  .works-slide__zoom { width: 32px; height: 32px; top: 10px; right: 10px; opacity: 1; transform: none; }
  .works-lightbox { padding: .65rem; }
  .works-lightbox__dialog { width: 100%; max-height: calc(100svh - 1.3rem); }
  .works-lightbox__img { max-height: 84svh; }
  .works-lightbox__brand { left: 14px; bottom: 13px; font-size: 1rem; }
}

/* RESFORMA 7.1.8 — фирменный белый цветок после подписи работ */
.works-slide__brand,
.works-lightbox__brand {
  display: inline-flex;
  align-items: center;
  gap: .32em;
}

.works-slide__brand::after,
.works-lightbox__brand::after {
  content: "";
  display: block;
  width: .76em;
  height: .76em;
  flex: 0 0 .76em;
  background: url("image/fl1.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: .98;
  pointer-events: none;
}


/* RESFORMA 7.1.9 — полупрозрачный водяной знак работ */
.works-slide__brand,
.works-lightbox__brand {
  opacity: .72;
}

.works-slide__brand::after,
.works-lightbox__brand::after {
  opacity: .92;
}


/* RESFORMA 8.2.7 — mobile works gallery refinement */
@media (max-width: 640px) {
  .works {
    padding: 46px 0 54px;
    overflow: hidden;
  }

  .works .section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
    margin-bottom: 1.35rem;
  }

  .works .section-head h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    line-height: 1.05;
  }

  .works .section-head .section-link {
    width: max-content;
    min-height: 38px;
    padding: .62rem .9rem;
    border-radius: 999px;
    background: var(--brand-light);
    color: var(--brand);
    font-size: .84rem;
    font-weight: 700;
  }

  .works-slider-wrap {
    display: block;
    width: 100%;
    gap: 0;
  }

  .works-slider__nav {
    display: none;
  }

  .works-slider {
    width: 100%;
    gap: .8rem;
    padding: 2px 13vw 10px 0;
    scroll-padding-inline: 0 13vw;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .works-slide {
    flex: 0 0 min(82vw, 332px);
    min-width: 0;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-shadow: 0 14px 34px rgba(72, 66, 54, .10);
    background: #f3efe8;
  }

  .works-slide__media {
    width: 100%;
    height: 100%;
  }

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

  .works-slide__brand {
    left: 14px;
    bottom: 13px;
    font-size: .9rem;
  }

  .works-slide__zoom {
    width: 34px;
    height: 34px;
    top: 12px;
    right: 12px;
    opacity: .96;
    transform: none;
    box-shadow: 0 7px 18px rgba(34, 39, 31, .13);
  }

  .works-slide__zoom svg {
    width: 16px;
    height: 16px;
  }

  .works-dots {
    gap: .38rem;
    margin-top: 1rem;
    min-height: 9px;
  }

  .works-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 22%, white);
    transition: width .22s ease, background .22s ease, opacity .22s ease;
  }

  .works-dots .dot.active {
    width: 24px;
    background: var(--brand);
  }

  .works-lightbox__caption {
    padding-inline: 2.8rem;
    font-size: .9rem;
  }
}

@media (max-width: 390px) {
  .works-slider {
    padding-right: 11vw;
  }
  .works-slide {
    flex-basis: 84vw;
    border-radius: 22px;
  }
}
