/* ============================================================
   Gelai Infotech — Terms & Conditions Page
   ============================================================ */

.terms-page {
  background: var(--white);
  font-family: var(--font);
}

.terms-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: var(--site-header-offset, 168px);
  padding-bottom: 48px;
  background:
    radial-gradient(
      ellipse 95% 90% at 88% 6%,
      #0c6eb7 0%,
      #569acd 32%,
      rgba(255, 255, 255, 0) 70%
    ),
    #ffffff;
}

.terms-hero__header {
  z-index: 3;
  padding-top: 0;
  flex-shrink: 0;
}

.terms-hero__header .hero__logo img {
  width: 150px;
  height: auto;
}

.terms-hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 48px;
}

.terms-hero__title {
  font-family: var(--font);
  font-size: clamp(32px, 3.6vw, var(--fs-title-hero));
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 12px;
  text-shadow: var(--title-shadow);
}

.terms-hero__updated {
  font-size: var(--fs-body);
  color: #a3a3a3;
  margin: 0;
}

.terms-hero__tagline {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--navy);
  max-width: 520px;
  margin: 0 0 12px;
}

.terms-main {
  padding: 72px 0 96px;
}

.terms-content {
  max-width: 860px;
  margin: 0 auto;
}

.terms-content__intro {
  font-size: var(--fs-body);
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 28px;
}

.terms-content__intro strong {
  color: var(--navy);
  font-weight: 600;
}

.terms-content__section {
  margin-bottom: 24px;
}

.terms-content__section-title {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
}

.terms-content__section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-content__section-list > li {
  position: relative;
  padding-left: 24px;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--navy);
}

.terms-content__section-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.terms-content__contact {
  margin-top: 48px;
  padding: 32px;
  border-radius: 16px;
  background: #f4f8fc;
  border: 1px solid rgba(12, 110, 183, 0.12);
}

.terms-content__contact h2 {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
}

.terms-content__contact p {
  font-size: var(--fs-body);
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 4px;
}

.terms-content__contact a {
  color: var(--blue);
  text-decoration: none;
}

.terms-content__contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .terms-hero {
    min-height: 320px;
    padding-bottom: 32px;
  }

  .terms-hero__body {
    margin-top: 32px;
  }

  .terms-main {
    padding: 48px 0 72px;
  }

  .terms-content__contact {
    padding: 24px;
  }
}
