.lista-numerada {
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 20px;
    margin-top: 15px;
}

.lista-numerada-puntos {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 20px;
    margin-top: 15px;
}

.faq-accordion .faq-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion .faq-question {
    cursor: pointer;
    padding: 20px 25px;
    font-size: 17px;
    font-weight: 600;
    color: #1a2e4f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    border-left: 4px solid transparent;
    transition: background-color 0.3s ease, border-left 0.3s ease, color 0.3s ease;
}

.faq-accordion .faq-question:hover {
    background-color: #f5f7fa;
}

.faq-accordion .arrow {
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #1a2e4f;
    border-bottom: 2px solid #1a2e4f;
    transform: rotate(45deg);
    margin-left: 10px;
}

.faq-item.active .arrow {
    transform: rotate(-135deg);
    border-color: #0d2f66;
}

.faq-item.active .faq-question {
    background-color: #eaf1fb;
    border-left: 4px solid #00acff;
    color: #0d2f66;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 15px 25px 25px;
    max-height: 1000px;
}

input.error {
	border-color: #dc3545;
}

label.error {
	color: #dc3545;
	font-size: 13px;
	margin-top: 5px;
	display: block;
}

.whatsapp-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 25px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  20% { transform: translateY(-15px);}
  40% { transform: translateY(0);}
  60% { transform: translateY(-8px);}
  80% { transform: translateY(0);}
}

.whatsapp-float.bounce-rep {
  animation: bounce 1s;
  animation-iteration-count: infinite;
  animation-delay: 3s;
}

.resultado-calculadora {
    background-color: #ffffff;
    padding: 30px;
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

.resultado-calculadora.mostrar {
    opacity: 1;
}

.resultado-titulo {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.resultado-item {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.resultado-total {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    color: #444;
}

.resultado-aviso {
    font-style: italic;
    color: #888;
    margin-top: 10px;
    font-size: 14px;
}

.resultado-importante {
    background-color: #fff8dc;
    padding: 10px 12px 10px 38px;
    margin-top: 10px;
    border-left: 4px solid #f0ad4e;
    color: #555;
    font-weight: bold;
    font-size: 13px;
    position: relative;
    border-radius: 4px;
}

.icono-alerta {
    position: absolute;
    top: 6px;
    left: 12px;
    font-size: 16px;
}


.text-azul {
    color: #337ab7;
}

.text-verde {
    color: #28a745;
}

.resultado-calculadora.mostrar {
    animation: aparecer 0.6s ease-in-out;
}

@keyframes aparecer {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

label.error {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    font-weight: normal;
    display: inline-block;
}

input.error,
select.error,
textarea.error {
    border-color: #d9534f !important;
    background-color: #fff !important; 
    box-shadow: none !important;
    height: auto !important; 
}

.label-error {
	color: #d9534f;
	font-size: 12px;
	font-weight: normal;
	display: block;
	margin-top: 5px;
}

input.error,
select.error {
	border-color: #d9534f;
	box-shadow: none;
}

.mb-4{
    margin-bottom: 1.5rem !important;
}

@media (max-width: 767px) {
    .navbar-logo img {
        width: 15vw !important;
        height: auto;
    }
}

@media (max-width: 767px) {
    .top-bar .contact-num {
        margin-top: 10px;
    }
    .top-bar .list-items {
        text-align: center;
        margin-bottom: 20px !important;
    }
}

.modal-landing .modal-content {
    border-radius: 14px !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
    padding: 5px 24px 24px 24px;;
    min-width: 320px;
    background: #fff;
}
.icon-modal-animado {
    font-size: 58px;
    margin-bottom: 10px;
    display: inline-block;
}
.icon-modal-animado.exito { color: #23c16b; }
.icon-modal-animado.error { color: #e80606; }
.btn-modal-landing {
    background: #2d9cfa;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    padding: 10px 30px;
    transition: background 0.2s;
}
.btn-modal-landing:hover { background: #196dca; }
@media (max-width: 480px) {
    .modal-landing .modal-content { min-width: 90vw; padding: 22px 6vw; }
}

.rastrear-group {
    display: flex;
    align-items: stretch;
    margin-top: 15px;
}
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border-radius: 8px 0 0 8px !important;
    border: 1px solid #ddd !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    box-shadow: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    font-size: 16px !important;
    padding-left: 14px !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px;
}
.rastrear-group .form-control {
    border-radius: 0 !important;
    border-left: none !important;
    height: 48px !important;
    font-size: 16px;
    background: #fff;
    border: 1px solid #ddd !important;
    border-right: none !important;
}
.rastrear-group .btn-rastrear {
    height: 48px;
    border-radius: 0 8px 8px 0 !important;
    font-weight: bold;
    font-size: 16px;
    margin-left: -1px;
    background: #00acff;
    color: #fff;
    border: none;
    padding: 0 28px;
    box-shadow: none;
    transition: background 0.2s;
    z-index: 2;
}
.rastrear-group .btn-rastrear:hover {
    background: #008ecc;
}
@media (max-width: 700px) {
    .rastrear-group { flex-direction: column; }
    .rastrear-group .btn-rastrear, .rastrear-group .form-control, .select2-container--default .select2-selection--single { width: 100% !important; }
    .rastrear-group .btn-rastrear { margin-left: 0; margin-top: 7px; }
}
.rastrear-group .select2-container {
    min-width: 180px !important;
    max-width: 300px !important;
    width: 300px !important; 
    margin-right: -1px;
}


/* ==== Mobile: Apilado, full width, márgenes suaves ==== */
@media (max-width: 700px) {
    .rastrear-group {
        flex-direction: column;
        gap: 0;
        padding: 10px 6px 8px 6px;
        box-shadow: 0 3px 16px 0 rgba(44, 98, 144, 0.09);
        border-radius: 10px;
    }
    .rastrear-group .select2-container--default .select2-selection--single,
    .rastrear-group .form-control,
    .rastrear-group .btn-rastrear,
    .rastrear-group .select2-container {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        border-radius: 8px !important;
        margin: 0 0 12px 0 !important;
    }
    .rastrear-group .btn-rastrear {
        margin: 0 !important;
    }
    .rastrear-group .form-control {
        margin: 0 0 12px 0 !important;
    }
}

.partners-carousel .item {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 150px;
}
.partners-carousel img {
    transition: transform 0.2s;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
    margin: 0 auto;
    display: block;
}
.partners-carousel img:hover {
    transform: scale(1.12);
}


.logo-carrusel {
    max-height: 100px;    /* Logo bien grande */
    width: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
    transition: transform 0.2s;
}

.logo-carrusel:hover {
    transform: scale(1.12);
}

@media (max-width: 1000px) {
    .logo-carrusel {
        max-height: 80px;
    }
}
@media (max-width: 700px) {
    .logo-carrusel {
        max-height: 60px;
    }
}

#g-recaptcha-response {
    margin: 0 !important;
}

.g-recaptcha {
    transform: scale(0.88);
    transform-origin: 0 0;
}

/* Fondo sólido para todos los tipos de toast */
.toast {
	background-color: #fff !important; /* blanco sólido como base */
	color: #000 !important; /* texto oscuro */
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	opacity: 1 !important; /* no transparente */
}

/* Personalización por tipo */
.toast-success {
	background-color: #28a745 !important;
	color: #fff !important;
}

.toast-error {
	background-color: #dc3545 !important;
	color: #fff !important;
}

.toast-info {
	background-color: #17a2b8 !important;
	color: #fff !important;
}

.toast-warning {
	background-color: #ffc107 !important;
	color: #212529 !important;
}

/* Centrado del modal */
#modalDetallePaquete.modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Dialogo del modal */
#modalDetallePaquete .modal-dialog {
    max-width: 800px;
    width: 95%;
    margin: 0;
}

/* Contenedor del modal */
#modalDetallePaquete .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: none;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
}

/* HEADER */
#modalDetallePaquete .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 16px 24px;
}

/* TÍTULO */
#modalDetallePaquete .modal-title {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #212529;
}

/* BODY con scroll si es necesario */
#modalDetallePaquete .modal-body {
    padding: 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-y: auto;
    max-height: calc(90vh - 130px); /* 90vh menos header y footer */
}

/* FOOTER */
#modalDetallePaquete .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 10px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* BOTONES */
#modalDetallePaquete .btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

#modalDetallePaquete .btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

#modalDetallePaquete .btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

.tooltip-ues {
    position: relative;
    display: inline-block;
}

.tooltip-ues .tooltiptext-ues {
    visibility: hidden;
    width: max-content;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-size: 12px;
}

/* Flechita */
.tooltip-ues .tooltiptext-ues::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%; /* flechita antes del tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.tooltip-ues:hover .tooltiptext-ues {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
  .fuenteMobileDirecciones {
    font-size: 22px;
  }
}

.hover-text-color {
    transition: color 0.3s ease;
}

.hover-text-color i {
    transition: color 0.3s ease;
}

.hover-text-color:hover {
    color: #00acff !important;
}

.hover-text-color:hover i {
    color: #00acff !important;
}

/* Centrado del modal */
.customModal.modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Dialogo del modal */
.customModal .modal-dialog {
    max-width: 800px;
    width: 95%;
    margin: 0;
}

/* Contenedor del modal */
.customModal .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: none;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
}

/* HEADER */
.customModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 16px 24px;
}

/* TÍTULO */
.customModal .modal-title {
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #212529;
}

/* BODY con scroll si es necesario */
.customModal .modal-body {
    padding: 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-y: auto;
    max-height: calc(90vh - 130px); /* 90vh menos header y footer */
}

/* FOOTER */
.customModal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 10px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* BOTONES */
.customModal .btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.customModal .btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.customModal .btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

/* Títulos secundarios */
.customModal .modal-body h5 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #111;
}

/* Ajuste a listas para que respiren */
.customModal .modal-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Contenedor general centrado */
.val-ci-wrap{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1rem;
    margin-top:1rem;
}

/* Leyenda superior */
.val-ci-legend{
    text-align:center;
}

/* Fila compacta centrada */
.val-ci-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:.4rem;
}

/* Mismo alto para input y botones */
.val-ci-control{
    height:34px;                 /* uniforme */
    line-height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
}

/* Input más angosto y texto centrado */
.val-ci-row .form-control{
    padding:.25rem .5rem;
    text-align:center;
    line-height:normal;          /* para que el caret quede bien */
}

/* Ícono del botón de check centrado */
#btnCheckCedula i{ line-height:1; }

/* Mantener el texto e ícono blancos en el botón primario (aunque esté disabled por clase) */
.btn-generar-pdf,
.btn-generar-pdf i{ color:#fff !important; }

/* Hint inferior */
.val-ci-help{
    text-align:center;
    color:#6c757d;
}

/* Responsive: si queda muy angosto, que se apile prolijo */
@media (max-width:576px){
  .val-ci-row{ flex-wrap:wrap; }
}

/* ===== HERO / BANNER FULL WIDTH ===== */
.banner.hero-full{
  position: relative;
  width: 100vw;                 /* si te genera scroll horizontal, cambiá a 100% */
  height: 70vh;                 /* poné 100vh si lo querés a pantalla completa */
  min-height: 520px;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  z-index: 0;                   /* importante: no negativo */
}

/* Que todo el carrusel respete la altura del banner */
.banner.hero-full .owl-carousel,
.banner.hero-full .owl-stage-outer,
.banner.hero-full .owl-stage,
.banner.hero-full .owl-item,
.banner.hero-full .item{
  height: 100%;
}

/* Para posicionar la imagen absoluta dentro del item */
.banner.hero-full .owl-item,
.banner.hero-full .item{
  position: relative;
}

/* Imagen de cada slide cubriendo todo */
.banner.hero-full .item img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* llena el rectángulo sin deformar */
  object-position: center;
  display: block;
}

/* Overlay por debajo del contenido y sin bloquear clicks */
.banner.hero-full .hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.15), rgba(0,0,0,.15));
  z-index: 1;
  pointer-events: none;
}

/* Caption (logo, título, etc.) arriba del overlay */
.banner.hero-full .hero-caption{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  text-align: center;
  padding: 0 2rem;
  width: min(1100px, 92vw);
  z-index: 2;
}

.banner.hero-full .hero-logo{
  width: 15%;
  min-width: 120px;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.banner.hero-full .section-title.fs-48{
  font-size: clamp(26px, 4vw, 56px);
}

/* ===== NAV (FLECHAS) CENTRADAS Y PEGADAS A LOS BORDES ===== */
.hero-carousel{ position: relative; }

.hero-carousel .owl-nav{
  position: absolute;
  top: 65%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;   /* reparte izq/der */
  padding: 0 16px;                  /* margen lateral */
  z-index: 5;                       /* por encima de overlay/caption */
  pointer-events: none;             /* el contenedor no capta clicks */
}

.hero-carousel .owl-prev,
.hero-carousel .owl-next{
  background: rgba(0,0,0,.45);
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1;
  border-radius: 50%;
  padding: 8px 12px !important;
  transition: background .3s, transform .2s;
  pointer-events: auto;             /* los botones sí son clickeables */
}

.hero-carousel .owl-prev:hover,
.hero-carousel .owl-next:hover{
  background: rgba(0,0,0,.75);
  transform: scale(1.06);
}

/* ===== DOTS ===== */
.banner.hero-full .owl-dots{
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.banner.hero-full .owl-dot span{
  width: 10px; height: 10px;
  background: rgba(255,255,255,.55);
}

.banner.hero-full .owl-dot.active span{
  background: #00acff;
}

/* ===== SUPERPOSICIONES (por si el box de rastreo pisa el slider) ===== */
#divRastrear{ position: relative; z-index: 10; }

/* ===== Responsive touch-ups ===== */
@media (max-width: 576px){
  .banner.hero-full{
    min-height: 420px;            /* un toque menos en mobile */
  }
  .hero-carousel .owl-prev,
  .hero-carousel .owl-next{
    font-size: 24px !important;
    padding: 6px 10px !important;
  }
  .hero-carousel .owl-nav{ padding: 0 8px; }
}
