/* ==========================================================
   AUTUNEO LEGAL / HELP CENTER PAGES V1
   Páginas: Centro de ayuda, Garantía, FAQ, Pagos, Entregas,
   Compatibilidad, Cambios y devoluciones, Términos y Privacidad.
   ========================================================== */

.autuneo-legal-page {
  max-width: 980px;
  margin: 42px auto 64px;
  padding: 0 18px;
}

.autuneo-legal-hero {
  padding: 28px 0 34px;
  border-bottom: 1px solid #e7e7e7;
}

.autuneo-legal-hero h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.04em;
}

.autuneo-legal-hero p {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #333;
}

.autuneo-legal-accordion {
  margin-top: 28px;
}

.autuneo-legal-item {
  margin-bottom: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.autuneo-legal-item summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  font-size: 16px;
  font-weight: 750;
  color: #111;
  cursor: pointer;
  list-style: none;
}

.autuneo-legal-item summary::-webkit-details-marker {
  display: none;
}

.autuneo-legal-item summary::after {
  content: "⌄";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 20px;
  color: #111;
  transition: transform .18s ease, color .18s ease;
}

.autuneo-legal-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  color: #B81A20;
}

.autuneo-legal-item summary:hover {
  color: #B81A20;
}

.autuneo-legal-item div {
  padding: 0 22px 20px;
  color: #222;
  font-size: 15px;
  line-height: 1.65;
}

.autuneo-legal-item p {
  margin: 0 0 12px;
}

.autuneo-legal-item p:last-child {
  margin-bottom: 0;
}

.autuneo-legal-item ul,
.autuneo-legal-item ol {
  margin: 0 0 12px 20px;
  padding: 0;
}

.autuneo-legal-item li {
  margin-bottom: 7px;
}

.autuneo-legal-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(184, 26, 32, .18);
  border-left: 5px solid #B81A20;
  border-radius: 12px;
  background: #fff3f3;
}

.autuneo-legal-notice::before {
  content: "!";
  width: 34px;
  height: 34px;
  border: 2px solid #B81A20;
  border-radius: 50%;
  color: #B81A20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  grid-row: span 2;
  margin-top: 2px;
}

.autuneo-legal-notice strong {
  color: #B81A20;
  font-size: 18px;
  line-height: 1.2;
}

.autuneo-legal-notice p {
  margin: 0;
  color: #1f1f1f;
  font-size: 15px;
  line-height: 1.65;
}

/* Centro de ayuda */
.autuneo-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.autuneo-help-card {
  display: block;
  min-height: 132px;
  padding: 22px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  text-decoration: none !important;
  color: #111 !important;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.autuneo-help-card:hover {
  border-color: rgba(184, 26, 32, .35);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}

.autuneo-help-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.autuneo-help-card p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .autuneo-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .autuneo-legal-page {
    margin: 26px auto 44px;
    padding: 0 15px;
  }

  .autuneo-legal-hero {
    padding: 18px 0 26px;
  }

  .autuneo-legal-hero h1 {
    font-size: 34px;
  }

  .autuneo-legal-hero p {
    font-size: 15px;
  }

  .autuneo-legal-item summary {
    padding: 16px 46px 16px 16px;
    font-size: 15px;
  }

  .autuneo-legal-item div {
    padding: 0 16px 18px;
    font-size: 14px;
  }

  .autuneo-legal-notice {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .autuneo-legal-notice::before {
    grid-row: auto;
  }

  .autuneo-help-grid {
    grid-template-columns: 1fr;
  }

  .autuneo-help-card {
    min-height: auto;
    padding: 18px;
  }
}
