@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Bounded";
  src: url("../fonts/Bounded-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f4f4;
  --text: #111;
  --muted: #777;
  --white: #fff;

  --accent: #ff00b8;

  --container: 1600px;

  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  --font-body: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-heading: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-ui: "Raleway", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero__title,
.section-title,
.page-title,
.product-title,
.adv-card__title,
.special-card__name,
.lab-app__title {
  font-family: var(--font-heading);
}

.header,
.footer {
  font-family: var(--font-ui);
}

.btn {
  font-family: var(--font-ui);
}

a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 64px;
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 52px;
  cursor: pointer;
}
.logo__text {
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 16px;
  color: #222;
  transition: all 0.3s ease;
}

.nav__link:hover{
  color: var(--accent);

}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


.lang {
  position: relative;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 10px 10px;
  cursor: pointer;
  color: #222;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 76px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.lang__menu.is-open {
  display: grid;
  gap: 6px;
}
.lang__item {
  border: none;
  background: transparent;
  padding: 10px 10px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
.lang__item:hover {
  background: rgba(0, 0, 0, 0.05);
}


.btn {
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--outline {
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
}

.btn:hover{
    background-color:#ff00b8;
    color: white;
}



.hero {
  padding: 64px 0 90px;
  margin-top: 0px;
}
.hero__title {
  margin: 0 0 14px;
  font-family: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 566;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: 0;
  text-transform: capitalize;
}
.hero__subtitle {
  margin: 0 0 52px;
  font-family: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.link-arrow::after {
  content: "→";
  font-size: 18px;
}

#catalog,
#cases,
#care,
#about,
#contacts {
  scroll-margin-top: 90px;
}

.hero {
  padding: 64px 0 40px;
}

.hero__inner {
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  min-height: 320px;
}

.hero__content {
  padding-top: 36px;
}

.hero__title {
  margin: 0 0 14px;
  font-family: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 566;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: 0;
  text-transform: capitalize;
}

.hero__subtitle {
  margin: 0 0 44px;
  font-family: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.hero__link {
  margin-top: -20px;
  margin-left: 64px;
  font-family: "Bounded", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.hero__tag {
  position: absolute;
  background: #9ec7ff;
  color: #fff;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 466;
  font-size: 12px;
  line-height: 20px;
  text-transform: uppercase;
  text-align: center;
  width: 224px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transform-origin: center;
  user-select: none;
}

.hero__items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 200px;
  margin-bottom: 60px;
}

.hero__item {
  max-width: none;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.1));
}


@media (max-width: 900px) {
  .hero {
    padding: 28px 0 20px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding-top: 10px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__items {
    height: 180px;
  }

  .hero__item--5 {
    display: none;
  }
  .hero__item--6 {
    display: none;
  }
}


.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.modal.is-open {
  display: block;
}

/* Lightbox for hero carousel */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.lightbox__content {
  position: relative;
  width: min(56vw, 56vh);
  aspect-ratio: 1;
  min-width: 300px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  cursor: pointer;
}
.lightbox__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
  opacity: 1;
}
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  font-family: var(--font-ui);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 2;
}
.lightbox__close:hover {
  color: var(--accent);
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.modal__dialog {
  position: relative;
  width: min(720px, calc(100% - 48px));
  margin: 120px auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 28px 24px;
}

.modal__close {
  position: absolute;
  right: 16px;
  top: 14px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.form {
  display: grid;
  gap: 16px;
}
.form__field {
  display: grid;
  gap: 8px;
}
.form__label {
  font-size: 13px;
  color: #222;
  font-weight: 600;
}

.form__input,
.form__textarea {
  width: 100%;
  border: none;
  background: #f1f1f1;
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
}
.form__textarea {
  resize: vertical;
  min-height: 92px;
}
.form__submit {
  width: 220px;
}

.form__note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.stub {
  height: 320px;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .hero__title {
    font-size: 44px;
  }
  .hero {
    padding: 32px 0 60px;
  }
  .modal__dialog {
    margin: 80px auto;
  }
}

.hero__inner {
  position: relative;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__grid,
.hero__items {
  position: relative;
  z-index: 2;
}

.hero__arrowimg {
  position: absolute;
  display: block;
  user-select: none;
  pointer-events: none;
  height: auto;
  z-index: 1;
}

.hero__arrowimg--1 {
  width: 482.5px;
  height: 203.87px;
  top: 55px;
  left: 296px;
  transform: none;
}


.hero__arrowimg--2 {
  width: 120px;
  top: -40px;
  left: 890px;
  transform: scale(0.9);
}


.hero__arrowimg--3 {
  width: 360px;
  top: 45px;
  left: 950px;
  transform: scale(0.8);
}


.hero__tag--1 {
  top: -35px;
  left: 670px;
  transform: rotate(-10deg);
}

.hero__tag--2 {
  top: 118px;
  left: 870px;
  transform: rotate(10deg);
}

.hero__tag--3 {
  top: -15px;
  left: 1145px;
  transform: rotate(-10deg);
}



html,
body {
  overflow-x: clip;
}

.hero__marquee {
  position: relative;
  left: -64px;
  transform: none;
  width: calc(100% + 128px);
  margin-left: -64px;
  margin-right: -64px;

  display: block;
  height: 304px;
  overflow: hidden;

  margin: -50px 0 26px;
  padding: 0;
}

.hero__marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: heroMarquee 26s linear infinite;
}

.hero__marquee-group {
  display: flex;
  align-items: center;

  gap: 52px;
  padding-right: 52px;
}

.hero__marquee .hero__item {
  flex: 0 0 auto;
  display: block;
  width: 256px;
  height: 304px;
  object-fit: contain;
  object-position: center;
  filter: none !important;
  transform: none !important;
  cursor: pointer;
}

@keyframes heroMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}



body { overflow-x: clip; }

a{
  transition: 0.2s ease all;
}
a:hover{
  color: var(--accent);
  
}



