:root {
  /* Colors */

  --clr-accent: rgba(179, 2, 2, 1);
  --clr-secondary: rgba(221, 20, 20, 1);
  --clr-primary: rgba(42, 43, 42, 1);
  --clr-neutral: rgba(255, 255, 255, 1);
  --clr-neutral-200: rgba(233, 233, 233, 1);
  --clr-neutral-400: rgba(42, 43, 42, 1);

  /* Fonts */

  --ff-primary: "Open Sans", sans-serif;

  --ff-body: var(--ff-primary);

  /* Font-weights*/

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi-bold: 600;
  --fw-bold: 700;
  --fw-black: 900;

  /* Font-sizes*/

  --fs-200: 0.875rem;
  --fs-300: 1rem;
  --fs-400: 1.25rem;
  --fs-500: 1.5rem;
  --fs-700: 1.875rem;
  --fs-800: 2rem;
  --fs-900: 2.875rem;

  --fs-body: var(--fs-400);
  --fs-primary-heading: var(--fs-900);
  --fs-sub-heading: var(--fs-500);
  --fs-nav: var(--fs-200);
  --fs-button: var(--fs-400);

  /* padding-blocks */

  --size-100: 1rem;
  --size-150: 1.25rem;
  --size-200: 1.375rem;
  --size-300: 1.5rem;
  --size-400: 1.625rem;
  --size-500: 1.875rem;
  --size-550: 2rem;
  --size-600: 2.25rem;
  --size-650: 2.5rem;
  --size-700: 3rem;
  --size-750: 3.5rem;
  --size-800: 4rem;
  --size-900: 5rem;
}

@media (max-width: 650px) {
  :root {
    --fs-primary-heading: var(--fs-800);
  }
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  /* text-rendering: optimizeSpeed; */
  overflow-x: hidden;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility classes */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* text-colors */

.text-primary {
  color: var(--clr-primary);
}

.text-neutral {
  color: var(--clr-neutral);
}

/* bg-colors */

.bg-primary {
  background-color: var(--neutral-200);
}

.bg-neutral {
  background-color: var(--clr-neutral);
}

.bg-secondary {
  background-color: var(--clr-secondary);
}

.bg-navigation {
  background-color: var(--clr-neutral-400);
}

/* Font-weights*/

.fw-light {
  font-weight: var(--fw-light);
}

.fw-regular {
  font-weight: var(--fw-regular);
}
.fw-medium {
  font-weight: var(--fw-medium);
}
.fw-semi-bold {
  font-weight: var(--fw-semi-bold);
}
.fw-bold {
  font-weight: var(--fw-bold);
}
.fw-black {
  font-weight: var(--fw-black);
}

/* Font-sizes */

.fs-primary-heading {
  font-size: var(--fs-primary-heading);
}

.fs-sub-heading {
  font-size: var(--fs-sub-heading);
}

.fs-700 {
  font-size: var(--fs-700);
}

.fs-300 {
  font-size: var(--fs-300);
}

.fs-200 {
  font-size: var(--fs-200);
}

.fs-nav {
  font-size: var(--fs-nav);
}

.padding-block-900 {
  padding-block: var(--size-900);
}

.padding-block-800 {
  padding-block: var(--size-800);
}

.padding-block-700 {
  padding-block: var(--size-700);
}

.padding-block-600 {
  padding-block: var(--size-600);
}

.padding-block-500 {
  padding-block: var(--size-500);
}

.padding-block-550 {
  padding-block: var(--size-550);
}

.padding-block-100 {
  padding-block: var(--size-100);
}

.padding-bottom-block-800 {
  padding-bottom: var(--size-800);
}

.padding-bottom-block-750 {
  padding-bottom: var(--size-750);
}

.padding-top-block-500 {
  padding-top: var(--size-500);
}

.padding-top-block-700 {
  padding-top: var(--size-700);
}

.padding-top-block-200 {
  padding-top: var(--size-200);
}

.padding-bottom-block-200 {
  padding-bottom: var(--size-200);
}

.padding-bottom-block-700 {
  padding-bottom: var(--size-700);
}

.padding-bottom-block-600 {
  padding-bottom: var(--size-600);
}

.padding-bottom-block-500 {
  padding-bottom: var(--size-500);
}

.centered {
  display: grid;
  place-items: center;
}

/* general styling */

body {
  font-size: var(--fs-body);
  font-family: var(--ff-body);
  color: var(--clr-primary);
}

.primary-heading {
  font-size: var(--fs-primary-heading);
  font-weight: var(--fw-semi-bold);
}

.container {
  --max-width: 1180px;
  --padding: 2.5rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}

/* Ограничение ширины текста для удобного чтения на компьютерах */
@media (min-width: 1024px) {
  .text-content {
    max-width: 75ch;
  }

  .text-content p {
    text-align: left;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }
}

/* Стили для кнопок действий */
.action-buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.catalog-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-400);
  font-weight: var(--fw-medium);
  color: var(--clr-accent);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-accent);
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.catalog-nav-link:hover {
  background-color: var(--clr-accent);
  color: var(--clr-neutral);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 2, 2, 0.2);
}

.catalog-nav-link:active {
  transform: translateY(0);
}

.catalog-nav-link::after {
  content: "→";
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.catalog-nav-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 480px) {
  .action-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .catalog-nav-link {
    justify-content: center;
    text-align: center;
  }
}

/* Стили для каталога товаров */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 100%;
}

.catalog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.catalog-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  background-color: #f8f9fa;
  padding: 0.75rem;
}

.catalog-item-title {
  font-size: var(--fs-400);
  font-weight: var(--fw-bold);
  color: var(--clr-primary);
  margin: 1.25rem 1.25rem 0.5rem 1.25rem;
  line-height: 1.4;
}

.catalog-item-price {
  font-size: var(--fs-300);
  font-weight: var(--fw-bold);
  color: var(--clr-primary);
  margin: 0 1.25rem 0.75rem 1.25rem;
}

.catalog-item-description {
  font-size: var(--fs-300);
  font-weight: var(--fw-regular);
  color: var(--clr-primary);
  line-height: 1.6;
  margin: 0 1.25rem 1.25rem 1.25rem;
  flex-grow: 1;
}

.catalog-item .button {
  margin: 0 1.25rem 1.25rem 1.25rem;
  width: calc(100% - 2.5rem);
  padding: 0.75rem 1rem;
  font-size: var(--fs-300);
}

/* Планшеты (2 карточки в ряд) */
@media (min-width: 480px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .catalog-item img {
    height: 220px;
    padding: 1rem;
  }

  .catalog-item-title {
    font-size: var(--fs-400);
    margin: 1.5rem 1.5rem 0.75rem 1.5rem;
  }

  .catalog-item-price {
    margin: 0 1.5rem 1rem 1.5rem;
  }

  .catalog-item-description {
    margin: 0 1.5rem 1.5rem 1.5rem;
  }

  .catalog-item .button {
    margin: 0 1.5rem 1.5rem 1.5rem;
    width: calc(100% - 3rem);
  }
}

/* Большие планшеты и маленькие десктопы (3 карточки в ряд) */
@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .catalog-item img {
    height: 240px;
  }
}

/* Большие десктопы */
@media (min-width: 1200px) {
  .catalog-grid {
    gap: 3rem;
  }

  .catalog-item img {
    height: 260px;
  }
}

/* Очень большие экраны */
@media (min-width: 1400px) {
  .catalog-grid {
    gap: 3.5rem;
  }
}

/* OKG anchors catalog */

.okg-anchors,
.okg-dosing {
  background-color: var(--clr-neutral-200);
}

.okg-anchors__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--size-500);
}

.okg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--clr-neutral);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 2rem 1.5rem 1.75rem;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.okg-card:hover,
.okg-card:focus-visible {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.okg-card__image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.okg-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.okg-card__title {
  font-size: var(--fs-400);
  font-weight: var(--fw-semi-bold);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.okg-card__volume {
  font-size: var(--fs-300);
  font-weight: var(--fw-regular);
  color: rgba(42, 43, 42, 0.8);
}

.okg-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--clr-primary);
  font-size: var(--fs-500);
  font-weight: var(--fw-semi-bold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.okg-card:hover .okg-card__overlay,
.okg-card:focus-visible .okg-card__overlay {
  opacity: 1;
}

@media (max-width: 1024px) {
  .okg-anchors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--size-400);
  }
}

@media (max-width: 650px) {
  .okg-anchors {
    padding-block: var(--size-600);
  }

  .okg-anchors__grid {
    grid-template-columns: 1fr;
    gap: var(--size-400);
  }

  .okg-card {
    padding-inline: 1.25rem;
  }
}

.even-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  row-gap: 1rem;
}

.nav-flex-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.column {
  display: grid;
  place-items: center;
}

.card-shadow {
  background-color: white;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  height: 250px;
  text-align: center;
  font-family: sans-serif;
  transition: transform 0.2s ease;
  align-content: center;
}
.card-shadow:hover {
  transform: translateY(-5px);
}

.card-shadow img {
  margin-bottom: var(--size-400);
}

.section-headings {
  text-transform: uppercase;
  font-size: var(--fs-700);
  position: relative;
}

.clients-grid {
  display: grid;
  gap: var(--size-500);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.clients-card {
  display: flex;
  flex-direction: column;
  gap: var(--size-300);
  align-items: flex-start;
}

.clients-card__logo {
  width: 100px;
  height: 100px;
  display: grid;
}

.clients-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clients-card__description {
  color: rgba(42, 43, 42, 0.75);
  line-height: 1.4;
}

.gallery-grid {
  display: grid;
  gap: var(--size-400);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-items: center;
}

.gallery-grid li {
  display: flex;
  justify-content: center;
}

.gallery-card {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
  transition: transform 0.2s ease;
  display: block;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--clr-secondary);
  outline-offset: 4px;
}

.gallery-card__thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  background-color: var(--clr-neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-card:hover .gallery-card__thumb,
.gallery-card:focus-visible .gallery-card__thumb {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.gallery-card--document .gallery-card__thumb {
  background: linear-gradient(
    135deg,
    rgba(42, 43, 42, 0.92),
    rgba(42, 43, 42, 0.75)
  );
  color: var(--clr-neutral);
  flex-direction: column;
  gap: var(--size-200);
  text-align: center;
  padding: var(--size-300);
}

.gallery-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: var(--fw-semi-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-200);
}

.gallery-card__title {
  font-size: var(--fs-300);
  font-weight: var(--fw-semi-bold);
  line-height: 1.2;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--size-600);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.gallery-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.gallery-modal__body {
  position: relative;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal--fixed .gallery-modal__body {
  width: min(90vw, 720px);
}

.gallery-modal__image,
.gallery-modal__document {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.gallery-modal--fixed .gallery-modal__image {
  width: 100%;
  height: auto;
}

.gallery-modal__document {
  width: min(90vw, 960px);
  height: min(85vh, 680px);
  border: none;
  background-color: var(--clr-neutral);
}

.gallery-modal__close {
  position: absolute;
  top: 0;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gallery-modal__close:hover,
.gallery-modal__close:focus-visible {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.gallery-modal__close:focus-visible {
  outline: 2px solid var(--clr-neutral);
  outline-offset: 4px;
}

.gallery-modal__close img {
  width: 1rem;
  height: 1rem;
}

/* OKG modals */

.okg-modal[hidden] {
  display: none;
}

.okg-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--size-600);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.okg-modal.okg-modal--open {
  opacity: 1;
  visibility: visible;
}

.okg-modal__dialog {
  position: relative;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  padding: 2.5rem 2.75rem 2.25rem;
  border-radius: 1.25rem;
  background-color: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.okg-modal__title {
  margin-bottom: 1.25rem;
}

.okg-modal__text {
  font-size: var(--fs-300);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.okg-modal__text strong {
  font-weight: var(--fw-bold);
}

.okg-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.okg-modal__button {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 0.625rem;
  border: none;
  font-size: var(--fs-300);
  font-weight: var(--fw-semi-bold);
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.okg-modal__button--primary {
  background-color: var(--clr-secondary);
  color: var(--clr-neutral);
  box-shadow: 0 10px 25px rgba(179, 2, 2, 0.4);
}

.okg-modal__button--secondary {
  background-color: #e1e1e1;
  color: var(--clr-primary);
}

.okg-modal__button:hover,
.okg-modal__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.okg-modal__button--primary:hover,
.okg-modal__button--primary:focus-visible {
  background-color: var(--clr-accent);
}

.okg-modal__button--secondary:hover,
.okg-modal__button--secondary:focus-visible {
  background-color: #d4d4d4;
}

.okg-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background-color: rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.okg-modal__close:hover,
.okg-modal__close:focus-visible {
  background-color: rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .okg-modal {
    padding: var(--size-400);
  }

  .okg-modal__dialog {
    padding: 2rem 1.5rem 1.75rem;
    max-height: 94vh;
  }
}

@media (max-width: 480px) {
  .okg-modal {
    padding: var(--size-300);
  }

  .okg-modal__dialog {
    padding-inline: 1.25rem;
    border-radius: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .even-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .container {
    --padding: 1.25rem;
  }

  .even-columns {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    gap: var(--size-400);
  }

  .gallery-modal {
    padding: var(--size-400);
  }

  .gallery-modal__close {
    top: var(--size-150);
    right: var(--size-150);
    width: 2.5rem;
    height: 2.5rem;
  }
}

.top-section {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.text-align-center {
  text-align: center;
}

/* button */

.button {
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  padding: 1.5rem;
  font-weight: var(--fw-bold);
  font-size: var(--fs-button);
  text-transform: uppercase;
  color: var(--clr-neutral);
  background-color: var(--clr-secondary);
  line-height: 1;
}

.button[data-type="transparent"] {
  background-color: transparent;
  border: solid 1px;
}

.button[data-type="transparent"]:hover,
.button[data-type="transparent"]:focus-visible {
  background-color: var(--clr-secondary);
  border-color: var(--clr-secondary);
}

.button {
  transition: background-color 0.3s ease;
}

.button:hover,
.button:focus-visible {
  background-color: var(--clr-accent);
}

/* lists*/

.markered-list {
  padding-left: 1.5em;
  list-style-type: disc;
}

.markered-list li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

/* Widget */

.callBottom {
  width: 60px;
  height: 60px;
  cursor: pointer;
  background: var(--clr-secondary);
  border-radius: 50%;
  text-align: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  color: #fff;
  z-index: 100;

  &:before {
    border: none;
    animation: 4s linear 0s normal none infinite running spin;
    border-color: var(--clr-secondary) transparent transparent;
    border-radius: 50%;
    border-right: 3px solid transparent;
    border-style: solid;
    border-width: 3px;
    bottom: -12px;
    content: "";
    left: -12px;
    position: absolute;
    right: -12px;
    top: -12px;
  }
  &:after {
    border: none;
    animation: 2s linear 0s normal none infinite running spin;
    border-color: var(--clr-secondary) transparent transparent;
    border-image: none;
    border-radius: 50%;
    border-right: 2px solid transparent;
    border-style: solid;
    border-width: 2px;
    bottom: -5px;
    content: "";
    left: -5px;
    position: absolute;
    right: -5px;
    top: -5px;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.messageBlock {
  position: absolute;
  width: 60px;
  background: var(--clr-secondary);
  line-height: 60px;
  font-size: 30px;
  z-index: 6;
  border-radius: 50%;
  font-family: "Roboto Condensed", sans-serif;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-name: textInfoAnim;
  animation-play-state: running;
  animation-timing-function: ease-in-out;
  transform: scale(0, 0);
  opacity: 0;
}

@keyframes textInfoAnim {
  0% {
    transform: scale(0, 0);
    opacity: 0;
  }

  40% {
    transform: scale(0, 0) rotate(0deg);
    opacity: 0;
  }

  50% {
    transform: scale(1, 1) rotate(360deg);
    opacity: 1;
  }

  79% {
    transform: scale(1, 1) rotate(360deg);
    opacity: 1;
  }

  89% {
    transform: scale(0, 0) rotate(-360deg);
    opacity: 0;
  }
}

.iconPhone {
  line-height: 60px;
  font-size: 30px;
}

.shake.shake-constant {
  animation: shake-base 1800ms ease-in-out 0s infinite;
}

@keyframes shake-base {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }

  9% {
    transform: translate(0px, 0px) rotate(0deg);
  }

  10% {
    transform: translate(0.5px, -0.5px) rotate(-0.5deg);
  }

  12% {
    transform: translate(0.5px, -1.5px) rotate(-0.5deg);
  }

  14% {
    transform: translate(-0.5px, 0.5px) rotate(-1.5deg);
  }

  16% {
    transform: translate(1.5px, -0.5px) rotate(0.5deg);
  }

  18% {
    transform: translate(1.5px, 1.5px) rotate(0.5deg);
  }

  20% {
    transform: translate(-2.5px, 0.5px) rotate(0.5deg);
  }

  22% {
    transform: translate(-0.5px, 0.5px) rotate(-0.5deg);
  }

  24% {
    transform: translate(1.5px, -1.5px) rotate(0.5deg);
  }

  26% {
    transform: translate(-2.5px, 1.5px) rotate(-0.5deg);
  }

  28% {
    transform: translate(-2.5px, 0.5px) rotate(-0.5deg);
  }

  30% {
    transform: translate(1.5px, 1.5px) rotate(-0.5deg);
  }

  32% {
    transform: translate(0.5px, 1.5px) rotate(0.5deg);
  }

  34% {
    transform: translate(1.5px, 1.5px) rotate(-0.5deg);
  }

  36% {
    transform: translate(1.5px, -1.5px) rotate(-0.5deg);
  }

  38% {
    transform: translate(-1.5px, 1.5px) rotate(0.5deg);
  }

  40% {
    transform: translate(0.5px, -2.5px) rotate(-0.5deg);
  }

  42% {
    transform: translate(-2.5px, -0.5px) rotate(-0.5deg);
  }

  44% {
    transform: translate(-2.5px, -0.5px) rotate(-0.5deg);
  }

  46% {
    transform: translate(-1.5px, -0.5px) rotate(-0.5deg);
  }

  48% {
    transform: translate(-2.5px, 1.5px) rotate(-0.5deg);
  }

  50% {
    transform: translate(-0.5px, -2.5px) rotate(0.5deg);
  }

  52% {
    transform: translate(0.5px, 1.5px) rotate(-1.5deg);
  }

  54% {
    transform: translate(-0.5px, -2.5px) rotate(0.5deg);
  }

  56% {
    transform: translate(-0.5px, 0.5px) rotate(-0.5deg);
  }

  58% {
    transform: translate(-0.5px, 1.5px) rotate(0.5deg);
  }

  60% {
    transform: translate(0.5px, -2.5px) rotate(0.5deg);
  }

  62% {
    transform: translate(0, 0) rotate(0deg);
  }

  98% {
    transform: translate(0, 0) rotate(0deg);
  }
}
*/

/* Contact-forms */

body.lock {
  overflow: hidden;
}

@keyframes slideUp {
  from {
    transform: translateY(900px);
  }

  to {
    transform: translateY(0);
  }
}

/* form */

body.lock {
  overflow: hidden;
}

.thanks-message {
  display: none;
  z-index: 0;
}

.call-thanks-message {
  display: none;
  z-index: 0;
}

@keyframes slideUp {
  from {
    transform: translateY(900px);
  }

  to {
    transform: translateY(0);
  }
}

.full-form-window {
  position: fixed !important;
  inset: 0px auto auto 0px;
  place-items: center;
  width: 100%;
  height: 100%;
  display: grid;
  opacity: 0;
  background-color: #ffffff;
  z-index: -1;
  overflow-y: auto;
}

.opened-window {
  animation: slideUp 0.3s ease-in;
  opacity: 1;
}

.form-out-closer {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.form-window {
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 550px;
  padding: 55px 90px;
  top: 20px;
  position: absolute;
  background-color: #ffffff;
  z-index: 2;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.full-form-window .x-mark {
  position: absolute;
  right: 100px;
  top: 100px;
  font-size: 2rem;
  color: var(--clr-primary);
  z-index: 1;
}

.form-out-closer {
  display: none;
}

.full-form-window .mobile {
  display: none;
}

.full-form-window .x-mark:hover {
  cursor: pointer;
  opacity: 0.7;
}

.form-window .tab {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  float: none;
  padding-bottom: 30px;
}

.tab svg .call-mail-icon-path {
  fill: var(--clr-primary);
}

.tab button.active svg .call-mail-icon-path {
  fill: var(--clr-accent);
}

/* Create an active/current "tab button" class */
.tab button.active span {
  color: var(--clr-accent);
  padding-bottom: 2px;
  border-bottom: 1px dashed var(--clr-secondary);
}

.form-window .tab button {
  display: flex;
  width: 50%;
  font-size: var(--fs-200);
  text-align: center;
  padding: 0 0.7rem 0 0.7rem;
  background: none;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  font-weight: var(--fw-regular);
  color: var(--clr-primary);
  line-height: 1;
  align-items: center;
}

.form-window .tab button svg {
  padding-right: 10px;
}
.form-window .tab button .phone-form-svg {
  padding-top: 5px;
  padding-right: 1px;
}

.form-window .tab .email-button {
  padding-left: 20px;
}

.form-window .tabcontent {
  float: none;
  width: 100%;
  padding: 0;
}

.form-window .form-window {
  display: grid;
  place-items: center;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-window textarea {
  margin-bottom: 20px;
}

.form-window input {
  z-index: 1;
}

.form-window input,
.form-window textarea {
  line-height: normal;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  outline: none;
  border: 1px solid #c0c0c0;
  font-size: var(--fs-200);
  font-weight: 300;
  resize: none;
}

.form-window input:focus,
.form-window textarea:focus {
  border: 1px solid var(--clr-primary);
}

.form-window textarea {
  height: 115px;
  padding: 15px;
  z-index: 1;
}

.form-window textarea::-webkit-scrollbar {
  width: 4px;
}

.form-window textarea::-webkit-scrollbar-thumb {
  background-color: var(--clr-accent);
}

.form-window button[type="submit"] {
  width: 100%;
  background-color: var(--clr-secondary);
  border: none;
  color: white;
  padding: 18px 0;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: 0.2s;
  z-index: 0;
}

.chbtn {
  width: 200px;
  background-color: var(--clr-secondary);
  border: none;
  color: white;
  padding: 20px 0;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: 0.2s;
}

.chbtn:hover {
  background-color: var(--clr-accent);
  cursor: pointer;
}

.form-window button[type="submit"]:hover {
  background-color: var(--clr-accent);
  cursor: pointer;
}

@media (max-width: 64em) {
  body {
    overflow-x: hidden;
  }

  body.lock {
    overflow: auto;
  }

  /* Исправление для мобильных форм */
  .full-form-window {
    overflow-y: auto;
    max-height: 100vh;
    padding: 20px;
  }

  .form-window {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    top: auto;
    transform: none;
  }
}

@keyframes slideUp {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

.full-form-window {
  background-color: #00000080;
}

.opened-window {
  animation-duration: 0.5s;
}

.form-window {
  width: 500px;
  padding: 50px 5%;
  top: auto;
  -ms-transform: none;
  transform: none;
  position: relative;
}

.form-window .plan-tabs {
  padding-top: 0;
}

/* 
    .full-form-window .x-mark {
      right: -9px;
      top: -18px;
      z-index: 1;
    } */

.full-form-window .comp-form {
  display: none;
}

.form-out-closer {
  display: block;
}

.full-form-window .mobile {
  right: 7px;
  top: 2px;
  z-index: 1;
  font-size: 2rem;
  display: block;
}

@media (max-width: 768px) {
  .form-window .tab {
    flex-direction: row;
  }
}

@media (max-width: 42.5em) {
  .form-window {
    width: 90%;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 20px 15px;
  }

  .full-form-window {
    max-height: 100vh;
    overflow-y: auto;
    padding: 10px;
  }

  .callBottom {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .callBottom::before,
  .callBottom::after {
    display: none;
  }

  .messageBlock {
    width: 60px;
    line-height: 60px;
    font-size: 30px;
  }
  .iconPhone {
    line-height: 60px;
    font-size: 30px;
  }

  .form-window .tab {
    flex-direction: column;
  }

  .full-form-window .tab button {
    width: 100%;
  }

  .full-form-window .tab .email-button {
    padding-left: 0.7rem;
    padding-top: 1rem;
  }
}

/* slider main page */

.section-with-carousel {
  position: relative;
}

.section-with-carousel .swiper-slide figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.section-with-carousel .swiper-slide img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.section-with-carousel .swiper-slide figcaption {
  position: absolute;
  bottom: 90px;
  left: 30px;
  right: 0;
  transform: translateY(20%);
  display: flex;
  align-items: baseline;
  padding-bottom: 20px;
  text-align: center;
  opacity: 0.6;
  color: white;
  transition: all 0.4s;
  font-weight: var(--fw-bold);
}

.swiper-slide .slider-button {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: var(--clr-primary);
  border: none;
  padding: 1rem;
  min-width: 200px;
  font-weight: var(--fw-medium);
  text-transform: none;
}

.slider-button:hover,
.slider-button:focus-visible {
  background-color: var(--clr-secondary);
}

.section-with-carousel .swiper-slide-active .slider-button {
  background-color: var(--clr-secondary);
}

.section-with-carousel .swiper-slide-active figcaption {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Затемнение для слайда с химическими анкерами */
.section-with-carousel .swiper-slide figure.him-anker-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.section-with-carousel .swiper-slide figure.him-anker-slide figcaption,
.section-with-carousel .swiper-slide figure.him-anker-slide + .slider-button {
  /* Сохраняем исходное позиционирование (absolute), меняем только порядок наложения */
  z-index: 2;
}

.section-with-carousel .carousel-controls {
  position: absolute;
  top: 60%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1;
}

.section-with-carousel .carousel-controls .carousel-control {
  opacity: 0.5;
  transition: opacity 0.3s;
  border: none;
  background: none;
}

.carousel-controls .carousel-control .nav-btn::after,
.carousel-controls .carousel-control .nav-btn::before {
  font-size: 20px;
  color: var(--clr-primary);
  font-weight: var(--fw-semi-bold);
}

.section-with-carousel .carousel-controls .carousel-control:hover {
  opacity: 1;
}

.section-with-carousel .swiper-pagination-bullets {
  position: static;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.section-with-carousel .swiper-pagination-bullets .swiper-pagination-bullet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  opacity: 0.5;
  margin: 0 8px;
  border-radius: 0;
  transition: opacity 0.3s;
}

.section-with-carousel
  .swiper-pagination-bullets
  .swiper-pagination-bullet
  .line {
  width: 3px;
  height: 3px;
  background: black;
  transition: transform 0.3s;
}

.section-with-carousel
  .swiper-pagination-bullets
  .swiper-pagination-bullet
  .number {
  opacity: 0;
  transform: translateY(-7px);
  transition: all 0.3s;
}

.section-with-carousel
  .swiper-pagination-bullets
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
}

.section-with-carousel
  .swiper-pagination-bullets
  .swiper-pagination-bullet.swiper-pagination-bullet-active
  .line {
  transform: scaleX(8);
}

.section-with-carousel
  .swiper-pagination-bullets
  .swiper-pagination-bullet.swiper-pagination-bullet-active
  .number {
  opacity: 1;
  transform: none;
}

.copyright .col-auto:not(:last-child) {
  position: relative;
}

.copyright .col-auto:not(:last-child)::before {
  content: "•";
  position: absolute;
  top: 50%;
  right: -2px;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .section-with-carousel .swiper-slide img {
    height: 370px;
  }
}

@media (min-width: 1200px) {
  .section-with-carousel .swiper-slide img {
    height: 420px;
  }

  .section-with-carousel .carousel-controls {
    padding: 0 50px;
  }
}

/* navigation */

.header-comp {
  position: fixed;
  justify-content: center;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  padding: 20px 5%;
  background-color: #fff;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.15);
}

.primary-header {
  margin: var(--size-150) 0;
}

@media (max-width: 1024px) {
  .primary-header {
    margin: 0;
  }
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.primary-navigation,
.navRightContent {
  display: flex;
}

.logo-comp {
  display: flex;
  justify-content: center;
  margin-right: auto;
}

.primary-navigation,
.navRightContent {
  font-size: var(--fs-nav);
  font-weight: var(--fw-semi-bold);
}

.primary-navigation {
  margin-right: none;
  justify-content: flex-end;
}

.primary-navigation li a {
  margin-right: var(--size-400);
  color: var(--clr-primary);
}
.primary-navigation li a {
  position: relative;
  display: grid;
  place-items: center;
}

#products {
  display: flex;
  margin-right: var(--size-400);
  cursor: pointer;
  position: relative;
  align-items: center;
}

#products a {
  margin-right: 0.5rem;
}

.navRightContent {
  margin-left: auto;
  justify-content: flex-end;
}

.navRightContent .contacts a {
  position: relative;
  display: grid;
  place-items: center;
}

.navRightContent .contacts a {
  margin-right: 1.625rem;
  color: var(--clr-primary);
}

.contacts-section-container {
  border: solid 1px var(--clr-primary);
  border-radius: 25px;
  padding: 0.7rem 1.5rem;
}

.contacts-section-container:hover {
  border-color: var(--clr-accent-100);
}

.contacts-section-container div {
  padding-right: 1rem;
}

.contacts-section-container div img {
  width: 26px;
  height: 26px;
}

.contacts-section-container div img:hover {
  opacity: 0.7;
  cursor: pointer;
}

.primary-navigation li a.active::after,
.navRightContent .contacts a.active::after {
  content: "";
  display: block;
  width: 60%;
  height: 2px;
  background-color: var(--clr-secondary);
  position: absolute;
  top: 1.625rem;
  transition: all 0.3s ease 0s;
}

/* Исключаем подменю из красной полоски */
.products-dropdown-menu li a.active::after {
  display: none;
}

.primary-navigation li a.active,
.navRightContent .contacts a.active {
  color: var(--clr-secondary);
  opacity: 1;
}

/* Исключаем подменю из изменения цвета текста */
.products-dropdown-menu li a.active {
  color: #0057ff !important;
}

/* Стили для таблицы цен */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Устанавливаем font-weight: regular для всех элементов tbody */
tbody {
  font-weight: var(--fw-regular);
}

.product-price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  color: #333;
  font-size: 18px;
  min-width: 600px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-price-table th,
.product-price-table td {
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  text-align: center;
}

.product-price-table th {
  background-color: #f8f8f8;
  font-weight: var(--fw-bold);
  color: #000;
}

.product-price-table thead th:first-child {
  text-align: left;
}

.product-price-table thead tr:last-child th {
  text-align: center;
}

.product-price-table thead tr:last-child th:first-child {
  text-align: left;
}

.product-price-table tbody td:first-child {
  text-align: left;
  font-weight: var(--fw-semi-bold);
}

.product-price-table thead tr:first-child th:nth-child(2) {
  font-weight: var(--fw-bold);
  background-color: #f8f8f8;
}

/* Чередующиеся цвета строк */
.product-price-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.product-price-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.product-price-table tbody tr:hover {
  background-color: #f0f8ff;
  transition: background-color 0.2s ease;
}

/* Специальные стили для таблицы добавок */
.product-price-table tbody td:last-child {
  text-align: center;
}

.product-price-table thead th:first-child {
  text-align: left;
}

.product-price-table tbody td:first-child {
  text-align: left;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .table-responsive-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .table-responsive-container::-webkit-scrollbar {
    height: 6px;
  }

  .table-responsive-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
  }

  .table-responsive-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
  }

  .table-responsive-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
  }

  .product-price-table {
    font-size: 14px;
    min-width: 450px;
  }

  .product-price-table th,
  .product-price-table td {
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }

  .product-price-table th {
    font-size: 13px;
  }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
  .product-price-table {
    font-size: 12px;
    min-width: 400px;
  }

  .product-price-table th,
  .product-price-table td {
    padding: 0.3rem 0.4rem;
  }

  .product-price-table th {
    font-size: 11px;
  }
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) and (min-width: 769px) {
  .product-price-table {
    font-size: 15px;
  }

  .product-price-table th,
  .product-price-table td {
    padding: 0.5rem 0.6rem;
  }
}

/* Дополнительные стили для оптимизации таблиц */
@media (max-width: 768px) {
  /* Оптимизация ширины колонок для мобильных */
  .product-price-table th:first-child,
  .product-price-table td:first-child {
    min-width: 80px;
    max-width: 120px;
  }

  .product-price-table th:not(:first-child),
  .product-price-table td:not(:first-child) {
    min-width: 70px;
    max-width: 100px;
  }

  /* Улучшение читаемости на маленьких экранах */
  .product-price-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
  }

  .product-price-table tbody tr:last-child {
    border-bottom: none;
  }
}

/* Стили для очень маленьких экранов (до 360px) */
@media (max-width: 360px) {
  .product-price-table {
    font-size: 11px;
    min-width: 350px;
  }

  .product-price-table th,
  .product-price-table td {
    padding: 0.25rem 0.3rem;
  }

  .product-price-table th {
    font-size: 10px;
  }

  .table-responsive-container {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.primary-navigation li a:hover,
.navRightContent a:hover,
#products a:hover,
.primary-navigation li a:focus-visible,
.navRightContent a:focus-visible,
#products a:focus-visible {
  opacity: 0.7;
}

.nav-list,
.navRightContent,
.contacts-section-container {
  display: flex;
  align-items: center;
}

/* products dropdown - modern minimalistic design */

.products-dropdown-menu {
  top: 2.2rem;
  left: -1rem;
  z-index: 1000;
  flex-direction: column;
  position: absolute;
  align-items: stretch;
  width: 320px;
  padding: 1.5rem 0;
  border-radius: 12px;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Invisible bridge to prevent menu from disappearing */
.products-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
  background: transparent;
}

#products:hover .products-dropdown-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.products-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.products-dropdown-menu li a {
  color: var(--clr-primary);
  text-align: left;
  padding: 0.75rem 1.5rem;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.products-dropdown-menu li a:hover,
.products-dropdown-menu li a:focus-visible {
  background: rgba(0, 87, 255, 0.08);
  border-left-color: #0057ff;
  color: #0057ff;
  transform: translateX(4px);
}

.products-dropdown-menu li a:active {
  transform: translateX(2px);
}

.products-dropdown-menu li a.active {
  background: rgba(0, 87, 255, 0.12);
  border-left-color: #0057ff;
  color: #0057ff;
}

.products-dropdown-menu li a::after {
  display: none;
}

/* Arrow indicator */
.products-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 2rem;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg);
}

/* Products button hover effect */
#products {
  position: relative;
  transition: all 0.2s ease;
}

#products:hover {
  transform: translateY(-1px);
}

#products svg {
  transition: transform 0.3s ease;
}

#products:hover svg {
  transform: rotate(180deg);
}

/* Tablet responsiveness for header (1024px - 1280px) */
@media (max-width: 1280px) and (min-width: 1024px) {
  /* Hide social media icons in header for tablets */
  .contacts-section-container div {
    display: none;
  }

  /* Remove border from contacts section */
  .contacts-section-container {
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
  }

  /* Style phone number for tablets */
  .contacts-section-container span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-primary);
  }
}

/* Mobile responsiveness for dropdown */
@media (max-width: 768px) {
  .products-dropdown-menu {
    width: 280px;
    left: -0.5rem;
    top: 2rem;
    padding: 1rem 0;
  }

  .products-dropdown-menu li a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .products-dropdown-menu::before {
    left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .products-dropdown-menu {
    width: 260px;
    left: -1rem;
    top: 1.8rem;
  }

  .products-dropdown-menu li a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* top mobile section */

.mobile-nav-toggle {
  cursor: pointer;
  background: transparent;
  border: 0;
}

.nav-wrapper-mobile {
  padding: var(--size-150) 0;
  min-height: 100vh;
  min-height: 100svh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: none;
}

.nav-wrapper-mobile-no-background {
  padding: var(--size-150) 0;
  display: none;
}

.top-index-section-comp {
  margin-top: 107px;
}

@media (max-width: 1024px) {
  .nav-wrapper-mobile-no-background {
    display: block;
  }

  .nav-wrapper-mobile {
    display: block;
  }
  .header-comp,
  .top-index-section-comp {
    display: none;
  }
}

.intro {
  position: absolute;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 100%;
  vertical-align: bottom;
  padding-bottom: var(--size-700);
}

.intro .text {
  --padding: 2.5rem;
  width: 100%;
  padding: 2rem var(--padding);
}

.intro h2 {
  padding-bottom: var(--size-300);
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 15px);
  }
  100% {
    transform: translate(0, -0px);
  }
}

.transfer-arrow {
  cursor: pointer;
  width: 100px;
  height: 60px;
  display: grid;
  place-items: center;
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* mobile navigation */

@keyframes slide-right {
  0% {
    transform: translate(-100vmax, 0px);
  }
  100% {
    transform: translate(0, 0px);
  }
}

.side-nav {
  --padding: 2.5rem;
  position: absolute;
  top: 0;
  left: -100vmax;
  height: 100%;
  padding: var(--padding) 10rem 0 var(--padding);
  z-index: 10;
  overflow-y: auto;
}

.side-nav.active {
  left: 0;
  animation-name: slide-right;
  animation-duration: 0.25s;
  animation-timing-function: ease-in-out;
}

@media (max-width: 650px) {
  .side-nav {
    padding-right: 5rem;
  }
}

@media (max-width: 420px) {
  .side-nav {
    padding-right: 4rem;
  }
}

@media (max-width: 360px) {
  .side-nav {
    width: 100%;
    padding-right: 1rem;
  }
}

/* Modern mobile navigation styles */
.primary-navigation-mobile {
  font-size: var(--fs-200);
  font-weight: var(--fw-regular);
}

.nav-list-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Brand section */
.nav-brand {
  padding: 1rem 0 0.5rem 0;
  text-align: center;
}

.nav-brand h3 {
  color: #ffffff;
  margin: 0;
  font-size: var(--fs-500);
}

/* Dividers */
.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0.75rem 1rem;
  list-style: none;
}

/* Navigation items */
.nav-item {
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: var(--clr-neutral);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #0057ff;
  color: #ffffff;
  transform: translateX(4px);
}

.nav-link:active {
  transform: translateX(2px);
}

/* Navigation icons removed */

/* Section titles */
.nav-section {
  padding: 0.5rem 0 0.25rem 0;
}

.nav-section-title {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  color: #ffffff;
  font-size: var(--fs-300);
  font-weight: var(--fw-semi-bold);
  margin: 0;
}

/* Sublinks (products) */
.nav-sublink {
  padding-left: 3rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Sublink icons removed */

/* Privacy link removed */

/* Active state */
.nav-link.active {
  background: rgba(0, 87, 255, 0.15);
  border-left-color: #0057ff;
  color: #ffffff;
}

/* Close button */
.side-nav-cross {
  --padding: 2.5rem;
  position: absolute;
  right: 0;
  padding-right: var(--padding);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.side-nav-cross:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 24.5em) {
  .nav-brand h3 {
    font-size: var(--fs-400);
  }

  .nav-link {
    padding: 0.6rem 1.2rem;
  }

  .nav-sublink {
    padding-left: 2.5rem;
  }
}

.side-nav-contacts {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
}

@media (max-height: 31.5em) {
  .side-nav-contacts {
    position: static;
    padding-top: 1rem;
  }
}

.side-nav-contacts div:hover,
.side-nav-contacts div:focus-visible {
  opacity: 0.7;
  cursor: pointer;
}

.side-nav-contacts img {
  width: 28px;
  height: 28px;
}

.side-nav-contacts span {
  color: var(--clr-neutral);
  font-size: 1rem;
}

.phone-mobile-header:hover,
.phone-mobile-header:focus-visible {
  opacity: 0.7;
  cursor: pointer;
}

@media (max-width: 650px) {
  .intro .text {
    --padding: 1.25rem;
    background-color: rgba(0, 0, 0, 0.35);
  }

  .side-nav,
  .side-nav-cross {
    --padding: 1.25rem;
  }
  .mobile-nav-toggle img {
    height: 21px;
  }

  .phone-mobile-header img {
    height: 24px;
  }

  .logo-ipad img {
    height: 80px;
  }
}

.certificates {
  max-width: 50rem;
  margin: 0 auto;
}

/* ask-form */

.footer-contact-form {
  min-height: 200px;
  display: grid;
  align-items: center;
}

@media (max-width: 42.5em) {
  .footer-contact-form {
    min-height: 120px;
  }
}

.footer-contact-form .ask-form-heading {
  text-align: center;
}

.ask-form-placeholders div {
  max-width: 38rem;
}

.ask-form-area p:first-child {
  text-align: center;
}

.ask-form-section {
  gap: 2rem;
}

.ask-form-section div {
  width: 100%;
}

.ask-form-section span {
  text-align: left;
}

.ask-form-section input {
  color: var(--clr-primary);
  line-height: normal;
  width: 100%;
  height: 1.5rem;
  outline: none;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
  border-radius: 0;
  border-bottom: 1px solid var(--clr-primary);
  font-size: var(--fs-300);
  font-weight: 300;
  resize: none;
  background-color: transparent;
  padding-left: 0.3rem;
}

.phoneSectionInput,
.namePhoneSectionInput {
  color: var(--clr-neutral);
}

.section-thanks-message {
  display: none;
  z-index: 0;
}

.ask-form-section button[type="submit"] {
  min-width: 220px;
  padding: 18px 0;
}

.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

/* прячем нативные чекбоксы */
.materials input[type="checkbox"] {
  display: none;
}

/* кнопки-label */
.materials label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 24px;
  margin: 0;
  border: 2px solid #b3b3b3;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: 0.15s;
  white-space: nowrap;
}

.materials label:hover {
  box-shadow: 0 0 0 2px #0057ff33;
}

/* подсветка всех отмеченных вариантов */
.materials input[type="checkbox"]:checked + label {
  border-color: #0057ff;
  /*  box-shadow: 0 0 0 2px #0057ff55; */
}

/* Focus styles for checkboxes in footer form */
.materials input[type="checkbox"]:focus + label {
  border-bottom: 2px solid #0057ff;
  box-shadow: 0 0 0 2px #0057ff33;
}

/* Focus styles for input fields in footer form */
.ask-form-section input[type="text"]:focus,
.ask-form-section input[type="email"]:focus,
.ask-form-section input[type="tel"]:focus {
  border: none !important;
  border-bottom: 1px solid #0057ff !important;
  border-radius: 0 !important;
  background: transparent !important;
  outline: none !important;
  transition: border-bottom-color 0.3s ease !important;
  box-shadow: none !important;
}

.ask-form-area p {
  text-align: center;
}

.footer_content {
  gap: 0rem;
}

.footer_contacts {
  display: flex;
  flex-direction: column;
  justify-content: center; /* выравнивание по вертикали */
  align-items: flex-start; /* по левому краю */
  height: 100%; /* нужно, чтобы блок занял всю высоту родителя */
  padding-left: 5rem;
  background-color: var(--clr-neutral-200);
  gap: 2rem; /* увеличиваем отступы между элементами */
}

.footer_contacts img {
  width: 200px; /* устанавливаем ширину логотипа 200px */
  height: auto; /* сохраняем пропорции */
}

.footer_contacts a {
  color: inherit; /* наследуем цвет от родительского элемента */
  text-decoration: none; /* убираем подчеркивание */
}

.footer_contacts a:hover {
  color: inherit; /* сохраняем тот же цвет при наведении */
}

.footer_contacts .contact_icons {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.footer_contacts .contact_icons img {
  width: 24px;
  height: 24px;
}

.footer_bottom {
  text-align: center;
  background-color: var(--clr-primary);
  color: #fff;
  padding: 40px;
}

.footer_bottom a {
  color: white;
  text-decoration: underline;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  .footer_content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer_map {
    order: 1;
  }

  .footer_map iframe {
    height: 300px !important;
  }

  .footer_contacts {
    order: 2;
    padding: 2rem;
    align-items: center; /* центрируем все элементы */
    text-align: center; /* центрируем текст */
  }

  .footer_contacts img {
    width: 200px;
    margin-bottom: 0.5rem;
  }

  .footer_contacts p {
    margin-bottom: 0.25rem;
  }

  .footer_contacts .contact_icons {
    justify-content: center;
    margin: 1rem 0;
  }

  .footer_contacts .contact_icons img {
    width: 24px;
    height: 24px;
    margin: 0 0.5rem;
  }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
  .footer_contacts {
    padding: 1.5rem;
  }

  .footer_contacts img {
    width: 180px;
  }
}

/* Боковые отступы для сертификатов на мобильных */
@media (max-width: 768px) {
  .section-with-carousel p {
    margin: 0 20px;
  }
}

/* Стили для кнопки прокрутки */
.transfer-arrow {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.transfer-arrow:hover {
  transform: translateY(5px);
}

/* Скрываем сообщение благодарности для формы расчета по умолчанию */
.calculation-thanks-message {
  display: none;
}

/* Скрываем форму расчета по умолчанию */
#calculation {
  display: none;
}

/* Адаптивные стили для формы расчета */
#calculation .ask-form-area {
  max-width: none;
  width: 100%;
}

#calculation .ask-form-window {
  max-width: none;
  width: 100%;
}

#calculation .ask-form-placeholders div {
  max-width: none;
  width: 100%;
}

#calculation .ask-form-section {
  gap: 2rem;
}

#calculation .ask-form-section div {
  width: 100%;
}

/* Центрирование параграфов в форме расчета */
#calculation .ask-form-area p {
  text-align: center !important;
}

#calculation .fs-400,
#calculation .fs-200 {
  text-align: center !important;
}

#calculation p.fs-400,
#calculation p.fs-200 {
  text-align: center !important;
}

#calculation .ask-form-area p.fs-400.fw-medium.text-primary,
#calculation .ask-form-area p.fs-200.fw-regular {
  text-align: center !important;
}

/* Переопределяем стили .form-window для формы расчета */
.full-form-window.calculation-form .form-window {
  width: auto !important;
  max-width: 800px !important;
  padding: 30px !important;
  margin: 0 auto !important;
}

.calculation-form .materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.calculation-form .materials label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px 24px;
  margin: 0;
  border: 2px solid #b3b3b3;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: 0.15s;
  white-space: nowrap;
}

.calculation-form .materials label:hover {
  box-shadow: 0 0 0 2px #0057ff33;
}

.calculation-form .materials input[type="checkbox"]:checked + label {
  border-color: #0057ff;
}

/* Стили для полей ввода в форме расчета */
.calculation-form input[type="text"],
.calculation-form input[type="email"],
.calculation-form input[type="tel"] {
  border: none !important;
  border-bottom: 1px solid #ccc !important;
  border-radius: 0 !important;
  background: transparent !important;
  outline: none !important;
  transition: border-bottom-color 0.3s ease !important;
}

.calculation-form input[type="text"]:focus,
.calculation-form input[type="email"]:focus,
.calculation-form input[type="tel"]:focus {
  border: none !important;
  border-bottom: 1px solid #0057ff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Мобильные стили для формы расчета */
@media (max-width: 768px) {
  .calculation-form .ask-form-area {
    margin: 0 20px;
  }

  .materials {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: none;
  }

  .calculation-form .materials {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: none;
  }

  .calculation-form .materials label {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .calculation-form .ask-form-area {
    margin: 0 15px;
  }

  .materials {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calculation-form .materials {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calculation-form .materials label {
    width: 100%;
  }

  /* Дополнительные исправления для очень маленьких экранов */
  .form-window {
    max-height: calc(100vh - 10px);
    overflow-y: auto;
    padding: 15px 10px;
    width: 95%;
  }

  .full-form-window {
    max-height: 100vh;
    overflow-y: auto;
    padding: 5px;
  }

  /* Убираем блокировку прокрутки на очень маленьких экранах */
  body.lock {
    overflow: auto !important;
  }
}

/* Стили для сообщений благодарности */
.calculation-thanks-message {
  display: none;
  text-align: center;
  font-size: 1.2rem;
  color: #0057ff;
  font-weight: bold;
  padding: 2rem;
}

/* Стили для секции адресов заводов */
.factory-addresses-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.addresses-content {
  display: flex;
  flex-direction: column;
}

.addresses-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 1rem 0 1rem 0;
}

.addresses-list {
  list-style: none;
  padding: 0;
  padding-top: 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .addresses-list {
    padding-top: 0;
  }
}

.addresses-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

.addresses-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

.map-container {
  width: 100%;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .factory-addresses-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-container {
    height: 300px;
  }
}

/* Навигация по разделам страницы */
.section-navigation {
  background-color: var(--clr-neutral-200);
  padding: 1rem 0;
}

.page-navigation {
  width: 100%;
}

.nav-sections-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-section-link {
  color: var(--clr-primary);
  text-decoration: none;
  font-weight: var(--fw-medium);
  font-size: var(--fs-200);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 2px solid transparent;
  display: inline-block;
  text-align: center;
  min-width: 100px;
}

.nav-section-link:hover {
  background-color: var(--clr-accent);
  color: var(--clr-neutral);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(179, 2, 2, 0.3);
}

.nav-section-link.active {
  background-color: var(--clr-accent);
  color: var(--clr-neutral);
  border-color: var(--clr-accent);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .section-navigation {
    padding: 0.5rem 0;
  }

  .nav-sections-list {
    gap: 0.75rem;
    justify-content: center;
  }

  .nav-section-link {
    font-size: var(--fs-200);
    padding: 0.4rem 0.8rem;
    min-width: 90px;
  }
}

@media (max-width: 480px) {
  .nav-sections-list {
    flex-direction: column;
    gap: 0.4rem;
    align-items: stretch;
  }

  .nav-section-link {
    min-width: auto;
    width: 100%;
    text-align: center;
    padding: 0.4rem 0.6rem;
  }
}

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Дополнительные стили для лучшей видимости активного раздела */
.section-headings {
  scroll-margin-top: 100px;
}

/* Скрытие <br /> элементов на мобильных устройствах */
@media (max-width: 768px) {
  .addresses-description br {
    display: none;
  }
}

@media (max-width: 480px) {
  .addresses-description br {
    display: none;
  }
}

/* Стили для чекбоксов на странице protection-technologies.html */
.protection-technologies .materials.container {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.protection-technologies .him-anker.container {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

@media (min-width: 768px) {
  .protection-technologies .him-anker.container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.protection-technologies .materials input[type="checkbox"] {
  display: none !important;
}

.protection-technologies .materials label {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: none !important;
  white-space: normal !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  gap: 8px !important;
  width: auto !important;
  text-align: left !important;
}

.protection-technologies .materials label::before {
  content: "" !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  border: 2px solid #ccc !important;
  border-radius: 3px !important;
  background-color: white !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.protection-technologies
  .materials
  input[type="checkbox"]:checked
  + label::before {
  background-color: #0057ff !important;
  border-color: #0057ff !important;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e") !important;
  background-size: 12px 12px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.protection-technologies .materials label:hover {
  box-shadow: none !important;
  background-color: #f5f5f5 !important;
}

.protection-technologies .materials input[type="checkbox"]:checked + label {
  border-color: transparent !important;
  background-color: #e3f2fd !important;
}

.protection-technologies .materials input[type="checkbox"]:focus + label {
  border: none !important;
  box-shadow: none !important;
  outline: 2px solid #0057ff !important;
  outline-offset: 2px !important;
}

/* Стили для sidebar навигации на странице protection-technologies.html */
.protection-technologies .main-content-with-sidebar {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.protection-technologies .sidebar-navigation {
  position: sticky;
  top: 100px;
  width: 220px;
  height: fit-content;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.protection-technologies .sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e9ecef;
}

.protection-technologies .sidebar-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.protection-technologies .sidebar-nav-link {
  display: block;
  padding: 0.5rem 0.4rem;
  color: #495057;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  line-height: 1.3;
}

.protection-technologies .sidebar-nav-link:hover {
  color: #0057ff;
  background-color: #e3f2fd;
  border-color: #bbdefb;
  transform: translateX(4px);
}

.protection-technologies .sidebar-nav-link:active {
  transform: translateX(2px);
}

/* Активное состояние для текущей секции */
.protection-technologies .sidebar-nav-link.active {
  color: #0057ff;
  background-color: #e3f2fd;
  border-color: #0057ff;
  font-weight: 600;
  transform: translateX(4px);
}

.protection-technologies .main-content {
  flex: 1;
  min-width: 0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1024px) {
  .protection-technologies .main-content-with-sidebar {
    flex-direction: column;
    gap: 1rem;
  }

  .protection-technologies .sidebar-navigation {
    position: static;
    width: 100%;
    order: -1;
  }

  .protection-technologies .sidebar-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .protection-technologies .sidebar-nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .protection-technologies .main-content-with-sidebar {
    padding: 0 0.5rem;
  }

  .protection-technologies .sidebar-navigation {
    padding: 0.75rem;
  }

  .protection-technologies .sidebar-title {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .protection-technologies .sidebar-nav-link {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .protection-technologies .sidebar-nav-list {
    flex-direction: column;
    gap: 0.2rem;
  }

  .protection-technologies .sidebar-nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }
}

/* Навигационные блоки */
.navigation-section {
  background-color: #f8f9fa;
}

.navigation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navigation-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 280px;
  position: relative;
}

.navigation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.navigation-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navigation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.navigation-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 1.5rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.navigation-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.navigation-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  margin-top: auto;
  padding: 0;
  background: none;
  border: none;
  transition: all 0.3s ease;
}

.navigation-card:hover .navigation-link {
  transform: translateY(-2px);
}

.navigation-link svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.navigation-card:hover .navigation-link svg {
  animation-play-state: paused;
  transform: translateY(2px);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .navigation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .navigation-card {
    height: 240px;
  }

  .navigation-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .navigation-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .navigation-card {
    height: 200px;
  }

  .navigation-title {
    font-size: 1.1rem;
  }

  .navigation-content {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .navigation-card {
    height: 180px;
  }

  .navigation-title {
    font-size: 1rem;
  }

  .navigation-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Специальные стили для адаптивных таблиц на странице protection-technologies.html */
.protection-technologies .table-responsive-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.protection-technologies .table-responsive-container::-webkit-scrollbar {
  height: 6px;
}

.protection-technologies .table-responsive-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.protection-technologies .table-responsive-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.protection-technologies
  .table-responsive-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.protection-technologies .product-price-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  min-width: 600px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.protection-technologies .product-price-table th,
.protection-technologies .product-price-table td {
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  text-align: center;
  word-wrap: break-word;
  hyphens: auto;
}

.protection-technologies .product-price-table th {
  background-color: #f8f8f8;
  font-weight: var(--fw-bold);
  color: #000;
  position: sticky;
  top: 0;
  z-index: 10;
}

.protection-technologies .product-price-table thead th:first-child {
  text-align: left;
}

.protection-technologies .product-price-table tbody td:first-child {
  text-align: left;
  font-weight: var(--fw-semi-bold);
}

.protection-technologies .product-price-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.protection-technologies .product-price-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.protection-technologies .product-price-table tbody tr:hover {
  background-color: #f0f8ff;
  transition: background-color 0.2s ease;
}

/* Специальные стили для столбцов таблицы */
.protection-technologies .product-price-table th:nth-child(1),
.protection-technologies .product-price-table td:nth-child(1) {
  width: 16%;
  min-width: 80px;
  text-align: left;
}

.protection-technologies .product-price-table th:nth-child(2),
.protection-technologies .product-price-table td:nth-child(2) {
  width: 70%;
  min-width: 250px;
  text-align: left;
}

.protection-technologies .product-price-table th:nth-child(3),
.protection-technologies .product-price-table td:nth-child(3) {
  width: 20%;
  min-width: 120px;
  text-align: center;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .protection-technologies .table-responsive-container {
    border-radius: 0;
  }

  .protection-technologies .product-price-table {
    font-size: 14px;
    min-width: 500px;
  }

  .protection-technologies .product-price-table th,
  .protection-technologies .product-price-table td {
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .protection-technologies .product-price-table th {
    font-size: 13px;
    padding: 0.6rem 0.5rem;
  }

  /* Первая колонка (наименование) - больше места */
  .protection-technologies .product-price-table th:first-child,
  .protection-technologies .product-price-table td:first-child {
    min-width: 120px;
    max-width: 180px;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Остальные колонки - компактнее */
  .protection-technologies .product-price-table th:not(:first-child),
  .protection-technologies .product-price-table td:not(:first-child) {
    min-width: 100px;
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .protection-technologies .product-price-table {
    font-size: 12px;
    min-width: 450px;
  }

  .protection-technologies .product-price-table th,
  .protection-technologies .product-price-table td {
    padding: 0.4rem 0.4rem;
    font-size: 11px;
  }

  .protection-technologies .product-price-table th {
    font-size: 10px;
    padding: 0.5rem 0.4rem;
  }

  .protection-technologies .product-price-table th:first-child,
  .protection-technologies .product-price-table td:first-child {
    min-width: 100px;
    max-width: 140px;
  }

  .protection-technologies .product-price-table th:not(:first-child),
  .protection-technologies .product-price-table td:not(:first-child) {
    min-width: 80px;
    max-width: 120px;
  }
}

@media (max-width: 360px) {
  .protection-technologies .product-price-table {
    font-size: 10px;
    min-width: 400px;
  }

  .protection-technologies .product-price-table th,
  .protection-technologies .product-price-table td {
    padding: 0.3rem 0.3rem;
    font-size: 10px;
  }

  .protection-technologies .product-price-table th {
    font-size: 9px;
    padding: 0.4rem 0.3rem;
  }

  .protection-technologies .product-price-table th:first-child,
  .protection-technologies .product-price-table td:first-child {
    min-width: 80px;
    max-width: 120px;
  }

  .protection-technologies .product-price-table th:not(:first-child),
  .protection-technologies .product-price-table td:not(:first-child) {
    min-width: 70px;
    max-width: 100px;
  }
}

/* Переопределение для таблиц на странице нерудных материалов - убираем скругленные углы */
.protection-technologies .product-price-table {
  border-radius: 0 !important;
}

.protection-technologies .table-responsive-container:has(.product-price-table) {
  border-radius: 0 !important;
}

/* Стили для чекбокса согласия с политикой конфиденциальности */
.consent-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.consent-checkbox-container input[type="checkbox"] {
  display: none;
}

.consent-label {
  position: relative;
  padding-left: 2rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #495057;
  cursor: pointer;
  user-select: none;
}

.consent-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #dee2e6;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.consent-checkbox-container
  input[type="checkbox"]:checked
  + .consent-label::before {
  background-color: #0057ff;
  border-color: #0057ff;
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.consent-checkbox-container
  input[type="checkbox"]:focus
  + .consent-label::before {
  border-color: #0057ff;
  box-shadow: 0 0 0 2px rgba(0, 87, 255, 0.2);
}

.consent-label:hover::before {
  border-color: #0057ff;
}

.consent-link {
  color: #0057ff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.consent-link:hover {
  color: #0041cc;
}

/* Адаптивные стили для чекбокса согласия */
@media (max-width: 768px) {
  .consent-label {
    font-size: 0.8rem;
    padding-left: 1.75rem;
  }

  .consent-label::before {
    width: 1.125rem;
    height: 1.125rem;
  }
}
