body {
  background-color: #f5f5f5;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
/* Navbar Quimura – Premium 2025 */
.navbar-custom {
  background: linear-gradient(
    135deg,
    #333333 -100%,
    #1a1a1a 50%,
    #000000 0%
  ); /* Negro elegante con profundidad */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
  transition: all 0.4s ease;
  border-bottom: 4px solid #f9d132; /* Línea naranja potente abajo */
  font-family: "Roboto Condensed", sans-serif;
}

/* Logo Quimura en navbar – fondo blanco eliminado */
.navbar-custom .navbar-brand img {
  height: 65px; /* Ajusta el tamaño que quieras */
  background-color: transparent; /* Fuerza transparente */
  border-radius: 8px; /* Opcional: esquinas suaves */
  padding: 4px; /* Espacio sutil alrededor */
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 8px rgb(0, 0, 0)); /* Sombra para profundidad */
}

/* Hover – crece y glow naranja */
.navbar-custom .navbar-brand:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(247, 184, 24));
}

/* Links del menú – elegantes y con onda */
.navbar-custom .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.8rem 1.8rem !important;
  margin: 0 0.8rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto onda al hover */
.navbar-custom .nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(247, 184, 24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.navbar-custom .nav-link:hover::before {
  width: 300px;
  height: 300px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  background-color: #f7b818;
  color: #000000 !important;
  font-weight: 700;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

/* Underline dorado animado */
.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 10px;
  left: 50%;
  background: #000;
  transition: all 0.4s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
  left: 20%;
}

/* Toggler móvil premium */
.navbar-custom .navbar-toggler {
  border: 2px solid #f7b818;
  border-radius: 10px;
  padding: 10px;
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6b00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Al scroll – compacto y más intenso */
.navbar-custom.scrolled {
  padding: 0.7rem 0;
  background: #000000 !important;
  border-bottom-color: #ff8c00;
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.navbar-custom.scrolled .navbar-brand {
  font-size: 2.1rem;
}
#sidebar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: hidden; /* o auto para scroll interno */
  background-color: #f9f9f9; /*  */
  min-height: 100vh;
  width: 250px;
  z-index: 1000; /* Asegura que el sidebar esté por encima */
}
/* 2. Ajustar el main para que no quede debajo del sidebar */
#main-wrapper {
  margin-left: 250px; /* el mismo ancho que el sidebar */
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* 3. Header fijo (sticky) */
#topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff; /* o el color que uses */
}

/* 4. Área de contenido con scroll */
#page-content-wrapper {
  flex: 1; /* ocupa todo lo que falta bajo el header */
  overflow-y: auto;
  padding: 1rem; /* tu espaciado usual */
}
.sidebar-heading {
  background-color: #f9f9f9; /* azul marino claro */
  font-weight: bold;
}
.list-group-item.active {
  background-color: #003366; /* azul institucional */
  color: #fff;
}
.list-group-item.active i {
  color: #fff;
}

.list-group-item {
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  border: none;
}

.list-group-item:hover {
  background: #003366; /*  */
  color: floralwhite;
}

.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.card:hover {
  transform: none !important;
  transition: transform 0.2s ease-in-out;
  cursor: default !important;
}

.bg-obra {
  background-color: #003366; /* azul marino claro */
}

.bg-reporte {
  background-color: #5e5e5e; /* gris oscuro */
}

.bg-evidencia {
  background-color: #d9a300; /* amarillo sólido */
}

/*logo*/
.logo-quimura {
  width: 230px;
}
/*tabla de materiales almacen */
.table-scroll {
  max-height: 400px; /* ajusta la altura máxima */
  overflow-y: auto;
}
/* tabla de conceptos materiales */
.scrollable-table {
  max-height: 300px; /* Altura máxima antes de activar el scroll, ajustable */
  overflow-y: auto; /* Habilita el scroll vertical */
  display: block; /* Asegura que el contenedor sea un bloque */
}

/* Opcional: Estilizar la tabla dentro del scroll */
.scrollable-table table {
  width: 100%; /* Asegura que la tabla ocupe todo el contenedor */
  margin-bottom: 0; /* Elimina el margen inferior de la tabla */
}

/* Opcional: Mejorar la apariencia del scroll */
.scrollable-table::-webkit-scrollbar {
  width: 8px;
}
.scrollable-table::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scrollable-table::-webkit-scrollbar-thumb {
  background: #888;
}
.scrollable-table::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Estilos específicos para la vista de obras */

/* Ajuste del contenedor principal para alinear con el sidebar */
#obras-content {
  margin-left: 250px; /* Alinea con el ancho del sidebar */
  padding: 1rem;
  background-color: #f9f9f9;
}

/* Estilo del encabezado de la página */
#obras-header {
  background-color: #003366;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Estilo del formulario de creación de obra */
#obra-form .form-label {
  color: #003366;
  font-weight: bold;
}

#obra-form .form-control {
  border-color: #003366;
  border-radius: 4px;
}

#obra-form .btn-primary {
  background-color: #003366;
  border-color: #003366;
}

#obra-form .btn-primary:hover {
  background-color: #004d99;
  border-color: #004d99;
}

/* Estilo de la tabla de obras */
#obras-table {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#obras-table th {
  background-color: #003366;
  color: #fff;
  border: none;
}

#obras-table td {
  border-bottom: 1px solid #dee2e6;
}

#obras-table .btn-primary {
  background-color: #003366;
  border-color: #003366;
}

#obras-table .btn-primary:hover {
  background-color: #004d99;
  border-color: #004d99;
}

#obras-table .btn-secondary {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

#obras-table .btn-secondary:hover {
  background-color: #787878;
  border-color: #787878;
}

/* Mensajes de éxito o error */
#obra-message {
  margin-top: 10px;
}

#obra-message.text-success {
  color: #28a745;
}

#obra-message.text-danger {
  color: #dc3545;
}
/* Estilo para mostrar texto largo completo en Select2 */
.select2-container--default .select2-results__option {
  white-space: normal !important;
  word-break: break-word !important;
  max-width: 500px; /* ajustable */
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  white-space: normal !important;
  word-break: break-word !important;
}
/* Estilos para reporte_cotizacion.php */
.form-container {
  max-width: 800px;
  margin: 20px auto; /* Ajustado para mejor integración con el dashboard */
}

.table-container {
  margin-top: 20px;
}

.table-container .table th:nth-child(1),
.table-container .table td:nth-child(1) {
  width: 10%;
}

.table-container .table th:nth-child(2),
.table-container .table td:nth-child(2) {
  width: 40%;
}

.table-container .table th:nth-child(3),
.table-container .table td:nth-child(3) {
  width: 10%;
}

.table-container .table th:nth-child(4),
.table-container .table td:nth-child(4) {
  width: 10%;
}

.table-container .table th:nth-child(5),
.table-container .table td:nth-child(5) {
  width: 15%;
}

.table-container .table th:nth-child(6),
.table-container .table td:nth-child(6) {
  width: 15%;
}
.list-group-item.active {
  background-color: #003366 !important;
  color: #fff !important;
}

.list-group-item.active i {
  color: #fff !important;
}

.list-group-item:hover {
  background: #003366 !important;
  color: floralwhite !important;
}
/*--------------- index*--------------------------------------------------------------------------------*/
/*INICIO EL FONDO DEL INICIO ELEMENTOS DE ESTILO*/
.hero-bg {
  background-image: url("../img/fondo3.png"); /* AJUSTA si es necesario */
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 100vh; /* ← CLAVE */
  overflow: hidden;
}

/* Oscurecer un poco para que el texto blanco destaque */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  z-index: 1;
}

.hero-text,
.login-col {
  position: relative;
  z-index: 2;
}

/* CONTENEDOR DEL TEXTO */
.hero-heading {
  max-width: 800px;
  margin-top: 70px;
  transform: translateX(70px);
}
/*POSICIONAMIENTO DEL LOCO CON EL CORREO*/
.logo-card {
  background-color: rgba(110, 110, 110, 0.1); /* Transparencia blanca */
  /*backdrop-filter: blur(5px); /* Efecto vidrio opcional */
  border-radius: 12px;
  padding: 0.5rem;
  display: inline-block; /* Se ajusta al tamaño del logo */
}

/* QUIMURA */
.hero-title {
  color: #ffffff;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* CONSTRUCCIÓN E INGENIERÍA */
.hero-subtitle {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
}
/* Correo */
.email-badge {
  color: #ffffff;
  opacity: 0.9;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
}
@media (min-width: 992px) {
  .login-col {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
  }
}
@media (max-width: 991px) {
  .login-col {
    position: static;
    transform: none;
    margin-top: 30px;
  }
}
/* Desktop: correo a la izquierda */
@media (min-width: 992px) {
  .email-badge {
    margin-left: 60px;
    font-size: 0.9rem;
  }
}

/* Mobile: correo debajo del login */
@media (max-width: 991px) {
  .email-badge {
    display: block;
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.75rem;
    padding: 4px 20px;
  }

  .email-badge::before {
    transform: skewX(-18deg);
  }
}
@media (max-width: 480px) {
  .email-badge {
    font-size: 0.7rem;
  }
}

.email-badge {
  position: relative;
  display: inline-block;
  padding: 5px 30px; /* Espacio a los lados para que luzca la inclinación */
  z-index: 1;
  font-weight: 500;
  transition: all 0.3s ease;
  transform: translateX(150px);
}

/* Este es el fondo naranja inclinado */
.email-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(
    247,
    184,
    24,
    0.85
  ); /* Naranja fuerte con ligera transparencia */
  transform: skewX(-25deg); /* Esto crea el efecto de paralelogramo */
  z-index: -1; /* Lo pone detrás del texto */
}

/* Opcional: un pequeño efecto al pasar el mouse */
.email-badge:hover::before {
  background-color: rgb(255, 184, 4);
  transform: skewX(-25deg) scale(1.05);
}
@media (max-width: 480px) {
  .hero-heading,
  .email-badge {
    transform: translateX(15px);
    font-size: 0.85rem;
  }
}

.tarjetas {
  height: 70px;
}
.card-img-top {
  /* Elimina height: 200px */
  width: 100%;
  aspect-ratio: 4/3; /* Esto mantiene la proporción 4:3 para todas las imágenes */
  object-fit: cover; /* Para que las imágenes se ajusten sin deformarse */
}
.card-secc {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Usamos el selector combinado para asegurar que mande nuestro estilo */
.card.q-value-card {
  border: none; /* Quitamos el borde gris fino de Bootstrap */
  border-radius: 0; /* Forzamos esquinas rectangulares */
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Sombra muy sutil inicial */
}

/* Línea naranja decorativa en la parte superior */
.card.q-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ff6600;
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

/* Efectos al pasar el mouse (Hover) */
.card.q-value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.card.q-value-card:hover::before {
  transform: scaleX(1);
}

/* Estilos internos para los títulos y texto */
.q-value-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.q-value-icon-circle {
  width: 45px;
  height: 45px;
  background: rgba(255, 102, 0, 0.1); /* Fondo naranja muy suave */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0; /* Evita que el círculo se aplaste */
}

.q-value-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
/*SECCION DE QUIENES SOMOS-------------------------------.-.-.-.................................*/
/* VARIABLES DE COLOR QUIMURA */
/* CARRUSEL PERSONALIZADO - SIN ZOOM */
#carruselQuimura {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.1);
  width: 100%;
  max-width: 710px; 
  height: 400px;
}

.carousel-inner-custom {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.3s ease-in-out;
  z-index: 1;
}

.carousel-item-custom.active {
  opacity: 1;
  z-index: 2;
}

.imagen-quimura-estilo {
  width: 100%;
  height: 100%;
  object-fit: fill; /* MUESTRA IMAGEN COMPLETA */
  border-radius: 10px;
  display: block;
}

/* FLECHAS PROFESIONALES */
.carousel-control-prev-custom,
.carousel-control-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(247, 184, 24, 0.2);
  border: 1px solid white;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev-custom {
  left: 15px;
}

.carousel-control-next-custom {
  right: 15px;
}

.carousel-control-prev-custom:hover,
.carousel-control-next-custom:hover {
  background: #e9d738;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-custom:active,
.carousel-control-next-custom:active {
  transform: translateY(-50%) scale(0.85);
}

/* Para móviles - flechas más pequeñas */
@media (max-width: 768px) {
  .carousel-control-prev-custom,
  .carousel-control-next-custom {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .carousel-control-prev-custom {
    left: 10px;
  }
  
  .carousel-control-next-custom {
    right: 10px;
  }
}

/* INDICADORES */
.carousel-indicators-custom {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators-custom button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.carousel-indicators-custom button.active {
  background: #f7b818;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #carruselQuimura {
    height: 300px;
  }
}
:root {
  --quimura-naranja-fuerte: #e67e22; /* Naranja principal */
  --quimura-naranja-medio: #f8d02e; /* Naranja secundario */
  --quimura-amarillo: #f1c40f; /* Amarillo del logo */
  --quimura-amarillo-palido: #31312f; /* Amarillo pálido de fondo */
  --quimura-gris-oscuro: #2c3e50; /* Texto oscuro */
  --quimura-gris-medio: #7f8c8d; /* Texto secundario */
  --quimura-blanco: #ffffff;
}

/* Contenedor principal */
.quienessomos-container {
  position: relative;
  overflow: hidden;
}

/* Título con estilo QUIMURA */
/* Título con Líneas Decorativas y Línea Animada ORIGINAL */
.titulo-quimura {
  position: relative;
  padding: 20px 0 21px 0;
  font-weight: 400; /* Archivo Black ya es negrita por defecto */
  color: #000000;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.titulo-texto-quimura {
  position: relative;
  display: inline-block;
  padding: 0 25px;
  font-size: 2.2rem;
  background: linear-gradient(to bottom, #000000 0%, #333333 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* LÍNEA ANIMADA INFERIOR */
.titulo-quimura::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--quimura-naranja-fuerte),
    var(--quimura-amarillo)
  );
  border-radius: 2px;
  animation: lineaAnimadaQuimura 2s ease-in-out infinite alternate;
}

/* Elementos decorativos en las esquinas (cuadrados rotados) */
.titulo-texto-quimura::before,
.titulo-texto-quimura::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--quimura-naranja-fuerte);
  transform: rotate(45deg);
  z-index: 2;
}

.titulo-texto-quimura::before {
  top: -5px;
  left: 0;
}

.titulo-texto-quimura::after {
  top: -5px;
  right: 0;
}

@keyframes lineaAnimadaQuimura {
  0% {
    width: 150px;
    background: linear-gradient(
      90deg,
      var(--quimura-naranja-fuerte),
      var(--quimura-amarillo)
    );
  }
  100% {
    width: 200px;
    background: linear-gradient(
      90deg,
      var(--quimura-amarillo),
      var(--quimura-naranja-fuerte)
    );
  }
}

/* Para móvil */
@media (max-width: 768px) {
  .titulo-quimura {
    padding: 25px 0 20px 0;
  }

  .titulo-texto-quimura {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  /* Líneas laterales en móvil */
  .titulo-quimura::before,
  .titulo-quimura .linea-derecha {
    width: 40px;
  }

  .titulo-quimura::before {
    left: calc(50% - 120px);
  }

  .titulo-quimura .linea-derecha {
    right: calc(50% - 120px);
  }

  /* Línea animada en móvil */
  .titulo-quimura::after {
    width: 120px;
  }

  @keyframes lineaAnimadaQuimura {
    0% {
      width: 120px;
    }
    100% {
      width: 160px;
    }
  }

  .titulo-texto-quimura::before,
  .titulo-texto-quimura::after {
    width: 12px;
    height: 12px;
    top: -4px;
  }
}
/* Contenedor de imagen QUIMURA */
.imagen-quimura {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.1);
  border: 2px solid transparent;

}

/* Imagen con filtro naranja sutil */
.imagen-quimura-estilo {
  border-radius: 10px;
  filter: sepia(0.1) brightness(1.02);
}

/* Elemento decorativo naranja sobre imagen */
.decoracion-naranja {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.15), transparent);
  border-radius: 0 10px 0 120px;
  z-index: 1;
}

/* Contenedor de texto QUIMURA */
.card-quimura {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--quimura-amarillo-palido) 0%,
    #101012 100%
  );
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.1);
  border-left: 5px solid var(--quimura-naranja-fuerte);
  transition: all 0.4s ease;
  overflow: hidden;
}

.card-quimura:hover {
  box-shadow: 0 12px 30px rgba(230, 126, 34, 0.15);
  transform: translateX(5px);
}

/* Texto con estilo QUIMURA */
.descripcion-quimura {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f1f1f1;
  position: relative;
  z-index: 2;
}

.texto-destacado {
  color: var(--quimura-naranja-medio);
  font-weight: 700;
}

.icono-constructor {
  font-size: 1.8rem;
  margin-right: 10px;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px rgba(230, 126, 34, 0.3));
}

.resaltado-naranja {
  background: linear-gradient(
    120deg,
    rgba(230, 126, 34, 0.15) 0%,
    rgba(230, 126, 34, 0) 100%
  );
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--quimura-naranja-medio);
  border-left: 3px solid var(--quimura-amarillo);
}

/* Elementos decorativos QUIMURA */
.circulo-quimura-1 {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.08), transparent);
  border-radius: 50%;
  top: -30px;
  right: -30px;
  z-index: 1;
}

.circulo-quimura-2 {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), transparent);
  border-radius: 50%;
  bottom: -20px;
  left: -20px;
  z-index: 1;
}

.linea-decorativa {
  position: absolute;
  width: 150px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--quimura-naranja-medio),
    var(--quimura-amarillo)
  );
  bottom: 25px;
  right: 25px;
  border-radius: 3px;
  z-index: 1;
  animation: parpadeoLinea 3s infinite;
}

@keyframes parpadeoLinea {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .titulo-quimura {
    font-size: 1.8rem;
    padding-bottom: 20px;
  }

  .titulo-texto-quimura {
    padding: 0 15px;
  }

  .descripcion-quimura {
    font-size: 1rem;
    line-height: 1.6;
  }

  .card-quimura {
    padding: 25px !important;
    margin-top: 15px;
  }

  .imagen-quimura {
    margin-bottom: 25px;
    border-width: 1px;
  }

  .decoracion-naranja {
    width: 80px;
    height: 80px;
  }

  .circulo-quimura-1,
  .circulo-quimura-2 {
    display: none; /* Ocultar elementos decorativos en móvil para más simplicidad */
  }

  .titulo-quimura::after {
    width: 120px;
    height: 3px;
  }

  @keyframes lineaAnimadaQuimura {
    0% {
      width: 120px;
    }
    100% {
      width: 160px;
    }
  }
}

/* Animación de entrada */
@keyframes fadeInQuimura {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quienessomos-container > * {
  animation: fadeInQuimura 0.8s ease-out;
}

/* Efecto especial para palabras clave al pasar mouse */
.descripcion-quimura strong:hover {
  color: var(--quimura-naranja-fuerte);
  transition: color 0.3s ease;
}
/*SECCION DE "SER UNA EMPRESA LIER"     VALORES ETC TODO EN ESA SECCION--------------------------------------------------*/
/* ESTILOS EXTRA PARA LA SECCIÓN DE VALORES */
.seccion-valores {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--quimura-amarillo-palido) 0%,
    rgba(165, 161, 161, 0.95) 50%,
    var(--quimura-amarillo-palido) 100%
  );
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1400px;
  box-shadow: 0 20px 60px rgba(230, 126, 34, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Fondo decorativo con patrón sutil */
.fondo-decorativo-valores {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(230, 119, 34, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(241, 196, 15, 0.03) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 48%,
      rgba(230, 126, 34, 0.02) 50%,
      transparent 52%
    );
  background-size: 300px 300px, 300px 300px, 100px 100px;
  z-index: 0;
  pointer-events: none;
}

/* Elementos flotantes decorativos */
.elementos-flotantes-valores {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.elementos-flotantes-valores::before,
.elementos-flotantes-valores::after,
.elementos-flotantes-valores .flotante-1,
.elementos-flotantes-valores .flotante-2 {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(230, 126, 34, 0.08) 0%,
    transparent 70%
  );
  animation: flotarElementos 20s infinite linear;
}

.elementos-flotantes-valores::before {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.elementos-flotantes-valores::after {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 10%;
  animation-delay: -10s;
  animation-duration: 30s;
}

@keyframes flotarElementos {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.5;
  }
  25% {
    transform: translate(20px, -20px) rotate(90deg);
    opacity: 0.7;
  }
  50% {
    transform: translate(0, -40px) rotate(180deg);
    opacity: 0.5;
  }
  75% {
    transform: translate(-20px, -20px) rotate(270deg);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.5;
  }
}

/* Contenedor principal para asegurar z-index */
.contenedor-principal-valores {
  position: relative;
  z-index: 1;
}

/* Efecto de borde sutil */
.seccion-valores::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(230, 126, 34, 0.1);
  border-radius: 18px;
  pointer-events: none;
  z-index: 0;
}

/* Efecto hover en toda la sección */
.seccion-valores:hover {
  box-shadow: #f9d132,
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  transition: all 0.4s ease;
}

/* Efecto sutil en el logo central */
.seccion-valores img.img-fluid {
  transition: all 0.5s ease;
  padding: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(254, 249, 231, 0.7) 100%
  );
  border-radius: 20px;
  border: 1px ;
}

.seccion-valores img.img-fluid:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Líneas conectores decorativas entre cards (opcional) */
@media (min-width: 768px) {
  .seccion-valores .row:first-child .col-md-4:nth-child(1)::after,
  .seccion-valores .row:first-child .col-md-4:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(230, 126, 34, 0.2),
      transparent
    );
    z-index: 0;
  }
}

/* Animación de aparición para las cards */
@keyframes aparecerCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seccion-valores .card {
  animation: aparecerCard 0.6s ease-out forwards;
  animation-delay: calc(var(--card-order, 0) * 0.1s);
}

/* Establecer orden de animación para cada card */
.seccion-valores .col-md-4:nth-child(1) .card {
  --card-order: 1;
}
.seccion-valores .col-md-4:nth-child(2) .card {
  --card-order: 2;
}
.seccion-valores .col-md-4:nth-child(3) .card {
  --card-order: 3;
}
.seccion-valores .col-md-4:nth-child(4) .card {
  --card-order: 4;
}
.seccion-valores .col-md-4:nth-child(5) .card {
  --card-order: 5;
}

/* Para móvil - simplificar efectos */
@media (max-width: 768px) {
  .seccion-valores {
    border-radius: 15px;
    margin: 20px 10px;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.05);
  }

  .elementos-flotantes-valores::before,
  .elementos-flotantes-valores::after {
    display: none; /* Ocultar elementos flotantes en móvil */
  }

  .seccion-valores img.img-fluid {
    max-height: 120px;
    margin: 20px 0;
  }
}

/*SECCION DE CLIENTES------------------------------------------------------------------------*/
.clientes-section {
  background-image: url("../img/back-clients.png"); /* aquí va tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 118vh;
  display: flex; /* 👈 activa flex */
  align-items: center; /* 👈 centra verticalmente */
}

.cliente-card {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: none;
  background: #ffffff;
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.cliente-card img {
  max-height: 90px;
  object-fit: contain;
}

.cliente-card:hover {
  transform: scale(1.05);
}
/* ===== ENCABEZADO CLIENTES ===== */
.clientes-header {
  position: relative;
  display: inline-block;
  padding: 30px 50px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #ff8a00, #ff6600);
  transform: skewX(-12deg);
}

.clientes-header * {
  transform: skewX(12deg); /* endereza el texto */
}

.clientes-subtitulo {
  font-family: "Archivo Black", sans-serif; /* SOLO ESTO CAMBIÓ */
  font-weight: 400; /* Archivo Black ya es negrita por defecto */
  font-style: italic; /* O usa transform: skew(-5deg) */
  display: block;
  font-size: 2.7rem;
  letter-spacing: 2px;
  color: #000;
  opacity: 0.9;
  text-transform: uppercase;
}

.clientes-titulo {
  font-family: "Archivo Black", sans-serif; /* SOLO ESTO CAMBIÓ */
  font-weight: 400; /* Archivo Black ya es negrita por defecto */
  font-style: italic; /* O usa transform: skew(-5deg) */
  margin: 0;
  font-size: 3rem;
  font-weight: 650;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .clientes-header {
    padding: 20px 30px;
    margin-bottom: 40px;
    transform: skewX(-10deg);
  }

  .clientes-titulo {
    font-size: 2rem;
  }

  .clientes-subtitulo {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .clientes-header {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .clientes-titulo {
    font-size: 1.7rem;
  }
}

/*NUESTROS SERVICOS .......................................................*/
.titulo-servicio {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.titulo-servicio::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background-color: #fbd330; /* naranja */
  margin-top: 8px;
}

.flecha-servicio {
  color: #fbd330;
  font-size: 2.5rem;
  margin-left: 10px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .titulo-servicio {
    font-size: 1.8rem;
  }

  .flecha-servicio {
    font-size: 2rem;
  }
}
/*SECCION DE PROYECTOS REALIZADOS*/
.rombo-contenedor {
  display: flex;
  justify-content: center;
}

.rombo {
  width: 220px;
  height: 220px;
  background-color: #f7b818; /* naranja corporativo */
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rombo h1 {
  transform: rotate(-45deg);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 768px) {
  .rombo {
    width: 180px;
    height: 180px;
  }

  .rombo h1 {
    font-size: 1.6rem;
  }
}
.rombo {
  position: relative;
  width: 220px;
  height: 220px;
  background-color: #f7b818;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
/*SECCION DE PROYECTOS REALIZADOS EN LA PARTE DEL INDEX DE LAS CRAD ESTILO */
/* ============================================
   ROMBO MEJORADO - Combinación de ambos estilos
   ============================================ */
.rombo-mejorado {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rombo-solido {
  width: 100%;
  height: 100%;
  background-color: #f7b818; /* Naranja fuerte que me diste */
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4),
    0 5px 15px rgba(255, 140, 0, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.texto-rombo-mejorado {
  transform: rotate(-45deg);
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 750;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.efecto-rombo-sutil {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  border-radius: 5px;
  animation: pulsarRombo 3s infinite ease-in-out;
}

@keyframes pulsarRombo {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: rotate(45deg) scale(1.05);
    opacity: 0.8;
  }
}
/* ANIMACIONES DE FONDO MEJORADAS */
#proyectos-realizados {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 30%, #ffffff 100%);
  border-top: 1px solid rgba(255, 140, 0, 0.1);
  border-bottom: 1px solid rgba(255, 140, 0, 0.1);
  margin: 50px 0;
}

/* ONDAS NARANJAS Y AZULES */
.ondas-fondo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  z-index: 0;
}

.onda {
  position: absolute;
  width: 300%;
  height: 200px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 140, 0, 0.1),
    rgba(26, 54, 93, 0.1),
    transparent
  );
  animation: moverOnda 25s infinite linear;
  border-radius: 50%;
}

.onda:nth-child(1) {
  top: 10%;
  animation-delay: 0s;
  height: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 140, 0, 0.15),
    transparent
  );
}

.onda:nth-child(2) {
  top: 40%;
  animation-delay: -1s;
  animation-duration: 30s;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(26, 54, 93, 0.12),
    transparent
  );
}

.onda:nth-child(3) {
  bottom: 20%;
  animation-delay: -15s;
  animation-duration: 35s;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 140, 0, 0.1),
    rgba(26, 54, 93, 0.08),
    transparent
  );
}

/* BURBUJAS FLOTANTES DE COLORES */
.burbujas-flotantes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.burbuja {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--color1) 0%,
    var(--color2) 50%,
    transparent 70%
  );
  filter: blur(5px);
  animation: flotarBurbuja 20s infinite linear;
}

/* Burbujas naranjas */
.burbuja:nth-child(1) {
  --color1: rgba(255, 140, 0, 0.2);
  --color2: rgba(255, 167, 38, 0.1);
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.burbuja:nth-child(2) {
  --color1: rgba(255, 140, 0, 0.15);
  --color2: rgba(255, 167, 38, 0.08);
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: -2s;
}

/* Burbujas azules */
.burbuja:nth-child(3) {
  --color1: rgba(26, 54, 93, 0.18);
  --color2: rgba(42, 82, 140, 0.1);
  width: 150px;
  height: 150px;
  bottom: 25%;
  left: 20%;
  animation-delay: -7s;
}

.burbuja:nth-child(4) {
  --color1: rgba(26, 54, 93, 0.15);
  --color2: rgba(42, 82, 140, 0.08);
  width: 100px;
  height: 100px;
  top: 35%;
  right: 25%;
  animation-delay: -18s;
}

/* LÍNEAS GEOMÉTRICAS ANIMADAS */
.lineas-geometricas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.linea-diagonal {
  position: absolute;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-color),
    transparent
  );
  transform: rotate(var(--angle));
  animation: moverLineaDiagonal 30s infinite linear;
}

/* Líneas naranjas */
.linea-diagonal:nth-child(1) {
  --line-color: rgba(255, 140, 0, 0.12);
  --angle: 45deg;
  top: 20%;
  left: -50%;
  width: 200%;
  animation-delay: 0s;
}

.linea-diagonal:nth-child(2) {
  --line-color: rgba(255, 140, 0, 0.08);
  --angle: -45deg;
  top: 50%;
  left: -50%;
  width: 200%;
  animation-delay: -20s;
}

/* Líneas azules */
.linea-diagonal:nth-child(3) {
  --line-color: rgba(26, 54, 93, 0.1);
  --angle: 30deg;
  top: 70%;
  left: -50%;
  width: 200%;
  animation-delay: -10s;
}

.linea-diagonal:nth-child(4) {
  --line-color: rgba(26, 54, 93, 0.08);
  --angle: -30deg;
  top: 30%;
  left: -50%;
  width: 200%;
  animation-delay: -30s;
}

/* PARTÍCULAS PEQUEÑAS FLOTANTES */
.particulas-fondo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.particula {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--particle-color);
  animation: caerParticula 15s infinite linear;
  opacity: 0.6;
}

/* Particulas naranjas */
.particula:nth-child(1),
.particula:nth-child(3),
.particula:nth-child(5) {
  --particle-color: rgba(255, 140, 0, 0.4);
}

/* Particulas azules */
.particula:nth-child(2),
.particula:nth-child(4),
.particula:nth-child(6) {
  --particle-color: rgba(26, 54, 93, 0.4);
}

.particula:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.particula:nth-child(2) {
  left: 30%;
  animation-delay: -3s;
}
.particula:nth-child(3) {
  left: 50%;
  animation-delay: -6s;
}
.particula:nth-child(4) {
  left: 70%;
  animation-delay: -9s;
}
.particula:nth-child(5) {
  left: 90%;
  animation-delay: -12s;
}
.particula:nth-child(6) {
  left: 20%;
  animation-delay: -15s;
}

/* ANIMACIONES */
@keyframes moverOnda {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes flotarBurbuja {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(40px, -30px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(20px, -60px) scale(0.9);
    opacity: 0.3;
  }
  75% {
    transform: translate(-40px, -30px) scale(1.05);
    opacity: 0.4;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
}

@keyframes moverLineaDiagonal {
  0% {
    transform: rotate(var(--angle)) translateX(-100%);
  }
  100% {
    transform: rotate(var(--angle)) translateX(100%);
  }
}

@keyframes caerParticula {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(calc(100vh + 100px));
    opacity: 0;
  }
}

/* ASEGURAR CONTENIDO ENCIMA */
#proyectos-realizados .container {
  position: relative;
  z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  #proyectos-realizados {
    padding: 50px 0;
    margin: 30px 0;
  }

  .onda {
    animation-duration: 40s;
  }

  .burbuja {
    width: 80px !important;
    height: 80px !important;
    filter: blur(3px);
  }

  .linea-diagonal {
    height: 2px;
  }
}
/* ============================================
   CARDS SIMPLIFICADAS - Sin excesos de espacio
   ============================================ */
.card-proyecto-simplificado {
  position: relative;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card-proyecto-simplificado:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(23, 23, 22, 0.15),
    0 8px 20px rgba(255, 140, 0, 0.1);
}

/* Contenedor de imagen */
.contenedor-img-proyecto {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.img-proyecto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-proyecto-simplificado:hover .img-proyecto {
  transform: scale(1.1);
}

.overlay-img-proyecto {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(255, 140, 0, 0.1) 100%
  );
  transition: background 0.4s ease;
}

.card-proyecto-simplificado:hover .overlay-img-proyecto {
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 100%
  );
}

/* Contenido de la card */
.contenido-card-proyecto {
  padding: 20px 15px;
  position: relative;
}

.numero-categoria {
  font-size: 2.5rem;
  font-weight: 770;
  color: #020406;
  line-height: 1;
  margin-bottom: 5px;
}

.titulo-categoria {
  color: #1a365d; /* Azul marino */
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.linea-categoria {
  height: 2px;
  background: linear-gradient(90deg, #ff8c00 0%, #fbd330 50%, #fbd330 100%);
  width: 40px;
  margin: 10px 0;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.card-proyecto-simplificado:hover .linea-categoria {
  width: 80px;
}

.boton-ver {
  color: #000;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.card-proyecto-simplificado:hover .boton-ver {
  opacity: 1;
  letter-spacing: 0.5px;
  color: #1a365d;
}

/* Efecto de borde al hover */
.borde-hover-proyecto {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 15px;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.card-proyecto-simplificado:hover .borde-hover-proyecto {
  border-color: #fbd330;
}

/* ============================================
   ENCABEZADO FINAL - NUEVO DISEÑO CON TUS COLORES
   ============================================ */
.seccion-eslogan-final {
  position: relative;
  background-image: url("../img/img-final.jpg"); /* Cambia por tu imagen */
  background-size: cover; /* Cubre toda la sección */
  background-position: center; /* Centrada */
  background-repeat: no-repeat;
  background-attachment: fixed; /* Efecto parallax suave al scroll (opcional, quítalo si no te gusta) */
  overflow: hidden;
  padding: 8rem 0; /* Ajusta padding si quieres más/menos altura */
}
/* Asegura que el contenido (texto) esté encima del overlay */
.seccion-eslogan-final > .container {
  position: relative;
  z-index: 2;
}

.contenedor-ondas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 140, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
}

.encabezado-eslogan-contenedor {
  position: relative;
  padding: 60px 40px;
  background:rgba(80, 78, 78, 0.45);
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2),
    inset 0 0px 0 rgba(255, 255, 255, 0.8);
  z-index: 1;
}

/* Título principal */
.titulo-eslogan {
  text-align: center;
  margin-bottom: 40px;
}

.linea-eslogan {
  display: block;
  margin-bottom: 15px;
  position: relative;
}

.palabra {
  font-size: 2.8rem;
  font-weight: 485;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding: 5px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Colores específicos para cada palabra */
.palabra-soluciones {
  color: #1a365d; /* Azul marino */
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(26, 54, 93, 0.05) 100%
  );
  border: 3px solid rgba(26, 54, 93, 0.2);
}

.palabra-integrales {
  color: #ff8c00; /* Naranja fuerte */
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 140, 0, 0.05) 100%
  );
  border: 3px solid rgba(255, 140, 0, 0.2);
}

.palabra-medida {
  color: #0d1b2a; /* Azul marino oscuro */
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(13, 27, 42, 0.05) 100%
  );
  border: 3px solid rgba(13, 27, 42, 0.2);
}

.palabra-cliente {
  font-family: "Archivo Black", sans-serif;
  font-weight: 850;
  font-size: 3rem;
  font-style: italic;
  color: #ffffff; /* Blanco */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.palabra-cliente2 {
  font-family: "Archivo Black", sans-serif;
  font-weight: 870;
  font-size: 3.2rem;
  font-style: italic;
  color: #f7b818; /* Blanco */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Efectos hover en palabras */
.palabra:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Elementos decorativos */
.elementos-decorativos-eslogan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.elemento-decorativo {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 0, 0.15) 0%,
    transparent 70%
  );
  animation: flotarDecorativo 6s infinite ease-in-out;
}

.elem-1 {
  width: 100px;
  height: 100px;
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}

.elem-2 {
  width: 80px;
  height: 80px;
  bottom: 30px;
  right: 30px;
  animation-delay: -2s;
}

.elem-3 {
  width: 60px;
  height: 60px;
  top: 50%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes flotarDecorativo {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
  }
}

/* Líneas divisorias */
.lineas-eslogan {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.linea-eslogan-divisoria {
  height: 5px;
  width: 150px;
  background: linear-gradient(
    90deg,
    transparent,
    #fbd330,
    #ff8c00,
    #fbd330,
    transparent
  );
  border-radius: 2px;
  animation: moverLineaSuave 4s infinite linear;
}

@keyframes moverLineaSuave {
  0% {
    background-position: -100px center;
  }
  100% {
    background-position: 100px center;
  }
}

/* Subtítulo */
.subtitulo-eslogan {
  text-align: center;
  color: #dee2e6;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 140, 0, 0.3);
  position: relative;
}
/*
.subtitulo-eslogan::before {
  content: "★";
  color: #fbd330;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  background: white;
  padding: 0 20px;
}
*/
/* ============================================
   RESPONSIVE - CORREGIDO SIN EXCESOS DE ESPACIO
   ============================================ */
@media (max-width: 768px) {
  /* Rombo móvil */
  .rombo-mejorado {
    width: 180px;
    height: 180px;
  }

  .texto-rombo-mejorado {
    font-size: 1.6rem;
  }

  /* Cards móvil */
  .contenedor-img-proyecto {
    height: 130px;
  }

  .numero-categoria {
    font-size: 2.2rem;
  }

  .titulo-categoria {
    font-size: 0.9rem;
    min-height: 35px;
  }

  /* Encabezado final móvil */
  .palabra {
    font-size: 1.3rem;
    padding: 3px 10px;
  }

  .encabezado-eslogan-contenedor {
    padding: 40px 20px;
    margin: 0 10px;
  }

  .linea-eslogan-divisoria {
    width: 60px;
  }

  .subtitulo-eslogan {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  /* Asegurar que no hay exceso de espacio horizontal */
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .row {
    margin-left: -7.5px;
    margin-right: -7.5px;
  }

  .col-6,
  .col-md-4,
  .col-lg-3 {
    padding-left: 7.5px;
    padding-right: 7.5px;
  }
}

/* Para pantallas grandes - limitar ancho máximo */
@media (min-width: 1400px) {
  #proyectos-realizados .container {
    max-width: 1320px;
  }
}

/*SECCION O INTERFAZ DE LAS EVIDENCIAS QUE SE SUBEN DESDE LA PARTE DEL ADMINISTRADOR PARA LOS CLIENTES O VISITANTES*/
/* Contenedor fijo para imágenes */
.evidencia-media {
  height: 220px; /* 🔑 controla el tamaño visual */
  overflow: hidden;
  background: #f8f9fa; /* fondo neutro cuando la imagen no llena */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen dentro del carrusel */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 CLAVE: todas iguales */
}
.evidencia-card {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.evidencia-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.evidencia-card p {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #555;
}

.evidencia-card h5 {
  font-size: 1.05rem;
}
.evidencia-card .p-3 {
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .evidencia-media {
    height: 180px;
  }
}
.fondo-evidencias {
  position: relative;
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
}


.fondo-evidencias {
  background-image: repeating-linear-gradient(
      0deg,
      rgba(15, 42, 68, 0.04) 0,
      rgba(15, 42, 68, 0.04) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(15, 42, 68, 0.04) 0,
      rgba(15, 42, 68, 0.04) 1px,
      transparent 1px,
      transparent 40px
    );
}
@media (max-width: 768px) {
  .fondo-evidencias::after {
    background-size: 60% 20%, 55% 22%, 100% 100%;
  }
}

/*SECCION DE LA INFORMACION DE LAS CARD*/
/* CONTENEDOR GENERAL */
.evidencia-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111; /* negro real */
}

/* TÍTULO */
.evidencia-titulo {
  font-size: 1.15rem;
  font-weight: 600;
  color: #001e3a;
  margin-bottom: 12px;
}

/* FILA CONTRATO + CLIENTE */
.evidencia-row {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* ITEMS GENERALES */
.evidencia-item {
  margin: 0;
}

/* MODO EN LÍNEA */
.evidencia-item.inline {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

/* MODO BLOQUE */
.evidencia-item.block {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

/* ETIQUETAS */
.evidencia-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ff6600;
  font-weight: 600;
}

/* VALORES */
.evidencia-item .value {
  font-size: 0.9rem;
  color: #000; /* negro */
  font-weight: 500; /* más cuerpo */
}

/* VALORES IMPORTANTES */
.evidencia-item .value.strong {
  font-weight: 600;
}

/* FECHA MÁS SUTIL */
.evidencia-item.fecha .value {
  font-size: 0.85rem;
  color: #333;
}

.evidencia-media {
  height: 240px;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid #eee;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* o contain si lo prefieres */
}
.titulo-seccion-evidencias {
  font-size: 2.3rem;
  font-weight: 700;
  color: #020406;
  position: relative;
  margin-bottom: 3rem;
}

/* Línea decorativa */
.titulo-seccion-evidencias::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #f7b818, #f9d132);
  border-radius: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .titulo-seccion-evidencias {
    text-align: center;
    font-size: 1.8rem;
  }

  .titulo-seccion-evidencias::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
.encabezado-evidencias-wrapper {
  display: inline-block;
  position: relative;
  padding: 1px 18px;
  margin-bottom: 50px;
  margin-top: 70px;
  background: #ffffff;
  box-shadow: 0 20px 40px 20px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #f7b818;
}

/* TEXTO */
.encabezado-evidencias {
  font-size: 2.1rem;
  font-weight: 700;
  color: #0f2a44;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Línea técnica inferior */
.encabezado-evidencias::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #0f2a44;
  margin-top: 8px;
}

/* MOBILE */
@media (max-width: 768px) {
  .encabezado-evidencias-wrapper {
    margin: 0 auto 40px;
    text-align: center;
  }

  .encabezado-evidencias::after {
    margin-left: auto;
    margin-right: auto;
  }
}
.back-btn {
  border-color: #000;
  color: #000;
}

.back-btn:hover {
  background-color: #ff6600;
  color: #ffffff;
}
@media (max-width: 768px) {
  .back-btn {
    position: fixed;
    top: 12px;
    left: 12px;

    z-index: 9999;

    width: auto;
    padding: 10px 16px;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
}
#proyectos-realizados {
  scroll-margin-top: 80px;
}

/*......................................................................................................................*/
/* Líneas decorativas */
.rombo::before,
.rombo::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 4px;
  background-color: #ff8c00;
}

.rombo::before {
  top: -18px;
  right: 50%;
  transform: translateX(50%);
}

.rombo::after {
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.rombo h1 {
  transform: rotate(-45deg);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
  margin: 0;
}

/*FOOTER O PIE DE PAGINA*------............-.-.-.--.-..-*/
.footer-corporativo {
  background-color: #2b2b2b;
  color: #cccccc;
}

.footer-titulo {
  color: #fbd330;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-texto {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-lista li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-bottom {
  background-color: #222;
  color: #aaa;
  font-size: 0.85rem;
}

/* estilos decorativos--------------------------------------------------------------------------------------- */
.texto-naranja {
  color: #fbd330; /* Naranja brillante */
}
.titulo-subrayado {
  display: inline-block;
  position: relative;
}

.titulo-subrayado::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 22%;
  height: 7px;
  background: linear-gradient(
    to right,
    #ff8000 0%,
    #ff8000 47%,
    #000000 53%,
    #000000 100%
  );
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.titulo-subrayado-largo {
  display: inline-block;
  position: relative;
}

.titulo-subrayado-largo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 32%;
  height: 7px;
  background: linear-gradient(
    to right,
    #ff8000 0%,
    #ff8000 47%,
    #000000 53%,
    #000000 100%
  );
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.fondo-card {
  background-color: #f7b818;
}
.bg-dark {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
.container-select {
  width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}
/*ICONO DW WHATSS-....................................*/
/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px; /* Cambia a left: 30px; si lo quieres a la izquierda */
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
}

/* Responsive: más pequeño en móvil */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}
/* Efecto borde color================================================================================================== */
.card-border-hover {
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.card-border-hover:hover {
  outline: 3px solid #ff8000; /* Borde grueso separado */
  outline-offset: 5px; /* Separación del borde */
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}
/* Efecto borde color BLANCO - Totalmente Rectangular */
.card-border-hover2 {
  transition: all 0.3s ease;
  position: relative;
  border: none !important; /* Quitamos el borde gris de Bootstrap */
  border-radius: 0 !important; /* ESQUINAS CUADRADAS */
  background-color: transparent;
}

/* Forzar que la imagen y el cuerpo también sean cuadrados */
.card-border-hover2 .card-img-top,
.card-border-hover2 .card-body {
  border-radius: 0 !important;
}

.card-border-hover2:hover {
  outline: 3px solid #ffffff; /* Borde grueso blanco */
  outline-offset: 5px; /* Separación del borde */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Sombra para dar profundidad */
  transform: translateY(-5px); /* Pequeño salto hacia arriba */
  z-index: 10; /* Asegura que el borde no quede debajo de otros elementos */
}

/* MODAL FUNCIONAL */
/* ESTILOS CRÍTICOS PARA EL MODAL */
.modal {
  z-index: 1060 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: none !important;
}

.modal.show {
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.modal-dialog {
  position: relative !important;
  margin: 2rem auto !important;
  pointer-events: none !important;
}

.modal-content {
  pointer-events: auto !important;
}

.modal-backdrop {
  z-index: 1040 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #000 !important;
}

.modal-backdrop.show {
  opacity: 0.5 !important;
}

/* Asegurar que el body tenga el comportamiento correcto */
body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
}

/* Corregir posibles conflictos con otros elementos */
.container-fluid,
.row,
.col-* {
  position: static !important;
}

/* Específico para el contenedor de login que usa position:absolute */
.container-fluid .position-absolute {
  z-index: 10 !important;
}

/* Estilos para las imágenes del carousel */
.carousel-item img {
  max-height: 400px;
  object-fit: contain;
  width: 100%;
}

/* Asegurar que el modal body sea scrollable */
.modal-body {
  max-height: 60vh;
  overflow-y: auto;
}
/* Fuerza el comportamiento responsivo en todas las vistas */
@media (max-width: 991.98px) {
  #sidebar-wrapper {
    position: fixed !important;
    left: -250px !important;
    transition: left 0.3s ease !important;
    height: 100vh !important;
    overflow-y: auto !important;
    z-index: 1040 !important;
  }

  #sidebar-wrapper.active {
    left: 0 !important;
  }

  #main-wrapper {
    margin-left: 0 !important;
  }

  /* Elimina cualquier margen izquierdo forzado que tengan vistas antiguas */
  #obras-content,
  .container-fluid,
  .row {
    margin-left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
/* Corrige el zoom inicial raro en móviles */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 991.98px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }

  /* Fuerza que el contenido no exceda el ancho de pantalla */
  #page-content-wrapper,
  #main-wrapper {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}
/* Servicios y Proyectos en móvil: cards más anchas y menos margen */
@media (max-width: 767.98px) {
  /* Sección Servicios */
  #nuestros-servicios .row.mt-4 > div,
  #nuestros-servicios .row.mt-5 > div {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #nuestros-servicios .row.g-3 {
    --bs-gutter-x: 1rem; /* Reduce gutter entre cards */
  }

  #nuestros-servicios .col-6 {
    flex: 0 0 50%; /* Mantiene 2 cards por fila */
    max-width: 50%;
  }

  /* Proyectos Realizados */
  #proyectos-realizados .row.g-3 {
    --bs-gutter-x: 1rem;
  }

  #proyectos-realizados .col-6,
  #proyectos-realizados .col-md-4,
  #proyectos-realizados .col-lg-3 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Cards internas: más espacio útil */
  .card-border-hover2,
  .card-proyecto-simplificado {
    margin-bottom: 1rem;
  }

  .card-proyecto-simplificado .contenedor-img-proyecto {
    height: 140px; /* Un poco más alto en móvil para mejor proporción */
  }
}
/* Servicios en móvil: 2 cards por fila – SIN afectar otras vistas */
@media (max-width: 767.98px) {
  /* Solo la sección de Servicios */
  #nuestros-servicios .row.g-3 > .col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  #nuestros-servicios .row.g-3 {
    --bs-gutter-x: 1.5rem; /* Gutter cómodo */
  }

  #nuestros-servicios .card-border-hover2 {
    margin-bottom: 1.5rem;
  }

  #nuestros-servicios .card-img-top {
    height: 150px;
    object-fit: cover;
  }
}

/* Proyectos Realizados en móvil: 1 card por fila (como te gusta) */
@media (max-width: 767.98px) {
  #proyectos-realizados .row.g-3 > .col-6,
  #proyectos-realizados .row.g-3 > .col-md-4,
  #proyectos-realizados .row.g-3 > .col-lg-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  #proyectos-realizados .row.g-3 {
    --bs-gutter-x: 2rem;
  }

  #proyectos-realizados .card-proyecto-simplificado .contenedor-img-proyecto {
    height: 180px;
  }
}

/* Proyectos Realizados */
#proyectos-realizados .row.g-3 {
  --bs-gutter-x: 1rem;
}

#proyectos-realizados .col-6,
#proyectos-realizados .col-md-4,
#proyectos-realizados .col-lg-3 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* Cards internas: más espacio útil */
.card-border-hover2,
.card-proyecto-simplificado {
  margin-bottom: 1rem;
}

.card-proyecto-simplificado .contenedor-img-proyecto {
  height: 140px; /* Un poco más alto en móvil para mejor proporción */
}

/* Extra: si quieres 1 card por fila en móvil muy pequeño (opcional) */
@media (max-width: 480px) {
  #nuestros-servicios .col-6,
  #proyectos-realizados .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/*SECCION DE CONTRATOS----------------------------------------------------------*/

/* Estilos para la sección de Experiencia y Desempeño en Contratos */
#experiencia-contratos {
    background-color: #f8f9fa !important;
    position: relative;
    overflow: hidden;
}

/* Contenedor del botón Ver más - posicionado debajo de las cards */
#experiencia-contratos .row:first-of-type {
    position: relative;
    padding-bottom: 50px; /* Espacio para el botón */
}

/* Botón Ver más centrado horizontalmente */
#experiencia-contratos .row .col-12.d-flex {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center !important;
    margin-top: 10px !important;
}

/* Estilo mejorado para el botón Ver más */
#experiencia-contratos .btn-primary {
    background-color: #24272e;
    border-color: #24272e;
    border-radius: 50px;
    padding: 12px 0px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(36, 39, 46, 0.2);
    min-width: 180px;
    text-align: center;
}

#experiencia-contratos .btn-primary:hover {
    background-color: #e9d738;
    border-color: #e9d738;
    color: #24272e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 215, 56, 0.3);
}

/* Estilos para las cards - colores personalizados */
#experiencia-contratos .card {
    background-color: #ffffff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

/* Efecto hover mejorado para las cards */
#experiencia-contratos .card.hvr-float-shadow:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Bordes de colores diferentes para cada card */
#experiencia-contratos .row > .col-12.col-md-4:nth-child(1) .card {
    border-top: 4px solid #e9d738;
}

#experiencia-contratos .row > .col-12.col-md-4:nth-child(2) .card {
    border-top: 4px solid #24272e;
}

#experiencia-contratos .row > .col-12.col-md-4:nth-child(3) .card {
    border-top: 4px solid #e5ebe2;
}

/* Títulos de las cards con colores diferentes */
#experiencia-contratos .row > .col-12.col-md-4:nth-child(1) .card-title {
    color: #24272e !important;
    font-weight: 700;
    font-size: 1.3rem;
}

#experiencia-contratos .row > .col-12.col-md-4:nth-child(2) .card-title {
    color: #24272e !important;
    font-weight: 700;
    font-size: 1.3rem;
}

#experiencia-contratos .row > .col-12.col-md-4:nth-child(3) .card-title {
    color: #24272e !important; /* Un tono derivado de #e5ebe2 para mejor contraste */
    font-weight: 700;
    font-size: 1.3rem;
}

/* Mejoras para el contenido de las cards */
#experiencia-contratos .card-body {
    padding: 25px;
}

#experiencia-contratos .card-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

#experiencia-contratos .list-unstyled li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #666;
}

#experiencia-contratos .list-unstyled li strong {
    color: #333;
    font-weight: 600;
}

/* Efecto sutil en hover para el borde superior */
#experiencia-contratos .card:hover {
    border-top-width: 6px;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    #experiencia-contratos .btn-primary {
        padding: 10px 30px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    #experiencia-contratos .row .col-12.d-flex {
        position: relative;
        margin-top: 40px !important;
        padding-bottom: 0;
    }
    
    #experiencia-contratos .row:first-of-type {
        padding-bottom: 0;
    }
    
    #experiencia-contratos .card-title {
        font-size: 1.2rem !important;
    }
}

/* Animación para el botón */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(36, 39, 46, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(36, 39, 46, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(36, 39, 46, 0.2);
    }
}

#experiencia-contratos .btn-primary {
    animation: pulse 2s infinite;
}
/* public/css/estilos.css */
/* Estilos específicos y seguros para contratos.php */

/* ====================
   ENCABEZADO "PERÍODO"
   ==================== */

/* CONTEXTO ESPECÍFICO: Solo dentro de la página de contratos */
body:has(#contratos-container) .mb-5[data-aos="fade-up"],
#contratos-container .mb-5[data-aos="fade-up"],
.container .mb-5[data-aos="fade-up"]:first-of-type {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px !important;
}

/* Encabezado PERÍODO específico */
.periodo-header,
h3.text-center.text-primary.mb-4.periodo-header {
    color: #24272e !important;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, rgba(233, 215, 56, 0.1) 0%, rgba(229, 235, 226, 0.1) 100%);
    border-radius: 10px;
    border-left: 4px solid #f7b818;
    border-right: 4px solid #f7d12f;
    margin: 0 auto 30px;
}


/* Badge específico para el año */
.year-badge {
    background-color: #e9d738;
    color: #24272e;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 1.8rem;
    margin-left: 10px;
    font-weight: 800;
    box-shadow: 0 4px 8px rgba(233, 215, 56, 0.3);
    vertical-align: middle;
}

/* ====================
   BOTÓN "VOLVER AL INICIO" ESPECÍFICO
   ==================== */

/* Contenedor específico para el botón de volver en contratos */
.volver-contratos-container,
div.text-center.mt-5.volver-contratos-container {
    margin-top: 60px !important;
    padding-top: 30px;
    position: relative;
}

/* Línea decorativa específica */
.volver-contratos-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #e9d738, #24272e);
    border-radius: 3px;
}

/* Botón específico para volver en contratos */
.btn-volver-contratos,
a.btn.btn-secondary.btn-lg.btn-volver-contratos {
    background: linear-gradient(135deg, #24272e 0%, #3a3f48 100%);
    border: none;
    border-radius: 50px;
    padding: 14px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(36, 39, 46, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    min-width: 200px;
    display: inline-block;
}

/* Efectos hover específicos */
a.btn.btn-secondary.btn-lg.btn-volver-contratos:hover {
    background: linear-gradient(135deg, #e9d738 0%, #f5e869 100%);
    color: #24272e;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 215, 56, 0.4);
    text-decoration: none;
}

/* Efecto de brillo específico */
.btn-volver-contratos::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-volver-contratos:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Icono de flecha específico */
.btn-volver-contratos::before {
    content: '←';
    margin-right: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-volver-contratos:hover::before {
    transform: translateX(-5px);
}

/* ====================
   RESPONSIVE SEGURO
   ==================== */

@media (max-width: 768px) {
    /* Encabezado responsive específico */
    .periodo-header {
        font-size: 1.8rem;
        padding: 12px 25px;
    }
    
    .periodo-header::before,
    .periodo-header::after {
        width: 30px;
    }
    
    .periodo-header::before {
        left: -20px;
    }
    
    .periodo-header::after {
        right: -20px;
    }
    
    .year-badge {
        font-size: 1.5rem;
        padding: 4px 12px;
    }
    
    /* Botón responsive específico */
    .btn-volver-contratos {
        padding: 12px 35px;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .volver-contratos-container::before {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .periodo-header {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
    
    .periodo-header::before,
    .periodo-header::after {
        display: none;
    }
}
