body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f0f0f0;
  margin: 0;
}

/*h1 {
  color: #333;
}*/

/*--------------------------------------------------------------
# Products Section
--------------------------------------------------------------*/

.products .section-title {
  text-align: center;
  padding: 0;
}

.products .section-title p {
  font-size: 2rem;
  font-weight: 700;
  margin: 12px auto 20px auto;
  color: #264651;
}

/* Productos */
.products {
  overflow: hidden;
}

.products .nav-tabs {
  border: 0;
}

.products .nav-link {
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--heading-color);
  border-radius: 0;
  border-right: 2px solid var(--accent-color);
  font-weight: 600;
  font-size: 15px;
}

.products .nav-link:hover {
  color: var(--accent-color);
}

.products .nav-link.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.products .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.products .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.products .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.products .details p:last-child {
  margin-bottom: 0;
}

/* Cada línea de producto como flexbox */
.products .details ul li {
  display: flex;
  justify-content: space-between;
  /* texto a la izquierda, controles a la derecha */
  align-items: center;
  margin-bottom: 12px;
}

/* Contenedor de controles */
.products .details ul li .btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Botón Agregar */
.products .details ul li .btn-success {
  background-color: #28a745;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.products .details ul li .btn-success:hover {
  background-color: #218838;
  transform: scale(1.05);
}

/* Input de cantidad */
.qty-input {
  width: 70px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-weight: 600;
  font-size: 14px;
  padding: 4px;
}

/* Personalizar flechas del input number */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  opacity: 1;
  height: 20px;
  cursor: pointer;
}

/* Contenedor de imágenes uniforme */
.products .tab-pane .col-lg-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  /* altura mínima uniforme */
}

/* Imágenes de productos */
.products .tab-pane img {
  max-width: 100%;
  max-height: 250px;
  /* altura máxima uniforme */
  object-fit: contain;
  /* mantiene proporción sin deformar */
}


/* Ajustes para móviles */
@media (max-width: 992px) {
  .productos-title p {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .products .nav-tabs {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--accent-color);
  }

  .products .nav-link {
    border: 0;
    padding: 10px;
    font-size: 14px;
    margin: 5px;
  }

  .products .details {
    text-align: center;
  }

  .products .details ul li {
    margin-bottom: 12px;
    display: block;
  }

  /* Imágenes más pequeñas y con bordes redondeados */
  .products .tab-pane img {
    max-width: 70%;
    height: auto;
    margin: 15px auto;
    display: block;
    border-radius: 12px;
  }
}

.service-details.section {
  overflow: visible;
}


.service-details .swiper-button-next,
.service-details .swiper-button-prev {
  display: flex; /* afecta los botones de next y prev*/
  color: #264651;
  /* color visible */
  z-index: 50;
  /* por encima de las imágenes */
}

.service-details .swiper-button-next::after,
.service-details .swiper-button-prev::after {
  font-size: 24px;
  /* tamaño de los íconos */
}

.service-details .swiper-pagination-bullet {
  background: #264651;
  /* bullets visibles */
}

.service-details .img-fluid {
  max-height: 490px;
  object-fit: contain;
}

/* Ícono flotante de checklist */
#floatingChecklist {
  position: fixed;
  /* siempre visible en pantalla */
  top: 50%;
  /* centrado verticalmente */
  right: 20px;
  /* pegado al lateral derecho */
  left: auto;
  /* 👈 fuerza a ignorar cualquier left heredado */
  transform: translateY(-50%);
  /* ajusta al centro exacto */
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: none;
  /* oculto por defecto */
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.8;
  /* semi-transparente */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1500;
  /* por encima de todo */
}

#floatingChecklist span {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  color: #dc3545;
  border-radius: 60%;
  padding: 1px 4px;
  font-size: 10px;
  font-weight: bold;
}

/* Botón de cierre dentro del flotante */
#floatingChecklist #closeChecklist {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: #dc3545;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Tabla de cotización */
#checklistContainer table,
#quoteTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#checklistContainer th,
#quoteTable th {
  background-color: #dc3545;
  /* rojo corporativo */
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

#checklistContainer td,
#quoteTable td {
  text-align: center;
  padding: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}


/* Pagina Mantenimiento - Seccion Precios */
/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid color-mix(in srgb, var(--default-color) 8%, transparent);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing .pricing-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.pricing .pricing-card.highlighted {
  border: 2px solid var(--accent-color);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--accent-color) 20%, transparent);
}

.pricing .pricing-card.highlighted .card-header {
  background: var(--accent-color);
}

.pricing .pricing-card.highlighted .card-header .plan-icon {
  background: color-mix(in srgb, var(--contrast-color) 20%, transparent);
  color: var(--contrast-color);
}

.pricing .pricing-card.highlighted .card-header .plan-title,
.pricing .pricing-card.highlighted .card-header .plan-subtitle {
  color: var(--contrast-color);
}

.pricing .pricing-card.highlighted .btn-pricing {
  background: #25d366;
  color: var(--contrast-color);
}

.pricing .pricing-card.highlighted .btn-pricing:hover {
  background: color-mix(in srgb, var(--accent-color) 85%, black);
}

.pricing .pricing-card.highlighted:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 56px color-mix(in srgb, var(--accent-color) 25%, transparent);
}

.pricing .card-header {
  padding: 32px 28px 24px;
  background: color-mix(in srgb, var(--accent-color) 6%, transparent);
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color) 6%, transparent);
}

.pricing .plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color) 15%, transparent);
  color: var(--accent-color);
  font-size: 24px;
  margin-bottom: 16px;
}

.pricing .plan-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--heading-color);
}

.pricing .plan-subtitle {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color) 60%, transparent);
  margin: 0;
}

.pricing .card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pricing .price-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing .price-wrapper .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading-color);
  align-self: flex-start;
  margin-top: 8px;
}

.pricing .price-wrapper .amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1;
  letter-spacing: -2px;
}

.pricing .price-wrapper .amount.annual-price {
  display: none;
}

.pricing .price-wrapper .period {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color) 50%, transparent);
  font-weight: 500;
}

.pricing .price-wrapper.custom-pricing {
  padding: 12px 0;
}

.pricing .price-wrapper.custom-pricing .custom-text {
  font-size: 36px;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -1px;
}

.pricing .billing-info {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color) 50%, transparent);
  text-align: center;
  margin-bottom: 24px;
}

.pricing .billing-info.annual-billing {
  display: none;
}

.pricing .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.pricing .feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--default-color);
}

.pricing .feature-list li i {
  font-size: 16px;
  color: #01c41b;
  flex-shrink: 0;
}

.pricing .btn-pricing {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: #25d366;
  color: #ffffff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
}

.pricing .btn-pricing:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .trial-note {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color) 50%, transparent);
  text-align: center;
  margin-top: 12px;
}

.pricing .security-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding: 32px;
  background: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
  .pricing .security-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .pricing .security-badges {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 16px;
  }
}

.pricing .badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: color-mix(in srgb, var(--accent-color) 5%, transparent);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pricing .badge-item:hover {
  background: color-mix(in srgb, var(--accent-color) 10%, transparent);
}

.pricing .badge-item i {
  font-size: 28px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.pricing .badge-item .badge-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing .badge-item .badge-content strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color);
}

.pricing .badge-item .badge-content span {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color) 60%, transparent);
}

.pricing .help-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.pricing .help-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
  transition: all 0.3s ease;
  padding: 8px 0;
}

.pricing .help-links a i {
  font-size: 18px;
}

.pricing .help-links a:hover {
  color: color-mix(in srgb, var(--accent-color) 75%, black);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .pricing .help-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .pricing .card-header {
    padding: 24px 20px 20px;
  }

  .pricing .card-body {
    padding: 24px 20px;
  }

  .pricing .price-wrapper .amount {
    font-size: 44px;
  }

  .pricing .price-wrapper.custom-pricing .custom-text {
    font-size: 30px;
  }

  .pricing .plan-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .pricing .security-badges {
    margin-top: 48px;
  }
}


/* Modal Mantenimiento */
#mantenimientoModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
#mantenimientoModal .modal-box {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}
#mantenimientoModal input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Modal WhatsApp */
#whatsappModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
#whatsappModal .modal-box {
  background: #fff;
  margin: 12% auto;
  padding: 20px;
  border-radius: 10px;
  width: 360px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#whatsappModal input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Modal Correo */
#emailModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
#emailModal .modal-box {
  background: #fff;
  margin: 8% auto;
  padding: 25px;
  border-radius: 12px;
  width: 380px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  animation: fadeIn 0.3s ease;
}
#emailModal input {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #bbb;
  border-radius: 6px;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #888;
}

.close:hover {
  color: #000;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.buttons {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-submit {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-submit:hover {
  background: #1ebe5d;
}

.btn-cancel {
  background: #ccc;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-cancel:hover {
  background: #aaa;
}

.noticias .noticias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .noticias .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.noticias .noticia-card {
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.3s ease;
}

.noticias .noticia-card:hover {
  transform: translateY(-5px);
}

.noticias .noticia-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.noticias .noticia-card p {
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 15px;
}

/* ==========================
   Checklist corporativo
   ========================== */

.card-header {
  background: #002b5c; /* Azul marino corporativo */
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.table td {
  font-size: 0.95rem;
}

.btn {
  border-radius: 6px;
  font-weight: 500;
}

.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  border: none;
}

.btn-secondary:hover {
  background-color: #545b62;
}

#whatsappModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

#whatsappModal .modal-box {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

#whatsappModal input {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

/* Botón WhatsApp */
.btn-whatsapp {
  background-color: #25D366; /* color oficial WhatsApp */
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 4px;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d; /* tono más oscuro al pasar el mouse */
  color: #fff;
}

/* Spinner de carga */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #25D366; /* verde WhatsApp */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fondo oscuro de overlay */
#loadingModal {
  background: rgba(0,0,0,0.6);
}

/* Caja del modal */
#loadingModal .modal-box {
  background: #ffffff; /* fondo blanco para contraste */
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Texto dentro del modal */
#loadingModal p {
  margin-top: 12px;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: #000000; /* azul oscuro legible */
}

/* Spinner de carga */
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #25D366; /* verde WhatsApp */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
