@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

header {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: none;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255,255,255,0.04);
  color: #fff;
  z-index: 200;
}
.header-location {
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}

.header-box-width {
    width: 239px !important; /* Mantiene el ancho exacto que tenías */
}

.header-text-info {
    font-size: 13px;
    color: #fff;
    text-align: left;
    max-width: 180px;
}

body {
  background: linear-gradient(160deg, #e4e4e4 0%, #d8d8d8 50%, #e2e2e2 100%);
  background-attachment: fixed;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
}

#servicios.h5{
  padding-bottom: 23px;
}

#respaldo{
  font-size: 11px;
}

.offcanvas {
  background: rgba(5, 5, 5, 0.96) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border-right: 1px solid rgba(211, 47, 47, 0.25) !important;
  box-shadow: 4px 0 40px rgba(0,0,0,0.6) !important;
}

/* Estilos para mantener el ancho y fuente en el Menú Lateral */
.offcanvas-box-width {
  width: 185px !important;
}

.small-phone-text {
  font-size: 10px !important;
}

.offcanvas-about-text {
  font-size: 0.85rem;
  color: #fff;
  text-align: left;
  max-width: 180px;
}

.navbar-mobile {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  width: 100%;
  z-index: 200;
}

.mobile-location {
  letter-spacing: 1px;
  font-size: 11px;
}

.navbar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  margin: 0 10px;
}
.footer-logo img {
  max-width: 180px; /* Un poco más grande para que sea visible */
  filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.2)); /* Le da un brillo suave */
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}



.red-bar {
  background: #d32f2f;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 12px;
  letter-spacing: 6px;
  padding: 8px 8px;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
  max-width: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.titulo-seccion {
  letter-spacing: 7px;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #111; /* Color sólido asegurado */
  margin-bottom: 2.5rem !important;
}

.info-card {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  height: 100%;
  border: 1px solid rgba(211, 47, 47, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  will-change: transform, box-shadow;
}

.info-card h5 {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 20PX;
}

.info-box {
  background-color: #d32f2f;
  color: white;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: bold;
  text-align: left;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 35px;
  margin-bottom: 40px;
  justify-content: start;
}

/* Imágenes a la izquierda */
.icono-info {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Igualar altura de cajas rojas */
.same-height {
  height: 80px; /* altura fija para mantener consistencia entre cajas */
  display: flex;
  align-items: center;
  overflow: hidden;
}

#acerca {
  color:#000;
  font-weight: bold;
  letter-spacing: 7px;
}

#acerca-de-nosotros p {
  color: #000;
  font-weight: bold;
  font-size: 1.05rem;
  line-height: 1.7;
}

#eventos-titulo {
  color: #000;
  font-weight: bold;
  letter-spacing: 7px;
}

#eventos p {
  color: #000;
  font-weight: bold;
  font-size: 1.05rem;
  line-height: 1.7;
}

#ubicacion {
  color: #000;
  letter-spacing: 7px;
}

#ubicacion iframe {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.footer {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-top: none;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
  color: white;
  text-align: center;
  font-family: 'Inter', Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 2rem 1rem;
}

.footer-logo img {
  max-width: 150px;
}

/* Grúas flanqueadoras en el footer */
.footer-flanker {
  width: 100px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-flanker-right {
  transform: scaleX(-1);
}

#contactofoot{
  letter-spacing: 7px;
}

.footer-contacto {
  text-align: left;
  min-width: 220px;
  max-width: 300px;
}

.footer-contacto h2 {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phones {
  display: flex;
  flex-direction: column;
}

.info-item img {
  width: 50px;
  margin-right: 0.7rem;
}

.info-item span {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.whatsapp-button i {
  font-size: 30px;
}

#whatsapp-icon {
  width: 90px;
  height: 90px;
}

.footer-247 img {
  max-width: 150px;
}

.footer-copy {
  background: rgba(211, 47, 47, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(211, 47, 47, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  padding: 0.8rem 1rem;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .info-box {
    font-size: 12px;
    flex-direction: row;
    justify-content: flex-start;
  }

  .icono-info {
    width: 35px;
    height: 35px;
  }
}

.info-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 24px 48px rgba(211, 47, 47, 0.28), 0 8px 16px rgba(0,0,0,0.5);
  border-color: rgba(211, 47, 47, 0.6);
}
@media (max-width: 576px) {
  #ubicacion iframe {
    border-radius: 12px;
  }
}


.phone-bar {
  background: #d32f2f;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 2px 0;
  width:271px; 
  height: 20px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 7px;
}

.logo-circle {
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  display: inline-block;
  border: 3px solid #d32f2f;
}
/* Imágenes flanqueando el logo */
.logo-with-flankers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.flanker {
  display: inline-block;
  width: 100px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.flanker-right {
  transform: scaleX(-1);
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Grúa móvil al lado derecho de la dirección */
.mobile-grua {
  display: inline-block;
  width: 50px;
  height: auto;
  object-fit: contain;
  margin-left: 8px;
}

/* En pantallas pequeñas: ocultar flankers, mostrar mobile-grua */
@media (max-width: 992px) {
  .flanker {
    display: none !important;
  }
  .mobile-grua {
    display: inline-block;
  }
}

/* En rango 993-1154px: ocultar flankers (rango problemático) */
@media (min-width: 993px) and (max-width: 1154px) {
  .flanker {
    display: none !important;
  }
  .mobile-grua {
    display: none;
  }
}

/* En pantallas muy grandes (>=1155px): mostrar flankers, ocultar mobile-grua */
@media (min-width: 1155px) {
  .flanker {
    display: inline-block !important;
  }
  .mobile-grua {
    display: none;
  }
}
.services-list {
    list-style: none !important;
    padding-left: 18px;
}

.navbar-jrgruass {
  background: #000;
  width: 100%;
  min-height: 120px;
}

#carouselJR {
  height: 600px;
  overflow: hidden;
}

#carouselJR .carousel-item {
  height: 600px;
}

#carouselJR .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.titulo-conocenos {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 7px;
  color: #000; /* puedes cambiar a rojo si deseas: #c80000 */

}

/* Oculta el navbar horizontal en móvil, muestra en desktop */
@media (max-width: 1028px) {
  .navbar-jrgruass {
    display: none !important;
  }
  .navbar-block {
    min-width: unset;
    margin-bottom: 20px;
  }
  .container.d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  .solo-escritorio {
    display: none !important;
  }
  .solo-movil {
    display: flex !important;
  }
  
  /* Ajustar carrusel en móvil */
  #carouselJR {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  
  #carouselJR .carousel-item {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}
@media (min-width: 1029px) {
  .solo-escritorio {
    display: flex !important;
  }
  .solo-movil {
    display: none !important;
  }
}

/* Ajusta el menú lateral (offcanvas) */
.offcanvas-body {
  padding-top: 0;
}
.red-bar, .phone-bar {
  margin-left: auto;
  margin-right: auto;
}

/* Hamburguesa roja en móvil */
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='8' width='40' height='4' rx='2' fill='red'/%3E%3Crect y='18' width='40' height='4' rx='2' fill='red'/%3E%3Crect y='28' width='40' height='4' rx='2' fill='red'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}
.navbar-toggler {
  width: 48px;
  height: 48px;
}

/* Las imágenes dentro de los cuadros rojos se adaptan */
.red-bar img, .red-bar i {
  max-height: 36px;
  width: auto;
  height: auto;
}

/* Tarjetas responsivas */
.card {
  min-width: 0;
  max-width: 100%;
}

/* Texto de las tarjetas responsivo */
.card-body {
  padding: 1.2rem 0.5rem;
}

/* Títulos de tarjetas adaptables */
.card-title {
  font-size: 1.05rem;
  letter-spacing: 2px;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 576px) {
  .red-bar {
    font-size: 0.92rem;
    padding: 8px 4px;
    max-width: 98vw;
  }
  .card-title {
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
  .card-body {
    padding: 1rem 0.2rem;
  }
  .red-bar img, .red-bar i {
    max-height: 28px;
  }
}

.call-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  background-color: #ffffff;
}

.call-button:hover {
  background-color: #b71c1c;
}

#call-icon {
  width: 60px;
  height: 60px;
}

/* ============================================
   GLASSMORPHISM — Sección About / Pereira / Eventos
   ============================================ */

.about-content {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 18px;
  border: 1px solid rgba(211, 47, 47, 0.15);
  padding: 2rem 1.8rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.8);
  color: #111;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.8;
  transition: box-shadow 0.3s ease;
}

.about-content:hover {
  box-shadow: 0 16px 48px rgba(211, 47, 47, 0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

.about-content p {
  color: #111;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   FAQ — Glassmorphism cards
   ============================================ */

#preguntas-frecuentes .col-md-6 {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(211, 47, 47, 0.12);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#preguntas-frecuentes .col-md-6:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(211,47,47,0.12);
}

/* ============================================
   SCROLL FADE-IN ANIMATION
   ============================================ */

.fade-in {
  opacity: 1; /* Visible por defecto para evitar que desaparezca el contenido */
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .fade-in:not(.visible) {
    opacity: 0;
    transform: translateY(32px);
  }
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

/* Delays escalonados */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   FONDO SUTIL CON TEXTURA PARA SECCIONES
   ============================================ */

#gruas-pereira,
#acerca-de-nosotros,
#eventos {
  background: linear-gradient(160deg, rgba(240,240,240,1) 0%, rgba(220,220,220,0.6) 100%);
  border-radius: 24px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ============================================
   MAPA — Glass frame
   ============================================ */

#ubicacion .ratio {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18), 0 0 0 3px rgba(211,47,47,0.2);
  transition: box-shadow 0.3s ease;
}

#ubicacion .ratio:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 4px rgba(211,47,47,0.4);
}

/* Botones flotantes — efecto glow al hover */
.whatsapp-button:hover {
  filter: drop-shadow(0 0 12px rgba(37,211,102,0.7));
  transform: scale(1.1);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.call-button:hover {
  background-color: #b71c1c;
  filter: drop-shadow(0 0 10px rgba(211,47,47,0.6));
  transform: scale(1.1);
  transition: transform 0.25s ease, filter 0.25s ease, background-color 0.25s ease;
}

/* ============================================
   CARRUSEL — Glass overlay inferior
   ============================================ */

#carouselJR {
  position: relative;
}

.carousel-glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.2rem 2rem;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.carousel-tagline {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  flex: 1;
}

.carousel-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(211, 47, 47, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 0.55rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.carousel-cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.7);
  background: rgba(183, 28, 28, 0.98);
  color: #fff;
}

@media (max-width: 576px) {
  .carousel-glass-overlay {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }
  .carousel-tagline {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
  }
  .carousel-cta-btn {
    font-size: 0.82rem;
    padding: 0.45rem 1.2rem;
  }
}