*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --hero-bg: #eef2f7;
  --text-primary: #1a1a2e;
  --text-secondary: #5a6473;
  --text-muted: #8b95a5;
  --accent: #1E3A5C;
  --accent-hover: #152C45;
  --accent-soft: rgba(30, 58, 92, 0.14);
  --card-dark: #0f1419;
  --card-dark-alt: #161b22;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(15, 20, 25, 0.08);
  --max-width: 920px;
  --max-width-wide: 1180px;
  --font: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #3d4654 #121820;
}

html::-webkit-scrollbar {
  width: 12px;
}

html::-webkit-scrollbar-track {
  background: #121820;
}

html::-webkit-scrollbar-thumb {
  background: #3d4654;
  border-radius: 6px;
  border: 2px solid #121820;
}

html::-webkit-scrollbar-thumb:hover {
  background: #525c6c;
}

html:has(body.popup-open),
html:has(body.lightbox-open) {
  background: #080c14;
  scrollbar-color: #2a3140 #080c14;
}

html:has(body.popup-open)::-webkit-scrollbar-track,
html:has(body.lightbox-open)::-webkit-scrollbar-track {
  background: #080c14;
}

html:has(body.popup-open)::-webkit-scrollbar-thumb,
html:has(body.lightbox-open)::-webkit-scrollbar-thumb {
  background: #2a3140;
  border-color: #080c14;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--hero-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 124px;
  background: var(--hero-bg);
}

.hero__inner {
  max-width: var(--max-width);
  text-align: center;
}

.hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  text-decoration: none;
}

.hero__logo:hover {
  text-decoration: none;
}

.hero__logo img {
  width: 187px;
  height: auto;
}

.hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero__desc {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 20px;
}

.hero__price {
  max-width: 640px;
  margin: 0 auto 8px;
  font-size: clamp(19px, 2.7vw, 23px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero__trigger {
  max-width: 640px;
  margin: 0 auto 58px;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero__trigger mark,
.hero__price mark {
  color: var(--accent);
  font-weight: 700;
  background: none;
  padding: 0 1px 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat;
  background-size: 100% 38%;
  background-position: 0 100%;
}

.hero__cta-group {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 20px;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero__actions .btn {
  width: 100%;
  padding: 0 12px;
  font-size: 19px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--primary:active {
  transform: scale(0.98);
}

.hero__note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.main {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: -64px;
  position: relative;
  z-index: 1;
  padding: 48px 20px 80px;
  overflow-x: hidden;
}
.features {
  max-width: none;
  margin: 0 0 80px;
}

.features__heading,
.features__subheading,
.features__tabs {
  max-width: var(--max-width-wide);
  margin-left: auto;
  margin-right: auto;
}

.features__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.features__subheading {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 36px;
}

.features__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.features__tab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: #f0f3f8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  padding: 10px;
}

.features__tab img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.features__tab:hover {
  background: #e4eaf3;
}

.features__tab.is-active {
  border-color: var(--accent);
  background: rgba(30, 58, 92, 0.1);
}

.features__carousel {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  max-width: none;
}

.features__slides {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    52px
    minmax(0, min(var(--max-width-wide), calc(100% - 40px)))
    52px
    minmax(0, 1fr);
  align-items: center;
  min-height: 480px;
}

.features__peek {
  background: var(--card-dark);
  padding: 14px 12px;
  opacity: 0.35;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: none;
  text-align: left;
  color: inherit;
  font: inherit;
  min-width: 0;
  height: 52%;
  min-height: 200px;
  width: 100%;
  align-self: center;
}

.features__peek--prev {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  justify-self: stretch;
}

.features__peek--next {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  justify-self: stretch;
}

.features__peek:hover {
  opacity: 0.5;
}

.features__peek-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.features__peek-desc {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.features__gap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  align-self: center;
}

.features__slide {
  display: grid;
  grid-template-columns: 32% 68%;
  background: var(--card-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 480px;
  min-width: 0;
  align-self: stretch;
  width: 100%;
}

.features__slide-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.features__slide-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.features__slide-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.features__slide-media {
  position: relative;
  background: var(--card-dark-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 480px;
  cursor: zoom-in;
}

.features__slide-media video {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.features__zoom {
  position: static;
  align-self: flex-start;
  margin: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.features__zoom:hover {
  background: var(--white);
}

.features__arrow {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features__arrow:hover {
  background: #f0f3f8;
}

.features__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.features__prefetch {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reviews {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  text-align: center;
}

.reviews__heading {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.reviews__subheading {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.reviews__carousel {
  position: relative;
  margin-bottom: 24px;
}

.reviews__track {
  display: grid;
  overflow: hidden;
}

.reviews__slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.reviews__slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.reviews__card {
  background: var(--hero-bg);
  border-radius: var(--radius-md);
  padding: 56px;
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  height: 100%;
}

.reviews__clinic-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.reviews__clinic-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reviews__clinic-logo--initials {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(30, 58, 92, 0.12);
}

.reviews__clinic-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.reviews__clinic-city {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  min-height: 1.2em;
}

.reviews__quote {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
}

.reviews__rating {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--accent);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s;
}

.reviews__arrow:hover {
  background: #f0f3f8;
}

.reviews__arrow--prev { left: -22px; }
.reviews__arrow--next { right: -22px; }

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #d0d7e2;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}

.reviews__dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}
.expert {
  max-width: var(--max-width-wide);
  margin: 0 auto 72px;
  width: 100%;
}

.expert__card {
  background: transparent;
  border-radius: var(--radius-md);
  padding: 40px 44px;
  border: 1.5px solid #d8dfea;
}

.expert__grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: center;
}

.expert__media {
  justify-self: center;
  width: 100%;
  max-width: 280px;
}

.expert__frame {
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(160deg, #dce6f5 0%, #ffffff 45%, #cfd9ea 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 40px rgba(15, 20, 25, 0.1);
}

.expert__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 14px;
  background: var(--card-dark);
  border: 1px solid rgba(15, 20, 25, 0.08);
}

.expert__content {
  text-align: left;
  min-width: 0;
}

.expert__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.expert__name {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.expert__role {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.expert__clinic {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}

.expert__clinic a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.expert__clinic a:hover {
  text-decoration: underline;
}

.expert__clinic-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.expert__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 36em;
  margin: 0;
}
.feedback {
  max-width: var(--max-width-wide);
  width: 100%;
  margin: 64px auto 0;
  text-align: left;
}

.feedback__card {
  background: var(--hero-bg);
  border-radius: var(--radius-md);
  padding: 40px 44px;
}

.feedback__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: stretch;
}

.feedback__heading {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feedback__subheading {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.feedback__form {
  text-align: left;
  width: 100%;
  max-width: 420px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.feedback__intro,
.feedback__body {
  min-width: 0;
}

.feedback__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.feedback__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback__field--wide {
  grid-column: 1 / -1;
}

.feedback__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.feedback__field input,
.feedback__input {
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid #d8dfea;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.feedback__field input:focus,
.feedback__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 92, 0.15);
}

.feedback__field input::placeholder,
.feedback__input::placeholder {
  color: var(--text-muted);
}

.feedback__submit {
  width: 100%;
  font-size: 18px;
}

.feedback__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 16px;
  text-align: left;
}

.feedback__check input {
  margin-top: 2px;
  flex-shrink: 0;
}

.feedback__check a {
  color: var(--accent);
}

.feedback__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.4;
}

.feedback__note.is-ok {
  color: #1a7f4b;
}

.feedback__note.is-error {
  color: #c0392b;
}

.feedback__aside {
  min-width: 0;
}

.feedback__aside-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.feedback__triggers {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.feedback__triggers li {
  display: grid;
  grid-template-columns: 10px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.feedback__triggers li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  grid-row: 1 / span 2;
}

.feedback__triggers strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  grid-column: 2;
}

.feedback__triggers span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
  grid-column: 2;
}
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-popup[hidden] {
  display: none;
}

.lead-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.55);
}

.lead-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(15, 20, 25, 0.25);
}

.lead-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-popup__close:hover {
  color: var(--text-primary);
  background: var(--hero-bg);
}

.lead-popup__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  padding-right: 28px;
}

.lead-popup__subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.45;
}

.lead-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-popup__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-popup__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lead-popup__field input,
.lead-popup__input {
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text-primary);
  background: #f7f9fc;
  border: 1.5px solid #d8dfea;
  border-radius: 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.lead-popup__field input:focus,
.lead-popup__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 92, 0.15);
  background: var(--white);
}

.lead-popup__input::placeholder {
  color: var(--text-muted);
}

.lead-popup__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  cursor: pointer;
}

.lead-popup__check input {
  margin-top: 2px;
  flex-shrink: 0;
}

.lead-popup__check a {
  color: var(--accent);
}

.lead-popup__submit {
  width: 100%;
  margin-top: 4px;
}

.lead-popup__status {
  font-size: 14px;
  text-align: center;
  margin: 0;
}

.lead-popup__status.is-ok {
  color: #1a7f4b;
}

.lead-popup__status.is-error {
  color: #c0392b;
}

body.popup-open {
  overflow: hidden;
}
.footer {
  background: var(--white);
  border-top: 1px solid #eef2f7;
  padding: 40px 20px 32px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 420px;
}

.footer__promo-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.footer__promo-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.footer__promo-link:hover {
  text-decoration: underline;
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
}

.footer__contacts a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer__phone {
  font-weight: 600;
  color: var(--text-primary) !important;
}

.footer__messengers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__msg {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--hero-bg);
  transition: background 0.15s;
}

.footer__msg:hover {
  background: #e4eaf3;
  text-decoration: none;
}

.footer__msg img {
  width: 22px;
  height: 22px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.footer__legal a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}
.cookie-block {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  max-width: 420px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 20, 25, 0.18);
  border: 1px solid #e4eaf3;
}

.cookie-block[hidden] {
  display: none;
}

.cookie-block__text {
  flex: 1 1 220px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-block__text a {
  color: var(--accent);
}

.cookie-block__btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cookie-block__more {
  font-size: 14px;
  color: var(--text-secondary);
}

.cookie-block__ok {
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-block__ok:hover {
  background: var(--accent-hover);
}
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 12, 20, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox__inner {
  width: min(1100px, 96vw);
  max-height: 90vh;
}

.video-lightbox__video {
  width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  background: #000;
  display: block;
}

.video-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}

.video-lightbox__close:hover {
  background: var(--white);
}

body.lightbox-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 52px 16px 116px;
  }

  .hero__cta-group {
    max-width: 100%;
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 48px 16px 64px;
    border-radius: 20px 20px 0 0;
  }

  .features__carousel {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }

  .features__slides {
    grid-template-columns: 1fr;
    position: relative;
  }

  .features__peek {
    display: none;
  }

  .features__gap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 2;
  }

  .features__gap--prev { left: 8px; }
  .features__gap--next { right: 8px; }

  .features__slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .features__slide-content {
    padding: 28px 24px;
    order: 1;
  }

  .features__slide-media {
    order: 0;
    min-height: 240px;
  }

  .features__slide-media video {
    max-height: 240px;
  }

  .features__arrow {
    position: static;
    transform: none;
  }

  .feedback__fields {
    grid-template-columns: 1fr;
  }

  .feedback__card {
    padding: 28px 20px;
  }

  .feedback__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feedback__form {
    max-width: none;
    width: 100%;
  }

  .reviews__arrow--prev { left: 4px; }
  .reviews__arrow--next { right: 4px; }

  .reviews__card {
    padding: 36px 24px;
  }

  .expert {
    margin: 0 auto 56px;
  }

  .expert__card {
    padding: 28px 20px;
  }

  .expert__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .expert__media {
    max-width: 240px;
  }

  .expert__content {
    text-align: center;
  }

  .expert__clinic a {
    justify-content: center;
  }

  .expert__text {
    margin-left: auto;
    margin-right: auto;
  }

  .cookie-block {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
