/* ==========================================================
   ROOTMAN — terms.css
   Page-specific styles for terms-and-conditions.html
   ========================================================== */

.page-hero {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.page-hero-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 62px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.page-hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 620px;
}

.terms-section {
  padding: 90px 0;
  background: var(--white);
}

.terms-intro-box {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 36px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

.terms-intro-box strong {
  color: var(--navy);
}

.terms-article {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.terms-block {
  padding-bottom: 32px;
  border-bottom: 1px solid #ece8e2;
}

.terms-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.terms-number {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.terms-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.terms-block p,
.terms-block li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
}

.terms-block p {
  margin-bottom: 14px;
  max-width: 900px;
}

.terms-block p:last-child {
  margin-bottom: 0;
}

.terms-block ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.terms-block li {
  margin-bottom: 8px;
}

.terms-block a {
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  transition: all 0.2s ease;
}

.terms-block a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.terms-contact-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  max-width: 820px;
}

.terms-contact-item {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 6px;
}

.terms-contact-item:last-child {
  margin-bottom: 0;
}

.terms-contact-item strong {
  color: var(--navy);
}

@media (max-width: 1024px) {
  .page-hero-title {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 56px 0 42px;
  }

  .page-hero-inner,
  .section-inner {
    width: min(100%, calc(100% - 24px));
  }

  .page-hero-title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .page-hero-desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .terms-section {
    padding: 44px 0;
  }

  .terms-intro-box {
    font-size: 12px;
    line-height: 1.7;
    padding: 16px;
    margin-bottom: 24px;
  }

  .terms-article {
    gap: 26px;
  }

  .terms-block {
    padding-bottom: 24px;
  }

  .terms-block h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .terms-block p,
  .terms-block li,
  .terms-contact-item {
    font-size: 13px;
    line-height: 1.75;
  }

  .terms-contact-card {
    padding: 18px 16px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 30px;
  }

  .terms-block h2 {
    font-size: 24px;
  }
}