/* ===== HEADER ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: 88px;
  display: flex;
  align-items: center;
  background: rgba(250, 243, 231, .82);
  transition: background-color var(--t-base), box-shadow var(--t-base), height var(--t-base);
}

.header.is-scrolled {
  height: 72px;
  background: rgba(250, 243, 231, .94);
  box-shadow: var(--sh-header);
}

@supports (backdrop-filter: blur(1px)) {
  .header { backdrop-filter: blur(12px); }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.header__inner .nav { margin-inline: auto; }

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn--gold { border: 1px solid rgba(176, 138, 84, .6); }

.nav__list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }

.nav__link { position: relative; text-decoration: none; }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-out);
}

.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link.is-active::after { transform: scaleX(1); }

.burger {
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-start; justify-content: center;
  padding-left: 10px;
}

.burger span { width: 24px; background: var(--c-ink); }
.burger span:nth-child(2) { width: 15px; }

.burger span { height: 1.5px; transition: transform 300ms var(--ease-out), opacity 200ms, background-color var(--t-fast) linear; }

/* ===== MOBILE MENU (фулскрин-оверлей на всех разрешениях) ===== */
.mobile-menu[hidden] { display: none; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--c-bg);
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility 0s;
}

.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }

.mobile-menu__close { position: relative; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }

.mobile-menu__close span { position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; margin-top: -1px; background: var(--c-ink); }

.mobile-menu__close span:first-child { transform: rotate(45deg); }
.mobile-menu__close span:last-child { transform: rotate(-45deg); }

.mobile-menu__nav { display: flex; flex-direction: column; margin-top: 12px; }

.mobile-menu__nav a { padding-block: 16px; font-size: 20px; line-height: 1.3; text-decoration: none; color: var(--c-ink); border-bottom: 1px solid var(--c-line); }

.mobile-menu__nav a:first-child { border-top: 1px solid var(--c-line); }

.mobile-menu__cta { margin: 24px 0 0; }
.mobile-menu__cta .btn { width: 100%; justify-content: center; }

.mobile-menu__social { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 8px; }
.mobile-menu__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--c-ink); opacity: .7; }

@media (min-width: 1024px) {
  .mobile-menu { padding-inline: 40px; }
  .mobile-menu__nav { width: 100%; max-width: 560px; margin-inline: auto; text-align: center; }
  .mobile-menu__nav a { font-size: 28px; padding-block: 18px; }
  .mobile-menu__cta { width: 100%; max-width: 560px; margin-inline: auto; }
  .mobile-menu__social { justify-content: center; }
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.3;
}

.btn--sm { min-height: 44px; padding: 12px 24px; font-size: 14px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-decoration: none;
  color: var(--c-ink);
}

.link-more__circle {
  width: 30px;
  height: 30px;
  border: 1px solid var(--c-ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .link-more:hover .link-more__circle { transform: translateX(4px); }
}

.hero__title { color: var(--c-ink); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background-color var(--t-fast) linear, transform 120ms var(--ease-out);
}

.btn--primary { background: linear-gradient(90deg, #7f1e30, #b23a4a); color: var(--c-surface); border: 0; }
.btn--ghost { background: transparent; border: 1px solid var(--c-bordeaux); color: var(--c-bordeaux); }
.btn--gold { background: linear-gradient(180deg, #f0cd7d, #d9a24a 55%, #c08a2e); color: #4a1f14; border: 0; font-weight: 600; box-shadow: 0 12px 28px -10px rgba(217, 162, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .5); transition: background-color var(--t-fast) linear, transform 120ms var(--ease-out), filter var(--t-fast) linear; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { filter: brightness(.93); }
  .btn--primary:hover .btn__icon { transform: translateX(6px); }
  .btn--gold:hover { filter: brightness(1.06); }
  .btn--gold:hover .btn__icon { transform: translateX(6px); }
  .btn--ghost:hover { background: var(--c-bordeaux); color: var(--c-surface); }
}

.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; pointer-events: none; }

/* ===== CARDS ===== */
.card--service {
  position: relative;
  padding: 0 0 24px;
  background: linear-gradient(180deg, #fffdf6, #fff6e4);
  border: 1px solid rgba(217, 162, 74, .55);
  border-radius: 20px;
  box-shadow: 0 18px 40px -18px rgba(122, 58, 20, .35), 0 2px 6px rgba(122, 58, 20, .12);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card--service .card__photo { margin-bottom: 46px; }
.card--service .card__photo img { border-radius: 19px 19px 0 0; }
.card--service .card__badge {
  left: 20px;
  bottom: -30px;
  width: 64px;
  height: 64px;
  background: #fffdf6;
  border: 1.5px solid #d9a24a;
  color: var(--c-bordeaux);
  box-shadow: 0 8px 20px -8px rgba(122, 58, 20, .4);
}
.card--service .card__badge svg { width: 34px; height: 34px; }
.card--service .card__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 23px); line-height: 1.25; color: var(--c-bordeaux); padding: 0 24px; margin: 0 0 10px; }
.card--service .card__text { font-size: 15px; line-height: 1.6; color: #6f6152; padding: 0 24px; margin: 0 0 16px; }
.card--service .card__link { padding: 0 24px; font-size: 14px; font-weight: 600; color: var(--c-bordeaux); text-decoration: underline; text-underline-offset: 4px; }

.card__link { margin-top: auto; }

@media (hover: hover) and (pointer: fine) {
  .card--service:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); }
}

/* ===== SECTIONS ===== */
.services__grid, .steps__grid, .reviews__grid { display: grid; gap: var(--gutter); }

.steps__intro h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; }
.steps__intro .eyebrow { margin-bottom: 12px; }
.steps__intro h2 + p { margin-top: 16px; }
.steps__intro p + p { margin-top: 28px; }

.step__photo { width: 100%; aspect-ratio: 142 / 92; object-fit: cover; border-radius: var(--r-media); }
.step__num { font-family: var(--f-display); font-size: 20px; letter-spacing: .08em; color: var(--c-brass); margin: 14px 0 6px; }
.step__title { font-family: var(--f-body); font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.step__text { font-size: 13px; color: var(--c-ink-muted); }

@media (max-width: 767px) {
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .step__photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-bottom: 4px; }
  .step__num {
    position: relative;
    width: 44px; height: 44px;
    margin: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-hairline);
    border-radius: 50%;
    font-size: 15px;
  }
  .step:not(:last-child) .step__num::after {
    content: "";
    position: absolute;
    top: 44px;
    bottom: -32px;
    left: 50%;
    width: 1px;
    background: var(--c-hairline);
  }
  .step__title { align-self: end; }
  .step__text { grid-column: 2; }
}

@media (min-width: 768px) {
  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .steps__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.services { position: relative; overflow: clip; }
.services__bg { position: absolute; inset: 0; z-index: 0; }
.services__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.services::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(250, 243, 231, .3); pointer-events: none; }
.services__clouds {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(120px, 18vw, 200px);
  z-index: 1;
  pointer-events: none;
}
.services__clouds svg { width: 100%; height: 100%; display: block; }
.services__layout { position: relative; z-index: 1; display: grid; gap: 32px; }

.services__intro { max-width: 760px; margin-inline: auto; text-align: center; }
.services__intro h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  color: var(--c-bordeaux);
}

.services__intro .eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 14px; color: #a4761f; }
.services__intro .eyebrow::before,
.services__intro .eyebrow::after { content: ""; height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, #c9963c); }
.services__intro .eyebrow::after { background: linear-gradient(90deg, #c9963c, transparent); }
.services__intro h2 + p { margin-top: 16px; color: #6f6152; }
.services__intro p + p { margin-top: 10px; color: #6f6152; }
.services__intro p:last-child { margin-top: 24px; }

.services__grid { align-items: stretch; }

.services__grid .card__photo img { aspect-ratio: 16 / 10; }

.services__track { grid-auto-columns: 84%; }

@media (max-width: 767px) {
  .services__intro .btn { width: 100%; justify-content: center; }
}

@media (min-width: 640px) {
  .services__track { grid-auto-columns: calc((100% - var(--gutter)) / 2); }
}

@media (min-width: 1024px) {
  .services__layout { gap: 40px; }
  .services__intro { max-width: 820px; margin-inline: auto; text-align: center; }
  .services__intro p:last-child { margin-top: 28px; }
  .services__intro .btn { margin-inline: auto; }
  .services__track { grid-auto-columns: calc((100% - 2 * var(--gutter)) / 3); }
}

/* ===== FOR-WHOM (Это про вас, если…) ===== */
.for-whom { position: relative; overflow: clip; }
.for-whom__bg { position: absolute; inset: 0; z-index: 0; }
.for-whom__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.whom__clouds {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(120px, 18vw, 200px);
  z-index: 1;
  pointer-events: none;
}

.whom__clouds svg { width: 100%; height: 100%; display: block; }
.whom__clouds--bottom { top: auto; bottom: -1px; }
.for-whom::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(250, 243, 231, .45); pointer-events: none; }
.for-whom__layout { position: relative; z-index: 1; display: grid; gap: 32px; }

.for-whom__intro { max-width: 820px; margin-inline: auto; text-align: center; }
.for-whom__intro .eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 14px; color: #a4761f; }
.for-whom__intro .eyebrow::before,
.for-whom__intro .eyebrow::after { content: ""; height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, #c9963c); }
.for-whom__intro .eyebrow::after { background: linear-gradient(90deg, #c9963c, transparent); }
.for-whom__intro h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; color: var(--c-bordeaux); }
.for-whom__divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 0; color: #c9963c; }
.for-whom__divider span { height: 1px; width: min(90px, 18vw); background: linear-gradient(90deg, transparent, #c9963c); }
.for-whom__divider span:last-child { background: linear-gradient(90deg, #c9963c, transparent); }
.for-whom__intro > p:last-child { margin: 18px auto 0; max-width: 640px; color: #6f6152; }

.whom__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gutter); align-items: stretch; }

.whom {
  background: linear-gradient(180deg, #fffdf6, #fff6e4);
  border: 1px solid rgba(217, 162, 74, .55);
  border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(122, 58, 20, .35), 0 2px 6px rgba(122, 58, 20, .12);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.whom__icon { width: 64px; height: 64px; flex-shrink: 0; }
.whom__body { display: flex; flex-direction: column; gap: 8px; }

.whom__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 2vw, 22px); line-height: 1.25; margin: 0; color: var(--c-bordeaux); }
.whom__text { font-size: 15px; line-height: 1.6; color: #6f6152; margin: 0; }

.whom__cta {
  background: var(--c-bordeaux);
  color: var(--c-surface);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Бордовая CTA-панель с золотом — только на главной */
.for-whom .whom__cta {
  background: linear-gradient(135deg, #7c1c2c, #5c1020 60%, #480b18);
  border: 1px solid rgba(217, 162, 74, .65);
  border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(90, 10, 25, .6), inset 0 1px 0 rgba(246, 227, 174, .25);
  color: #f7ead0;
  align-items: center;
  text-align: center;
}

.whom__cta-star { display: grid; place-items: center; width: 88px; height: 88px; flex-shrink: 0; animation: star-twinkle 2.4s ease-in-out infinite; transform-origin: center; }

@keyframes star-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 6px rgba(243, 216, 148, .8)); }
  50% { opacity: .45; transform: scale(.82); filter: drop-shadow(0 0 2px rgba(243, 216, 148, .3)); }
}

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

.for-whom .whom__cta-title { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin: 0 0 8px; color: #f3d894; }
.for-whom .whom__cta-sub { font-size: 14.5px; line-height: 1.6; margin: 0; color: #f0dcc0; opacity: 1; }
.whom__cta-rule { display: none; }

.whom__cta-title { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; margin: 0 0 8px; }
.whom__cta-sub { font-size: 14px; line-height: 1.6; margin: 0; opacity: .92; }

@media (min-width: 640px) {
  .whom__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .for-whom__layout { gap: 40px; }
  .whom__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .for-whom .whom__cta { flex-direction: row; align-items: center; text-align: left; gap: 28px; padding: 32px 36px; }
  .for-whom .whom__cta-text { flex: 1 1 auto; }
  .whom__cta-rule { display: block; position: relative; width: 1px; align-self: stretch; background: linear-gradient(180deg, transparent, rgba(217, 162, 74, .7), transparent); }
  .whom__cta-rule::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%) rotate(45deg); background: #e9bd62; }
  .whom__cta .btn { flex-shrink: 0; }
  .whom__cta-text { max-width: 620px; }
}

@media (hover: hover) and (pointer: fine) {
  .whom:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); }
}

.card__photo { position: relative; margin-bottom: 20px; }

.card__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-media);
}

.card__badge {
  position: absolute;
  left: 12px;
  bottom: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-brass);
  color: var(--c-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(74, 42, 28, .25);
}

.services__carousel .arrow--next { border-color: #c9963c; color: #a4761f; }

@media (hover: hover) and (pointer: fine) {
  .services__carousel .arrow--next:hover:not(:disabled) { background: #c9963c; border-color: #c9963c; color: #fffdf6; }
}

#services { background: var(--c-bg-soft); }

/* ===== CAROUSEL (стрелки + полоса прогресса, нативная прокрутка) ===== */
.carousel__head { display: flex; justify-content: flex-end; margin-bottom: 16px; }

.arrows { display: flex; gap: 12px; }
.arrows.is-idle { visibility: hidden; }

.arrow {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--c-bordeaux);
  border-radius: 50%;
  background: transparent;
  color: var(--c-bordeaux);
  cursor: pointer;
  transition: background-color var(--t-fast) linear, color var(--t-fast) linear, opacity var(--t-fast) linear;
}

.arrow svg { width: 18px; height: 18px; }
.arrow--prev svg { transform: rotate(180deg); }

@media (hover: hover) and (pointer: fine) {
  .arrow:hover:not(:disabled) { background: var(--c-bordeaux); color: var(--c-surface); }
}

.arrow:disabled { opacity: .3; cursor: default; }

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  gap: var(--gutter);
  overflow-x: auto;
  overflow-y: clip;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; min-width: 0; }

.carousel__bar { height: 2px; margin-top: 20px; background: var(--c-line); border-radius: var(--r-pill); overflow: hidden; }
.carousel__bar span { display: block; height: 100%; width: 33%; background: var(--c-brass); border-radius: inherit; }

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

/* ===== VIDEO REVIEWS ===== */
.reviews__track { grid-auto-columns: 72%; }

.video-review {
  background: rgba(255, 253, 248, .06);
  border: 1px solid rgba(255, 253, 248, .14);
  border-radius: var(--r-card);
  overflow: hidden;
}

.video-review__link { position: relative; display: block; aspect-ratio: 250 / 420; }

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

.video-review iframe { display: block; width: 100%; aspect-ratio: 250 / 420; border: 0; }

.video-review__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-bordeaux);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(43, 26, 30, .45);
  transition: transform var(--t-fast) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .video-review__link:hover .video-review__play { transform: scale(1.08); }
}

.arrows--light .arrow { color: var(--c-surface); border-color: rgba(255, 253, 248, .5); }

@media (hover: hover) and (pointer: fine) {
  .arrows--light .arrow:hover:not(:disabled) { background: var(--c-surface); color: var(--c-bordeaux); }
}

.reviews .carousel__bar { background: rgba(255, 253, 248, .2); }
.reviews .carousel__bar span { background: var(--c-surface); }

@media (min-width: 640px) {
  .reviews__track { grid-auto-columns: calc((100% - var(--gutter)) / 2); }
}

@media (min-width: 1024px) {
  .reviews__track { grid-auto-columns: calc((100% - 2 * var(--gutter)) / 3); }
}

/* ===== ABOUT (personal: арочный портрет + копирайт) ===== */
.about { position: relative; background: var(--c-plum); color: var(--c-surface); overflow: clip; }
.about .eyebrow { color: var(--c-brass); }

.about::after {
  content: "";
  position: absolute;
  top: -230px;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 138, 84, .25), transparent 68%);
  pointer-events: none;
}

.about__layout { position: relative; z-index: 1; display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 0 16px; align-items: start; }

.about__portrait { margin: 0; min-width: 0; grid-row: 1 / 3; }

.about__frame { display: block; position: relative; padding: 6px; border-radius: 210px 210px var(--r-card) var(--r-card); background: linear-gradient(145deg, var(--c-brass), var(--c-bordeaux) 62%, var(--c-plum)); box-shadow: var(--sh-card); }

.about__frame::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 253, 248, .45); border-radius: inherit; pointer-events: none; }

.about__frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border-radius: 200px 200px 8px 8px; }

.about__portrait figcaption { margin-top: 10px; text-align: center; font-size: 10px; line-height: 1.5; color: var(--c-cream); }

.about__copy { display: contents; }
.about__copy > .eyebrow { grid-column: 2; align-self: end; margin: 0 0 8px; }
.about__copy > h2 { grid-column: 2; align-self: start; margin: 0; font-size: clamp(28px, 7vw, 34px); line-height: 1.02; }
.about__copy > h2 span { color: var(--c-brass); }
.about__copy > p:not(.eyebrow) { grid-column: 1 / -1; }

.about__lead { margin: 20px 0 0; color: var(--c-cream); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; }

.about__note { margin: 20px 0 0; padding-left: 20px; border-left: 2px solid var(--c-brass); font-family: var(--f-display); font-size: clamp(20px, 2vw, 23px); line-height: 1.38; color: var(--c-surface); }

.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 2px; color: var(--c-surface); font-size: 15px; font-weight: 500; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px; transition: background-size var(--t-base) var(--ease-out); }
.text-link svg { transition: transform var(--t-fast) var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .text-link:hover { background-size: 100% 1px; }
  .text-link:hover svg { transform: translateX(4px); }
}

.about__points { grid-column: 1 / -1; list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }

.point__badge { width: 56px; height: 56px; border: 1px solid var(--c-brass); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--c-brass); margin-bottom: 14px; }
.point__badge svg { width: 26px; height: 26px; }

.about__points p { font-size: 13px; margin: 0; color: var(--c-surface); }

@media (min-width: 640px) {
  .about__layout { grid-template-columns: 200px minmax(0, 1fr); gap: 0 24px; }
  .about__frame { padding: 8px; }
  .about__frame::before { inset: 14px; }
  .about__portrait figcaption { font-size: 11px; }
  .about__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .about__layout { grid-template-columns: minmax(280px, .55fr) minmax(0, 1fr); gap: 24px 90px; align-items: center; }
  .about__portrait { grid-row: auto; justify-self: end; width: min(100%, 370px); }
  .about__frame::before { inset: 19px; }
  .about__copy { display: block; max-width: 700px; }
  .about__copy > .eyebrow { margin: 0 0 12px; }
  .about__copy > h2 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; }
  .about__lead { margin-top: 24px; }
  .about__note { margin-top: 28px; padding-left: 24px; }
  .about__points { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: 16px; }
  .about__points li + li { border-left: 1px solid var(--c-line-light); padding-left: 24px; }
  .about__points p { font-size: 12px; }
  .point__badge { width: 48px; height: 48px; margin-bottom: 10px; }
  .point__badge svg { width: 22px; height: 22px; }
}

.card__title { font-size: 17px; margin-bottom: 8px; }
.card__text { font-size: 13px; color: var(--c-ink-muted); margin-bottom: 12px; }
.card__link { font-size: 13px; text-decoration: none; }

.reviews { position: relative; background: var(--c-bordeaux); color: var(--c-surface); overflow: clip; }

.reviews__bg { position: absolute; inset: 0; }

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

.reviews__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 16, 38, .3);
}

.reviews .container { position: relative; z-index: 1; }

.reviews__intro h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.reviews__intro .eyebrow { margin-bottom: 12px; }
.reviews__intro h2 + p { margin-top: 16px; }
.reviews__intro p + p { margin-top: 24px; }

.btn--light { border-color: rgba(255, 253, 248, .5); color: var(--c-surface); }

@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: var(--c-surface); color: var(--c-bordeaux); }
}

.review-card {
  background: rgba(255, 253, 248, .06);
  border: 1px solid rgba(255, 253, 248, .14);
  border-radius: var(--r-card);
  padding: 24px;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card blockquote { margin: 0; }
.review-card figcaption { margin-top: auto; }

/* ===== LEGACY: текстовые review-card оставлены для переиспользования ===== */

.cta {
  position: relative;
  overflow: clip;
  background: var(--c-plum);
  color: var(--c-surface);
}

.cta__bg { position: absolute; inset: 0; }

.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 26, 30, .68) 0%, rgba(43, 26, 30, .32) 45%, rgba(43, 26, 30, .18) 100%);
}

.cta__inner {
  position: relative;
  z-index: 1;
  min-height: 364px;
  padding-block: 50px;
  display: grid;
  gap: 24px;
  align-items: center;
  align-content: center;
}

.cta__inner .eyebrow { margin-bottom: 12px; color: var(--c-silver); }

.cta__inner h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }

.cta__inner h2 + p { margin-top: 12px; font-size: 14px; }

.cta__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0; }

.link-more--light { color: var(--c-surface); }
.link-more--light .link-more__circle { border-color: var(--c-surface); }

.logo--light { color: var(--c-surface); }
.cta__logo { display: none; }

@media (min-width: 1024px) {
  .cta__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; min-height: 434px; padding-block: 72px; }
  .cta__logo { display: inline-flex; }
}

.footer { background: var(--c-bg); padding-block: 28px 20px; font-size: 12px; }

.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.footer__nav { display: flex; gap: 20px; margin-inline: auto; }

.footer__nav a { text-decoration: none; }

.footer__side { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.footer__side a { display: inline-flex; color: var(--c-ink); opacity: .7; transition: opacity var(--t-fast) linear; }

@media (hover: hover) and (pointer: fine) {
  .footer__side a:hover { opacity: 1; }
}

.footer__divider { width: 1px; height: 18px; background: var(--c-hairline); }

.footer__slogan { margin: 0; color: var(--c-ink-muted); }

.footer__copy { margin-top: 16px; font-size: 11px; color: var(--c-ink-muted); }

@media (max-width: 767px) {
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .cta__actions .link-more { justify-content: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { margin-inline: 0; flex-wrap: wrap; justify-content: center; }
  .footer__side, .footer__copy { margin-inline: auto; text-align: center; }
  .footer__side { justify-content: center; }
}

.booking {
  background: var(--c-bordeaux);
  color: var(--c-surface);
  border-radius: 16px;
  padding: 24px;
}

.booking form { display: grid; gap: 16px; margin-top: 20px; }
.booking .field { display: grid; gap: 8px; }
.booking form > label:has(> input[name="agree"]) { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.booking input[name="agree"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--c-bordeaux); }
.booking form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.field__input {
  min-height: 52px;
  border-radius: 8px;
  background: var(--c-surface);
  border: var(--b-card);
  padding: 0 16px;
  width: 100%;
}

.field__input:focus { border-color: var(--c-bordeaux); box-shadow: 0 0 0 3px rgba(107, 31, 49, .12); }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }

@media (min-width: 1024px) {
  .only-mobile { display: none; }
}

/* ===== FAQ ===== */
.faq-section { background: var(--c-bg-soft); }
.faq__layout { display: grid; gap: 32px; }

.faq__intro { max-width: 760px; }
.faq__intro .eyebrow { margin-bottom: 12px; }
.faq__intro h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 0; }
.faq__intro h2 + p { margin: 16px 0 0; color: var(--c-ink-muted); }

.accordion { border-top: 1px solid var(--c-line); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__head { margin: 0; }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--c-ink);
}

.accordion__trigger::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--c-brass);
  background:
    linear-gradient(var(--c-bordeaux), var(--c-bordeaux)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--c-bordeaux), var(--c-bordeaux)) center / 1.5px 12px no-repeat;
  transition: transform var(--t-base) var(--ease-out);
}

.accordion__item.is-open .accordion__trigger::after { transform: rotate(45deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}

.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }

.accordion__inner { overflow: hidden; min-height: 0; }
.accordion__inner p { margin: 0; padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--c-ink-muted); }

@media (hover: hover) and (pointer: fine) {
  .accordion__trigger:hover { color: var(--c-bordeaux); }
}

@media (min-width: 1024px) {
  .faq__layout { gap: 40px; }
  .faq__intro { max-width: 820px; margin-inline: auto; text-align: center; }
  .accordion { max-width: 800px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .accordion__panel, .accordion__trigger::after { transition: none; }
}

/* ===== SERVICE PAGES (детальные страницы услуг) ===== */
.page-hero { padding-top: calc(88px + var(--sp-section)); }
.crumbs { margin: 0; font-size: 13px; color: var(--c-ink-muted); }
.crumbs a { color: var(--c-bordeaux); text-decoration: none; }

.page-hero__layout { display: grid; gap: 24px; align-items: center; }
.page-hero__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--sh-card); }
.page-hero__copy .eyebrow { margin-bottom: 12px; }
.page-hero__copy h1 { margin: 0; }
.page-hero__lead { margin: 16px 0 0; color: var(--c-ink-muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0 0; }

.subservices { background: var(--c-bg-soft); }
.subservices__intro { max-width: 760px; }
.subservices__intro h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 12px 0 0; }
.subservices__intro p { margin: 16px 0 0; color: var(--c-ink-muted); }

.subservices__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; }

.sub { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.sub:first-child { border-top: 1px solid var(--c-line); }
.sub__num { font-family: var(--f-display); font-size: 22px; line-height: 1.2; color: var(--c-brass); }
.sub h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.sub p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--c-ink-muted); grid-column: 2; }

.page-cta { margin-top: 40px; }

@media (min-width: 1024px) {
  .page-hero__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .subservices__intro { max-width: 820px; margin-inline: auto; text-align: center; }
  .subservices__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
  .page-cta { max-width: 720px; margin-inline: auto; }
}

/* ===== CONTACTS (телефон и Telegram с эталона) ===== */
.tg-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 90;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-telegram);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(34, 158, 217, .45);
  transition: transform var(--t-fast) var(--ease-out);
}

.tg-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-telegram);
  animation: tg-ping 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes tg-ping {
  0% { transform: scale(1); opacity: .6; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .tg-float:hover { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .tg-float::before { display: none; }
}

.footer__phone {
  font-weight: 600;
  font-size: 15px;
  color: var(--c-ink);
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu__phone {
  display: block;
  margin: 16px 0 0;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
}

.cta__phone { margin: 16px 0 0; font-size: 14px; color: var(--c-surface); opacity: .92; }
.cta__phone a { color: inherit; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

.booking__contacts { margin: 16px 0 0; font-size: 14px; }
.booking__contacts a { color: inherit; }

/* ===== MODAL (заявка) ===== */
.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(43, 26, 30, .62);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out), visibility 0s linear var(--t-base);
}

@supports (backdrop-filter: blur(1px)) {
  .modal { backdrop-filter: blur(6px); }
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--t-base) var(--ease-out), visibility 0s;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--c-surface);
  border: var(--b-card);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(43, 26, 30, .35);
  padding: 32px 28px 28px;
  transform: translateY(12px) scale(.98);
  transition: transform var(--t-base) var(--ease-out);
}

.modal.is-open .modal__dialog { transform: none; }

.modal__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }

.modal__close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; margin-top: -1px; background: var(--c-ink); }

.modal__close span:first-child { transform: rotate(45deg); }
.modal__close span:last-child { transform: rotate(-45deg); }

.modal__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; margin: 12px 0 0; }
.modal__lead { margin: 10px 0 0; font-size: 14px; color: var(--c-ink-muted); }

.modal__form { margin-top: 20px; display: grid; gap: 16px; }
.modal__form .field { display: grid; gap: 8px; }

.field__label { font-size: 14px; font-weight: 500; }

.field__error { font-size: 13px; line-height: 1.4; color: var(--c-error); }
.field__error:empty { display: none; }

.agree { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.agree__box { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--c-bordeaux); cursor: pointer; }

.policy { font-size: 13px; color: var(--c-ink-muted); }
.policy summary { cursor: pointer; color: var(--c-bordeaux); text-decoration: underline; text-underline-offset: 3px; }
.policy__text { margin-top: 10px; display: grid; gap: 6px; }
.policy__text p { margin: 0; font-size: 13px; line-height: 1.55; }

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

.form__status { margin: 0; font-size: 14px; }
.form__status:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
  .modal, .modal__dialog { transition: none; }
}
