/* ░░░ PÁGINA INICIO ░░░ */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.navbar {
  height: 108px;
  max-width: 100vw;
  padding: 1rem 0;
  margin: 0;
  left: 0;
  right: 0;
  position: relative;
}

/* Fondo naranja al menú cuando se despliega en vista mobile */
.navbar-collapse {
  background-color: #ED6F1D;
}

.navbar-collapse .btn {
  color: #ED6F1D;
  background-color: white;
  border: none;
}

.container-navigator {
  width: 100%;
  margin: 0;
  padding: 0 2rem;
  max-width: 100vw;
}

.logo-navbar {
  max-height: 60px;
  /* Tamaño para desktop */
  height: auto;
  width: auto;
  object-fit: contain;
}

.active {
  text-decoration: underline;
  text-decoration-color: white;
}

.bg-orange {
  background-color: #ED6F1D !important;
}

.text-orange {
  color: #ED6F1D !important;
}

.btn-orange {
  background-color: #ED6F1D;
  color: white;
  border: none;
}

.btn-orange:hover {
  background-color: #d65f1a;
  color: white;
}

.hero-banner {
  padding-right: 1%;
}

/* Vista mobile: fondo degradado plomo */
@media (max-width: 767.98px) {
  .hero-banner {
    background: linear-gradient(to right, #5a5a5a, #e5e5e5);
    /* plomo degradado */
    min-height: 60vh;
    /* puedes ajustar a 50vh, 70vh según lo que necesites */
  }
}

/* Vista desktop (desde 768px en adelante): fondo imagen + altura completa */
@media (min-width: 768px) {
  .hero-banner {
  background: url(../img/bus-header-desktop.png) no-repeat center center;
  background-size: cover;
  height: 70vh;
  width: 100%;
  padding-right: 1%;
  }
}

.titulo-banner {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  font-size: 3.9rem;
}

.subtitulo-banner {
  font-family: 'Inter', sans-serif;
  font-weight: medium;
  font-size: 1.53rem;
  line-height: 1.5;
}

.banner-text {
  margin-left: 2%;
  margin-top: 9.6%;
}

.about-section {
  background-color: #F37021;
  /* fondo naranja */
  color: white;
  padding: 4rem 1rem;
}

.icon-item {
  text-align: center;
  margin: 1rem;
  color: #F37021;
}

.icon-item i {
  display: block;
}

.icon-box {
  background: white;
  border-radius: 5rem;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  padding: 2rem 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.about-title {
  font-weight: 700;
  font-size: 1.75rem;
  margin-top: 3rem;
  font-weight: 600;
}

.about-text {
  font-weight: 500;
  margin-top: 1rem;
  max-width: 900px;
}

.service-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  /* Inter Semi Bold */
  font-size: 2.2rem;
  color: #ED6F1D;
  text-align: left;
  margin-top: 4rem;
  /* Separación desde la sección anterior */
  margin-bottom: 4rem;
  /* Separación hacia los párrafos */
}

.service-option {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fff;
}

.service-option:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-option.selected {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #ED6F1D;
}

.service-option.selected .icon svg,
.service-option.selected .service-name {
  color: #ED6F1D !important;
}

.icon svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.service-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.service-desc {
  font-size: 0.95rem;
  color: #444;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: white;
  /* Fondo blanco */
  border-radius: 50%;
  background-size: 1.5rem;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ED6F1D' viewBox='0 0 16 16'%3E%3Cpath d='M11 1.5a.5.5 0 0 1 0 .707L5.707 8l5.293 5.793a.5.5 0 0 1-.707.707l-6-6.5a.5.5 0 0 1 0-.707l6-6.5a.5.5 0 0 1 .707 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ED6F1D' viewBox='0 0 16 16'%3E%3Cpath d='M5 1.5a.5.5 0 0 1 .707 0l6 6.5a.5.5 0 0 1 0 .707l-6 6.5a.5.5 0 0 1-.707-.707L10.293 8 5 2.207a.5.5 0 0 1 0-.707z'/%3E%3C/svg%3E");
}

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

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
  overflow: hidden;
  width: 100%;
}

.slider-btn {
  background: #ED6F1D;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn svg {
  fill: white;
  width: 24px;
  height: 24px;
}

.slider-btn.hidden {
  visibility: hidden;
}

/* Botón Cotizar - Sección Nuestros Servicios */
.btn-cotizar-servicios {
  background-color: #ED6F1D;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.25rem;
  /* Tamaño de letra más grande */
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  /* Ajuste proporcional al texto */
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cotizar-servicios:hover {
  background-color: #d65f14;
  color: #ffffff;
}

.icon {
  width: 2.5rem;
}



/* Responsive */
@media (max-width: 992px) {
  .slider-item {
    flex: 0 0 100%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    display: none !important;
  }

  .slider-img {
    height: 300px;
  }

  .flota-title {
    font-size: 2rem;
    text-align: left;
  }
}


@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  16.666% {
    transform: translateX(-16.666%);
  }

  /* 1 card */
  33.333% {
    transform: translateX(-33.333%);
  }

  50% {
    transform: translateX(-50%);
  }

  66.666% {
    transform: translateX(-66.666%);
  }

  83.333% {
    transform: translateX(-83.333%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Responsive: solo una por fila en móvil */
@media (max-width: 768px) {
  .flota-item {
    flex: 0 0 100%;
  }

  .slider-track {
    animation: scrollLeftMobile 60s linear infinite;
  }

  @keyframes scrollLeftMobile {
    0% {
      transform: translateX(0);
    }

    16.666% {
      transform: translateX(-100%);
    }

    33.333% {
      transform: translateX(-200%);
    }

    50% {
      transform: translateX(-300%);
    }

    66.666% {
      transform: translateX(-400%);
    }

    83.333% {
      transform: translateX(-500%);
    }

    100% {
      transform: translateX(-600%);
    }
  }
}

/* SECCIÓN SERVICIOS */

.service-img {
  height: 650px;
  object-fit: cover;
}

.flota-img {
  height: 300px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.service-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 1rem;
}


@media (max-width: 576px) {
  .logo-navbar {
    max-height: 40px;
  }

  .icon-item i {
    font-size: 1.5rem !important;
  }

  .container-navigator {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 768px) {
  .logo-navbar {
    font-size: 2rem !important;
    max-height: 80px;
  }

  .service-icon {
    width: 36px;
    height: 36px;
  }

  .icon-item i {
    font-size: 2rem !important;
  }
}

/* carousel services */

@media (min-width: 768px) and (max-width: 991.98px) {
  .nuestros-servicios .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .service-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .service-option > div {
    width: 100%;
  }

  .service-name,
  .service-desc {
    width: 100%;
    text-align: center;
  }

  .service-option img {
    margin: 0 auto 1rem auto;
  }

  .btn-cotizar-servicios {
    display: block;
    margin: 2rem auto 0 auto;
  }
}


@media (min-width: 991.98px) {

  .logo-navbar {
    font-size: 2rem !important;
    max-height: 6.5rem;
  }

  .navbar-collapse {
    background-color: #ED6F1D;
  }

}

@media (max-width: 991.98px) {
  .logo-navbar {
    font-size: 3rem !important;
    max-height: 87px;
  }
}

@media (max-width: 576px) {}

/* Flota Section */

.flota-section {
  background-color: #ffffff;
}

.flota-title {
  font-size: 3rem;
  font-weight: 600;
  color: #ED6F1D;
  text-align: left;
}

.flota-img {
  height: 400px;
  object-fit: cover;
}

/* Botones personalizados del carrusel */
.carousel-control-prev-icon-flota,
.carousel-control-next-icon-flota {
  background-color: #ED6F1D;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  background-size: 1.2rem;
  background-position: center;
  background-repeat: no-repeat;

  /* Posicionamiento agregado */
  position: absolute;
  top: 20%;
  /* ⬅️ Sube las flechas por encima del centro */
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-control-prev-icon-flota {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2.5' viewBox='0 0 16 16'%3E%3Cpath d='M11 1.5a.5.5 0 0 1 0 .707L5.707 8l5.293 5.793a.5.5 0 0 1-.707.707l-6-6.5a.5.5 0 0 1 0-.707l6-6.5a.5.5 0 0 1 .707 0z'/%3E%3C/svg%3E");
  left: 0.5rem;
}

.carousel-control-next-icon-flota {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff' stroke-width='2.5' viewBox='0 0 16 16'%3E%3Cpath d='M5 1.5a.5.5 0 0 1 .707 0l6 6.5a.5.5 0 0 1 0 .707l-6 6.5a.5.5 0 0 1-.707-.707L10.293 8 5 2.207a.5.5 0 0 1 0-.707z'/%3E%3C/svg%3E");
  right: 0.5rem;
}

/* PRUEBA FLOTA */

@media (max-width: 990px) {
  .flota-section .col-md-4 {
    display: none;
  }
  .flota-section .col-md-4:nth-child(1) {
    display: block;
    width: 100%;
  }
}

@media (min-width: 991px) and (max-width: 1399px) {
  .flota-section .col-md-4 {
    display: none;
  }
  .flota-section .col-md-4:nth-child(-n+2) {
    display: block;
    width: 50%;
  }
}

@media (min-width: 1400px) {
  .flota-section .col-md-4 {
    display: block;
    width: 33.3333%;
  }
}

/* SECCIÓN LISTO PARA RESERVAR */
.ready-reserve {
  background-color: #ED6F1D;
}

.ready-reserve h2 {
  font-size: 1.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.ready-reserve .btn {
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
}

.ready-reserve .btn-outline-light {
  border: none;
  box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.15);
}

.footer-msg {
  background-color: #fff;
}

.footer-msg p {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Estilo personalizado para el botón Cotizar */
.btn-cotizar {
  background-color: #ffffff;
  color: #ED6F1D !important;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cotizar:hover {
  background-color: #fce6d4;
  color: #ED6F1D;
}


/* ===== Footer Styles ===== */
.footer-section {
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
}

.footer-logo {
  max-width: 120px;
  height: auto;
}

.ready-subtext {
  margin-top: 1rem;
  /* Mayor separación desde el contenido superior */
  font-size: 1.2rem;
  /* Aumenta el tamaño de letra */
  color: #000000;
  /* Asegura buena legibilidad (opcional) */
}

.social-icons a {
  color: #555;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ED6F1D;
}

.libro-reclamaciones i {
  font-size: 2rem;
}

.libro-reclamaciones p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
}


/* ░░░ PÁGINA COTIZAR ░░░ */

/* Logo responsive */
.logo-horizontal {
  max-height: 60px;
  height: auto;
  width: auto;
}

/* Color naranja personalizado */
.text-orange {
  color: #ED6F1D !important;
}

/* Imagen responsive con borde redondeado */
.img-cotizacion {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-column-cotizar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Botón naranja */
.btn-orange {
  background-color: #ED6F1D;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.btn-orange:hover {
  background-color: #d55f1a;
}

/* Inputs estilizados */
.form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: #333;
}

.solicita-titulo {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  /* Inter Semi Bold */
  font-size: 2.2rem;
  /* más grande que h2 normal */
  margin-bottom: 1rem;
  color: #000;
  /* Puedes ajustar el color si lo necesitas */
}

/* Resalta el enlace de WhatsApp en naranja */
.seccion-contacto-directo a {
  color: #ED6F1D;
  font-weight: bold;
  text-decoration: underline;
}

/* Color general del contenedor */
.flatpickr-calendar {
  border: 1px solid #ED6F1D;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Cabecera del mes */
.flatpickr-months {
  background-color: white;
  color: #ED6F1D;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #ED6F1D;
}

/* Botones de navegación (flechas) */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  stroke: #ED6F1D;
  width: 1rem;
  height: 1rem;
}

/* Días del mes */
.flatpickr-day {
  font-size: 0.9rem;
  color: #333;
  border-radius: 6px;
}

/* Día seleccionado */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #ED6F1D;
  color: #fff;
  border: none;
}

/* Hover sobre días */
.flatpickr-day:hover {
  background-color: rgba(237, 111, 29, 0.2);
  color: #ED6F1D;
}

/* Días fuera del mes */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #ccc;
}

.hora-dropdown {
  position: absolute;
  background: white;
  top: 100%;
  left: 0;
  z-index: 999;
  width: max-content;
}


/* Estilo sombreado personalizado para selectores de hora */
select.combo-hora:focus,
select.combo-minuto:focus,
select.combo-meridiano:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(237, 111, 29, 0.5);
  border-color: #ED6F1D;
}


.hora-dropdown .form-select {
  border-radius: 0.5rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  width: auto;
  min-width: 80px;
}

/* ░░░ PÁGINA CONTACTO ░░░ */

.ayuda-section {
  background-color: #ffffff;
}

.contacto-boxes {
  background-color: #d9d9d9;
  border-radius: 0.5rem;
}

.ayuda-icon {
  font-size: 1.8rem;
  color: #ED6F1D;
}

.contact-form-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.form-title {
  font-weight: bold;
  font-size: 1.8rem;
  text-align: left;
}

.btn-orange {
  background-color: #ED6F1D;
  color: white;
  border: none;
}

.btn-orange:hover {
  background-color: #d45f15;
}

.contact-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 2rem;
  /* Mayor redondeo */
}