@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
/* ==========================================================================
   RESET LOCAL Y BASE DE CLASES
   ========================================================================== */
.terminos_body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1e293b;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.terminos_header {
  width: 100%;
  background-color: #0b132a;
  height: 64px;
  display: flex;
  align-items: center;
}

.terminos_header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
 
}

.terminos_logo-wrapper {
  display: flex;
  flex-direction: column;
   
}

.terminos_logo-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
 
}

.terminos_logo-sub {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  margin-top: 2px;
   
}

.terminos_nav {
  display: flex;
  gap: 32px;
 
}

.container_righ{
    width: 100px;
    height: 40px;
    

}

.terminos_nav-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.terminos_nav-btn:hover {
  color: #ffffff;
}

.terminos_nav-btn.terminos_active {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   HERO PRINCIPAL
   ========================================================================== */
.terminos_hero {
  text-align: center;
  padding: 48px 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.terminos_hero-category {
  color: #ff5252;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.terminos_hero-title {
  color: #0b132a;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.terminos_hero-subtitle {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   LAYOUT CENTRAL
   ========================================================================== */
.terminos_main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 40px;
  align-items: start;
}

/* ==========================================================================
   SIDEBAR IZQUIERDA (ÍNDICE)
   ========================================================================== */
.terminos_sidebar-left {
  position: sticky;
  top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.terminos_index-box {
  background-color: #ffffff;
}

.terminos_index-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

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

.terminos_index-item {
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.terminos_index-link {
  display: block;
  padding: 8px 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terminos_index-item:hover .terminos_index-link {
  color: #0f172a;
}

.terminos_index-item-active {
  background-color: #fff1f2;
}

.terminos_index-item-active .terminos_index-link {
  color: #e11d48;
  font-weight: 700;
}

/* Caja de Ayuda */
.terminos_help-box {
  background-color: #fafafa;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.terminos_help-icon-wrapper {
  background-color: #fee2e2;
  border-radius: 50%;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terminos_help-icon {
  width: 18px;
  height: 18px;
  color: #ef4444;
}

.terminos_help-text {
  font-size: 12px;
}

.terminos_help-question {
  font-weight: 700;
  color: #ef4444;
  margin: 0 0 2px 0;
}

.terminos_help-email {
  color: #64748b;
  margin: 0;
}

.terminos_help-link {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   DOCUMENTO CENTRAL
   ========================================================================== */
.terminos_content-area {
  min-width: 0;
}

.terminos_tab-content {
  display: none;
}

.terminos_tab-content.terminos_active-content {
  display: block;
}

.terminos_section {
  margin-bottom: 36px;
}

.terminos_section-title {
  font-size: 18px;
  font-weight: 700;
  color: #0b132a;
  margin-bottom: 12px;
}

.terminos_section-text {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 12px;
}

.terminos_bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminos_bullet-item {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.terminos_bullet-item::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #0b132a;
  font-weight: bold;
}

/* ==========================================================================
   SIDEBAR DERECHA (CARD DESTACADA)
   ========================================================================== */
.terminos_sidebar-right {
  position: sticky;
  top: 32px;
}

.terminos_notice-card {
  background-color: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #f1f5f9;
}

.terminos_notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.terminos_notice-icon {
  width: 20px;
  height: 20px;
  color: #ef4444;
}

.terminos_notice-title {
  font-size: 16px;
  font-weight: 700;
  color: #0b132a;
  margin: 0;
}

.terminos_notice-body {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
}

.terminos_notice-illustration {
  display: flex;
  justify-content: center;
}

.terminos_mascot-img {
  max-width: 140px;
  height: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.terminos_footer {
  border-top: 1px solid #f1f5f9;
  padding: 32px 0;
  background-color: #ffffff;
}

.terminos_footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminos_footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.terminos_footer-brand {
  font-weight: 800;
  color: #ef4444;
  font-size: 16px;
}

.terminos_footer-sub {
  color: #94a3b8;
  font-size: 12px;
}

.terminos_footer-copy {
  color: #94a3b8;
  font-size: 12px;
  margin-left: 16px;
}

.terminos_footer-right {
  display: flex;
  gap: 24px;
}

.terminos_footer-link {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.terminos_footer-link:hover {
  color: #0b132a;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .terminos_main-container {
    grid-template-columns: 200px 1fr;
  }
  .terminos_sidebar-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .terminos_main-container {
    grid-template-columns: 1fr;
  }
  .terminos_sidebar-left {
    display: none;
  }
  .terminos_hero-title {
    font-size: 28px;
  }
  .terminos_nav {
    gap: 16px;
  }
  .terminos_footer-container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.terminos_back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}