:root {
    --brand-green: #118A38;
    --overlay-dark: rgba(0, 0, 0, .75);
}

/* ---------- QUIÉNES SOMOS responsive ---------- */
.quienes-somos {
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
}

/* Imagen BN con altura fluida */
.qs-img {
  width: 100%; /* móvil ocupa todo el ancho */
  height: auto ; 
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  margin: 0 auto;
}

/* Logo arriba centrado */
.logo-container .logo-img {
  max-height: clamp(60px, 12vw, 100px);
}

/* Franja verde */
.texto-sobre-imagen {
  background: rgba(17, 138, 56, 0.90);
  color: #fff;
  border-radius: 6px;
  width: min(92vw, 980px);
  padding: 1rem 1.25rem;
}

.texto-sobre-imagen h3 {
  font-size: clamp(1rem, 2.8vw, 1.4rem);
  margin-bottom: .6rem;
}

.texto-sobre-imagen p {
  font-size: clamp(.95rem, 2.5vw, 1.1rem);
}

/* Cobertura */
.blue-filter {
  width: 100%;
  height: clamp(260px, 40vw, 480px);
  object-fit: cover;
  filter: grayscale(80%) sepia(100%) hue-rotate(180deg) saturate(200%);
}

.cobertura-overlay {
  background: rgba(50, 50, 50, 0.82); /* cuadro gris semitransparente */
  color: #fff;
  max-width: 900px;
  width: 90%;
  border-radius: 6px;
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  line-height: 1.4;
}


  /* Imagen más contenida en desktop */
  /* escritorio */
@media (min-width: 992px){
      .cobertura-overlay {
    padding: 2rem 2.5rem;
    font-size: 1.1rem;
  }
  .qs-img {
    width: 100%;
  
      height: clamp(260px, 55vw, 420px);                /* controlado */
    object-fit: cover;
    margin: 0 auto;
  }


  /* Franja verde coincide con la imagen */
  .texto-sobre-imagen {
    top: 30%;
    transform: translate(-50%, -50%);
  width: min(92vw, 900px);
    padding: 1rem 2rem;
    border-radius: 4px;
  }

  .texto-sobre-imagen h3 {
    font-size: 1.2rem;
  }
}

/* Por si algún overlay tapa el navbar */
.navbar.sticky-top { z-index: 1050; }

/* ---------- HERO compuesto (persona + moto) ---------- */
.banner-header {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    min-height: clamp(340px, 48vw, 560px);
}

.banner-images {
    position: relative;
    z-index: 1;
}

/* En desktop: lado a lado. En móvil: apiladas */
.banner-images .banner-img {
    object-fit: contain;
    max-height: clamp(180px, 28vw, 360px);
}

@media (min-width: 992px) {
    .banner-images {
        display: flex;
        gap: clamp(8px, 2vw, 24px);
        justify-content: center;
        align-items: flex-end;
        padding-top: clamp(24px, 4vw, 48px);
    }
}

@media (max-width: 991.98px) {
    .banner-images {
        display: grid;
        grid-template-columns: 1fr;
        place-items: center;
        row-gap: 12px;
        padding-top: 18px;
    }
}

.banner-text {
    z-index: 2;
    text-align: center;
    width: min(92vw, 900px);
}

.banner-text h1 {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    margin-bottom: .4rem;
}

.banner-text p {
    font-size: clamp(.9rem, 2.4vw, 1.1rem);
    margin-bottom: .5rem;
}

/* ---------- COBERTURA con filtro azul ---------- */
.blue-filter {
    width: 100%;
    height: clamp(260px, 38vw, 560px);
    object-fit: cover;
    filter: grayscale(100%) sepia(100%) hue-rotate(180deg) saturate(200%);
    display: block;
}

.cobertura .top-bands h2,
.cobertura .top-bands p {
    margin: 0;
    color: #fff;
    width: 100%;
}

.cobertura .top-bands h2 {
    background: rgba(50, 50, 50, .82);
    font-weight: 800;
    font-size: clamp(1rem, 3.8vw, 2rem);
    letter-spacing: .5px;
}

.cobertura .top-bands p {
    background: rgba(50, 50, 50, .82);
    font-weight: 600;
    font-size: clamp(.9rem, 3.2vw, 1.25rem);
}

.cobertura .desc p {
    font-size: clamp(.95rem, 2.2vw, 1.1rem);
}

/* ---------- Extras ---------- */
.beneficio-icon {
    font-size: 2.5rem;
    color: #1e90ff;
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 1rem;
}

textarea.form-control { resize: none; }

/* ---------- Tarjetas servicios ---------- */
.card .card-title {
    color: var(--brand-green);
    font-weight: 700;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 2rem 2rem;   /* tamaño flechas */
  width: 2rem;
  height: 2rem;
  background-color: black;
}

/* FORM  */

/* Formulario de cotización (landing) */
.cotizacion-form .form-label {
  color: var(--brand-green);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.cotizacion-form .form-control {
  font-size: 0.95rem;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none !important;
}

.cotizacion-form .form-control:focus {
  border-color: var(--brand-green);
  box-shadow: 0 1px 0 0 var(--brand-green);
}

.cotizacion-form button {
  background-color: var(--brand-green);
  border: none;
  transition: background 0.2s;
}

.cotizacion-form button:hover {
  background-color: #0d6d2d;
}
