/* =========================================================
   Formulario "Pedí tu cotización" + pop-up de empleo
   ========================================================= */
.form-cotizacion-header {
  margin-bottom: 0.75rem;
  text-align: left;
}
.form-cotizacion-title {
  color: #474d57;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.15rem;
}
.form-cotizacion-subtitle {
  color: #6f8ba4;
  font-size: 0.95rem;
  margin: 0;
}
/* Floating labels: dejar ver el placeholder del mensaje al enfocar */
.form-floating > textarea.form-control:focus::placeholder {
  color: #8a9bb0;
}
.form-floating > textarea.form-cotizacion-mensaje {
  height: 110px !important;
}
.form-floating > .form-select {
  color: #212529;
}
.form-cotizacion-aviso {
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  background: #e6f9f5;
  color: #2c3e50;
  font-size: 0.9rem;
  text-align: left;
}
.form-cotizacion-aviso a {
  color: #00a58d;
  font-weight: 700;
}
button.btn-verde-3pl:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Pop-up */
.cotizacion-modal[hidden] {
  display: none !important;
}
.cotizacion-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cotizacion-modal__fondo {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 38, 0.6);
}
.cotizacion-modal__caja {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 0.75rem;
  padding: 28px 24px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.cotizacion-modal__titulo {
  color: #474d57;
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}
.cotizacion-modal__texto {
  color: #474d57;
  font-size: 1rem;
  margin: 0 0 1.25rem;
}
.cotizacion-modal__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cotizacion-modal__volver {
  background: transparent;
  border: 1px solid #6f8ba4;
  color: #474d57;
}
.cotizacion-modal__volver:hover {
  background: #f1f4f7;
}
html.cotizacion-modal-abierto,
html.cotizacion-modal-abierto body {
  overflow: hidden;
}

/* contacto.html: el formulario ahora es más alto (título + 2 desplegables).
   Se agranda el espacio inferior para que no tape el título de arriba
   ni el texto de "Trabajá con nosotros" de abajo. */
.contenedor-form .bottom-contenedor {
  padding-top: 570px;
}
@media (max-width: 844px) {
  .contenedor-form .bottom-contenedor {
    padding-top: 800px;
  }
}

/* Home: formulario dentro del hero — versión compacta y alto mínimo del hero
   para que el título "Movemos tu negocio" no quede tapado por el menú
   en pantallas bajas (notebooks 1280x720) ni cortado arriba en celulares. */
.form-desk2 .form-cotizacion-title,
.form-mobile2 .form-cotizacion-title {
  font-size: 1.25rem;
}
.form-desk2 .form-cotizacion-header,
.form-mobile2 .form-cotizacion-header {
  margin-bottom: 0.5rem;
}
.hero-slider .carousel-item2 {
  min-height: 800px;
}
@media (max-width: 844px) {
  .hero-slider .carousel-item2 {
    min-height: 1450px;
  }
}
/* Etiquetas largas de los desplegables: una sola línea */
.form-floating > .form-select ~ label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* =========================================================
   Alto y espaciado uniformes en todos los campos
   (vacíos, con contenido, en foco y desplegables: mismo alto)
   ========================================================= */
form[data-form-cotizacion] .form-floating > .form-control:not(textarea),
form[data-form-cotizacion] .form-floating > .form-select {
  height: calc(3.5rem + 2px);
  min-height: calc(3.5rem + 2px);
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  line-height: 1.25;
}
form[data-form-cotizacion] .form-floating > textarea.form-control {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}
/* Mismo espacio entre todos los campos, en filas de a dos o apilados */
form[data-form-cotizacion] .row.g-2 {
  --bs-gutter-y: 0;
  margin-top: 0 !important;
}
form[data-form-cotizacion] .form-floating {
  margin-bottom: 0.75rem;
}
form[data-form-cotizacion] .form-cotizacion-aviso {
  margin: -0.25rem 0 0.75rem;
}
form[data-form-cotizacion] .row.pt-2 {
  padding-top: 0.25rem !important;
}

/* Home: interlineado más ajustado del h2 "Comunicate con nosotros" */
.contactanos-izq .contactanos-title {
  line-height: 1.05;
}

/* Home: título del hero en 3 líneas (3PL / Movemos / tu negocio) con interlineado ajustado */
.hero-slider .title-hero {
  line-height: 1.1 !important;
}

/* contacto.html: sin el texto de RR. HH., dar aire entre el formulario y los íconos en mobile */
@media (max-width: 844px) {
  .contenedor-form .informacion {
    padding-top: 2.5rem;
  }
}
