@font-face {
  font-family: 'Gilroy';
  src: url('../assets/fonts/Gilroy-Regular_0.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --pink: #e5097f;
  --black: #000000;
  --text: #111111;
  --muted: #71717a;
  --gray: #d9d9d9;
  --gray-soft: #efefef;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  --radius: 28px;
  --font: "Gilroy"; /*, "Inter", "Segoe UI", Arial, sans-serif;*/
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.45;
  text-rendering: geometricPrecision;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; /*font-size: 1vw;*/font-size: 20px;}
button { cursor: pointer; }

h4 {
  font-size: clamp(24px, 1.4vw, 32px);
  margin: 0;
}

/*
.container {
  width: min(1640px, calc(100% - 48px));
  margin: 0 auto;
}
*/
.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1640px;
}
/*
.container--narrow { width: min(1220px, calc(100% - 48px)); }
*/
.section { padding: 112px 0; }
.section--gray { background: var(--gray); }
.dark-section { position: relative; color: var(--white); background: #111; overflow: hidden; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header__inner {
  min-height: 63px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}
.logo img { width: 115px; height: auto; }
.nav { display: flex; justify-content: end; gap: 34px; font-size: 14px; font-weight: 700; }
.nav a, .nav span {
  opacity: 1;
  transition: opacity .2s ease, color .2s ease;
  display: flex;
  align-items: center;
}
.nav a img, .nav span img {
  margin-right: 20px;
}
.nav a:hover { opacity: 1; color: var(--pink); }
.header__contacts {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 26px;
  align-items: center;
  font-size: 14px;
  white-space: nowrap;
}
.header__contacts a { font-weight: 650; }
.header__contacts a:hover { color: var(--pink); }
.header__contacts span { grid-column: 1 / -1; color: var(--muted); font-size: 13px; text-align: right; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 10px; }
.burger span { display: block; height: 2px; margin: 6px 0; background: var(--text); }

.hero { min-height: 58vw; display: flex; align-items: center;background: transparent; }
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/DSCF1343.webp") top center / cover no-repeat;
  max-width: 1920px;
  margin: 0 auto;
}

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.97fr; align-items: center; gap: 70px; }
.hero__content { max-width: 880px; justify-self: end; padding-bottom: 100px; }
.hero h1, h2, .section-image-text h2, .custom h2, .custom h3 {
  margin: 0 0 50px;
  /*font-size: clamp(50px, 4.3vw, 82px);*/
  line-height: 1.49;
  letter-spacing: .01em;
  font-weight: 600;
  text-shadow: 0 2px 1px rgba(0,0,0,.1);
  /*font-size: 2.5vw;*/
  font-size: 55px;
}
.hero__lead {
  margin: 0 0 42px;
  max-width: 1160px;
  /*font-size: clamp(28px, 2.15vw, 38px);*/
  line-height: 1.1;
  font-weight: 700;
  /*font-size: 1.7vw;*/
  font-size: 38px;
}
/*
.hero__note { max-width: 620px; margin: 0 0 36px; font-size: 1vw; line-height: 1.2; opacity: .92; }
*/
.hero__note {
  max-width: 660px;
  margin: 0 0 36px;
  line-height: 1.2;
  font-size: 20px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 59px;
  padding: 0 31px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(229,9,127,.28); }
.btn:active { transform: translateY(0); opacity: .8; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--primary { color: #fff; background: var(--pink); }

.pink-title { margin: 0; color: var(--pink); }
.pink-title--center { text-align: center; }
.intro { background: #fff; padding-top: 100px; padding-bottom: 72px; }
/*
.intro__text { max-width: 1200px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: clamp(22px, 1.8vw, 34px); font-weight: 700; }
*/
.intro__text {
  max-width: 1400px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 38px;
  font-weight: 800;
}

.touch { min-height: 40vw; display: flex; align-items: center; }
.touch__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.touch__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.82) 100%); }
.touch__content { position: relative; z-index: 1; }
.touch h2 { max-width: 44%; margin: 0; /*font-size: clamp(38px, 3.2vw, 64px); line-height: 1.18; font-weight: 800;*/ }
/*
.benefits { padding-top: 132px; padding-bottom: 132px; background: #fff; overflow: hidden; }
*/
.benefits {
  padding-top: 70px;
  padding-bottom: 70px;
  background: #fff;
  overflow: hidden;
  background: url("../assets/images/bg_x0020_1.svg") bottom right / 20% no-repeat;
}
.benefits h2 {
  max-width: 854px;
  margin: 0 auto;
}
/*
.benefits__grid { margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
*/
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  max-width: 1413px;
  margin: 70px auto;
}
.fixbanner h4 {
  font-size: clamp(16px, 1vw, 24px);
  margin: 20px 0;
}
.benefit-card { min-height: 230px; display: grid; align-content: start; gap: 34px; padding: 0 10px; text-align: center; }
.benefit-card__icon { height: 78px; margin: 0 auto; display: grid; place-items: center; }
.benefit-card h3 { margin: 0; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.18; }
.benefits__bottom { max-width: 1140px; margin: 20px auto 0; font-size: clamp(30px, 2.6vw, 46px); line-height: 1.18; font-weight: 800; text-align: center; }

.section-image-text { min-height: 58vw; /*min-height: 1080px;*/ display: flex; align-items: center; }
.section-image-text__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-image-text__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.72) 38%, rgba(0,0,0,.15) 72%, rgba(0,0,0,.45)); }
.section-image-text--left .section-image-text__shade { background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.72) 40%, rgba(0,0,0,.28) 72%, rgba(0,0,0,.55)); }
.section-image-text__inner { position: relative; z-index: 1; }
.section-image-text__content { max-width: 910px; }
.large-list { margin: 0; padding: 0; list-style: none; font-size: clamp(28px, 2.4vw, 42px); line-height: 1.35; font-weight: 800; }
.large-list li { position: relative; padding-left: 34px; }
.large-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--pink); border-radius: 50%; }

.video { padding-top: 100px; padding-bottom: 100px; }
.video-card { position: relative; display: block; width: min(1566px, 100%); margin: 28px auto 0; border: 0; padding: 0; border-radius: 69px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-card img { width: 100%; aspect-ratio: 1566 / 886; object-fit: cover; transition: transform .3s ease, opacity .3s ease; }
.video-card:hover img { transform: scale(1.02); opacity: .85; }
.play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: rgba(229,9,127,.94); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.play::after { content: ""; position: absolute; left: 39px; top: 30px; border-left: 26px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }

.models { padding-top: 100px; padding-bottom: 50px; }
.model-card { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.15fr); align-items: stretch; max-width: 1650px; margin: 74px auto 0; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.model-card--reverse { grid-template-columns: minmax(420px, 1.15fr) minmax(0, .95fr); }
.model-card--reverse .model-card__image { order: 2; }
.model-card__image img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.model-card__content { padding: clamp(34px, 4vw, 72px); display: flex; flex-direction: column; background: url("../assets/images/bg_x0020_1.svg") bottom right / 40% no-repeat; }
.model-card--reverse .model-card__content { background: url("../assets/images/bg_x0020_2.svg") bottom left / 40% no-repeat; }
.model-card h3 { margin: 0 0 32px; font-size: clamp(34px, 2.7vw, 52px); line-height: 1.08; font-weight: 900; }
.model-card p { margin: 26px 0 0; color: #161616; font-size: 20px; font-weight: 650; }
.specs { display: grid; gap: 10px; margin: 0; font-size: 20px; font-weight: 700; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 18px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.text-link { width: fit-content; margin-top: auto; padding: 0; border: 0; background: none; color: var(--pink); font-size: 20px; font-weight: 900; }
.text-link:hover { text-decoration: underline; }
.models__cta { display: grid; justify-items: center; gap: 26px; margin-top: 80px; text-align: center; }
.models__cta h3 { margin: 0; color: var(--pink); font-size: clamp(30px, 2.6vw, 42px); }

.custom { min-height: 58vw; /*min-height: 1080px;*/ display: flex; align-items: center; }
.custom__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.74) 43%, rgba(0, 0, 0, 0) 72%, rgba(0,0,0,.64)); }
.custom__inner { position: relative; z-index: 1; }
.custom h2 { max-width: 1180px; }
.custom h3 { margin-top: 7vw; }
.custom p { max-width: 1320px; margin: 0; font-size: clamp(28px, 2.3vw, 40px); font-weight: 800; }

.works { background: #fff; background: url("../assets/images/bg_x0020_2.svg") bottom left / 20% no-repeat; }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 72px; }
.work-card { margin: 0; }
.work-card img { width: 100%; aspect-ratio: 468 / 703; object-fit: cover; border-radius: 35px; /*box-shadow: 0 20px 48px rgba(0,0,0,.16);*/ border: 5px solid #D9D9D9; }
.work-card figcaption { margin-top: 18px; color: var(--muted); font-size: 20px; font-weight: 800; text-align: center; }
/*
.awards { padding-top: 108px; padding-bottom: 118px; }
*/
.awards {
  padding-top: 108px;
  padding-bottom: 118px;
  background: url("../assets/images/bg_x0020_3.svg") bottom right / 15% no-repeat;
  background-color: var(--gray);
}

.awards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; max-width: 1280px; margin: 72px auto 0; align-items: center; }
.award-card { min-height: 270px; display: grid; place-items: center; border: 0; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.55); box-shadow: 0 16px 38px rgba(0,0,0,.08); }
.award-card img { max-height: 320px; object-fit: contain; transition: transform .2s ease; }
.award-card:hover img { transform: scale(1.025); }

.contact { padding-top: 116px; padding-bottom: 116px; background: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(420px, 690px) minmax(0, 1fr); gap: 74px; align-items: start; }
.form { display: grid; gap: 22px; }
.form h2, .contact__info h2 { margin: 0 0 18px; font-size: clamp(34px, 2.8vw, 52px); line-height: 1.08; font-weight: 900; }
.form label { display: grid; gap: 10px; color: var(--muted); font-size: 20px; }

.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--pink);
  border-radius: 50px;
  padding: 21px 24px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form input:focus, .form textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(229,9,127,.12); }
.form textarea { resize: vertical; }
.form .btn { width: 282px; margin-top: 8px; }
.checkbox { grid-template-columns: 20px 1fr; align-items: start; font-size: 14px !important; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; }
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status { min-height: 24px; color: var(--muted); font-size: 16px; font-weight: 700; }
.form-status.success { color: #0b7a35; }
.form-status.error { color: #b00020; }
.contact__info { padding-top: 10px; }
.contact__info p { max-width: 920px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.contact__info a:not(.contact__link) { color: var(--pink); font-weight: 800; }
.contact__subtitle { margin-top: 0; font-weight: 750; }
.contact__link { display: block; width: fit-content; margin: 16px 0; font-size: 28px; font-weight: 900; }
.contact__link:hover { color: var(--pink); }

.footer { padding: 24px 0; background: var(--gray); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.footer__logo img { width: 90px; height: auto; }
.footer p { margin: 0; text-align: right; font-size: 13px; font-weight: 700; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; padding: 20px; }
.modal.is-open { display: grid; place-items: center; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(10px); }
.modal__dialog { position: relative; z-index: 1; width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 42px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.modal__dialog h2 { margin: 0 0 12px; font-size: 42px; }
.modal__dialog p { margin: 0 0 24px; color: var(--muted); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 32px; line-height: 1; }
.form--modal { gap: 15px; }
.form--modal label { font-size: 15px; }
.form--modal input, .form--modal textarea { padding: 15px 16px; border-radius: 14px; }
.form--modal .btn { width: 100%; }

.lightbox { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 24px; background: rgba(0,0,0,.86); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 96vw); max-height: 90vh; object-fit: contain; background: #fff; }
.lightbox__close { position: fixed; right: 24px; top: 20px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); font-size: 34px; line-height: 1; }

.fixedblock {
  position: fixed;
  bottom: 0;
  left: 20px;
  max-width: 300px;
  width: 100%;
  color: #fff;
  border-radius: 25px 25px 25px 0px;
  z-index: 99;
  padding: 16px 40px 16px 16px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-sizing: border-box;
}

.fixedblock:hover .btn--primary { opacity: 1; }

.fixedblock.is-closed {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.fixedblock__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
  border: 1px solid #666;
}

.fixedblock__close:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #000;
}

.fixedblock .btn--primary {
  display: block;
  padding: 20px;
  border-radius: 20px;
  opacity: 0.5;
}

/* Иконка подарка - скрыта по умолчанию */
.fixedblock__icon {
  display: none;
  width: 60px;
  height: 60px;
  background: var(--pink, #ff6b9d);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  animation: wiggle 2s ease-in-out infinite;
}

.fixedblock__icon svg {
  color: #fff;
  width: 32px;
  height: 32px;
}

/* Анимация покачивания иконки */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-10deg) scale(1.1); }
  20% { transform: rotate(10deg) scale(1.1); }
  30% { transform: rotate(-10deg) scale(1.1); }
  40% { transform: rotate(10deg) scale(1.1); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.fixedblock__icon:hover {
  animation-play-state: paused;
  transform: scale(1.15);
}


/* ========================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ (< 960px)
   ======================================== */
@media (max-width: 960px) {
  .fixedblock {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: none;
    width: auto;
    background: transparent;
    padding: 0;
    border-radius: 0;
  }
  
  /* Показываем иконку */
  .fixedblock__icon {
    display: flex;
  }
  
  /* Скрываем текст и кнопку закрытия по умолчанию */
  .fixedblock .btn--primary {
    display: none;
  }
  
  .fixedblock__close {
    display: none;
  }
  
  /* Когда блок раскрыт - показываем текст */
  .fixedblock.is-open .fixedblock__icon {
    display: none;
  }
  
  .fixedblock.is-open .fixedblock__text {
    display: block;
    max-width: 280px;
	opacity: 1;
    animation: fadeInUp 0.3s ease;
  }
  
  .fixedblock.is-open .fixedblock__close {
    display: flex;
  }
  
  /* Анимация появления текста */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ========================================
   ДОПОЛНИТЕЛЬНАЯ АДАПТАЦИЯ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ
   ======================================== */
@media (max-width: 480px) {
  .fixedblock {
    right: 15px;
    bottom: 15px;
  }
  
  .fixedblock__icon {
    width: 50px;
    height: 50px;
  }
  
  .fixedblock__icon svg {
    width: 26px;
    height: 26px;
  }
  
  .fixedblock.is-open .fixedblock__text {
    max-width: 240px;
    font-size: 14px;
    padding: 16px;
  }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* Базовый контейнер карусели */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  overflow: hidden;
  background: #fff;
  border: 5px solid #D9D9D9;
  border-radius: 35px;
}

/* Трек слайдов */
.carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.carousel h4 {
  background: white;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin: 20px;
}
/* Отдельный слайд */
.carousel__slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
  line-height: 0;
}

.carousel__slide img {
  width: 100%;
  height: 30vw;
  display: block;
  transition: filter 0.3s;
  object-fit: cover;
}
.mt100 {
  margin-top: 100px !important;
}
.mt50 {
  margin-top: 50px !important;
}
.carousel__slide:hover img {
  filter: brightness(0.95);
}

/* Кнопки навигации (внутри области слайда) */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e5097f40;
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel__btn:hover {
  background: #e5097f;
  transform: translateY(-50%) scale(1.05);
}

.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }

/* Модальное окно */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  display: flex;
  opacity: 1;
}

.image-modal__img {
  max-width: 92%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  animation: modalIn 0.3s ease;
}

.image-modal__close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: transform 0.2s;
}

.image-modal__close:hover {
  transform: scale(1.1);
}

@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Адаптивность кнопок на мобильных */
@media (max-width: 600px) {
  .carousel__btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .carousel__btn--prev { left: 10px; }
  .carousel__btn--next { right: 10px; }
}




        .carousel-container {
            position: relative;
            width: 100%;
            max-width: 1200px; /* Максимальная ширина карусели */
            overflow: hidden; /* Скрываем все, что выходит за границы */
            margin: 50px auto 0;
        }

        /* Трек, который двигается */
        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out; /* Плавная анимация */
            will-change: transform;
        }

        /* Отдельный слайд */
        .carousel-slide {
            min-width: 100%; /* По умолчанию (мобильные) - 1 слайд на ширину */
            height: 300px;
            box-sizing: border-box;
            padding: 10px;
            cursor: pointer;
            position: relative;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 8px;
            transition: transform 0.3s;
        }

        .carousel-slide:hover img {
            transform: scale(1.05);
        }

        /* --- Кнопки навигации --- */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        .carousel-btn:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .btn-prev { left: 10px; }
        .btn-next { right: 10px; }

        /* --- Модальное окно --- */
        .imodal {
            display: none; 
            position: fixed; 
            z-index: 1000; 
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            overflow: auto; 
            background-color: rgba(0,0,0,0.9); 
            opacity: 0;
            transition: opacity 0.3s;
        }

        .imodal.show {
            display: block;
            opacity: 1;
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90vh;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 5px;
        }

        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
        }

        /* --- Адаптивность (Media Queries) --- */
        
        /* Планшеты (2 изображения) */
        @media (min-width: 768px) {
            .carousel-slide {
                min-width: 50%;
            }
        }

        /* Десктоп (3 изображения) */
        @media (min-width: 1024px) {
            .carousel-slide {
                min-width: 33.333%;
            }
        }
		
		
/* Кнопки навигации в модалке */
.image-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.image-modal__nav:hover {
  background: rgba(229, 9, 127, 0.85);
  transform: translateY(-50%) scale(1.08);
}

.image-modal__nav--prev { 
  left: 24px; 
}

.image-modal__nav--next { 
  right: 24px; 
}

.image-modal__nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Счётчик слайдов */
.image-modal__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 2001;
  user-select: none;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .image-modal__nav {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .image-modal__nav--prev { left: 12px; }
  .image-modal__nav--next { right: 12px; }
  .image-modal__counter {
    bottom: 16px;
    font-size: 14px;
    padding: 6px 14px;
  }
}

@media (min-width: 2401px) {
	.carousel__slide img {
  height: 15vw;
}
}
@media (min-width: 1921px) {
.hero, .touch, .section-image-text, .custom {
		background: transparent;
	}
.hero, .custom {
    min-height: 1110px;
}
.touch, .section-image-text {
  min-height: 767px;
  
}
.hero__bg, .touch__image, .touch__overlay, .section-image-text__image, .section-image-text__shade, .custom__image, .custom__overlay {
  max-width: 1980px;
  margin: 0 auto;
}
}

@media (max-width: 1806px) {
	.hero h1, h2, .section-image-text h2, .custom h2, .custom h3 {
  font-size: 48px;
}
.video-card iframe {
  height: 51vw;
}
}

@media (max-width: 1606px) {
	.hero h1, h2, .section-image-text h2, .custom h2, .custom h3 {
  font-size: 42px;
}
.hero__lead, .intro__text {
  font-size: 32px;
}
}

@media (max-width: 1406px) {
	.hero h1, h2, .section-image-text h2, .custom h2, .custom h3 {
  font-size: 38px;
}
.hero__lead, .intro__text {
  font-size: 28px;
}
}

@media (max-width: 1206px) {
	.hero h1, h2, .section-image-text h2, .custom h2, .custom h3 {
  font-size: 32px;
}
.hero__lead, .intro__text {
  font-size: 25px;
}
}

@media (max-width: 1280px) {
  .header__inner { grid-template-columns: auto auto; }
  /*
  .nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 18px; }
  */
  .header__contacts { justify-self: end; }
  .hero { min-height: 850px; }
  .hero__inner { grid-template-columns: .72fr 1fr; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .container, .container--narrow { width: min(100% - 32px, 720px); }
  .section { padding: 78px 0; }
  .header__inner { min-height: 72px; grid-template-columns: auto auto; gap: 16px; }
  .logo img { width: 126px; }
  .burger { display: block; justify-self: end; }
  .nav { position: fixed; left: 16px; right: 16px; top: 80px; display: none; flex-direction: column; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a, .nav span { padding: 14px; border-radius: 12px; }
  .nav a:hover { background: #f7f7f7; }
  .header__contacts { display: none; }
  .hero { min-height: 760px; align-items: end; padding-bottom: 70px; }
  .hero__bg { background: url("../assets/images/DSCF1343.webp") 25% top / cover no-repeat; }
  .hero__inner { display: block; }
  .hero__content { max-width: 100%; padding-top: 0; }
  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  .hero__lead { font-size: 25px; }
  .touch {
  background: url(/assets/images/touch.webp) 60% top / cover no-repeat; }
.touch__image {
  display: none;
}
.carousel__slide img {
  height: 70vw;
}
  .touch, .section-image-text, .custom { min-height: 760px; padding: 50px 0; }
  .touch__content { padding-bottom: 90px; }
  .touch h2 { max-width: 100%; margin: 0; font-size: 25px; }
  .benefits__grid, .works__grid, .awards__grid { grid-template-columns: 1fr; gap: 0px; margin-top: 22px; }
  .benefits__grid { margin-top: 56px; gap: 18px; }
  .benefit-card { min-height: auto; padding: 24px; border: 1px solid var(--line); border-radius: 24px; }
  .model-card, .model-card--reverse { grid-template-columns: 1fr; margin-top: 34px; }
  .model-card--reverse .model-card__image { order: 0; }
  .model-card__image img { min-height: 0; aspect-ratio: 16 / 10; }
  .model-card__content { padding: 26px; }
  
  .video-card {
  border-radius: 15px;
}
  .specs div { grid-template-columns: 100px 1fr; }
  .custom h3 { margin-top: 52px; }
  .contact__grid { gap: 46px; }
  .form .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 18px; }
  .footer p { text-align: left; }
  /*.fixedblock {display:none;}*/
  .header {
  position: relative;
}
}

@media (max-width: 560px) {
  .pink-title { font-size: 32px;line-height: 1; }
  .intro__text { font-size: 20px; }
  .touch h2, .section-image-text h2, .custom h2, .custom h3 { font-size: 30px; }
  .large-list { font-size: 24px; }
  .model-card h3 { font-size: 30px; }
  .specs { font-size: 16px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .model-card p, .contact__info p { font-size: 17px; }
  .contact__link { font-size: 23px; }
  .modal__dialog { padding: 8px 8px; border-radius: 8px; }
  .modal__dialog h2 { font-size: 24px; padding-right: 38px; line-height: 1; }
  .form--modal input, .form--modal textarea {
	  padding: 5px 10px;
	}
	.form input, .form textarea, .form--modal input, .form--modal textarea {
  border-radius: 16px; padding: 8px;
}
	.form label {
  gap: 0;
}
button, input, textarea {
  font-size: 16px;
}
.carousel {
  margin: 0 auto 20px;
  border: 2px solid #D9D9D9;
  border-radius: 15px;
}
.carousel h4 {
  font-size: 16px;
  margin: 5px;
}
}
