/* WOOLTEX — Terms & Conditions */

.terms-page {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(26, 35, 126, 0.05) 0%, transparent 42%),
    radial-gradient(ellipse at 90% 20%, rgba(229, 57, 53, 0.035) 0%, transparent 40%),
    #ffffff;
}

.terms-wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.terms-title-block {
  margin-bottom: 36px;
}

.terms-title-block h2 {
  margin: 0;
  color: #0d1b4b;
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.terms-rule {
  margin-top: 14px;
  height: 4px;
  width: min(100%, 420px);
  border-radius: 2px;
  background: linear-gradient(90deg, #0d1b4b 0%, #0d1b4b 72%, #e53935 72%, #e53935 100%);
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  position: relative;
}

.terms-grid::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 0;
  border-left: 1px dashed rgba(13, 27, 75, 0.18);
  transform: translateX(-50%);
  pointer-events: none;
}

.terms-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.terms-item {
  padding: 22px 0 24px;
  border-bottom: 1px solid rgba(13, 27, 75, 0.1);
}

.terms-col .terms-item:last-child {
  border-bottom: none;
  padding-bottom: 8px;
}

.terms-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.terms-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 35, 126, 0.08);
  color: #1a237e;
}

.terms-icon svg {
  display: block;
}

.terms-head h3 {
  margin: 0;
  color: #1a237e;
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
}

.terms-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: #37474f;
  font-size: 0.92rem;
  line-height: 1.65;
}

.terms-list > li + li {
  margin-top: 0.45rem;
}

.terms-list ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  list-style: none;
}

.terms-list ul li {
  position: relative;
  padding-left: 0.15rem;
  margin-top: 0.35rem;
}

.terms-list ul li::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 0.55em;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #1a237e;
}

.terms-list strong {
  color: #0d1b4b;
  font-weight: 700;
}

.terms-note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #f5f7fa;
  border-left: 3px solid #1a237e;
  color: #546e7a;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .terms-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .terms-grid::before {
    display: none;
  }

  .terms-col .terms-item:last-child {
    border-bottom: 1px solid rgba(13, 27, 75, 0.1);
    padding-bottom: 24px;
  }

  .terms-col:last-child .terms-item:last-child {
    border-bottom: none;
    padding-bottom: 8px;
  }
}

@media (max-width: 640px) {
  .terms-wrap {
    width: min(1080px, calc(100% - 28px));
    padding: 32px 0 56px;
  }

  .terms-head {
    align-items: flex-start;
  }

  .terms-list {
    font-size: 0.9rem;
  }
}
