/* =============================================
   TERMS OF SERVICE PAGE — terms.css
   ============================================= */

/* ---------- PAGE WRAPPER ---------- */
.terms-page {
  background: #f6f8f5;
  padding: 80px 0 100px;
}

/* ---------- PAGE HEADER ---------- */
.terms-header {
  padding-bottom: 48px;
  border-bottom: 1px solid #ddd;
}

.terms-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.terms-date {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ---------- TERMS ROWS ---------- */
.terms-sections {
  display: flex;
  flex-direction: column;
}

.terms-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-bottom: 1px solid #ddd;
}

.terms-row:last-child {
  border-bottom: none;
}

/* Left column — label */
.terms-label h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0;
  padding-top: 2px;
}

/* Right column — content */
.terms-body p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

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

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

.terms-body ul li {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.terms-body address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.terms-body address p {
  margin-bottom: 0;
}

.terms-body a {
  color: #1b4332;
  text-decoration: underline;
  transition: color 0.2s;
}

.terms-body a:hover {
  color: #3daf6c;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #111111;
  padding: 72px 0 32px;
}

.footer-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-cta-left h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.footer-cta-left p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.7;
}

.footer-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-newsletter h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer-newsletter .newsletter-form {
  display: flex;
}

.footer-newsletter .newsletter-input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.footer-newsletter .newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .newsletter-submit {
  height: 52px;
  padding: 0 24px;
  background: #c9a84c;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
}

.footer-newsletter .newsletter-submit:hover {
  background: #b08c38;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 0 48px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-col {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.footer-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
}

.footer-socials a:hover {
  background: #3daf6c;
  color: #fff;
  border-color: #3daf6c;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-copy p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .terms-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }

  .footer-cta-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .terms-page {
    padding: 50px 0 70px;
  }

  .terms-header h1 {
    font-size: 28px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-cta-btns {
    flex-direction: column;
  }

  .footer-newsletter .newsletter-form {
    flex-direction: column;
  }

  .footer-newsletter .newsletter-submit {
    width: 100%;
  }
}
