:root {
    --azul:        #072056;
    --azul-solido: #072056;
    --naranja:     #F74D00;
    --naranja-alt: rgba(232, 93, 4, 0.9);
    --blanco:      #ffffff;
    --texto-suave: rgba(255,255,255,0.85);
}

body {
    background-color: #f0f4f8;
    font-family: sans-serif;
    padding-top: 70px;
}

/*.header-nav-pills {
    background: #213D61 !important;
    border-bottom: 2px solid #FE4F00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1030;
    margin-bottom: 0;
}*/
.header-nav-pills {
    background: #213D61;  /* color sólido siempre */
    border-bottom: 2px solid #FE4F00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1030;
    margin-bottom: 0;
}

.tel-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    color: #fff;
    font-size: 0.875rem;
}

.header-nav-pills .dropdown-toggle.active,
.header-nav-pills .nav-link.active {
    background: #072056  !important;
    /*background: #F74D00  !important;*/
}

.header-nav-pills .dropdown-item:hover {
    background: #072056  !important;
    /*background: #F74D00  !important;*/
    color: #fff !important;
}

.btn-presupuesto {
    background: #F74D00;
    color: #fff !important;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.btn-presupuesto:hover {
    background: #F74D00;
    color: #fff !important;
}

.franja-confianza {
    background: #072056;
}

.franja-confianza .col-6 {
    border-right: 1px solid rgba(255,255,255,0.08);
}

.franja-confianza .col-6:last-child,
.franja-confianza .col-md-3:last-child {
    border-right: none;
}
/* 
.franja-confianza {
    background: #ffffff;
    border: 1.5px solid #072056;
    border-radius: 0.5rem;
    overflow: hidden;
}

.franja-confianza > .col-6,
.franja-confianza > .col-md-3 {
    border-right: 1.5px solid #072056;
}

.franja-confianza > .col-6:last-child,
.franja-confianza > .col-md-3:last-child {
    border-right: none;
}
*/

.franja-sellos {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.logo-sello {
    max-height: 55px;
    width: auto;
    max-width: 120px; 
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.logo-sello:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Imagen principal
img {
    display: block;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}*/
img {
    display: block;
    max-width: 100%;
}

/* Altura fija para todas las imágenes del carrusel */
.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    opacity: 0.6;
}

/* Contenedor relativo para carrusel + tarjetas */
.carrusel-wrapper {
    position: relative;
}

/* Tarjetas posicionadas sobre el carrusel */
.tarjetas-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 2rem 0 2rem;
    z-index: 10;
}

/* Cada tarjeta */
.tarjeta-servicio {
    background-color: #072056;
    color: #ffffff;
    width: 200px;
    flex-shrink: 0;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.tarjeta-servicio:hover {
    background-color: #F74D00;
}

/* Imagen de la tarjeta */
.tarjeta-servicio img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    opacity: 1;
}

/* Texto de la tarjeta */
.tarjeta-texto {
    padding: 0.8rem 1rem;
}

.tarjeta-texto h3 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.tarjeta-texto p {
    font-size: 0.75rem;
    margin: 0;
    color: rgba(255,255,255,0.85);
}

/* -- Columna QUIÉNES SOMOS -- */
.col-quienes {
  background-color: #ffffff;
  border-left: 5px solid var(--azul-solido);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  height: 100%;
}

.col-quienes .seccion-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--azul-solido);
  margin-bottom: 0.3rem;
}

.col-quienes h2 {
  font-size: 1.6rem;
  font-weight: 700;
  /*color: var(--azul-solido);*/
  color: #F74D00 ;
  margin-bottom: 1rem;
}

.col-quienes p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #333;
}

/* Imagen de trabajadores */
.img-trabajadores {
    width: 100%;
    height: 177px;
    object-fit: cover;
    object-position: top;
    margin-top: 1rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* -- Columna QUÉ HACEMOS -- */
.col-hacemos {
  background-color: var(--azul);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  height: 100%;
  color: var(--blanco);
}

.col-hacemos .seccion-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 0.3rem;
}

.col-hacemos h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F74D00 ;
  margin-bottom: 0.5rem;
}

.col-hacemos .intro-text {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-bottom: 1.2rem;
}

/* -- Tarjetas de servicio: mismo patrón que .tarjeta-servicio -- */
.servicio-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--blanco);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
}

.servicio-card:hover {
  background-color: var(--naranja-alt);
  color: var(--blanco);
}

.servicio-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--blanco);
}

.servicio-card p {
  font-size: 0.75rem;
  margin: 0;
  color: var(--texto-suave);
}

/* Footer links */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: #F74D00 ;
}

/* Catálogo hover */
.footer-catalog:hover {
    border-color: #F74D00  !important;
}

/* Iconos sociales hover */
.social-icon-box {
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon-box:hover {
    background-color: #F74D00  !important;
    color: white !important;
    transform: translateY(-3px);
}

/* -- Tarjetas grid servicios residuos.html -- */
.servicio-grid-card {
    border-color: rgba(255, 102, 0, 0.15) !important;
    transition: all 0.2s ease;
}

.servicio-grid-card:hover {
    border-color: #F74D00  !important;
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.15);
}

.icono-card {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 102, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F74D00 ;
    font-size: 1.5rem;
}

/* SECCIÓN AMIANTO */

.seccion-amianto {
  background-color: #f0f4f8;
}

.titulo-amianto {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F74D00 ;
  letter-spacing: 0.12em;
}

.titulo-linea {
  width: 60px;
  height: 3px;
  background-color: #F74D00 ;
  margin-top: 0.6rem;
}

.bloque-amianto {
  padding: 2.5rem 2.8rem;
  height: 100%;
  position: relative;
}

.bloque-izq {
  background-color: #ffffff;
  border-top: 4px solid var(--naranja);
}

.bloque-der {
  background-color: rgba(255, 102, 0, 0.12);
  border-top: 4px solid var(--naranja);
}

.bloque-icono {
  font-size: 1.6rem;
  color: #F74D00 ;
  margin-bottom: 1rem;
  line-height: 1;
}

.bloque-titulo {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bloque-izq .bloque-titulo {
  color: var(--azul-solido);
}

.bloque-der .bloque-titulo {
  color: #F74D00 ;
}

.bloque-texto {
  font-size: 0.88rem;
  line-height: 1.8;
  margin: 0;
}

.bloque-izq .bloque-texto {
  color: #444;
}

.bloque-der .bloque-texto {
  color: #444;
}

.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
}

.whatsapp-flotante:hover {
    background: #1ebe57;
    transform: scale(1.1);
    color: #fff;
}

/* -- PROCESO DE RETIRADA DE AMIANTO -- */
.proceso-amianto {
  background-color: #f0f4f8;
}

.paso-card {
  background: #ffffff;
  border-top: 4px solid var(--naranja);
  border-radius: 0 0 10px 10px;
  padding: 2rem 1.5rem 1.5rem;
  height: 100%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.paso-card:hover {
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.15);
}

.paso-numero {
  position: absolute;
  top: -18px;
  left: 20px;
  background: var(--azul);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 3px solid #f0f4f8;
}

.paso-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-solido);
  margin-top: 0.5rem;
  margin-bottom: 0.6rem;
}

.paso-texto {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}


/* -- TABS SITUACIONES -- */
.tab-situacion {
    padding: 0.5rem 1.1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 2rem;
    background: white;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-situacion:hover {
    border-color: var(--naranja);
    color: var(--naranja);
}
.tab-situacion.active {
    border-color: var(--naranja);
    color: var(--naranja);
    background: rgba(255, 102, 0, 0.06);
    font-weight: 600;
}
.tab-contenido {
    display: none;
}
.tab-contenido.active {
    display: block;
}

/* -- FILTROS BAR -- */
.filtros-bar {
    background-color: #f0f4f8;
    padding: 1.5rem 0 0;
    position: sticky;
    top: 70px; /* misma altura que tu navbar */
    z-index: 100;
    border-bottom: 1px solid #e5e7eb;
}

/* -- LISTA SERVICIOS -- */
.servicio-lista-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    height: 100%;
    transition: border-color 0.2s;
}
.servicio-lista-item:hover {
    border-color: var(--naranja);
}
.servicio-lista-icono {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--naranja);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.tag-servicio {
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 500;
}

/* -- PROCESO TIMELINE -- */
.proceso-timeline {
    position: relative;
    padding: 1rem 0 2rem;
}
.proceso-linea {
    position: absolute;
    top: 2.5rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, #072056, var(--naranja));
    z-index: 0;
}
.proceso-paso {
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}
.proceso-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #072056;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #072056;
}
.proceso-num.activo {
    background: var(--naranja);
    box-shadow: 0 0 0 2px var(--naranja);
}

/* -- PROCESO TIMELINE DARK -- */
.proceso-timeline-dark {
    position: relative;
    padding: 1rem 0 2rem;
}
.proceso-linea-dark {
    position: absolute;
    top: 2.5rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0.15), var(--naranja));
    z-index: 0;
}
.proceso-paso-dark {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}
.proceso-num-dark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.proceso-num-dark.activo {
    background: var(--naranja);
    border-color: var(--naranja);
    color: white;
}

/* -- FLOTA -- */
@keyframes scrollFlota {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

#flotaTrack:hover { animation-play-state: paused; }

.flota-card-item {
  width: 200px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.1);
  background: #0e2d6a;
}

.flota-img {
  width: 200px;
  height: 80px;
  object-fit: cover;
  display: block;
}

.flota-body { padding: 10px 14px 12px; }

.flota-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 3px;
}

.flota-desc {
  color: #9ca3af;
  font-size: 11px;
  margin: 0;
}

.flota-badge-item {
  display: inline-block;
  background: rgba(247,77,0,0.18);
  color: #F74D00;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 20px;
  margin-top: 3px;
  font-weight: 500;
}


/* -- COLLAGE GRID -- */
.collage-section {
    background-color: #f0f4f8;
    padding: 2rem 0;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 8px;
}

/* Tamaños de celda */
.collage-item.c-big   { grid-column: span 2; grid-row: span 2; }
.collage-item.c-tall  { grid-column: span 1; grid-row: span 2; }
.collage-item.c-wide  { grid-column: span 2; grid-row: span 1; }
.collage-item.c-normal{ grid-column: span 1; grid-row: span 1; }

/* Contenedor de cada celda */
.collage-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

/* Placeholder (mientras no hay imagen real) */
.collage-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}

.collage-item:hover .collage-placeholder {
    transform: scale(1.04);
}

/* Cuando uses imágenes reales en lugar del placeholder */
.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.collage-item:hover img {
    transform: scale(1.04);
}

/* Badge de categoría (esquina superior izquierda) */
.collage-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--azul);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.collage-item:hover .collage-cat {
    opacity: 1;
    transform: translateY(0);
}

/* Label inferior con título y subtítulo */
.collage-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 0.85rem;
    background: linear-gradient(to top, rgba(7,32,86,0.88) 0%, transparent 100%);
    z-index: 2;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.collage-item:hover .collage-label {
    opacity: 1;
    transform: translateY(0);
}

.collage-label-title {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 2px;
}

.collage-label-sub {
    color: rgba(255,255,255,0.75);
    font-size: 0.72rem;
    font-weight: 400;
}

/* -- RESPONSIVE COLLAGE -- */
@media (max-width: 991px) {
    .collage-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
    .collage-item.c-big  { grid-column: span 2; grid-row: span 2; }
    .collage-item.c-wide { grid-column: span 2; }
}

@media (max-width: 575px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    .collage-item.c-big  { grid-column: span 2; grid-row: span 1; }
    .collage-item.c-tall { grid-column: span 1; grid-row: span 2; }
    .collage-item.c-wide { grid-column: span 2; }
    .collage-label { opacity: 1; transform: none; }
    .collage-cat   { opacity: 1; transform: none; }
}

/* -- TESTIMONIOS -- 
.testimonios-section {
    background-color: #072056;
    padding: 5rem 0;
}

.sec-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #F74D00;
}

.sec-rule {
    width: 50px;
    height: 3px;
    background-color: #F74D00;
    margin-top: 0.75rem;
}

.testimonio-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #F74D00;
    border-radius: 0 0 10px 10px;
    padding: 1.75rem 1.5rem 1.5rem;
    height: 100%;
    position: relative;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.testimonio-card:hover {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.testimonio-estrellas {
    color: #F74D00;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.testimonio-comilla {
    font-size: 4rem;
    line-height: 0.6;
    color: rgba(247, 77, 0, 0.3);
    font-family: Georgia, serif;
    margin-bottom: 0.75rem;
}

.testimonio-texto {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.testimonio-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F74D00;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
} */