.detailed-offer {
  display: flex;
  flex-direction: column;
  min-height: auto;
  background: var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.detailed-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 20% 30%,
      rgba(169, 139, 104, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 70%,
      rgba(183, 150, 138, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 40% 60%,
      rgba(169, 139, 104, 0.05) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 1;
  animation: backgroundFloat 25s ease-in-out infinite alternate;
}

.detailed-offer-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.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;
  color: var(--text-color-oposite);
  position: relative;
  z-index: 2;
}

.section-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  color: var(--text-color-oposite);
  position: relative;
  z-index: 2;
}

.section-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--light-color) 0%,
    rgba(243, 238, 239, 0.95) 100%
  );
  color: var(--text-color-main);
  position: relative;
  overflow: hidden;
}

.section-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 80% 20%,
      rgba(238, 10, 16, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(183, 150, 138, 0.05) 0%,
      transparent 60%
    );
  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;
  background: radial-gradient(
    circle,
    rgba(169, 139, 104, 0.2) 0%,
    transparent 70%
  );
  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;
  background: radial-gradient(
    circle,
    rgba(183, 150, 138, 0.15) 0%,
    transparent 70%
  );
  animation: contentDecorRight 18s linear infinite reverse;
  pointer-events: none;
  z-index: -1;
}

.section-bottom .section-content-left::before {
  background: radial-gradient(
    circle,
    rgba(238, 10, 16, 0.1) 0%,
    transparent 70%
  );
  animation: contentDecorLeftLight 12s linear infinite;
}

.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;
}

.offer-title {
    font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-color-oposite);
  max-width: 900px;
}

.offer-subtitle {
  font-size: 26px;
  opacity: 0.9;
  max-width: 900px;
  line-height: 1.4;
  color: var(--tertiary-light);
}

.offer-form {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    rgba(255, 255, 255, 0.98) 100%
  );
  padding: 40px;
  gap: 30px;
  box-shadow: 0 20px 60px rgba(20, 20, 24, 0.15);
  height: auto;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.offer-form::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;
}

.offer-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 80px rgba(20, 20, 24, 0.2);
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-title {
  font-size: 28px;
  font-weight: 300;
  color: var(--primary-color);
}

.section-top .info-title {
  color: var(--text-color-oposite);
  text-shadow: 1px 1px 3px rgba(20, 20, 24, 0.3);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.info-description {
  font-size: 18px;
  line-height: 1.6;
}

.section-top .info-description {
  color: var(--text-color-oposite);
}

.section-bottom .info-description {
  color: var(--text-color-main);
}

.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;
  background: linear-gradient(
    90deg,
    var(--tertiary-color),
    var(--tertiary-light),
    var(--tertiary-color)
  );
  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: 15px;
  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;
}

.form-title {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-color-main);
  text-align: center;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-group.full-width {
  flex: 1;
}

.form-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-color-main);
}

.form-input {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 15px;
  font-size: 15px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  color: var(--text-color-main);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Phone input container styles */
.phone-input-container {
  display: flex;
  height: 50px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  overflow: hidden;
  transition: all 0.3s ease;
}

.phone-input-container:focus-within {
  border-color: var(--primary-color);
}

.phone-input-container .country-code-select {
  border: none;
  background: var(--light-color);
  padding: 0 12px;
  font-size: 14px;
  min-width: 85px;
  outline: none;
  border-right: 1px solid var(--light-gray);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  padding-right: 28px;
}

.phone-input-container .country-code-select:focus {
  background-color: rgba(238, 10, 16, 0.05);
}

.phone-input-container .phone-number {
  border: none !important;
  flex: 1;
  outline: none;
  box-shadow: none !important;
  margin: 0;
  padding: 0 15px;
  font-size: 15px;
  height: 100%;
  background: transparent;
}

.phone-input-container .phone-number:focus {
  border: none !important;
  box-shadow: none !important;
}

/* Mobile country code trigger button */
.phone-input-container .country-code-mobile-trigger {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  background: var(--light-color);
  border: none;
  border-right: 1px solid var(--light-gray);
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 100%;
}

.phone-input-container .country-code-mobile-trigger:focus {
  background-color: rgba(238, 10, 16, 0.05);
}

.phone-input-container .country-code-mobile-trigger .selected-flag {
  font-size: 18px;
}

.phone-input-container .country-code-mobile-trigger .selected-code {
  font-size: 13px;
  color: #666;
}

.phone-input-container .country-code-mobile-trigger .dropdown-icon {
  width: 10px;
  height: 10px;
  color: #666;
}

.form-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}

.form-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;
  max-width: 400px;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--text-color-oposite);
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(238, 10, 16, 0.3);
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.form-submit:hover {
  background: linear-gradient(
    135deg,
    var(--primary-hover),
    var(--primary-color)
  );
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(238, 10, 16, 0.4);
}

.form-submit:hover::before {
  left: 100%;
}

.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: 17px;
  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: 22px;
  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;
  }

  .offer-form {
    padding: 30px;
    gap: 25px;
  }

  .form-fields {
    gap: 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-button-container {
    padding: 15px 0;
  }

  .temperature-table th,
  .temperature-table td {
    padding: 12px 16px;
    font-size: 14px;
  }

  /* 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: 14px;
  }
}

@media (max-width: 768px) {
  .offer-section-top,
  .offer-section-bottom {
    width: 90%;
  }

  .offer-header {
    padding: 40px 0;
    gap: 15px;
  }

  .offer-title {
   font-size: 22px;
    max-width: 90%;
    text-align: center;
    text-align-last: center;
  }

  .offer-subtitle {
    font-size: 18px;
    max-width: 90%;
    text-align: justify;
    text-align-last: left;
  }

  .info-title {
    font-size: 24px;
  }

  .info-description {
    font-size: 16px;
  }

  .offer-form {
    padding: 25px;
    gap: 20px;
  }

  .form-fields {
    gap: 15px;
  }

  .form-title {
    font-size: 18px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input {
    height: 45px;
    font-size: 14px;
  }

  /* 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: 14px;
  }
}

@media (max-width: 480px) {
  .offer-section-top,
  .offer-section-bottom {
    width: 95%;
    padding: 30px 0;
  }

  .offer-form {
    padding: 20px;
    gap: 15px;
  }

  .form-fields {
    gap: 12px;
  }

  .form-input {
    height: 42px;
    font-size: 13px;
    padding: 0 12px;
  }

  .phone-input-container {
    height: 42px;
  }

  .phone-input-container .country-code-mobile-trigger {
    padding: 0 10px;
  }

  .phone-input-container .country-code-mobile-trigger .selected-flag {
    font-size: 16px;
  }

  .phone-input_container .country-code-mobile-trigger .selected-code {
    font-size: 12px;
  }

  .phone-input-container .phone-number {
    padding: 0 10px;
    font-size: 13px;
  }

  .form-label {
    font-size: 12px;
  }

  .form-title {
    font-size: 16px;
  }
}
