.offer-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  height: auto;
  max-height: 100vh;
  padding: 60px 0;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.section-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
  position: relative;
  z-index: 2;
}

.section-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
  position: relative;
  overflow: hidden;
}

.section-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  animation: backgroundFloatLight 20s ease-in-out infinite alternate-reverse;
}

.offer-section-top {
  display: flex;
  width: 90%;
  max-width: 1480px;
  height: auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.offer-section-bottom {
  display: flex;
  width: 90%;
  max-width: 1480px;
  height: auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.section-content-left,
.section-content-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  justify-content: center;
  position: relative;
}

.section-content-left::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  animation: contentDecorLeft 15s linear infinite;
  pointer-events: none;
  z-index: -1;
}

.section-content-right::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  animation: contentDecorRight 18s linear infinite reverse;
  pointer-events: none;
  z-index: -1;
}

.section-bottom .section-content-right::after {
  background: radial-gradient(
    circle,
    rgba(183, 150, 138, 0.12) 0%,
    transparent 70%
  );
  animation: contentDecorRightLight 16s linear infinite reverse;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-top .info-title {
  text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.3);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.info-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

.temperature-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.section-top .temperature-table {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 24, 0.9) 0%,
    rgba(20, 20, 24, 0.8) 100%
  );
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(169, 139, 104, 0.2);
  transition: all 0.3s ease;
}

.section-top .temperature-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10;
}

.section-top .temperature-table:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border-color: rgba(169, 139, 104, 0.4);
}

.temperature-table th,
.temperature-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.section-top .temperature-table th,
.section-top .temperature-table td {
  border-bottom: 1px solid var(--light-gray);
}

.table-header {
  background: linear-gradient(
    135deg,
    var(--tertiary-color),
    var(--tertiary-dark)
  ) !important;
  color: var(--text-color-oposite) !important;
  text-shadow: 1px 1px 2px rgba(20, 20, 24, 0.3) !important;
}

.table-header:hover {
  background: linear-gradient(
    135deg,
    var(--tertiary-light),
    var(--tertiary-color)
  ) !important;
  color: var(--text-color-oposite) !important;
  text-shadow: 1px 1px 2px rgba(20, 20, 24, 0.3) !important;
  transition: all 0.3s ease !important;
}

.temperature-table td {
  font-size: 1rem;
  color: var(--text-color-main);
}

.section-top .temperature-table td {
  color: var(--text-color-oposite);
}

.temperature-table tr:hover {
  background: var(--light-gray);
}

.section-top .temperature-table tr:hover {
  background: linear-gradient(
    90deg,
    rgba(169, 139, 104, 0.1),
    rgba(183, 150, 138, 0.05)
  );
  transition: all 0.3s ease;
}

.damage-critical {
  color: var(--primary-color);
  font-weight: bold;
}

.section-top .damage-critical {
  color: var(--primary-color);
}

.damage-moderate {
  color: var(--tertiary-color);
  font-weight: bold;
}

.damage-light {
  color: var(--primary-color);
  font-weight: bold;
}

.protection-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 24, 0.05) 0%,
    rgba(20, 20, 24, 0.02) 100%
  );
  border: 1px solid rgba(238, 10, 16, 0.1);
  position: relative;
  overflow: hidden;
  animation: featuresSlideIn 0.8s ease-out 0.5s both;
}

.protection-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--primary-color)
  );
  z-index: 10;
}

.protection-features::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 60px;
  background: radial-gradient(
    circle,
    rgba(238, 10, 16, 0.08) 0%,
    transparent 70%
  );
  animation: featuresDecor 20s linear infinite;
  pointer-events: none;
}

.protection-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: var(--text-color-main);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 12px 15px;
  background: linear-gradient(
    90deg,
    rgba(238, 10, 16, 0.02) 0%,
    transparent 100%
  );
  border-left: 3px solid transparent;
}

.section-top .protection-feature {
  color: var(--text-color-oposite);
  background: linear-gradient(
    90deg,
    rgba(169, 139, 104, 0.1) 0%,
    transparent 100%
  );
}

.protection-feature:hover {
  transform: translateX(10px);
  border-left-color: var(--primary-color);
  background: linear-gradient(
    90deg,
    rgba(238, 10, 16, 0.05) 0%,
    rgba(238, 10, 16, 0.02) 100%
  );
}

.section-top .protection-feature:hover {
  border-left-color: var(--tertiary-light);
  background: linear-gradient(
    90deg,
    rgba(169, 139, 104, 0.15) 0%,
    rgba(183, 150, 138, 0.05) 100%
  );
}

.protection-feature::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transform: translateY(-50%);
  transition: width 0.3s ease;
}

.section-top .protection-feature::before {
  background: var(--tertiary-light);
}

.protection-feature:hover::before {
  width: 6px;
}

.protection-feature i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 22px;
  min-width: 22px;
  animation: iconPulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.2);
}

.section-top .protection-feature i {
  color: var(--tertiary-light);
  text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.5);
}

.protection-feature:hover i {
  transform: scale(1.15);
  color: var(--primary-dark);
}

.section-top .protection-feature:hover i {
  color: var(--tertiary-color);
}

.protection-feature span {
  flex: 1;
  line-height: 1.4;
}

/* Анимации */
@keyframes backgroundFloat {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translateX(-15px) translateY(-10px) scale(1.02);
    opacity: 1;
  }
}

@keyframes backgroundFloatLight {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateX(10px) translateY(5px) scale(1.01);
    opacity: 1;
  }
}

@keyframes contentDecorLeft {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(20px) translateY(-10px) rotate(360deg);
  }
}

@keyframes contentDecorRight {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(-15px) translateY(15px) rotate(-360deg);
  }
}

@keyframes contentDecorLeftLight {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(15px) translateY(-8px) rotate(360deg);
  }
}

@keyframes contentDecorRightLight {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(-12px) translateY(12px) rotate(-360deg);
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.3);
  }
  100% {
    text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.3),
      0 0 20px rgba(169, 139, 104, 0.3);
  }
}

@keyframes featuresSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes featuresDecor {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(-20px) translateY(20px) rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .detailed-offer::before {
    animation: none;
  }

  .section-bottom::before {
    animation: none;
  }

  .section-content-left::before,
  .section-content-right::after {
    display: none;
  }

  .section-top,
  .section-bottom {
    height: auto;
    min-height: 100vh;
  }

  .offer-section-top,
  .offer-section-bottom {
    flex-direction: column;
    width: 95%;
    gap: 40px;
    padding: 40px 0;
  }

  .temperature-table th,
  .temperature-table td {
    padding: 12px 16px;
    font-size: 1rem;
  }

  /* Phone input specific styles on mobile */
  .phone-input-container {
    width: 100%;
    height: 45px;
  }

  .phone-input-container .country-code-select {
    display: none;
  }

  .phone-input-container .country-code-mobile-trigger {
    display: flex;
  }

  .phone-input-container .phone-number {
    padding: 0 12px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .offer-section-top,
  .offer-section-bottom {
    width: 90%;
  }

  .offer-header {
    padding: 40px 0;
    gap: 15px;
  }

  .offer-title {
    font-size: 2.25rem;
  }

  .offer-subtitle {
    font-size: 1rem;
  }

  .info-title {
    font-size: 1.2rem;
  }

  .info-description {
    font-size: 1rem;
  }

  .temperature-table th,
  .temperature-table td {
    padding: 12px 16px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .offer-section-top,
  .offer-section-bottom {
    width: 95%;
    padding: 30px 0;
  }
}
