html {
  scroll-behavior: smooth;
  font-size: 17px;
}

:root {
  --font-body: "PT Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Oswald", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="1"] {
  --font-heading: "Russo One", "Roboto", sans-serif;
  --font-body: "Manrope", "Roboto", sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="2"] {
  --font-heading: "Exo 2", "Roboto", sans-serif;
  --font-body: "Inter", "Roboto", sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="3"] {
  --font-heading: "Unbounded", "Roboto", sans-serif;
  --font-body: "Rubik", "Roboto", sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="4"] {
  --font-heading: "Russo One", "Roboto", sans-serif;
  --font-body: "Manrope", "Roboto", sans-serif;
  --font-heading-weight: 900;
}

[data-font-preset="5"] {
  --font-heading: "Exo 2", "Roboto", sans-serif;
  --font-body: "Inter", "Roboto", sans-serif;
  --font-heading-weight: 900;
}

[data-font-preset="6"] {
  --font-heading: "Unbounded", "Roboto", sans-serif;
  --font-body: "Rubik", "Roboto", sans-serif;
  --font-heading-weight: 900;
}

[data-font-preset="7"] {
  --font-heading: "Orbitron", "Roboto", sans-serif;
  --font-body: "Montserrat", "Roboto", sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="8"] {
  --font-heading: "Oswald", "Roboto", sans-serif;
  --font-body: "PT Sans", "Roboto", sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="9"] {
  --font-heading: "Teko", "Roboto", sans-serif;
  --font-body: "IBM Plex Sans", "Roboto", sans-serif;
  --font-heading-weight: 700;
}

[data-font-preset="10"] {
  --font-heading: "Orbitron", "Roboto", sans-serif;
  --font-body: "Montserrat", "Roboto", sans-serif;
  --font-heading-weight: 900;
}

[data-font-preset="11"] {
  --font-heading: "Oswald", "Roboto", sans-serif;
  --font-body: "PT Sans", "Roboto", sans-serif;
  --font-heading-weight: 900;
}

[data-font-preset="12"] {
  --font-heading: "Teko", "Roboto", sans-serif;
  --font-body: "IBM Plex Sans", "Roboto", sans-serif;
  --font-heading-weight: 900;
}

body {
  background: var(--bg);
  color: #FDFBF7;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding-top: 70px;
  font-family: var(--font-body);
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

p,
li,
label,
small,
span {
  color: inherit;
}

.bg-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
}

.bg-slide {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  filter: brightness(0.52) saturate(0.9);
  transition: opacity 1.8s ease-in-out, filter 1.8s ease-in-out;
  will-change: opacity;
  display: none !important;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: brightness(0.50) saturate(0.95);
  pointer-events: none;
}

.bg-slide.is-active {
  opacity: 1;
  filter: brightness(0.58) saturate(1);
}

/* Чёрная заглушка пока видео не готово — скрывается через CSS независимо от JS */
.bg-loading {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 1;
  pointer-events: none;
  animation: bg-loading-exit 0.6s 2s ease forwards;
}

@keyframes bg-loading-exit {
  to { opacity: 0; visibility: hidden; }
}

.bg-loading.is-hidden {
  animation: none;
  opacity: 0;
  visibility: hidden;
}

.bg-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 106, 0, 0.12) 0%,
    rgba(14, 16, 22, 0.66) 42%,
    rgba(10, 12, 18, 0.74) 100%
  );
}

@media (min-width: 1025px) {
  .bg-dim {
    background: linear-gradient(
      135deg,
      rgba(255, 106, 0, 0.15) 0%,
      rgba(14, 16, 22, 0.78) 42%,
      rgba(10, 12, 18, 0.86) 100%
    );
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  backdrop-filter: blur(8px);
  background: rgba(7, 10, 16, 0.75);
  border-bottom: 1px solid var(--border);
}

.site-header .navbar {
  position: relative;
  min-height: 56px;
  align-items: center;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.navbar-brand {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  line-height: 1;
  max-width: calc(100% - 58px);
  white-space: normal;
  text-decoration: none;
  text-align: left;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(1.95rem, 2.55vw, 2.5rem);
  line-height: 1;
  white-space: nowrap;
}

.brand-title-image {
  display: block;
  width: clamp(86px, 10.5vw, 146px);
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.brand-tagline {
  font-size: clamp(0.74rem, 0.96vw, 0.9rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.88);
  background: none !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.88) !important;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

/* ============================================================
   Header ticker — marquee + static phrase sequence (JS-driven)
   ============================================================ */
.header-ticker {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  margin: 0 0.75rem;
  position: relative;
  height: 1.4em;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%);
  mask-image: linear-gradient(to right, transparent, #000 14%);
}

/* --- Scrolling marquee --- */
.header-ticker-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* start position set by JS */
  left: 0;
  transform: translateY(-50%) translateX(9999px);
  will-change: transform;
}

/* Hide on landscape tablet and desktop */
@media (min-width: 992px) {
  .header-ticker {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) and (orientation: landscape) {
  .header-ticker {
    display: none !important;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .header-ticker-marquee {
    font-size: 0.78rem;
  }
}

/* Portrait tablet */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
  .header-ticker-marquee {
    font-size: 0.88rem;
  }
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  color: #fff !important;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: transparent !important;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-phone-link {
  border-color: rgba(255, 255, 255, 0.42);
  background-color: transparent;
  background-image: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}

.header-phone-link:hover,
.header-phone-link:focus,
.header-phone-link:active {
  background-color: transparent !important;
  border-color: rgba(244, 162, 97, 0.7) !important;
  background-image: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  box-shadow: 0 10px 20px rgba(224, 122, 95, 0.2);
}

@media (min-width: 992px) {
  .site-header .header-phone-link {
    border: 0 !important;
    box-shadow: none !important;
    font-size: clamp(1.08rem, 1.2vw, 1.28rem);
    line-height: 1.12;
    padding: 0.32rem 0;
  }

  .site-header .header-phone-link:hover,
  .site-header .header-phone-link:focus,
  .site-header .header-phone-link:active {
    border: 0 !important;
    box-shadow: none !important;
  }
}

/* Clickable phone shown inside the mobile menu, under "Контакты".
   Styled exactly like the other .nav-link items (same centering/spacing via the
   flex gap); only the colour differs. No border, and the tap highlight / focus
   ring is suppressed so it doesn't show an outline after being tapped to call. */
.header-phone-item {
  font-weight: 700;
  border: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.yandex-reviews-link {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  font-size: clamp(1.6rem, 3.6vw, 2.15rem);
  line-height: 1.15;
  padding: 0;
  border: 0 !important;
  border-color: transparent !important;
  background-color: transparent !important;
  background-image: linear-gradient(135deg, #E07A5F, #F4A261) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
  gap: 0.28rem;
}

.yandex-reviews-link:link,
.yandex-reviews-link:visited,
.yandex-reviews-link:hover,
.yandex-reviews-link:focus,
.yandex-reviews-link:active {
  border: 0 !important;
  border-color: transparent !important;
  background-color: transparent !important;
  background-image: linear-gradient(135deg, #E07A5F, #F4A261) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  filter: brightness(1.08);
}

.yandex-reviews-link:focus-visible {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.yandex-reviews-arrow {
  font-size: 0.78em;
  line-height: 1;
}

.navbar-toggler {
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  padding: 0.35rem 0.5rem;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: none;
  width: 1.95rem;
  height: 1.45rem;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.7' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.7' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.navbar-toggler[aria-expanded="true"] {
  background: transparent;
  box-shadow: 0 10px 20px rgba(224, 122, 95, 0.3);
  transform: translateY(-1px);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler[aria-expanded="false"] {
  box-shadow: none;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .navbar-toggler:hover {
    box-shadow: 0 10px 20px rgba(224, 122, 95, 0.3);
    transform: translateY(-1px);
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.site-footer .container {
  align-items: center;
  text-align: center;
}

.site-footer .container > .d-flex {
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer p,
.site-footer .footer-contact-line {
  font-size: 0.95rem;
}

.site-footer .btn {
  font-size: 0.86rem;
}

.font-switcher .dropdown-menu {
  max-height: 260px;
  overflow-y: auto;
}

.typography-debugger .dropdown-menu {
  width: min(92vw, 300px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.8rem;
  background: rgba(10, 14, 22, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.typography-debugger .form-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
}

.typography-debugger .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.typography-debugger .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(244, 162, 97, 0.65);
  box-shadow: 0 0 0 0.18rem rgba(224, 122, 95, 0.2);
  color: #fff;
}

.typography-debugger .btn {
  white-space: nowrap;
}

.font-switcher .dropdown-item.active,
.font-switcher .dropdown-item:active {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  color: #fff;
}

.footer-phone-link {
  font-size: clamp(1.6rem, 3.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-phone-link:hover {
    transform: translateY(-1px);
    text-shadow: 0 10px 20px rgba(224, 122, 95, 0.3);
    filter: brightness(1.08);
  }
}

.footer-contact-line {
  color: #fff;
  font-size: 1rem;
}

.mobile-scroll-call {
  position: fixed;
  left: 50%;
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 14px);
  z-index: 1150;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
  color: #fff;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.9),
    rgba(224, 122, 95, 0.82)
  );
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mobile-scroll-call.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@media (min-width: 768px) {
  .mobile-scroll-call {
    display: none !important;
  }
}


.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(180px, 22vw, 290px);
  height: clamp(58px, 6vw, 84px);
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  padding: 0;
}

.hero-section {
  min-height: auto;
  padding-top: 0.65rem;
  padding-bottom: 0;
}

.hero-container {
  padding-top: 0.35rem;
  padding-bottom: 0;
}

.hero-content-col {
  margin-top: 0.35rem;
}

.hero-slider {
  position: relative;
  max-width: 780px;
  min-height: 145px;
  margin-left: auto;
  margin-right: auto;
  overflow-anchor: none;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.36s ease-in-out, visibility 0.36s ease-in-out;
  position: absolute;
  inset: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.hero-slide-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  display: block;
  text-align: center;
  padding-top: 0.12em;
  padding-bottom: 0.1em;
  margin-top: 0;
}

.hero-slide-text {
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: #fff;
  max-width: 760px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-slider-indicators {
  position: static;
  margin: 0.24rem 0 0;
  justify-content: center;
  gap: 0.4rem;
  display: flex;
  align-items: center;
}

.hero-slider-indicators [data-slide-to] {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  opacity: 1;
}

.hero-slider-indicators .is-active {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
}

.hero-cta {
  margin-top: 1.15rem !important;
  margin-bottom: 0.35rem !important;
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0.85rem;
  color: #fff !important;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.9),
    rgba(224, 122, 95, 0.82)
  );
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  box-shadow:
    0 12px 30px rgba(8, 10, 16, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -52%;
  width: 54%;
  height: 320%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(16deg);
  transition: transform 0.7s ease, opacity 0.5s ease;
  opacity: 0.58;
  pointer-events: none;
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: -1;
}

.navbar-brand span,
.hero-content h1,
.hero-section h1,
.hero-slide-title,
.section-title {
  color: #FFFFFF;
  background: none;
  -webkit-text-fill-color: #FFFFFF;
  text-rendering: geometricPrecision;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #FFFFFF;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

h2,
h3,
h4,
h5,
h6 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.section {
  padding: 0.85rem 0;
  scroll-margin-top: 96px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  margin-bottom: 0.6rem;
}

.about-main-title {
  max-width: 980px;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

#about .section-title,
#booking .section-title,
#contacts .section-title {
  color: #fff;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
}

.section-subtitle {
  color: var(--muted);
  max-width: 760px;
}

.about-section .section-subtitle {
  color: #FDFBF7;
  font-family: var(--font-body);
}

.about-welcome-line {
  font-size: clamp(1.28rem, 2.35vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
}

.about-welcome-line .brand-accent-word {
  color: transparent;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-accordion {
  display: grid;
  gap: 0.8rem;
}

.service-accordion-item {
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.16),
    rgba(224, 122, 95, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.9rem;
  overflow: hidden;
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    0 10px 24px rgba(6, 9, 16, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.service-accordion-toggle {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.95rem 1rem;
  font-size: 1.06rem;
  line-height: 1.2;
  cursor: pointer;
  color: #fff;
  background-image: none;
  -webkit-text-fill-color: #fff;
  transition: filter 0.2s ease, color 0.2s ease;
}

.service-accordion-toggle[aria-expanded="true"],
.service-accordion-toggle.is-open {
  color: transparent;
  background-image: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.05);
}

.service-title-animated {
  white-space: normal;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

.service-title-animated .service-title-char {
  display: inline-block;
  color: #FFFFFF;
  background: none;
  -webkit-text-fill-color: #FFFFFF !important;
  animation: serviceTitleSweep 5s ease-in-out infinite;
  animation-delay: calc(var(--char-index, 0) * 0.08s);
}

@keyframes serviceTitleSweep {
  0%, 58%, 100% {
    color: #FFFFFF;
    background: none;
    -webkit-text-fill-color: #FFFFFF !important;
  }
  25% {
    color: transparent;
    background: linear-gradient(135deg, #E07A5F, #F4A261);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
  }
}

.service-accordion-toggle:focus {
  outline: none;
  box-shadow: none;
}

.service-accordion-toggle:focus-visible,
.service-accordion-toggle:active {
  outline: none;
  box-shadow: none;
}

.service-list {
  margin: 0;
  padding: 0.15rem 0.9rem 1rem 0.95rem;
  color: #fff;
  display: grid;
  gap: 0.5rem;
  text-align: left;
  list-style: none;
}

.service-list li {
  color: #fff;
  font-size: 0.98rem;
  list-style: none;
  margin: 0;
  position: relative;
  padding-left: 0.85rem;
  text-align: left;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.service-price-line {
  display: inline;
  margin-left: 0;
  white-space: nowrap;
}

.reviews-slider {
  position: relative;
  max-width: 860px;
  min-height: 130px;
  padding-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.reviews-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity 0.36s ease-in-out, visibility 0.36s ease-in-out;
}

.reviews-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.reviews-quote {
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  color: #fff;
  max-width: 840px;
  font-style: italic;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reviews-author {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reviews-slider-indicators {
  position: static;
  margin: 0.72rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.reviews-slider-indicators [data-slide-to] {
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.34);
}

.reviews-slider-indicators .is-active {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
}

.service-card,
.review-card,
.contact-card,
.advantage-card,
.booking-form {
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.14),
    rgba(224, 122, 95, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  box-shadow:
    0 10px 26px rgba(6, 9, 16, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.review-card:hover,
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.booking-section {
  background: transparent;
}

.map-box {
  width: 100%;
  /* Explicit height (not just min-height) + relative positioning so the
     Yandex Maps v3 canvas, which fills the container at height:100%, renders.
     A min-height-only parent collapses the map to 0px (dark square). */
  height: clamp(320px, 45vh, 480px);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.map-pin {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  border: 2px solid #0f1218;
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.24);
  transform: translate(-50%, -50%);
}

.btn-primary {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  border: 0;
  color: #fff;
}

.cta-button {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  color: #fff;
  border: 0;
}

.btn-primary:not(.hero-cta):not(.booking-submit-btn):hover,
.btn-primary:not(.hero-cta):not(.booking-submit-btn):focus,
.btn-primary:not(.hero-cta):not(.booking-submit-btn):focus-visible,
.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  color: #fff;
  box-shadow: 0 10px 20px rgba(224, 122, 95, 0.3);
}

.booking-submit-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0.85rem;
  color: #fff !important;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.9),
    rgba(224, 122, 95, 0.82)
  ) !important;
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  box-shadow:
    0 12px 30px rgba(8, 10, 16, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.booking-submit-btn::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -52%;
  width: 54%;
  height: 320%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(16deg);
  opacity: 0.58;
  transition: transform 0.7s ease, opacity 0.5s ease;
  pointer-events: none;
}

.booking-submit-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: -1;
}

.booking-submit-btn:hover,
.booking-submit-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.36),
    rgba(224, 122, 95, 0.28)
  ) !important;
  box-shadow:
    0 14px 34px rgba(8, 10, 16, 0.44),
    0 8px 22px rgba(224, 122, 95, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.booking-submit-btn:hover::before,
.booking-submit-btn:focus-visible::before {
  transform: translateX(235%) rotate(16deg);
  opacity: 0.8;
}

.booking-submit-btn:active {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.34),
    rgba(224, 122, 95, 0.24)
  ) !important;
  box-shadow:
    0 7px 16px rgba(8, 10, 16, 0.32),
    0 4px 10px rgba(224, 122, 95, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.booking-submit-btn:focus-visible {
  outline: none;
  border-color: rgba(244, 162, 97, 0.75);
  box-shadow:
    0 0 0 3px rgba(224, 122, 95, 0.26),
    0 14px 34px rgba(8, 10, 16, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(
      135deg,
      rgba(244, 162, 97, 0.36),
      rgba(224, 122, 95, 0.28)
    );
    box-shadow:
      0 14px 34px rgba(8, 10, 16, 0.44),
      0 8px 24px rgba(224, 122, 95, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
  }

  .hero-cta:hover::before {
    transform: translateX(235%) rotate(16deg);
    opacity: 0.8;
  }
}

.hero-cta:active {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.34),
    rgba(224, 122, 95, 0.24)
  );
  box-shadow:
    0 7px 16px rgba(8, 10, 16, 0.32),
    0 4px 10px rgba(224, 122, 95, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-cta:focus-visible {
  outline: none;
  border-color: rgba(244, 162, 97, 0.75);
  box-shadow:
    0 0 0 3px rgba(224, 122, 95, 0.26),
    0 14px 34px rgba(8, 10, 16, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.text-secondary {
  color: var(--muted) !important;
}

.tech-card h3 {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonial-author,
.review-author {
  color: transparent !important;
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.min-vh-75 {
  min-height: 75vh;
}

#reviews.section {
  padding-bottom: 0;
}

#contacts.section {
  padding-top: 0;
}

@media (max-width: 767.98px) {
  html {
    font-size: 16.5px;
  }

  .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  body {
    padding-top: 56px;
  }

  .bg-stage {
    height: 100svh;
  }

  .bg-video {
    display: block;
    opacity: 1;
  }

  .brand-logo {
    width: 100%;
    height: 100%;
  }

  .brand-logo-shell {
    width: 165px;
    height: 58px;
    background: transparent;
    padding: 0;
  }

  .section {
    padding: 0.68rem 0;
    scroll-margin-top: 78px;
    text-align: center;
  }

  .section-subtitle,
  .hero-slide-text,
  .reviews-quote,
  .reviews-author,
  .site-footer p,
  .site-footer .footer-contact-line {
    text-align: center;
  }

  .service-list {
    padding-left: 1.15rem;
    padding-right: 0.85rem;
    list-style-position: outside;
    text-align: left;
  }

  .hero-section {
    min-height: auto;
    padding-top: 0.05rem;
    padding-bottom: 0;
  }

  .hero-container {
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-content-col {
    margin-top: 0.05rem;
  }

  .hero-slider {
    min-height: 165px;
  }

  .hero-slider-indicators {
    margin-top: 0.12rem;
  }

  .hero-cta {
    margin-top: 0.12rem !important;
    margin-bottom: 0.28rem !important;
    width: 100%;
    backdrop-filter: blur(9px) saturate(138%);
    -webkit-backdrop-filter: blur(9px) saturate(138%);
    box-shadow:
      0 8px 20px rgba(8, 10, 16, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .hero-slide-text {
    font-size: 1.02rem;
  }

  .site-header .navbar {
    min-height: 52px;
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .navbar-brand {
    max-width: calc(100% - 72px);
  }

  .brand-title {
    font-size: 1.7rem;
  }

  .brand-title-image {
    width: min(24vw, 96px);
  }

  .brand-tagline {
    display: none;
  }

  .site-header .navbar-collapse {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 5.4rem 1.6rem 1.8rem;
    border: 0;
    border-radius: 0;
    background: rgba(7, 10, 16, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    z-index: 1040;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.32s ease, transform 0.32s ease;
  }

  .site-header .navbar-collapse:not(.show) {
    display: none !important;
  }

  .site-header .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header .navbar-collapse.collapsing {
    display: flex !important;
    height: auto !important;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
  }

  .site-header .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .site-header .navbar-nav .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-header .navbar-nav .nav-link {
    width: 100%;
    margin-left: 0;
    padding: 0.45rem 0.3rem;
    text-align: center;
    font-size: clamp(1.55rem, 6.2vw, 2.1rem);
    line-height: 1.12;
  }

  .site-header .header-phone-link {
    margin-top: 1rem;
    margin-left: 0;
    display: inline-flex;
    align-self: center;
    justify-content: center;
    min-width: min(92vw, 420px);
    font-size: clamp(1.18rem, 4.8vw, 1.55rem);
    line-height: 1.15;
    text-align: center;
    padding: 0.58rem 1rem;
  }

  .footer-phone-link {
    font-size: 1.55rem;
  }

  .site-footer p,
  .site-footer .footer-contact-line {
    font-size: 0.84rem;
  }

  .reviews-slider {
    min-height: 142px;
    padding-bottom: 0;
  }

  .reviews-slider-indicators {
    margin-top: 0.52rem;
  }

  #reviews.section {
    padding-bottom: 0.12rem;
  }

  #contacts.section {
    padding-top: 0.08rem;
  }

  #contacts .section-title {
    margin-top: 0;
    margin-bottom: 0.38rem;
  }

  .typography-debugger .dropdown-menu {
    width: min(94vw, 280px);
    padding: 0.8rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Full-screen menu — same as mobile */
  .site-header .navbar-collapse {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh !important;
    left: 0;
    right: 0;
    margin: 0;
    padding: 5.4rem 1.6rem 1.8rem;
    border: 0;
    border-radius: 0;
    background: rgba(7, 10, 16, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    z-index: 1040;
    text-align: center;
    /* Перебиваем Bootstrap height-transition */
    transition: opacity 0.32s ease, transform 0.32s ease !important;
  }

  .site-header .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .site-header .navbar-nav .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-header .navbar-nav .nav-link {
    width: 100%;
    margin-left: 0;
    padding: 0.45rem 0.3rem;
    text-align: center;
    font-size: clamp(1.55rem, 4vw, 2.1rem);
    line-height: 1.12;
  }

  .site-header .header-phone-link {
    margin-top: 1rem;
    margin-left: 0;
    display: inline-flex;
    align-self: center;
    justify-content: center;
    font-size: clamp(1.18rem, 3vw, 1.55rem);
    text-align: center;
    padding: 0.58rem 1.4rem;
  }

  /* Плавная анимация меню — отключаем height-анимацию Bootstrap, используем opacity+transform */
  .site-header .navbar-collapse {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.32s ease, transform 0.32s ease;
  }

  .site-header .navbar-collapse:not(.show) {
    display: none !important;
  }

  .site-header .navbar-collapse.show {
    opacity: 1;
    transform: translateY(0);
  }

  .site-header .navbar-collapse.collapsing {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
  }

  /* Yandex reviews — centered */
  .yandex-reviews-link,
  .yandex-reviews-link.btn,
  .yandex-reviews-link.btn-outline-light {
    display: flex !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section {
    padding: 0.78rem 0;
  }
}

@media (min-width: 1025px) {
  .section,
  .hero-section,
  .booking-section,
  .reviews-section,
  .contacts-section {
    text-align: center;
  }

  .section-title,
  .section-subtitle,
  .hero-slide-title,
  .hero-slide-text,
  .reviews-quote,
  .reviews-author,
  .footer-contact-line {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .service-accordion {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
    gap: 0.7rem;
  }

  .service-accordion-item {
    height: 100%;
  }

  .service-accordion-toggle {
    text-align: center;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-list {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
    text-align: left;
  }
}

.booking-slot-trigger {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.2),
    rgba(224, 122, 95, 0.14)
  );
  min-height: 42px;
  border-radius: 0.8rem;
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  box-shadow:
    0 10px 22px rgba(8, 10, 16, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.booking-slot-trigger:hover,
.booking-slot-trigger:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.34),
    rgba(224, 122, 95, 0.26)
  );
  box-shadow:
    0 12px 26px rgba(8, 10, 16, 0.36),
    0 8px 22px rgba(224, 122, 95, 0.24);
  transform: translateY(-1px);
}

.booking-slot-trigger:active,
.booking-slot-trigger.active,
.booking-slot-trigger.show,
.booking-slot-trigger:not(:disabled):not(.disabled):active {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.34),
    rgba(224, 122, 95, 0.26)
  ) !important;
  box-shadow:
    0 10px 20px rgba(8, 10, 16, 0.34),
    0 6px 14px rgba(224, 122, 95, 0.2);
  transform: translateY(0);
}

.booking-slot-trigger:focus {
  box-shadow:
    0 0 0 3px rgba(224, 122, 95, 0.2),
    0 12px 26px rgba(8, 10, 16, 0.36),
    0 8px 22px rgba(224, 122, 95, 0.24);
}

#slotPickerModal .modal-content,
#datePickerModal .modal-content {
  background: linear-gradient(
    135deg,
    rgba(28, 32, 42, 0.96),
    rgba(18, 22, 32, 0.97) 48%,
    rgba(24, 28, 38, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow:
    0 18px 42px rgba(6, 9, 16, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

#slotPickerModal .modal-header,
#datePickerModal .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

#slotPickerModal .btn-close,
#datePickerModal .btn-close {
  filter: invert(1);
}

#slotPickerModal .modal-dialog,
#datePickerModal .modal-dialog {
  max-width: 380px;
}

.booking-picker-modal .modal-dialog {
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.42s ease;
  will-change: transform, opacity;
}

.booking-picker-modal.fade .modal-dialog {
  transform: translateY(18px) scale(0.985);
}

.booking-picker-modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.booking-slot-trigger.is-loading {
  opacity: 0.78;
}

#slotPickerModal .modal-header,
#datePickerModal .modal-header {
  padding: 0.75rem 0.95rem;
}

#slotPickerModal .modal-body,
#datePickerModal .modal-body {
  padding: 0.8rem 0.95rem 0.95rem;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.month-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.65rem;
  padding: 0.5rem 0.45rem;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.2),
    rgba(224, 122, 95, 0.12)
  );
  color: #fff;
  font-size: 0.9rem;
  text-transform: capitalize;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.month-btn:hover,
.month-btn:focus {
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.3),
    rgba(224, 122, 95, 0.2)
  );
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 16px rgba(8, 10, 16, 0.28);
  transform: translateY(-1px);
}

.month-btn.is-selected {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  border-color: transparent;
}

.slot-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.65rem;
  padding: 0.5rem 0.4rem;
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.2),
    rgba(224, 122, 95, 0.12)
  );
  color: #fff;
  font-size: 0.92rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.slot-btn:hover,
.slot-btn:focus {
  background: linear-gradient(
    135deg,
    rgba(244, 162, 97, 0.3),
    rgba(224, 122, 95, 0.2)
  );
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 16px rgba(8, 10, 16, 0.28);
  transform: translateY(-1px);
}

.slot-btn.is-selected {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  border-color: transparent;
}

.slot-empty {
  color: rgba(255, 255, 255, 0.72);
  padding: 0.2rem 0;
}

.booking-control.is-invalid-block .booking-slot-trigger {
  border-color: #ff5c5c !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 92, 92, 0.2);
}

@media (max-width: 767.98px) {
  .slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-cta {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .hero-cta:hover,
  .hero-cta:focus,
  .hero-cta:focus-visible {
    border-color: rgba(255, 255, 255, 0.36);
    background: linear-gradient(
      135deg,
      rgba(244, 162, 97, 0.9),
      rgba(224, 122, 95, 0.82)
    );
    box-shadow:
      0 12px 30px rgba(8, 10, 16, 0.44),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(255, 255, 255, 0.16);
    transform: none;
    outline: none;
  }

  .hero-cta:active {
    transform: none;
  }

  .hero-cta::before {
    transform: rotate(16deg);
    opacity: 0.58;
  }

  .hero-cta.is-touch-active {
    transform: scale(0.982) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(
      135deg,
      rgba(244, 162, 97, 0.18),
      rgba(224, 122, 95, 0.1)
    ) !important;
    box-shadow:
      0 6px 14px rgba(8, 10, 16, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  }

  .hero-cta.is-touch-active::before {
    transform: rotate(16deg);
    opacity: 0.58;
  }

  .form-toast-mobile {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    z-index: 2200;
    margin: 0;
    text-align: center;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
  }

  .yandex-reviews-link,
  .yandex-reviews-link.btn,
  .yandex-reviews-link.btn-outline-light,
  .yandex-reviews-link.btn:focus,
  .yandex-reviews-link.btn:active,
  .yandex-reviews-link.btn:hover,
  .yandex-reviews-link.btn-outline-light:focus,
  .yandex-reviews-link.btn-outline-light:active,
  .yandex-reviews-link.btn-outline-light:hover {
    display: inline-flex;
    justify-content: flex-start;
    margin-left: 0 !important;
    margin-right: auto !important;
    border: 0 !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Mobile: hero-cta touch animation — sweep like desktop hover */
  .hero-cta.is-touch-active {
    transform: translateY(-1px) !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
    background: linear-gradient(
      135deg,
      rgba(244, 162, 97, 0.36),
      rgba(224, 122, 95, 0.28)
    ) !important;
    box-shadow:
      0 14px 34px rgba(8, 10, 16, 0.44),
      0 8px 24px rgba(224, 122, 95, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  }

  .hero-cta.is-touch-active::before {
    transform: translateX(235%) rotate(16deg) !important;
    opacity: 0.8 !important;
    transition: transform 0.55s ease, opacity 0.4s ease !important;
  }
}

/* ============================================================
   Privacy link — orange gradient text like CTA buttons
   ============================================================ */
.privacy-link {
  background: linear-gradient(135deg, #E07A5F, #F4A261);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-decoration: underline;
  text-decoration-color: rgba(244, 162, 97, 0.55);
  text-underline-offset: 2px;
  transition: filter 0.18s ease;
}

.privacy-link:hover,
.privacy-link:focus {
  filter: brightness(1.12);
  text-decoration-color: rgba(244, 162, 97, 0.85);
}

/* ============================================================
   Consent checkbox row — inline alignment on all screens
   ============================================================ */
.consent-row {
  gap: 0.45rem;
}

.consent-row .form-check-input {
  flex-shrink: 0;
  margin-top: 0.2em;
  margin-left: 0;
  float: none;
}

.consent-row .form-check-label {
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* ============================================================
   Floating call button — merge animation into footer phone
   ============================================================ */
.mobile-scroll-call.is-merging {
  opacity: 0 !important;
  transform: translate(-50%, 52px) scale(0.68) !important;
  pointer-events: none !important;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

/* ============================================================
   Tablet (768–991px): constrain logo so header stays compact
   ============================================================ */
@media (min-width: 768px) and (max-width: 991.98px) {
  .brand-logo-shell {
    height: 56px;
    width: auto;
    min-width: 120px;
    overflow: visible;
  }

  .brand-title-image {
    height: 56px;
    width: auto;
    max-height: none;
    max-width: none;
  }

  .site-header .navbar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
}

/* ============================================================
   Desktop: logo fills header edge-to-edge.
   body padding-top is set dynamically by JS (syncHeaderOffset).
   ============================================================ */
@media (min-width: 992px) {
  .brand-logo-shell {
    height: 56px;
    width: auto;
    min-width: 130px;
    overflow: visible;
  }

  .brand-title-image {
    height: 56px;
    width: auto;
    max-height: none;
    max-width: none;
  }

  .site-header .navbar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    min-height: 56px;
  }

  body {
    padding-top: 68px;
  }
}
