@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #eeeeee;
  letter-spacing: 0.05em; /* espaciado entre letras */
  line-height: 1.5;
  font-size: 16px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Anton', sans-serif;
}

/* ANIMACION */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

.title-blue {
  color: #004b8d !important;
}

/* ============================
   ESTILOS PERSONALIZADOS
   ============================ */
.sp-title {
  font-family: 'Anton', sans-serif;
}


.btn-ir {
  background-color: #004b8d;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 75, 141, 0.4);
}
/*SLIDER*/

  .btn-slide {
    
    background: linear-gradient(135deg, #002b5b 0%, #004b8d 60%, #007bff 100%);
    border: 2px solid white;
    color: white;
    transition: all 0.4s ease;
  }

  .btn-slide:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
    color: white;
  }

  /* Sombra para el texto sobre la imagen */
  .text-shadow {
    text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
  }
  @media (max-width: 576px) {
    .banner-title {
      font-size: 2.5rem; /* ajusta display-1 para móviles */
    }
  }

/* NAVBAR */
.custom-navbar {
  /*background-color: #165c91 !important;*/
  background: linear-gradient(270deg, #002b5b 0%, #004b8d 60%, #007bff 120%) !important;
}

.custom-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.7);
}

.custom-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Links del navbar con hover estilo línea */
.custom-navbar .nav-link {
  color: #ffffff !important;       
  position: relative;               
  transition: all 0.3s ease;
}

.custom-navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;                     
  bottom: 0;
  left: 0;
  background-color: #ffffff;         
  transition: width 0.3s ease;
}

.custom-navbar .nav-link:hover::after {
  width: 100%;                      
}

/* FOOTER */
.custom-footer {
  background-color: #165c91;
}

.custom-footer p {
  margin: 0;
  font-size: 0.95rem;
}

/*SECCION HOME */
/* Tarjetas */
    .svc-box {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      height: 100%;
    }

    .svc-box:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    /* Íconos */
    .svc-icon {
      font-size: 2.2rem;
      color: #0d6efd;
      background: rgba(13, 110, 253, 0.1);
      padding: 12px;
      border-radius: 12px;
      display: inline-block;
      margin-bottom: 16px;
    }

    /* Títulos */
    .svc-title {
      font-weight: 600;
      font-size: 1.2rem;
      color: #002855;
      margin-bottom: 1rem;
    }

    /* Listas */
    .svc-list {
      list-style: none;
      padding-left: 0;
      color: #5a5a5a;
      font-size: 0.95rem;
    }

    .svc-list li {
      margin-bottom: 8px;
      position: relative;
      padding-left: 20px;
    }

    .svc-list li::before {
      content: "•";
      color: #0d6efd;
      position: absolute;
      left: 0;
    }
.custom-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.custom-card .icon-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.custom-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.custom-card .card-text {
    color: #555;
    font-size: 0.95rem;
}


/*SECCION NOSOSOTROS*/
section.nosotros {
  background: linear-gradient(135deg, #002b5b 0%, #004b8d 60%, #007bff 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

section.nosotros .container {
  position: relative;
  z-index: 2;
}

.nosotros h2 {
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.nosotros .lead {
  color: #f1f1f1;
  max-width: 800px;
}

.card-filosofia {
  background: #fff;
  border: none;
  border-radius: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform .3s, box-shadow .3s;
}

.card-filosofia:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.card-filosofia i {
  font-size: 2.5rem;
  color: #007bff;
}

.subtitulo {
  font-weight: 600;
  text-transform: uppercase;
  color: #007bff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.8px;
}

.valor {
  background-color: #f8f9fa;
}

.valor h3 {
  font-weight: 700;
}

.valor p {
  color: #6c757d;
}

 /*SECCION CONTACTO */
/* FORMULARIO */
  .section-formulario {
    background-color: #ffffff;
    color: #0b2248;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
  }

  /* Sección azul */
  .section-ciudades {
    /*background-color: #0b2248;*/
    background: linear-gradient(135deg, #002b5b 0%, #004b8d 60%, #007bff 100%);
    color: white;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .section-ciudades h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .ciudad-item {
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
  }

  .ciudad-item i {
    color: #ffffff;
    font-size: 2rem;
  }

  .telefono-general {
    margin-top: 2.5rem;
  }

  .telefono-general p {
    margin: 0;
  }

  .telefono-general .texto-llama {
    font-size: 1.2rem;
    opacity: 0.9;
  }

  .telefono-general .numero {
    font-size: 2rem;
    font-weight: 700;
  }

  .solicitud-whatsapp {
    margin-top: 1rem;
  }

  .solicitud-whatsapp p {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .btn-whatsapp:hover {
    background-color: #1ebe5c;
    color: white;
  }

  .form-control, .form-select {
    border-radius: 0.75rem;
    border: 1px solid #ccc;
  }

  .btn-enviar {
    background-color: #004b8d;
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
  }

  .btn-enviar:hover {
    background-color: #0976a2;
    color: white;
  }

  .row-equal {
    display: flex;
    flex-wrap: wrap;
  }

  .row-equal > [class^="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  @media (max-width: 991.98px) {
    .row-equal {
      flex-direction: column;
    }

    .section-formulario {
      order: 1;
      padding: 2rem;
    }

    .section-ciudades {
      order: 2;
      padding: 2rem;
    }

    .section-ciudades h2 {
      font-size: 2rem;
    }

    .ciudad-item {
      font-size: 1.8rem;
    }
  }
.map-container {
  position: relative;
  max-width: 800px;
}

/* Puntos llamativos */
.map-point {
  position: absolute;
  width: 16px;   /* tamaño reducido */
  height: 16px;  /* tamaño reducido */
  background: radial-gradient(circle at center, #ff0000 0%, #ff9900 70%);
  border-radius: 50%;
  box-shadow: 0 0 12px #ff0000, 0 0 25px #ff9900, 0 0 40px #ffcc00;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite ease-in-out;
  cursor: pointer;
  border: 2px solid #fff;
}

/* Animación tipo pulso */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
}

/* Ajuste en móviles */
@media (max-width: 768px) {
  .map-point {
    width: 12px;  /* tamaño móvil */
    height: 12px; /* tamaño móvil */
  }
}


.sobre-nosotros {
  background: white;
  /*background: linear-gradient(135deg, #003366, #007bff);*/
  position: relative;
  overflow: hidden;
}

.text-gradient {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sobre-nosotros .img-container {
  position: relative;
  overflow: hidden;
}

.sobre-nosotros .img-container img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.sobre-nosotros .img-container:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.sobre-nosotros .img-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  transition: opacity 0.4s ease;
}

.sobre-nosotros .img-container:hover .img-overlay {
  opacity: 0;
}

/* ====== SECCIÓN NOSOTROS ====== */
.nosotros-section {
  background: linear-gradient(90deg, rgba(0, 36, 72, 0.95), rgba(10, 60, 110, 0.9)),
              url('https://images.unsplash.com/photo-1581092334905-14f96b8a6b85?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: #f8f9fa;
  position: relative;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.image-wrapper img {
  transition: transform 0.7s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease;
  border-radius: 0.75rem;
}

.image-wrapper:hover .image-overlay {
  opacity: 0;
}

.border-line {
  position: relative;
  padding-bottom: 8px;
}

.border-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #ff7a00;
  border-radius: 2px;
}

.btn-outline-light {
  border: 2px solid #ff7a00;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #ff7a00;
  color: #fff;
  transform: translateY(-2px);
}


/* Fondo con gradiente corporativo */
.bg-gradient-primary {
  background: linear-gradient(135deg, #002c5f 0%, #0056b3 50%, #007bff 100%);
}

/* === Por qué nosotros === */
.feature-card {
  background: #fff;
  border-radius: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
  font-size: 2.5rem;
  color: #007bff;
}

/* === Servicios === */
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
}

.icon-service {
  font-size: 2.5rem;
  color: #00bfff;
}

/* Texto */
.text-light.opacity-90 {
  opacity: 0.9;
}

#sucursales {
  /* Degradado limpio y profesional: blanco → gris azulado tenue */
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 40%, #e9edf2 100%);
  color: #2a2a2a;
}

#sucursales h2 {
  letter-spacing: 1px;
}

#sucursales p {
  color: #444;
  line-height: 1.6;
}

#sucursales .btn-warning {
  background-color: #ffc107;
  color: #003366;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sucursales .btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

#mapa-mexico {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.card {
  background-color: #1d3a5f;
  color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: 100%;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #e1e1e1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #1d3a5f;
}

.subtitle {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

/* Estilo General */
.inf-sec-custom {
  background: linear-gradient(135deg, #1a1a1a, #2c3e50);
  padding: 50px 0;
}

.inf-container-custom {
  max-width: 1200px;
  margin: 0 auto;
}

.inf-title-custom {
  font-size: 3rem;
  color: #ecf0f1;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.inf-desc-custom {
  font-size: 1.2rem;
  color: #ecf0f1;
  font-style: italic;
}

.inf-row-custom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.inf-col-custom {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Estilo de las cajas */
.inf-box-custom {
  background: #3498db;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  border-radius: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.inf-box-custom:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.inf-icon-custom {
  transition: transform 0.3s ease-in-out;
}

.inf-box-custom:hover .inf-icon-custom {
  transform: scale(1.2);
}

.inf-heading-custom {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-top: 15px;
}

.inf-text-custom {
  font-size: 1rem;
  color: #ecf0f1;
  margin-top: 1rem;
  line-height: 1.6;
}

/* Efecto en las cajas */
.inf-box-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #16a085;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.inf-box-custom:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Ajustes de diseño responsivo */
@media (max-width: 768px) {
  .inf-row-custom {
    flex-direction: column;
  }
  .inf-col-custom {
    margin-bottom: 20px;
  }
}
.zorb-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el contenido en el eje vertical */
    align-items: center; /* Centra el contenido en el eje horizontal */
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.zorb-card:hover {
    transform: translateY(-5px);
}

.zorb-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen no se distorsione y cubra el contenedor */
    transition: transform 0.3s ease-in-out;
    display: block; /* Elimina cualquier espacio extra debajo de las imágenes */
}

.zorb-card:hover .zorb-card-img {
    transform: scale(1.1); /* Efecto de zoom */
}

.zorb-card-body {
    background-color: rgba(0, 86, 179, 0.4);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    transition: background-color 0.3s;
    text-align: center; /* Centra el texto dentro del contenedor */
}

.zorb-card:hover .zorb-card-body {
    background-color: rgba(0, 44, 95, 0.9);
}

.zorb-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.zorb-card-text {
    font-size: 1rem;
}

.vehiculos {
  background-color: #1a1a2e;
}

.vehiculo-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #1d3b5f;
}

.vehiculo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.vehiculo-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.vehiculo-body {
  padding: 1.5rem;
}

.vehiculo-body h5 {
  color: #222;
}

.vehiculo-body p,
.vehiculo-body ul {
  color: #444;
}

.vehiculo-body .btn {
  border-radius: 0.5rem;
}


#servicio-sec {
  background-color: #f8f9fa;
}

.icono-bloque {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.icono-bloque:hover {
  transform: scale(1.05);
}

.icono {
  font-size: 40px;
  color: #f77d2b;
  margin-bottom: 15px;
}

.titulo-bloque {
  font-weight: bold;
  color: #333;
}

.descripcion-bloque {
  color: #555;
}

@media (max-width: 767px) {
  .icono-bloque {
    margin-bottom: 30px;
  }
}

.homx-servicios {
  padding: 2rem 1rem;
  color: #1a1a1a;
  font-family: "Poppins", sans-serif;
}

/* ---------- TITULOS ---------- */
.homx-header {
  text-align: left;
  margin-bottom: 2rem;
}

.homx-titulo-bold {
  font-weight: 700;
  color: #2b2b2b;
}

.homx-titulo-orange {
  color: #ff6b1a;
  font-weight: 700;
}

.homx-descripcion {
  color: #555;
  max-width: 600px;
}

/* ---------- CARDS ---------- */
.homx-card {
  background-color: #1d3b5f;
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homx-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Imagen superior */
.homx-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contenido interno */
.homx-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* separa texto y botón */
  flex-grow: 1;
  padding: 1.5rem;
}

/* ---------- TITULOS DE LAS TARJETAS ---------- */
.homx-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

/* ---------- TEXTO ---------- */
.homx-card-text {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #ddd;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

/* ---------- LISTA ---------- */
.homx-lista {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.homx-lista li {
  color: #ffb14a;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

/* ---------- BOTON ---------- */
.homx-btn-whatsapp {
  align-self: flex-start;
  background-color: #004b8d;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: auto; /* 🔹 empuja el botón al fondo */
  text-decoration: none;
}

.homx-btn-whatsapp:hover {
  background-color: #003b8c;
  transform: scale(1.05);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .homx-card-body {
    padding: 1.2rem;
  }

  .homx-card-title {
    font-size: 1.4rem;
  }

  .homx-card-text {
    font-size: 0.9rem;
  }

  .homx-btn-whatsapp {
    width: 100%;
    text-align: center;
  }
}

.img-wrapper {
  aspect-ratio: 9 / 16;
  max-height: 580px;
  max-width: 450px;
  width: 100%;
}

.object-fit-cover {
  object-fit: cover;
}

/* Ajusta márgenes entre columnas */
.gx-lg-2 {
  --bs-gutter-x: 4rem;
}

/* Centrado perfecto en pantallas pequeñas */
@media (max-width: 991.98px) {
  .img-wrapper {
    margin: 0 auto;
  }
}
#successToast {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}
#successToast.show {
  opacity: 1;
  transform: translateY(0);
}











