/* ===== FONT FACES ===== */
@font-face {
  font-family: "Bellota";
  src: url(../fonts/Bellota-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-SemiBold.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* ===== VARIABLES ===== */
:root {
  --primary-red: #2d5016;
  --primary-red-light: #3d6b1f;
  --primary-red-dark: #1e3a0f;
  --accent-orange: #6b4423;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --border-light: #e0e0e0;
  --white: #ffffff;
  --success: #25d366;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 15px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 8px 30px rgba(0, 0, 0, 0.2);
  
  /* Размер шрифтов */
  --font-xs: 1.3rem;      /* 13px - мелкий текст, метки */
  --font-sm: 1.5rem;      /* 15px - небольшой текст */
  --font-base: 1.7rem;    /* 17px - основной текст */
  --font-md: 1.9rem;      /* 19px - средний акцент */
  --font-lg: 2.2rem;      /* 22px - крупный текст */
  --font-xl: 2.8rem;      /* 28px - заголовки H3 */
  --font-2xl: 3.6rem;     /* 36px - заголовки H2 */
  --font-3xl: 4.8rem;     /* 48px - главные заголовки H1 */
}

/* ===== BASE STYLES ===== */
html {
  font-size: 62.5%;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-weight: 500;
  font-style: normal;
  font-size: var(--font-base);
  line-height: 1.3;
  color: var(--text-dark);
}

.page {
  margin: 0;
  padding: 0;
}

i {
  font-style: unset;
}

a {
  text-decoration: none !important;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
li {
  margin: 0;
  padding: 0;
}

p {
  margin-top: 17px;
  margin-bottom: 17px;
  margin-left: 0px;
  margin-right: 20px;
}

ul {
  list-style-type: none;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

/* ===== ANIMATIONS ===== */
* {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card,
.promotion__card,
.employee {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FAQ BLOCK WITH IMAGE ===== */
.faq {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.faq__content {
  padding-right: 30px;
}

.faq__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* ===== BEAUTIFUL FAQ ACCORDION STYLES ===== */
.faq-accordion__item {
  border-bottom: 2px solid var(--border-light);
  transition: all 0.3s ease;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-accordion__item:hover {
  border-bottom-color: var(--primary-red);
  box-shadow: var(--shadow-hover);
}

.faq-accordion__item:first-child {
  border-top: 2px solid var(--border-light);
}

.faq-accordion__item.active {
  border-bottom: 2px solid var(--primary-red);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.15);
}

.faq-accordion__header {
  padding: 2.5rem 6rem 2.5rem 3rem;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, var(--bg-light) 0%, #f8f9fa 100%);
  border-left: 4px solid transparent;
}

.faq-accordion__item.active .faq-accordion__header {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(45, 80, 22, 0.02) 100%);
  border-left-color: var(--primary-red);
}

.faq-accordion__header:hover {
  background: linear-gradient(135deg, rgba(199, 0, 21, 0.08) 0%, rgba(199, 0, 21, 0.04) 100%);
  padding-left: 3.5rem;
}

.faq-accordion__item.active .faq-accordion__header:hover {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(45, 80, 22, 0.06) 100%);
}

/* Красивые иконки плюса/минуса */
.faq-accordion__header::after {
  content: "";
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  border-radius: 8px;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 /* box-shadow: 0 4px 15px rgba(199, 0, 21, 0.25);*/
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Вертикальная линия плюса */
.faq-accordion__header::after::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.8rem;
  transform: translateY(-50%);
  width: 2px;
  height: 14px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Активное состояние - превращение в минус */
.faq-accordion__item.active .faq-accordion__header::after {
  background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
  transform: translateY(-50%);
  box-shadow: 0 6px 20px rgba(160, 0, 16, 0.35);
}

.faq-accordion__item.active .faq-accordion__header::after::before {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg);
}

/* Hover эффекты для иконок */
.faq-accordion__header:hover::after {
  transform: translateY(-50%) scale(1.05);
/*  box-shadow: 0 6px 20px rgba(199, 0, 21, 0.4);*/
}

.faq-accordion__item.active .faq-accordion__header:hover::after {
  transform: translateY(-50%) scale(1.05);
}

/* Заголовок вопроса */
.faq-accordion__title {
  font-weight: 600;
  font-size: var(--font-md);
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-accordion__header:hover .faq-accordion__title {
  color: var(--primary-red);
}

.faq-accordion__item.active .faq-accordion__title {
  color: var(--primary-red-dark);
  font-weight: 700;
}

/* Контент ответа */
.faq-accordion__content {
  padding: 0 3rem;
  display: none;
  animation: fadeInUp 0.4s ease;
}

.faq-accordion__item.active .faq-accordion__content {
  display: block;
  padding: 0 3rem 2.5rem 3rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Текст ответа */
.faq-text {
  font-size: var(--font-base) !important;
  line-height: 1.7 !important;
  color: var(--text-dark) !important;
  margin: 1rem 0 0 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: static !important;
}

.faq-text::before,
.faq-text::after {
  display: none !important;
}

/* Анимация появления элементов */
.faq-accordion__item {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.faq-accordion__item:nth-child(1) { animation-delay: 0.1s; }
.faq-accordion__item:nth-child(2) { animation-delay: 0.2s; }
.faq-accordion__item:nth-child(3) { animation-delay: 0.3s; }
.faq-accordion__item:nth-child(4) { animation-delay: 0.4s; }
.faq-accordion__item:nth-child(5) { animation-delay: 0.5s; }
.faq-accordion__item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .faq-accordion__header {
    padding: 2rem 5rem 2rem 2rem;
  }
  
  .faq-accordion__header:hover {
    padding-left: 2.5rem;
  }
  
  .faq-accordion__header::after {
    width: 32px;
    height: 32px;
    right: 1.5rem;
  }
  
  .faq-accordion__header::before {
    right: 2.8rem;
    width: 12px;
  }
  
  .faq-accordion__header::after::before {
    right: 2rem;
    height: 12px;
  }
  
  .faq-accordion__title {
    font-size: var(--font-base);
  }
  
  .faq-accordion__content {
    padding: 0 2rem;
  }
  
  .faq-accordion__item.active .faq-accordion__content {
    padding: 0 2rem 2rem 2rem;
  }
  
  .faq-text {
    font-size: var(--font-sm) !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 480px) {
  .faq-accordion__header {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
  }
  
  .faq-accordion__header::after {
    width: 28px;
    height: 28px;
    right: 1rem;
  }
  
  .faq-accordion__header::before {
    right: 2.2rem;
    width: 10px;
  }
  
  .faq-accordion__header::after::before {
    right: 1.6rem;
    height: 10px;
  }
  
  .faq-accordion__title {
    font-size: var(--font-sm);
  }
  
  .faq-accordion__content {
    padding: 0 1.5rem;
  }
  
  .faq-accordion__item.active .faq-accordion__content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1246px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container2 {
  width: 100%;
  max-width: 800px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  margin: 0 auto;
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.container2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.container2:hover::before {
  left: 100%;
}

/* ===== SECTIONS ===== */
.section {
  padding: 8rem 0 0 0;
  position: relative;
}

.section.section--price {
  background-color: #fff;
  padding-top: 3rem;
}

.section.section--faq {
  padding: 3rem 0 0 0;
}

.section--contacts {
  background-color: #e6e6e6;
  -webkit-background-size: cover;
  background-size: cover;
  padding: 0;
}

.section__title {
  font-weight: 700;
  font-size: var(--font-3xl);
  line-height: 59px;
  margin: 0 0 4rem 0;
}

/* ===== INTRO SECTION ===== */
.intro {
  padding: 160px 0 100px 0;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../img/bg.png") center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
   background: linear-gradient(
    45deg,
    rgba(45, 80, 22, 0.3) 0%,    
    transparent 30%,
    transparent 0%,
    rgba(107, 68, 35, 0.3) 10%  
  );
  opacity: 0.1;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.15;
    transform: scale(1.02);
  }
}

.intro__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.intro__title {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: var(--font-3xl);
  line-height: 1.2;
/*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);*/
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.intro__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-red),
    var(--accent-orange)
  );
  border-radius: 2px;
}

.intro-button {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin: 5px 5px 0 5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.intro-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.5);
  color: var(--white) !important;
}

.intro-button i {
  color: var(--white) !important;
  font-style: normal;
  text-shadow: none;
  -webkit-text-fill-color: initial;
  background: none;
}

.intro-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.intro-button:hover::before {
  left: 100%;
}

.intro p {
  font-size: var(--font-md);
  line-height: 1.6;
  margin: 2rem 0 3rem 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Стили для кнопки "Заказать звонок" в интро */
.intro .services {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.intro .services .button {
  padding: 16px 40px;
  font-family: "Montserrat", sans-serif;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  font-size: var(--font-base);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro .services .button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.intro .services .button:hover {
  background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(45, 80, 22, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.intro .services .button:hover::before {
  left: 100%;
}

/* Анимация появления элементов */
.intro__inner > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.intro__title {
  animation-delay: 0.2s;
}

.intro p {
  animation-delay: 0.4s;
}

.intro .services {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CHOOSE SECTION ===== */
.choose {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.choose__item {
  display: flex;
  align-items: center;
  padding: 2.5rem;
  gap: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-light) 100%);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.choose__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.choose__item:hover {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
}

.choose__item:hover::before {
  left: 100%;
}

.choose__item:hover .choose__item-image img {
  transform: scale(1.1) rotate(5deg);
}

.choose__item:hover .choose__item-title {
  color: var(--white);
}

.choose__item:hover .choose__text {
  color: rgba(255, 255, 255, 0.9);
}

.choose__item-image {
  max-width: 80px;
  flex-shrink: 0;
}

.choose__item-image img {
  display: block;
  width: 80px;
  height: 80px;
  transition: all 0.4s ease;
}

.choose__item-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.choose__item-title {
  font-weight: 600;
  font-size: var(--font-md);
  color: var(--text-dark);
  transition: color 0.3s ease;
  margin: 0;
}

.choose__text {
  color: var(--text-light);
  line-height: 1.5;
  transition: color 0.3s ease;
  margin: 0;
}

/* ===== TARIFF SECTION ===== */
.tariff {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  gap: 2rem;
}

.tariff__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-light) 100%);
  border-radius: 12px;
  width: 32%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.tariff__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

.tariff__item:hover {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
  color: var(--white);
}

.tariff__item:hover::before {
  left: 100%;
}

.tariff__item:hover .tariff__price {
  color: var(--white);
}

.tariff__item:hover .tariff__list-link::before {
  background-color: var(--white);
}

.tariff__item:hover .button {
  background: var(--white);
  color: var(--text-dark);
}

.tariff__item .button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.tariff__item-header {
  display: flex;
  justify-content: space-between;
  margin: 0 0 2rem 0;
}

.tariff__price {
  font-weight: 600;
  font-size: var(--font-lg);
  color: var(--primary-red);
  transition: color 0.3s ease;
}

.tariff__item:not(.opened) .tariff__list {
  height: auto;
}

.tariff__item.opened .item__overflow::before,
.delivery__list.opened + .item__overflow::before {
  transform: rotate(315deg);
  top: 35%;
}

.tariff__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 2rem 0;
}

.tariff__list-link {
  padding: 0 0 0 2.7rem;
  position: relative;
  transition: all 0.3s ease;
}

.tariff__list-link:hover {
  transform: translateX(5px);
}

.tariff__list-link::before {
  content: "";
  mask-image: url("../img/tariff/check.svg");
  -webkit-mask-image: url("../img/tariff/check.svg");
  background-color: var(--primary-red);
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.3s ease;
}

.tariff__overflow.item__overflow {
  display: none;
  margin: 0 0 2rem 0;
}

.tariff .button {
  width: fit-content;
  margin: 4rem 0 0 0;
}

/* ===== SLIDER ===== */
.slick-slider {
  cursor: grabbing;
}

.slick-list {
  overflow: hidden;
}

.slick-track {
  display: flex;
  min-width: 0;
  gap: 2rem;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
  padding: 0 0 5rem 0;
  display: flex;
  gap: 2rem;
}

.portfolio__content {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
}

.portfolio__content-down {
  display: flex;
  gap: 2rem;
}

.portfolio__left {
  display: flex;
}

.portfolio__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio__item-content {
  margin: auto 0;
}

#name__study {
  margin: auto 0;
}

.portfolio__item img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.portfolio__item:hover img {
  transform: scale(1.05);
}

.portfolio__item-title,
.portfolio__link {
  max-width: 289px;
}

.portfolio__link {
  margin-top: 2rem;
}

.portfolio__link a {
  font-weight: 700;
  font-size: var(--font-3xl);
  color: var(--primary-red);
  word-break: break-all;
  transition: all 0.3s ease;
}

.portfolio__link a:hover {
  color: var(--primary-red-light);
  transform: scale(1.05);
}

/* ===== PRICE SECTION ===== */
.price {
  max-width: 1113px;
  position: relative;
  z-index: 5;
  padding: 0 0 6rem 0;
}

.price__title {
  position: relative;
  z-index: 5;
}

.price__content {
  display: flex;
}

.price__left {
  width: 349px;
  padding: 4rem 4rem 4rem 2rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.price__left:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 289px;
}

.service__list-link {
  display: flex;
  position: relative;
  padding: 1rem 0 1rem 1.6rem;
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.service__list-link:hover {
  background: rgba(45, 80, 22, 0.1);
  transform: translateX(5px);
}

.service__link-body {
  display: none;
}

.service__link-header {
  display: flex;
  gap: 1rem;
  width: 100%;
  transition: all 0.5s linear;
}

.service__list-link.active {
  border-left: 4px solid var(--primary-red);
  color: var(--primary-red);
  background: rgba(45, 80, 22, 0.1);
}

.service__list-link.active img {
  filter: invert(16%) sepia(89%) saturate(5000%) hue-rotate(350deg) brightness(90%) contrast(120%);
}

.price__image img {
  display: block;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.service__list-link:hover .price__image img {
  transform: scale(1.1);
}

.price__right {
  display: flex;
  justify-content: space-between;
  width: 68.6%;
  padding: 4rem;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-light) 100%);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.price__right:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.price__list-link {
  padding: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding: 0.8rem 1rem;
}

.price__list-link:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(5px);
}

.price__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.price__list.price__list-price {
  align-items: flex-end;
}

.service__name {
  max-width: 47.1rem;
}

.service__price {
  white-space: nowrap;
  font-weight: 600;
  color: var(--primary-red);
}

.price__footer {
  padding: 4rem;
  margin: 5rem 0 0 0;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.price__footer:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.popup .price__footer {
  margin: 0;
}

.price__footer-title {
  margin: 0 0 1rem 0;
  color: var(--white);
}

.price__footer-img {
  position: absolute;
  right: -30px;
  bottom: 0px;
  z-index: 1;
  transition: all 0.3s ease;
}

.price__footer:hover .price__footer-img {
  transform: scale(1.05);
}

.price__footer-img img {
  display: block;
  max-width: 332px;
  height: auto;
}

.price__form {
  margin: 2rem 0 1rem 0;
  position: relative;
  z-index: 5;
}

.form {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.form__item {
  position: relative;
  flex: 1;
}

.form__item:nth-child(3) {
  width: 100%;
}

.form__input {
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: var(--font-base);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.form__input:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.form__input::placeholder {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: var(--font-base);
  color: rgba(0, 0, 0, 0.5);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form__input,
.select {
  padding: 15px 20px;
  background: var(--white);
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: var(--font-base);
  transition: all 0.3s ease;
  width: 100%;
}

.form__input:focus,
.select:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
  transform: translateY(-1px);
}

.select {
  width: 100%;
  padding: 1.5rem 2rem;
  position: relative;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: var(--font-base);
  appearance: none;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.select:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.form__item:nth-child(3):after {
  content: "";
  display: block;
  border-style: solid;
  border-width: 7px 3.5px 0 3.5px;
  border-color: #7f7f7f transparent transparent transparent;
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.select:focus {
  outline: none;
  border-color: var(--primary-red);
}

.select option:disabled + option::selection {
  color: #7f7f7f;
}

.price__description {
  font-weight: 400;
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.8);
}

.price__description a {
  text-decoration: underline;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.price__description a:hover {
  color: var(--white);
}

/* Специальные стили для текста в FAQ */
.faq-text {
  font-size: var(--font-base) !important;
  line-height: 1.7 !important;
  color: var(--text-dark) !important;
  margin: 1rem 0 !important;
  padding: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: static !important;
  counter-increment: none !important;
}

.faq-text::before,
.faq-text::after {
  display: none !important;
}

.faq-accordion__content .faq-text {
  background: transparent !important;
  border: none !important;
  padding: 1rem 0 !important;
  margin: 0 !important;
}

.faq-accordion__content .faq-text:hover {
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ===== FAQ SECTION ===== */
.faq__title {
  margin: 0 0 4rem 0;
}

.faq {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  align-items: flex-start;
}

.faq__content {
  display: inline-block;
 
  position: relative;
}

.faq__content p {
  padding: 25px 25px 25px 25px;
  margin: 20px 0;
  background: var(--white);
  border-radius: 12px;
  font-size: var(--font-base);
  line-height: 1.7;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(45, 80, 22, 0.1);
}

.faq__content p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  border-radius: 6px 0 0 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faq__content p:hover::before {
  width: 8px;
  background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.faq__content p:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(45, 80, 22, 0.1);
}

/* Нумерация абзацев */
.faq__content p {
  counter-increment: paragraph;
}

.faq__content p::after {
  content: "0" counter(paragraph);
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--primary-red);
 /* background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
 */ padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__content p:hover::after {
  background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.faq__content {
  counter-reset: paragraph;
}

.faq-accordion {
  max-width: 560px;
}

.faq-accordion.active .faq-accordion__item:nth-child(n + 5) {
  display: block;
}

.faq-accordion__item {
  border-bottom: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.faq-accordion__item:hover {
  border-bottom-color: var(--primary-red);
}

.faq-accordion__item:first-child {
  border-top: 2px solid #e9ecef;
}

.faq-accordion__item.active .faq-accordion__content {
  display: block;
}

.faq-accordion__item.active {
  border-bottom: 2px solid var(--primary-red);
}

.faq-accordion__item.active .faq-accordion__header::after {
  background: url("../img/faq/minus.svg") center no-repeat;
  
}

.faq-accordion__item.active .faq-accordion__header::after {
  background: url("data:image/svg+xml,%3Csvg width='34' height='34' viewBox='0 0 34 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17H27' stroke='%23c70015' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat;
}

.faq-accordion__header {
  padding: 2rem 3rem 2rem 0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--bg-light) 0%, #f8f9fa 100%);
  border-left: 4px solid var(--primary-red);
  border-radius: 8px;
  margin: 5px 0;
}

.faq-accordion__header:hover {
 /* background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
 */ color: var(--white);
  padding-left: 1rem;
}

.faq-accordion__header::after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background: url("../img/faq/plus.svg") center no-repeat;
  position: absolute;
  top: 50%;
  right: 5px;
  z-index: 1;
  transform: translateY(-50%);
  transition: all 0.2s linear;

}

.faq-accordion__content {
  padding: 0 0 2rem 0;
  display: none;
  max-width: 85%;
}

.item__overflow {
  display: inline-block;
  position: relative;
  margin: 2rem 0 0 0;
  padding: 0 0 0 3rem;
  color: var(--primary-red);
  transition: all 0.3s ease;
}

.item__overflow:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

.item__overflow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--primary-red);
  border-right: 1px solid var(--primary-red);
  position: absolute;
  top: 5%;
  left: 8px;
  z-index: 1;
  transform: rotate(135deg);
  transition: all 0.3s linear;
}

.faq-accordion.active + .item__overflow::before {
  transform: rotate(315deg);
  top: 35%;
}

.faq__image {
  position: relative;
  width: 620px;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-light) 100%);
  border: 3px solid transparent;
  margin: 0 auto;
  margin-top: 80px;
}

.faq__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.5s ease;
  border-radius: 17px;
  position: relative;
  z-index: 3;
  filter: brightness(1) saturate(1);
}

.faq__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    var(--primary-red),
    var(--accent-orange)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  border-radius: 17px;
}

.faq__image::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  z-index: 2;
}

.faq__image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(45, 80, 22, 0.3),
    0 0 0 1px rgba(45, 80, 22, 0.1);
  border-color: linear-gradient(
    135deg,
    rgba(45, 80, 22, 0.2) 0%,
    rgba(107, 68, 35, 0.2) 100%
  ) !important;
}

.faq__image:hover::before {
  opacity: 0.1;
}

.faq__image:hover::after {
  left: 100%;
  top: 100%;
}

.faq__image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
}

.faq__image-decoration {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.faq__image-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-red);
  position: absolute;
  animation: float 3s ease-in-out infinite;
}

.faq__image-dot:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.faq__image-dot:nth-child(2) {
  top: 20%;
  right: 15%;
  background: var(--accent-orange);
  animation-delay: 0.5s;
}

.faq__image-dot:nth-child(3) {
  bottom: 15%;
  left: 20%;
  background: var(--bg-light);
  animation-delay: 1s;
}

.faq__image-dot:nth-child(4) {
  bottom: 25%;
  right: 10%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) scale(1.1);
    opacity: 1;
  }
}

.faq__image-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: 2px solid var(--primary-red);
  border-radius: 15px;
  opacity: 0;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

/* ===== CONTACTS SECTION ===== */
.contacts {
  padding: 4rem 0;
  position: relative;
}

.contacts__item {
  max-width: 384px;
  padding: 4rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contacts__item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.contacts__content {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin: 2rem 0 0 0;
}

.contacts__content-item {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contacts__content-item:hover {
  background: rgba(45, 80, 22, 0.1);
  transform: translateX(5px);
}

.contacts__image img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.contacts__item:hover .contacts__image img {
  transform: scale(1.05);
}

.contacts__item-image img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
}

/* ===== GOLDEN TABS STYLES ===== */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 3rem 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.tabs__item {
  margin: 0;
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.tabs__link {
  display: block;
  padding: 18px 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg-light) 100%);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-sm);
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.tabs__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s;
}

/* Active tab state */
.tabs__item-active .tabs__link {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--white);
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Hover effects */
.tabs__link:hover {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
}

.tabs__link:hover::before {
  left: 100%;
}

/* Active tab hover */
.tabs__item-active .tabs__link:hover {
  background: linear-gradient(135deg, var(--primary-red-light) 0%, var(--primary-red) 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(45, 80, 22, 0.4);
}

/* Альтернативный вариант с акцентной полосой */
.tabs__item--accent .tabs__link {
  border-left: 4px solid transparent;
}

.tabs__item--accent.tabs__item-active .tabs__link {
  border-left-color: var(--primary-red);
  background: linear-gradient(135deg, #e8f5e0 0%, #d4e8c8 100%);
}

.tabs__item--accent .tabs__link:hover {
  border-left-color: var(--primary-red);
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
}

/* ===== IMPROVED TABLES STYLES ===== */
.tabContent {
  margin: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.tabContent__item {
  display: none;
  animation: slideUp 0.4s ease;
}

.tabContent__item[style*="display: block"] {
  display: block;
}

.tabContent table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin: 1rem 0;
}

.tabContent table:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.tabContent th {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: var(--font-base);
  padding: 18px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  border: none;
}

.tabContent th::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.tabContent th:hover::before {
  left: 100%;
}

.tabContent td {
  padding: 16px 20px;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
  font-size: var(--font-sm);
  border: none;
}

.tabContent tr {
  transition: all 0.3s ease;
  background: var(--white);
}

.tabContent tr:nth-child(even) {
  background: #f8f9fa;
}

.tabContent tr:hover {
  background: linear-gradient(135deg, #e8f5e0 0%, #d4e8c8 100%);
  transform: translateX(5px);
}

.tabContent tr:hover td {
  color: var(--text-dark);
}

.tabContent a.footer__list-item {
  color: var(--primary-red);
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  font-size: var(--font-sm);
}

.tabContent a.footer__list-item::before {
  content: "↗";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  font-size: var(--font-xs);
}

.tabContent a.footer__list-item:hover {
  color: var(--primary-red-dark);
  background: rgba(45, 80, 22, 0.1);
  transform: translateX(10px);
  padding-left: 30px;
}

.tabContent a.footer__list-item:hover::before {
  opacity: 1;
  left: 10px;
}

.tabContent td:last-child {
  font-weight: 600;
  color: var(--primary-red);
  text-align: right;
  white-space: nowrap;
  min-width: 120px;
}

/* Price badge animation */
.tabContent td:last-child {
  position: relative;
  overflow: hidden;
}

.tabContent td:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(45, 80, 22, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.tabContent tr:hover td:last-child::before {
  left: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Вариант с иконками (если нужно добавить) */
.tabs__link--with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tabs__link--with-icon::before {
  content: "✓";
  font-weight: bold;
  color: var(--primary-red);
}

.tabs__item-active .tabs__link--with-icon::before {
  color: var(--white);
}

/* Анимация для переключения табов */
.tabs__item {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes tabsFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TABLES ===== */
.services-table {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-collapse: collapse;
  box-shadow: var(--shadow);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.services-table:hover {
  box-shadow: var(--shadow-hover);
}

.services-table th,
.services-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.services-table th {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: var(--font-sm);
  position: relative;
  overflow: hidden;
}

.services-table th::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.services-table th:hover::before {
  left: 100%;
}

.services-table tr {
  transition: all 0.3s ease;
}

.services-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.services-table tr:hover {
  background-color: #e8f5e0;
  transform: translateX(5px);
}

.services-table tr:hover td {
  color: var(--text-dark);
}

.services-table a {
  text-decoration: none !important;
  color: var(--primary-red);
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.services-table a:hover {
  color: var(--primary-red-dark);
  background-color: rgba(45, 80, 22, 0.1);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
  margin: 15px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: calc(33.33% - 30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-red);
}

.card-header {
  position: relative;
  overflow: hidden;
}

.card-header img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.card:hover .card-header img {
  transform: scale(1.1);
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  min-height: 250px;
  position: relative;
}

.tag {
  background: #cccccc;
  border-radius: 50px;
  font-size: var(--font-xs);
  margin: 0;
  color: #fff;
  padding: 2px 10px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag:hover {
  transform: scale(1.05);
}

.tag-teal {
  background-color: var(--primary-red);
}

.tag-purple {
  background-color: var(--primary-red-light);
}

.tag-pink {
  background-color: var(--accent-orange);
}

.card-body p {
  font-size: var(--font-xs);
  margin: 0 0 40px;
  transition: color 0.3s ease;
}

.user {
  display: flex;
  margin-top: auto;
  align-items: center;
  transition: all 0.3s ease;
}

.user:hover {
  transform: translateX(5px);
}

.user img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.user:hover img {
  transform: scale(1.1);
}

.user-info h5 {
  margin: 0;
}

.user-info small {
  color: #545d7a;
}

/* ===== WIDGETS ===== */
#whatsapp_widget {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 68px;
  height: 68px;
  background-color: var(--success);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

#whatsapp_widget:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

#whatsapp_widget svg {
  margin: 2px 1px 0 0;
  transition: height 0.4s;
  height: 71%;
  fill: #fff;
}

#whatsapp_widget:hover svg {
  height: 76%;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: none;
  background-color: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: var(--font-base);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: var(--primary-red-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100px;
  background: #f5f7fa;
  color: #2d3748;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner p {
  margin: 0;
  font-size: var(--font-sm);
  line-height: 1.4;
}

.cookie-banner a {
  color: var(--primary-red);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-banner a:hover {
  color: var(--primary-red-dark);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: var(--font-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cookie-btn.accept {
  background: var(--primary-red);
  color: #fff;
}

.cookie-btn.accept:hover {
  background: var(--primary-red-dark);
}

.cookie-btn.decline {
  background: #e53e3e;
  color: #fff;
}

.cookie-btn.decline:hover {
  background: #c53030;
}

.hidden {
  display: none;
}

/* ===== COMPREHENSIVE RESPONSIVE MEDIA QUERIES ===== */

/* Large Desktops: 1440px and above */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .intro__title {
    font-size: 5rem;
  }

  .section__title {
    font-size: var(--font-3xl);
  }
}

/* Standard Desktops: 1200px - 1439px */
@media (max-width: 1230px) {
  .tariff__item-header {
    flex-direction: column;
    gap: 1rem;
  }

  .price__right {
    padding: 3rem;
  }

  .price__footer-img {
    display: none;
  }

  .price__footer {
    padding: 3rem;
  }
}

/* Small Desktops and Tablets: 1024px - 1199px */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
    padding: 0 2rem;
  }

  .choose {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .tariff__item {
    padding: 3rem;
  }

  .portfolio {
    flex-direction: column;
    gap: 1.5rem;
  }

  .faq {
    gap: 3rem;
  }

  .faq__content {
    width: 55%;
  }
}

/* Tablets: 993px - 1023px */
@media (max-width: 1023px) {
  .form {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  [type="text"],
  [type="tel"] {
    max-width: 100%;
    width: 100%;
  }

  .form__item {
    width: 48%;
  }

  .faq__content {
    max-width: 100%;
    width: 80%;
  }

  .faq__image {
    display: none;
  }

  .card {
    width: calc(50% - 20px);
  }

  .team-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .promotions__grid {
    grid-template-columns: 1fr;
  }
}

/* Large Mobile & Small Tablets: 770px - 992px */
@media (max-width: 992px) {
  .section {
    padding: 6rem 0 0 0;
  }

  .section__title {
    font-size: var(--font-2xl);
    line-height: 1.2;
    margin: 0 0 3rem 0;
  }

  .intro {
    padding: 120px 0 80px 0;
  }

  .intro__title {
    font-size: var(--font-2xl);
  }

  .tariff {
    flex-direction: column;
    gap: 1.5rem;
  }

  .tariff__item {
    width: 100%;
  }

  .price__title {
    margin: 0 0 3rem 0;
    padding: 0 2rem;
  }

  .price__content {
    flex-direction: column;
  }

  .price__left,
  .service__list {
    width: 100%;
    background-color: var(--bg-light);
  }

  .price__left {
    padding: 0;
  }

  .price__right {
    display: none;
  }

  .price__list-link {
    padding: 0;
  }

  .price__list-link .service__name {
    max-width: 352px;
  }

  .price__list-link .service__price {
    margin-left: 2rem;
    display: block;
  }

  .service__list-link {
    padding: 0;
    border: 0;
    flex-direction: column;
  }

  .service__list-link.active {
    border: 0;
  }

  .service__list-link.active .service__link-header {
    margin-bottom: 1rem;
  }

  .service__list-link.active .service__link-body {
    display: block;
    color: var(--text-dark);
  }

  .service__link-header {
    padding: 0.8rem 0 1rem 0;
    font-weight: 600;
    font-size: var(--font-md);
    position: relative;
  }

  .service__link-header span {
    max-width: 290px;
  }

  .service__link-header:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    transform: translateY(-50%) rotate(135deg);
  }

  .service__list-link.active .service__link-header:after {
    transform: translateY(-50%) rotate(-45deg);
    margin-top: 5px;
    border-color: var(--primary-red);
  }

  .form__item {
    width: 47%;
  }

  .faq__content {
    width: 100%;
  }

  .section--contacts {
    margin-bottom: 206px;
  }

  .section--contacts .container {
    padding: 0;
  }

  .contacts__item {
    position: relative;
    bottom: -247px;
    max-width: 100%;
    padding: 2rem;
    border-radius: 0;
  }

  .choose__item {
    padding: 1.5rem;
  }

  .portfolio__left {
    flex-direction: column;
    gap: 8px;
  }

  .card-body {
    min-height: 180px;
  }

  .container2 {
    padding: 40px 30px;
    margin: 0 20px;
  }

  .intro p {
    font-size: var(--font-base);
  }

  .intro .services .button {
    padding: 14px 32px;
    font-size: var(--font-sm);
  }
}

/* Mobile Landscape: 768px - 769px */
@media (max-width: 769px) {
  .footer {
    padding: 25px 0 12px;
  }

  .intro {
    background-attachment: scroll;
    padding: 100px 0 60px 0;
  }

  .container2 {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .intro__title {
    font-size: 3.2rem;
  }
}

/* Medium Mobile: 600px - 767px */
@media (max-width: 767px) {
  .choose {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-table th,
  .services-table td {
    padding: 12px 15px;
    font-size: var(--font-sm);
  }

  .card {
    width: 100%;
    margin: 10px 0;
  }

  .faq-accordion__header {
    padding: 1.5rem 2.5rem 1.5rem 0;
  }

  .faq-accordion__content {
    max-width: 95%;
  }

  .price__form .form {
    flex-direction: column;
    gap: 1rem;
  }

  .form__item {
    width: 100%;
  }
}

/* Small Mobile: 575px - 599px */
@media (max-width: 599px) {
  .section__title {
    font-size: var(--font-xl);
    line-height: 1.3;
    margin: 0 0 2rem 0;
  }

  .intro__title {
    font-size: var(--font-xl);
    line-height: 1.2;
  }

  .intro__subtitle {
    font-size: var(--font-base);
  }

  .section.section--price .container {
    padding: 0;
  }

  .service__link-header span {
    max-width: 234px;
  }

  .price__content,
  .price__footer {
    padding: 0 1.5rem 0 1.5rem;
  }

  .price__footer {
    padding: 1.5rem;
    border-radius: 0;
  }

  .price__footer-title {
    line-height: 1.3;
  }

  .copyright {
    flex-direction: column;
    gap: 1rem;
  }

  .copyright__item:first-child {
    border: none;
  }

  .team-container {
    grid-template-columns: 1fr;
  }

  .promotions__title {
    font-size: var(--font-md);
  }

  .promotion__card {
    padding: 12px;
    min-height: 280px;
  }

  .promotion__title {
    font-size: var(--font-base);
  }

  .promotion__description {
    font-size: var(--font-sm);
  }

  .promotion__button {
    padding: 7px 18px;
    font-size: 0.85rem;
  }

  .container2 {
    padding: 25px 15px;
  }

  .intro p {
    font-size: var(--font-sm);
    margin: 1.5rem 0 2rem 0;
  }

  .intro .services .button {
    padding: 12px 28px;
    font-size: var(--font-xs);
    min-height: 50px;
  }

  .intro-button {
    padding: 6px 16px;
    font-size: var(--font-xs);
  }
}

/* Extra Small Mobile: 480px - 574px */
@media (max-width: 574px) {
  .promotions__title {
    font-size: var(--font-base);
  }

  .promotion__image-wrapper {
    height: 100px;
  }

  .employee {
    min-height: 260px;
    padding: 12px;
  }

  .employee__image-wrapper {
    height: 140px;
  }

  .employee__name {
    font-size: var(--font-base);
  }

  .employee__position {
    font-size: var(--font-sm);
  }

  .services-table th,
  .services-table td {
    padding: 8px;
    font-size: var(--font-xs);
  }

  .footer {
    padding: 20px 0 10px;
  }

  .intro__title {
    font-size: var(--font-2xl);
  }

  .container2 {
    padding: 20px 15px;
    margin: 0 10px;
  }
}

/* Tiny Mobile: 400px - 479px */
@media (max-width: 479px) {
  .choose__item-image {
    max-width: 40px;
  }

  .choose__item-image img {
    display: block;
    width: 40px;
    height: 40px;
  }

  .choose__text {
    display: none;
  }

  .intro__title {
    font-size: var(--font-lg);
  }

  .intro p {
    font-size: var(--font-xs);
  }

  .container2 {
    padding: 15px 10px;
  }

  .section {
    padding: 4rem 0 0 0;
  }

  .section__title {
    font-size: var(--font-2xl);
  }

  .intro .services .button {
    padding: 10px 24px;
    font-size: var(--font-xs);
    min-height: 46px;
  }
}

/* Ultra Small Mobile: 320px - 399px */
@media (max-width: 399px) {
  .container {
    padding: 0 1rem;
  }

  .intro__title {
    font-size: var(--font-lg);
  }

  .intro p {
    font-size: var(--font-xs);
    margin: 1rem 0 1.5rem 0;
  }

  .container2 {
    padding: 15px;
    margin: 0 5px;
  }

  .footer__container {
    padding: 0 1rem;
  }
}

/* Height-based adjustments for landscape mode */
@media (max-height: 600px) and (orientation: landscape) {
  .intro {
    padding: 100px 0 60px 0;
    min-height: auto;
  }

  .container2 {
    padding: 20px;
  }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .intro {
    background-image: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
      ),
      url("../img/intro@2x.webp");
  }
}

/* Print Styles */
@media print {
  .header,
  .nav,
  .footer,
  #whatsapp_widget,
  #scrollToTopBtn {
    display: none !important;
  }

  .container {
    max-width: 100%;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* Адаптивность для табов */
@media (max-width: 1024px) {
  .tabs {
    gap: 6px;
  }

  .tabs__link {
    padding: 10px 16px;
    font-size: var(--font-xs);
  }
}

@media (max-width: 768px) {
  .tabs {
    flex-direction: column;
    gap: 5px;
  }

  .tabs__link {
    padding: 14px 18px;
    font-size: var(--font-base);
    text-align: left;
    white-space: normal;
  }

  .tabs__link:hover {
    transform: translateX(5px);
  }

  .tabs__item-active .tabs__link {
    transform: translateX(5px);
  }

  .tabs__item-active .tabs__link:hover {
    transform: translateX(5px) scale(1.02);
  }
}

@media (max-width: 480px) {
  .tabs__link {
    padding: 12px 16px;
    font-size: var(--font-sm);
  }
}

/* Специальные стили для большого количества табов */
.tabs--scrollable {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 10px;
}

.tabs--scrollable::-webkit-scrollbar {
  height: 6px;
}

.tabs--scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.tabs--scrollable::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 3px;
}

.tabs--scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red-dark);
}

/* Градиентное затемнение для скроллируемых табов */
.tabs--scrollable::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, transparent, var(--white));
  pointer-events: none;
}

/* Центрирование для мобильных устройств */
@media (max-width: 768px) {
  /* Центрируем все заголовки аккордеона */
  .faq-accordion__title {
      text-align: center;
      width: 100%;
      padding: 0 15px;
  }
  
  /* Центрируем все элементы с классом item__title */
  .item__title {
      text-align: center;
      width: 100%;
  }
  
  /* Центрируем заголовки в аккордеоне FAQ */
  .faq-accordion__header {
      display: flex;
      justify-content: center;
      text-align: center;
  }
  
  /* Центрируем контент аккордеона */
  .faq-accordion__content {
      text-align: center;
      padding: 0 15px;
  }
  
  /* Центрируем текст внутри аккордеона */
  .faq-text {
      text-align: center;
      margin: 0 auto;
      max-width: 500px;
  }
  
  .tabs {
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }
  
  .tabs__item {
      flex: 0 0 auto;
      margin-right: 0;
      margin-bottom: 10px;
      width: 100%;
      max-width: 300px;
      display: flex;
      justify-content: center;
  }
  
  .tabs__link {
      padding: 12px 8px;
      font-size: var(--font-sm);
      white-space: normal;
      line-height: 1.3;
      min-height: auto;
      width: 100%;
      text-align: center;
  }
  
  .tabContent__item table {
      display: block;
      overflow-x: auto;
      white-space: nowrap;
      margin: 0 auto;
  }
  
  .faq {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  
  .faq__image {
      margin-top: 20px;
      display: flex;
      justify-content: center;
      width: auto;
  }
  
  .faq__image img {
      max-width: 100%;
      max-width: 100%;
      height: auto;
      width: auto;
      max-height: 300px; 
      object-fit: contain; 
  }
  
  .choose {
      grid-template-columns: 1fr;
      justify-items: center;
  }
  
  .choose__item {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  
  .intro__inner {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
  }
  
  .intro__title {
      font-size: var(--font-md);
      text-align: center;
  }
  
  .services {
      display: flex;
      justify-content: center;
      width: 100%;
  }
  
  /* Центрирование заголовков секций */
  .section__title {
      text-align: center;
  }
}

@media (max-width: 480px) {
  .tabs__link {
      font-size: var(--font-xs);
      padding: 10px 5px;
  }
  
  .intro__title {
      font-size: var(--font-sm);
  }
}

@media (max-width: 425px) {
  .faq__image {
      width: auto;
  }

  .faq__image img {
      max-height: 250px;
      max-width: 90%; 
  }

  .faq-accordion__title {
      padding: 0 10px;
      font-size: var(--font-base); 
  }
  
  .faq-accordion__content {
      padding: 0 10px;
  }
  
  .faq-text {
      max-width: 100%;
      font-size: var(--font-sm);
      line-height: 1.4;
  }
}

@media (max-width: 375px) {
  .faq__image {
      width: auto;
  }
  
  .faq__image img {
      max-height: 200px;
      max-width: 85%;
  }
}
/*
 ===== УЛУЧШЕННАЯ ТИПОГРАФИКА ДЛЯ ВСЕГО САЙТА ===== */

/* Увеличиваем базовый размер для лучшей читаемости */
@media (min-width: 769px) {
  body {
    font-size: var(--font-base);
  }
}

/* Улучшаем читаемость параграфов */
p {
  font-size: 1.05em;
  line-height: 1.7;
}

/* Улучшаем заголовки */
h1 {
  font-size: var(--font-xl);
  line-height: 1.3;
}

h2 {
  font-size: var(--font-lg);
  line-height: 1.4;
}

h3 {
  font-size: var(--font-md);
  line-height: 1.4;
}

h4 {
  font-size: 1.625rem;
  line-height: 1.5;
}

/* Мобильная типографика */
@media (max-width: 768px) {
  body {
    font-size: var(--font-base);
  }
  
  h1 {
    font-size: var(--font-xl);
  }
  
  h2 {
    font-size: var(--font-lg);
  }
  
  h3 {
    font-size: var(--font-base);
  }
  
  h4 {
    font-size: var(--font-sm);
  }
  
  p {
    font-size: 1.05em;
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1.55rem;
  }
  
  h1 {
    font-size: var(--font-lg);
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  h3 {
    font-size: var(--font-base);
  }
  
  h4 {
    font-size: 1.35rem;
  }
}



