/* AUTUNEO CMS 3 - Términos y Condiciones */
.autuneo-cms-legal {
  max-width: 1180px;
  margin: 0 auto;
}

.autuneo-cms-legal__hero {
  margin: 10px 0 28px;
  padding: 28px 34px;
  border: 1px solid #edf0f3;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 10px 28px rgba(16,24,32,.06);
}

.autuneo-cms-legal__hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: #fff5f5;
  color: #B81A20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex: 0 0 auto;
}

.autuneo-cms-legal__hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: #101820;
}

.autuneo-cms-legal__hero p {
  margin: 0;
  font-size: 16px;
  color: #1A1A1A;
  line-height: 1.6;
}

.autuneo-cms-legal__hero strong {
  color: #B81A20;
}

.autuneo-cms-legal__items {
  display: grid;
  gap: 10px;
}

.autuneo-cms-legal__item {
  position: relative;
  padding: 18px 22px;
  border: 1px solid #e7eaee;
  border-radius: 12px;
  background: #fff;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(16,24,32,.035);
}

.autuneo-cms-legal__item > span {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff0f0;
  color: #B81A20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.autuneo-cms-legal__item h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #101820;
}

.autuneo-cms-legal__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #1A1A1A;
}

@media (max-width: 768px) {
  .autuneo-cms-legal__hero {
    padding: 24px 18px;
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .autuneo-cms-legal__hero-icon {
    width: 78px;
    height: 78px;
    font-size: 38px;
  }

  .autuneo-cms-legal__hero h1 {
    font-size: 27px;
  }

  .autuneo-cms-legal__item {
    padding: 16px 14px;
    grid-template-columns: 38px 1fr;
  }

  .autuneo-cms-legal__item > span {
    width: 34px;
    height: 34px;
  }

  .autuneo-cms-legal__item h2 {
    font-size: 17px;
  }
}

/* AUTUNEO CMS 3 - ajustes finales hero */
.autuneo-cms-legal__hero {
  margin: 8px 0 20px !important;
  padding: 20px 26px !important;
}

.autuneo-cms-legal__hero-icon {
  width: 74px !important;
  height: 74px !important;
  font-size: 34px !important;
}
.autuneo-cms-legal__hero h1 {
  font-size: 28px !important;
}

/* AUTUNEO CMS 3 - Acordeón legal */
.autuneo-cms-legal__item--accordion {
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  padding-right: 58px !important;
}

.autuneo-cms-legal__item--accordion::after {
  content: "⌄";
  position: absolute;
  right: 22px;
  top: 18px;
  color: #B81A20;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease;
}

.autuneo-cms-legal__item--accordion:hover {
  border-color: #f2bcbc;
  box-shadow: 0 8px 22px rgba(184,26,32,.08);
  transform: translateY(-1px);
}

.autuneo-cms-legal__item--accordion > div > p {
  display: none;
  margin-top: 8px;
}

.autuneo-cms-legal__item--accordion.is-open {
  border-color: #f2bcbc;
  box-shadow: 0 10px 26px rgba(184,26,32,.09);
}

.autuneo-cms-legal__item--accordion.is-open::after {
  transform: rotate(180deg);
}

.autuneo-cms-legal__item--accordion.is-open > div > p {
  display: block;
}

@media (max-width: 768px) {
  .autuneo-cms-legal__item--accordion {
    padding-right: 42px !important;
  }

  .autuneo-cms-legal__item--accordion::after {
    right: 14px;
    top: 17px;
  }
}

/* AUTUNEO CMS 3 - Premium accordion cleanup */
.autuneo-cms-legal__item > span {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #fff0f0 !important;
  color: #B81A20 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: .5px !important;
}

.autuneo-cms-legal__item--accordion::after {
  right: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.autuneo-cms-legal__item--accordion.is-open::after {
  transform: translateY(-50%) rotate(180deg) !important;
}

.autuneo-cms-legal__item--accordion.is-open {
  border-color: #f2bcbc !important;
  box-shadow: 0 8px 22px rgba(184,26,32,.08) !important;
}

@media (max-width: 768px) {
  .autuneo-cms-legal__item > span {
    width: 38px !important;
    height: 38px !important;
    font-size: 13px !important;
  }

  .autuneo-cms-legal__item--accordion::after {
    right: 14px !important;
  }
}

/* AUTUNEO CMS 3 - Ajustes finales premium */
.autuneo-cms-legal__hero {
  padding: 16px 22px !important;
  gap: 18px !important;
}

.autuneo-cms-legal__hero-icon {
  width: 60px !important;
  height: 60px !important;
  font-size: 28px !important;
  border-radius: 16px !important;
}

.autuneo-cms-legal__hero h1 {
  font-size: 26px !important;
  margin-bottom: 6px !important;
}

.autuneo-cms-legal__hero p {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.autuneo-cms-legal__item > span {
  background: #fdeaea !important;
  border: 1px solid #f5d2d2 !important;
}

.autuneo-cms-legal__item--accordion.is-open {
  border-top: 3px solid #B81A20 !important;
  border-color: #f2bcbc !important;
  box-shadow: 0 10px 24px rgba(184,26,32,.10) !important;
}

