/* ==========================================================================
   TERMS & CONDITIONS - MODERN LUXURY STYLESHEET
   ========================================================================== */

:root {
  --terms-maroon: #800020;
  --terms-maroon-dark: #600018;
  --terms-maroon-light: #9e1b38;
  --terms-gold: #c59b27;
  --terms-gold-light: #f7e7c4;
  --terms-gold-glow: rgba(197, 155, 39, 0.18);
  --terms-dark: #1a1a1a;
  --terms-body: #4a453e;
  --terms-muted: #7c766e;
  --terms-bg-cream: #faf7f2;
  --terms-bg-card: #ffffff;
  --terms-border: #ebdcc0;
  --terms-border-subtle: #f0e9dc;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--terms-body);
  background: #ffffff;
  margin: 0;
}

/* Breadcrumb Navigation Bar */
.terms-breadcrumb-bar {
  background: var(--terms-bg-cream);
  border-bottom: 1px solid var(--terms-border);
  padding: 12px 0;
}

.terms-breadcrumb-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.terms-breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--terms-muted);
}

.terms-breadcrumb-trail a {
  color: var(--terms-maroon);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.terms-breadcrumb-trail a:hover {
  color: var(--terms-gold);
}

.terms-breadcrumb-trail .sep {
  color: #c7c0b5;
  font-size: 11px;
}

.terms-breadcrumb-trail .current {
  color: var(--terms-dark);
  font-weight: 600;
}

.terms-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terms-maroon);
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--terms-border);
  transition: all 0.2s ease;
}

.terms-back-btn:hover {
  background: var(--terms-maroon);
  color: #ffffff !important;
  border-color: var(--terms-maroon);
}

/* ==========================================================================
   HERO HEADER SECTION
   ========================================================================== */
.terms-hero-section {
  background: linear-gradient(180deg, var(--terms-bg-cream) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--terms-border);
  padding: 48px 0 40px;
  text-align: center;
}

.terms-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 155, 39, 0.12);
  color: #9c730e;
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.terms-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 600;
  color: var(--terms-dark);
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.terms-hero-subtitle {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 15.5px;
  color: var(--terms-muted);
  line-height: 1.7;
}

.terms-meta-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--terms-muted);
  background: #ffffff;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--terms-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.terms-meta-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   MAIN 2-COLUMN LAYOUT
   ========================================================================== */
.terms-main-body {
  padding: 45px 0 75px;
}

.terms-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Quick Navigation Sidebar */
.terms-sidebar-sticky {
  position: sticky;
  top: 95px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.terms-toc-card {
  background: var(--terms-bg-cream);
  border: 1px solid var(--terms-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.terms-toc-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--terms-dark);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.terms-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--terms-body);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.terms-toc-link:hover {
  background: #ffffff;
  color: var(--terms-maroon);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transform: translateX(3px);
}

.terms-toc-link span.num {
  font-size: 11px;
  color: var(--terms-gold);
  font-weight: 800;
}

/* Sidebar Help Card */
.terms-help-card {
  background: #ffffff;
  border: 1px solid var(--terms-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.terms-help-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--terms-dark);
  margin: 0 0 6px 0;
}

.terms-help-card p {
  font-size: 12.5px;
  color: var(--terms-muted);
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.terms-help-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.terms-help-btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

.terms-help-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--terms-bg-cream);
  color: var(--terms-dark) !important;
  border: 1px solid var(--terms-border);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.terms-help-btn-call:hover {
  border-color: var(--terms-maroon);
  color: var(--terms-maroon) !important;
}

/* ==========================================================================
   Right Column: Main Legal Cards
   ========================================================================== */
.terms-doc-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Overview Card */
.terms-overview-box {
  background: var(--terms-bg-cream);
  border: 1px solid var(--terms-border);
  border-left: 4px solid var(--terms-maroon);
  border-radius: 12px;
  padding: 26px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.terms-overview-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terms-maroon);
  margin-bottom: 8px;
  display: block;
}

.terms-overview-text {
  font-size: 15.5px;
  color: var(--terms-dark);
  line-height: 1.8;
  margin: 0;
}

/* Policy Card */
.terms-card-block {
  background: #ffffff;
  border: 1px solid var(--terms-border);
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 100px;
}

.terms-card-block:hover {
  border-color: var(--terms-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.terms-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--terms-border-subtle);
}

.terms-card-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(128, 0, 32, 0.08);
  color: var(--terms-maroon);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-card-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--terms-dark);
  margin: 0;
  letter-spacing: -0.2px;
}

.terms-card-body-text {
  font-size: 14.5px;
  color: #4a453e;
  line-height: 1.8;
  margin: 0;
}

.terms-card-body-text p {
  margin-bottom: 12px;
}

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

/* Key Highlights Callout Box */
.terms-highlight-callout {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--terms-bg-cream);
  border: 1px solid var(--terms-border);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--terms-dark);
  line-height: 1.6;
}

.terms-highlight-callout i {
  color: var(--terms-gold);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Assistance Banner */
.terms-bottom-banner {
  margin-top: 20px;
  background: linear-gradient(135deg, #1f1b17 0%, #2a241e 100%);
  border-radius: 14px;
  padding: 30px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.terms-bottom-banner h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.terms-bottom-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  margin: 0;
  max-width: 480px;
  line-height: 1.6;
}

.terms-bottom-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.terms-btn-gold {
  background: var(--terms-gold);
  color: #1a1a1a !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 11px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.terms-btn-gold:hover {
  background: #deb847;
  transform: translateY(-2px);
}

.terms-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.terms-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .terms-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .terms-sidebar-sticky {
    position: static;
  }

  .terms-hero-title {
    font-size: 32px;
  }

  .terms-card-block {
    padding: 22px 20px;
  }
}

@media (max-width: 576px) {
  .terms-hero-section {
    padding: 35px 0 28px;
  }

  .terms-hero-title {
    font-size: 28px;
  }

  .terms-bottom-banner {
    padding: 22px;
  }
}
