/* ==================== CONFIGURACIÓN GLOBAL ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ==================== NAVEGACIÓN ==================== */
.custom-navbar,
.navbar {
  background-color: #2c2c2c !important;
  padding: 0.9375rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 60px;
  filter: brightness(0) invert(1);
}

.navbar-nav {
  margin: 0 auto;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin: 0 1.25rem;
  padding: 0.5rem 0 !important;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ccc;
}

.deep-branding {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-left: 1.25rem;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== SECCIÓN INICIO ==================== */
.Inicio {
  background-color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 6rem;
}

.Inicio .content {
  max-width: 800px;
  width: 100%;
  padding: 2rem;
  z-index: 1;
}

.Inicio .content h1 {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.Inicio .content h1 span {
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  font-weight: 300;
}

.Inicio .content h1 strong {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  display: block;
  margin-top: 0.5rem;
}

.compu-img-full {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==================== SECCIÓN CONTACTO ==================== */
.contact {
  min-height: 50vh;
  background-image: url("tentaculo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.contact h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

.Redes {
  padding: 6.25rem 1.25rem;
}

.Redes .card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.Redes .card {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.Redes .card:hover {
  transform: scale(1.05);
}

.Redes .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== SECCIÓN CLIENTES ==================== */
.Clientes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 60vh;
  background-color: #111;
  padding: 4rem 2rem;
}

.Clientes .content {
  max-width: 1200px;
  width: 100%;
}

.Clientes h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  font-weight: 600;
}

.Clientes img {
  max-width: 100%;
  height: auto;
}

/* ==================== SECCIÓN NUESTRAS MARCAS ==================== */
.Nuestras-Marcas {
  background-color: #fff;
  color: #000;
  padding: 4rem 2rem;
}

.Nuestras-Marcas .content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.Nuestras-Marcas .content h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 700;
}

.icono {
  width: clamp(40px, 5vw, 60px);
  height: auto;
  margin: 0 0.5rem;
  vertical-align: middle;
}

.Nuestras-Marcas .content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card:hover {
  transform: scale(1.05);
}

.Nuestras-Marcas .content .contorno {
  color: #fff;
  text-align: center;
  margin-bottom: 1.875rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin: 1.875rem 0;
  flex-wrap: wrap;
}

.logo-container img {
  width: clamp(120px, 15vw, 200px);
  height: auto;
  transition: transform 0.3s;
}

.logo-container img:hover {
  transform: scale(1.1);
}

/* ==================== SECCIÓN SERVICIOS ==================== */
.Servicios,
.Servicios-invertido {
  padding: 6.25rem 3.125rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.Servicios {
  background-color: #111;
}

.Servicios-invertido {
  background-color: #222;
}

.Servicios .content,
.Servicios-invertido .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.content-izq {
  flex: 1 1 45%;
  min-width: 280px;
}

.content-der,
.content-der2,
.content-der3 {
  flex: 1 1 45%;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-S {
  margin-bottom: 2.5rem;
}

.content-S h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.875rem;
  letter-spacing: 2px;
}

.content-izq > h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.875rem;
}

.content-der img,
.content-der2 img,
.content-der3 img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.linea-lista {
  list-style: none;
  padding-left: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.8;
}

.linea-lista li {
  position: relative;
  padding-left: 1.5625rem;
  margin-bottom: 0.75rem;
}

.linea-lista li::before {
  content: "—";
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  font-weight: 900;
  top: -2px;
}

.linea-lista ul {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.linea-lista ul li {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: #ccc;
  margin-bottom: 0.5rem;
}

.linea-lista ul li::before {
  content: "—";
  font-size: 1.2rem;
  color: #888;
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 991.98px) {
  .navbar-nav {
    margin: 1.25rem 0;
  }

  .nav-link {
    margin: 0.625rem 0;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    margin-top: 1.25rem;
  }

  .deep-branding {
    text-align: center;
    margin: 0.625rem 0 0 0;
  }

  .Servicios-invertido .content-izq {
    order: 1;
  }

  .Servicios-invertido .content-der,
  .Servicios-invertido .content-der2 {
    order: 2;
  }

  .content-der2 {
    margin-left: 0;
  }

  .content-der2 img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .Servicios,
  .Servicios-invertido {
    padding: 3.125rem 1.25rem;
    min-height: auto;
  }

  .Servicios .content,
  .Servicios-invertido .content {
    flex-direction: column;
  }

  .content-izq,
  .content-der,
  .content-der2,
  .content-der3 {
    flex: 1 1 100%;
    min-width: unset;
  }

  .card-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .logo-container {
    gap: 1.25rem;
  }

  .Redes {
    padding: 3.125rem 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .Inicio {
    padding-top: 4rem;
  }

  .Servicios,
  .Servicios-invertido {
    padding: 2.5rem 0.9375rem;
  }

  .card-container {
    grid-template-columns: 1fr;
    gap: 0.9375rem;
  }

  .Redes .card-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}