.footer-net {
  max-width: 1164px;
  margin: 0 auto 20px;
  width: 100%;
}

.footer-net-3 {
  background-color: #fff !important;
}

.footer-net__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.footer-net__container--contact iconify-icon {
  margin-bottom: -2px;
  font-size: 14px;
}

.footer-net__logo {
  width: 130px;
}

.footer-net__link {
  color: #404040 !important;
  font-size: 12px;
}

.footer-net__link:hover {
  color: var(--net-color-secundary) !important;
}

.footer-net__text {
  color: #404040;
  line-height: 25px;
  font-size: 14px;
}

.footer-net__list {
  display: flex;
  gap: 10px;
  flex-direction: column;
  padding: 0 25px;
}

.footer-net__list--row {
  flex-direction: row;
  flex-wrap: wrap;
}

.footer-net__list--center {
  align-items: center;
}

.footer-net__item {
  list-style-type: none;
  display: flex;
  align-items: center;
  width: 100%;
}

.footer-net__logos {
  justify-content: space-between;
}

@media (min-width: 1025px) {
  .footer-net {
    margin: 0 auto;
  }

  .footer-net__container,
  .footer-net__list {
    flex-direction: row;
    justify-content: left;
  }

  .footer-net__container--column,
  .footer-net__list--column {
    flex-direction: column;
  }

  .footer-net__container--redes,
  .footer-net__list--redes {
    gap: 5px;
  }

  .footer-net__container--center,
  .footer-net__list--center {
    align-items: center;
  }

  .footer-net__container {
    padding: 10px;
  }

  .footer-net::before {
    border-top: 1px solid #d2d2d2;
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
  }
}

@media (max-width: 1024px) {
  .footer-net {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-net__container {
    gap: 20px;
    padding: 20px 0;
  }

  .footer-net .net-accordion__title {
    border-bottom: 1px solid #f1f2f7;
  }

  .footer-net__list--logos {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .pre-footer {
    padding: 0 25px;
  }
}

.redes {
  gap: 7px !important;
}

@media (min-width: 1025px) {
  .footer-net {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer-net__container,
  .footer-net__list {
    gap: 1px;
    flex-direction: row;
    justify-content: left;
  }

  .footer-net__container--logos,
  .footer-net__list--logos {
    min-height: 50px;
  }

  .footer-net__container--column,
  .footer-net__list--column {
    flex-direction: column;
  }

  .footer-net__container--redes,
  .footer-net__list--redes {
    gap: 5px;
  }

  .footer-net__container {
    padding: 10px 0 15px;
  }

  .footer-net__link {
    font-size: 14px;
  }

  .footer-net::before {
    content: initial;
  }

  .net-accordion__container {
    padding: 10px 0;
  }

  .net-accordion__title {
    font-weight: 400;
    font-size: 18px;
    padding: 10px 0;
  }

  .net-accordion__body {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .net-accordion__child {
    width: 100%;
  }

  /* Contenedor del ícono */
  .footer-net .net-accordion__child .net-accordion__title::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%) rotate(0deg);
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
    opacity: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M36 18L24 30L12 18'/%3E%3C/svg%3E")
      center/contain no-repeat;
  }

  /* Al abrir — rotamos 180° para reutilizar el mismo SVG */
  .footer-net .net-accordion__child.active .net-accordion__title::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
  }

  .redes {
    justify-content: space-evenly;
  }
}

.net-accordion__body {
  padding: 0;
  height: 0;
  position: relative;
  overflow: hidden;
}

.net-accordion__child.active .net-accordion__body {
  display: block;
  padding: 10px 0;
  height: -moz-max-content;
  height: max-content;
}

@media (min-width: 769px) {
  .net-accordion__title::after {
    content: inherit;
  }

  .net-accordion__body {
    height: -moz-max-content;
    height: max-content;
    padding: 10px 0;
    background-color: transparent;
  }

  .net-accordion__title {
    background-color: transparent;
    font-weight: 500;
    font-size: 17px;
  }
}

.net-accordion__container {
  padding: 10px 0 15px;
}

.net-accordion__title {
  padding: 15px 25px;
  position: relative;
  font-size: 16px;
}

.net-accordion__title {
  color: var(--net-color-secundary) !important;
}

.active .net-accordion__title {
  background-color: #f1f2f7;
}

.logo-netviajes {
  margin-bottom: 10px;
  height: 50px;
}

.footer-info {
  padding: 0 25px;
}

.custom-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 9999;
}

.custom-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 90%;
  height: 80%;
  background: #fff;
  position: relative;
}

.modal-body {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  color: white;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #000;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
}

.external-content {
  text-align: center;
  margin-top: 60px;
}

.external-content h3 {
  margin-bottom: 16px;
  color: #000;
}

.external-content p {
  margin-bottom: 12px;
  color: #000;
}

.btn-external {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  color: #000;
  border-radius: 8px;
  text-decoration: none;
}

.pdf-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pr-modal-wrapper * {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

/* Overlays (Fondo oscuro) */
.pr-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.pr-overlay.pr-show {
  opacity: 1;
  visibility: visible;
}
/* Overlay con z-index mayor para el segundo modal de contenido */
.pr-overlay-content {
  z-index: 99999;
}

/* Contenedor del Modal (Bottom Sheet) */
.pr-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-radius: 12px 12px 0 0;
  padding: 24px 20px 30px 20px;
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .pr-modal {
    width: 400px;
    left: 50%;
    margin-left: -200px; /* Centrado exacto */
    right: auto;
  }
}
.pr-modal.pr-show {
  transform: translateY(0);
}

/* Modal de Contenido (Más alto para leer) */
.pr-modal-content {
  height: 85vh;
  z-index: 100000;
}

/* Elementos Internos del Modal */
.pr-logo {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.pr-logo::before {
  content: "";
  width: 100px;
  height: 4px;
  background-color: #d3d3d3;
  display: inline-block;
  top: 7px;
  position: absolute;
  border-radius: 3px;
  left: 39%;
}

.pr-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}

.pr-text {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 24px;
  text-align: justify;
  line-height: 1.5;
}

/* Checkboxes */
.pr-checkbox-group {
  margin-bottom: 24px;
  padding: 0 4px;
}
.pr-checkbox-label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  cursor: pointer;
}
.pr-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-1); /* Color rojo del check */
  cursor: pointer;
  flex-shrink: 0;
}
.pr-checkbox-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.3;
}
.pr-link {
  color: #6b7280;
  text-decoration: underline !important;
  text-decoration-color: #9ca3af;
}
.pr-link:hover {
  color: #374151;
}

/* Botón de acción */
.pr-btn {
  width: 100%;
  padding: 14px;
  border-radius: 9999px; /* Pill shape */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
  margin-bottom: 16px;
}
.pr-btn:disabled {
  background-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}
.pr-btn.pr-btn-active {
  background-color: var(--color-1);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(218, 37, 29, 0.2);
}
.pr-btn.pr-btn-active:hover {
  background-color: var(--color-1);
}

/* Footer pequeño */
.pr-footer-text {
  font-size: 10px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.2;
}

/* Caja de contenido scrolleable (Para TyC y Políticas) */
.pr-scroll-box {
  flex: 1;
  background-color: #f3f4f6;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  overflow-y: auto;
  font-size: 12px;
  color: #4b5563;
}
.pr-scroll-box p {
  margin-bottom: 12px;
}
.pr-scroll-box ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

/* Scrollbar personalizada */
.pr-scroll-box::-webkit-scrollbar {
  width: 6px;
}
.pr-scroll-box::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 4px;
}
.pr-scroll-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* Botón cerrar del overlay */
.pr-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  display: none;
}
@media (min-width: 768px) {
  .pr-close-btn {
    right: calc(50% - 180px); /* Alineado al modal en desktop */
  }
}
.pr-close-btn:hover {
  color: white;
}
