* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

section {
  scroll-margin-top: 110px;
}

.color-primario {
  background-color: #004481;
}

.color-blanco {
  color: white;
}

body {
  background-color: rgb(221, 220, 218);
  min-height: 100vh;
}

main {
  flex-grow: 1;
  padding: 0;
  margin: 0;
}

footer {
  margin-top: auto;
}

/* ===== NAVBAR DIEGOGAS ===== */

.diegogas-marquee {
  width: 100%;
  overflow: hidden;
  background-color: #FFD700;
  color: #000;
  padding: 10px 0;
  font-family: sans-serif;
  user-select: none;
}

.diegogas-track {
  display: flex;
  width: max-content;
  gap: 5rem;
  animation: scroll-gas 25s linear infinite;
}

.diegogas-item {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.diegogas-item i {
  font-size: 1.3rem;
  color: #ff6600;
}

@keyframes scroll-gas {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 2.5rem));
  }
}

.navbar-diegogas {
  background-color: rgba(0, 86, 164, 0.9);
}

/* LOGO (SVG o texto) */
.navbar-diegogas .navbar-brand {
  color: #ffffff;
  font-weight: 600;
}

.navbar-diegogas .navbar-brand:hover {
  color: #e5e7eb;
}

/* LINKS DEL MENÚ */
.navbar-diegogas .nav-link {
  color: #e5e7eb;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* HOVER DE LINKS */
.navbar-diegogas .nav-link:hover,
.navbar-diegogas .nav-link:focus {
  color: #ffcc00;
  /* color de acento */
}

/* LINK ACTIVO */
.navbar-diegogas .nav-link.active {
  color: #38bdf8;
}

/* BOTÓN CTA */
.navbar-diegogas .btn-cta {
  background-color: #ffffff;
  color: #0056A4;
  font-weight: 600;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 6px;
}

.navbar-diegogas .btn-cta:hover {
  background-color: #e6eef6;
  color: #003b73;
}

/* ICONO HAMBURGUESA (IMPORTANTE) */
.navbar-diegogas .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  padding: 4px 8px;
}

.navbar-diegogas .navbar-toggler-icon {
  filter: invert(1);
  transition: transform 0.3s ease-in-out;
  width: 24px;
  height: 24px;
  background-image: none;
  position: relative;
}

/* Ocultar línea del medio original */
.navbar-diegogas .navbar-toggler-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: white;
  transform: translateY(-50%);
  transition: opacity 0.3s ease-in-out;
}

/* Líneas superior e inferior */
.navbar-diegogas .navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: white;
  top: 6px;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.navbar-diegogas .navbar-toggler-icon span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: white;
  bottom: 6px;
  transition: transform 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

/* Animación a X cuando el menú está abierto */
.navbar-diegogas .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  opacity: 0;
}

.navbar-diegogas .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(45deg);
  top: 11px;
}

.navbar-diegogas .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  transform: rotate(-45deg);
  bottom: 11px;
}

@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

.navbar .navbar-brand.diego-logo {
  font-family: 'Lobster', cursive;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;

  /* DEGRADADO */
  background: linear-gradient(to bottom, #ffcc00, #ff6600);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* BORDE */
  paint-order: stroke fill;

  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.3));
}

header .datos .item-datos {
  display: flex;
  padding: 10px;
  justify-content: center;
  color: white;
  gap: 40px;
  white-space: nowrap;
}

/* Responsive navbar */
@media (max-width: 1180px) {
  .navbar-diegogas .navbar-brand.diego-logo {
    font-size: 1.8rem;
  }

  .navbar-diegogas .navbar-nav {
    padding: 0 0;
    text-align: center;
  }

  .navbar-diegogas .dropdown-menu {
    text-align: center;
  }

  .navbar-diegogas form.d-flex {
    justify-content: center;
    margin-top: 10px;
  }
}

/* Carrusel */
.carousel-diegogas {
  position: relative;
  height: 100vh;
}

.carousel-diegogas .carousel-inner,
.carousel-diegogas .carousel-item {
  height: 100%;
}

.carousel-diegogas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.carousel-overlay {
  padding-top: 95px;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}

.carousel-overlay .carousel-buttons a,
.carousel-overlay h3 {
  pointer-events: auto;
  position: relative;
  z-index: 20;
}

.slow-transition .carousel-item {
  transition: transform 1.2s ease-in-out;
}

.carousel-overlay h3 {
  font-size: 2.2rem;
  font-weight: bold;
  max-width: 600px;
  margin-bottom: 20px;
}

.carousel-buttons a {
  margin-right: 10px;

}

@media (max-width: 1180px) {
  .carousel-diegogas {
    height: 100vh;
  }

  .carousel-overlay {
    align-items: center;
    padding-left: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
  }

  .carousel-overlay h3 {
    font-size: 1.3rem;
    padding: 0 20px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .carousel-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .carousel-buttons a {
    margin-right: 0;
    min-width: 150px;
  }
}

@media (max-width: 414px) {
  .carousel-diegogas {
    height: 70vh;
  }

  .carousel-overlay {
    padding-top: 98.8px;
  }

  .carousel-overlay h1 {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .carousel-buttons a {
    font-size: 0.9rem;
    padding: 8px 16px;
    min-width: 120px;
  }

  /* POR QUE ELEGIRNOS */

  .carousel-item .item {
    max-width: 200px;
  }

  .porque-elegirnos {
    padding: 1px;
  }

  .porque-elegirnos h2 {
    font-size: 20px;
  }

  .porque-elegirnos .item i {
    font-size: 45px;
  }

  .porque-elegirnos .item p {
    font-size: 16px;
  }

  .porque-elegirnos .item span {
    font-size: 13px;
  }
}

/* Seccion 2 /Por qué elegirnos/ */
.porque-elegirnos {
  background-color: #0056A4;
  padding: 20px;
  text-align: center;
  color: white;
}

.porque-elegirnos h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
}

.porque-elegirnos .puntos {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.porque-elegirnos .item {
  padding: 0 25px;
}

.porque-elegirnos .item i {
  font-size: 55px;
  color: #FFD700;
}

.porque-elegirnos .item p {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}

.porque-elegirnos .item span {
  font-weight: 400;
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 1180px) {
  .carousel-item .item {
    margin: auto;
    max-width: 250px;
  }

  .porque-elegirnos h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .porque-elegirnos {
    padding: 15px 10px;
  }
}

/* Sección Nosotros */
.nosotros {
  background-color: #fff;
  overflow: hidden;
}

.ls-1 {
  letter-spacing: 2px;
}

.linea-azul {
  width: 60px;
  height: 4px;
  background-color: #003b73;
  border-radius: 2px;
}

.marco-azul {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid #003b73;
  border-radius: 10px;
  z-index: 0;
  opacity: 0.2;
}

@media (max-width: 991px) {
  .nosotros {
    text-align: center;
  }

  .linea-azul {
    margin: 0 auto 1.5rem auto;
  }

  .marco-azul {
    display: none;
  }
}

/* ===== SECCIÓN FONDO AZUL ===== */
.nuestro-equipo {
  background-color: #0056A4;
  padding: 60px 0;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  background: linear-gradient(180deg, #0056A4 0%, #004481 100%);
}

.section-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: #FFD700;
  margin: 0 auto;
  border-radius: 2px;
}

.team-card {
  background: white;
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-width: 320px;
  margin: 0 auto;
}

.img-wrapper {
  width: 130px;
  height: 130px;
  margin: 0 auto 15px;
  position: relative;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f0f0f0;
  transition: transform 0.5s ease;
}

.team-card:hover .img-wrapper img {
  transform: scale(1.05);
  border-color: #FFD700;
}

.card-content h4 {
  color: #0056A4;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.card-content .role {
  display: block;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slow-transition .carousel-item {
  transition: transform 1.2s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  border-radius: 50%;
  background-size: 60%;
  padding: 0 5px;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}


.nuestros-productos .hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nuestros-productos .hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.nuestros-productos .object-fit-cover {
  object-fit: cover;
}

.marcas .logo-box {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.marcas .logo-hover {
  max-height: 100%;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s ease;
}

.marcas .logo-box:hover {
  transform: scale(1.03);
}

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

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #e9ecef;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button {
  text-align: left;
  background-color: #f2f2f2;
  font-size: 1.1rem;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, .125);
}

.accordion-item:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.3s ease;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.1);
}

.diego-logo {
  font-family: 'Lobster', cursive;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;

  background: linear-gradient(to bottom, #ffcc00, #ff6600);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  paint-order: stroke fill;

  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.3));
}

footer {
  background-color: #00204a;
}

.hover-link {
  transition: all 0.3s ease;
  opacity: 0.8;
}

.hover-link:hover {
  color: #ffc107 !important;
  padding-left: 5px;
  opacity: 1;
}

.btn-floating {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-floating:hover {
  background-color: #ffc107;
  color: #000;
  border-color: #ffc107;
}

.marcas .slider-infinito {
  height: auto;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marcas .slide-track {
  padding: 5px 0;
  display: flex;
  width: 3000px;
  animation: scrollMarcas 30s linear infinite;
}

/* PARA PAUSAR  .marcas .slider-infinito:hover .slide-track {
    animation-play-state: paused;
} */

.marcas .slide {
  height: 100px;
  width: 250px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marcas .logo-box {
  background: white;
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
  /* shadow-sm */
  transition: transform 0.3s ease;
  cursor: pointer;
}

.marcas .logo-box img {
  max-width: 100%;
  max-height: 80px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

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

.marcas .logo-box:hover {
  transform: scale(1.05);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

@keyframes scrollMarcas {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1500px);
  }
}

.hover-up {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

#marcasTab .nav-link {
  border-radius: 50px;
  margin-right: 5px;
  color: #555;
  border: 1px solid #ddd;
}

#marcasTab .nav-link.active {
  background-color: #0056A4;
  color: white;
  border-color: #0056A4;
}

.flex-nowrap {
  padding-bottom: 10px;
}