* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
}

.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #0f7cf8;
}

.seccion-inicio {
  min-height: 120vh;
  background: linear-gradient(to bottom, rgba(34, 51, 56, .75) 0%, rgba(10, 10, 10, .92) 20%), url('Imagenes/fondo.jpg') center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}

.titulo-techno {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  letter-spacing: 6px;
  line-height: 1;
  color: #fff;
}

.titulo-importaciones {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 8px;
  margin-top: .4rem;
  margin-bottom: 1.5rem;
  color: #aaa;
}

.parrafo-hero {
  font-size: 1.15rem;
  color: #bbb;
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background-color: #0f7cf8;
  color: #fff;
  padding: .85rem 2rem;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color .3s;
}

.btn-primary:hover {
  background-color: #0c66d4;
}

.qs-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.qs-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.qs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
}

.qs-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 3rem 2.5rem;
}

.qs-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
  color: #fff;
  line-height: 1;
  min-height: 1.2em;
  display: flex;
  align-items: center;
  gap: 2px;
}

.typewriter-cursor {
  display: inline-block;
  color: #0f7cf8;
  animation: blink-cursor .75s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .45s ease, transform .45s ease;
}

.fade-in-delay {
  transition-delay: .18s;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.qs-dos-col {
  background-color: #fff;
  padding: 4rem 2rem;
}

.qs-dos-col-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.qs-texto-azul {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f7cf8;
  line-height: 1.75;
}

.qs-texto-derecha {
  font-size: .95rem;
  color: #555;
  line-height: 1.8;
  padding-top: .3rem;
}

.qs-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.qs-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(60%);
}

.qs-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 50, .72);
}

.qs-banner-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  text-align: center;
}

.qs-banner-texto {
  font-size: 1.05rem;
  color: #ddd;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.qs-banner-btn {
  display: inline-block;
  background-color: #0f7cf8;
  color: #fff;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background-color .3s, transform .2s;
}

.qs-banner-btn:hover {
  background-color: #0c66d4;
  transform: translateY(-2px);
}

.qs-franja {
  background-color: #2b2f38;
  padding: 4rem 2rem;
}

.qs-franja-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.qs-franja-titulo {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.qs-franja-subtitulo {
  font-size: .85rem;
  color: #0f7cf8;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.qs-franja-parrafo {
  font-size: .9rem;
  color: #aaa;
  line-height: 1.75;
}

.qs-franja-img-wrap {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  overflow: hidden;
}

.qs-franja-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seccion-nosotros {
  background-color: #f4f6f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 1rem;
}

.container-nosotros {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-label-nosotros {
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0f7cf8;
  margin-bottom: .5rem;
}

.titulo-seccion-nosotros {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: #111;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nosotros-card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.nosotros-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #dde3ec;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.nosotros-card:hover .card-img {
  transform: scale(1.04);
}

.card-body {
  padding: 1rem 1.1rem 1.3rem;
}

.card-title {
  font-size: .95rem;
  font-weight: 600;
  color: #111;
  margin-bottom: .4rem;
  padding-left: .75rem;
  border-left: 3px solid #0f7cf8;
}

.card-text {
  font-size: .85rem;
  color: #666;
  line-height: 1.6;
}

.postes-seccion {
  background-color: #fff;
}

.postes-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.postes-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.postes-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .2), rgba(0, 0, 0, .65));
}

.postes-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem 2.5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.postes-breadcrumb {
  font-size: .82rem;
  color: #ddd;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.postes-bc-link {
  color: #ddd;
  text-decoration: none;
  transition: color .2s;
}

.postes-bc-link:hover {
  color: #0f7cf8;
}

.postes-bc-sep {
  color: #aaa;
}

.postes-bc-actual {
  color: #bbb;
}

.postes-hero-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
  max-width: 680px;
}

.postes-contenido {
  background-color: #fff;
  padding: 4rem 2rem 5rem;
}

.postes-bloque {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.postes-separador-bloque {
  max-width: 1100px;
  margin: 3rem auto;
  height: 1px;
  background-color: #e2e8f0;
}

.postes-col-img {
  width: 100%;
}

.postes-img-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}

.postes-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.postes-col-texto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.postes-descripcion {
  font-size: .97rem;
  color: #333;
  line-height: 1.8;
}

.postes-ventajas-titulo-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.postes-ventajas-icono {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.postes-ventajas-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #111;
}

.postes-ventajas-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.postes-ventaja-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: #333;
}

.postes-flecha {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.postes-whatsapp-wrap {
  margin-top: .5rem;
  display: flex;
  justify-content: flex-start;
}

.postes-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background-color: #25d366;
  color: #fff;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background-color .3s, transform .2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

.postes-whatsapp-btn:hover {
  background-color: #1db954;
  transform: translateY(-2px);
}

.postes-wa-icono {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.postes-img-movil {
  display: none;
}

.solar-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.solar-col-imgs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.solar-col-texto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-inferior {
  background-color: #3d4450;
  padding: 4rem 2rem;
}

.contacto-inferior-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ci-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  max-width: 600px;
}

.ci-ubicacion {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.ci-planta-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0f7cf8;
}

.ci-direccion {
  font-size: .92rem;
  color: #cccccc;
  max-width: 420px;
  line-height: 1.6;
}

.ci-mapa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background-color: #0f7cf8;
  color: #fff;
  padding: .65rem 1.5rem;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s, transform .2s;
  width: fit-content;
}

.ci-mapa-btn:hover {
  background-color: #0c66d4;
  transform: translateY(-2px);
}

.ci-contactos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.ci-col {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.ci-col-titulo {
  font-size: .95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .2rem;
}

.ci-contacto-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: #cccccc;
  text-decoration: none;
  transition: color .2s;
}

.ci-contacto-item:hover {
  color: #0f7cf8;
}

.ci-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.ci-col-redes {
  flex-direction: row;
  gap: .8rem;
  align-items: center;
}

.cac-detalle {
  background-color: #ffffff;
  padding: 0 2rem 5rem;
}

.cac-seccion-separador {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #0f7cf8, #01ccff);
  margin-bottom: 4rem;
}

.cac-detalle-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cac-col-imgs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cac-img-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .1);
}

.cac-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cac-col-texto {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.cac-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 2px;
  color: #111111;
}

.cac-descripcion {
  font-size: .95rem;
  color: #444;
  line-height: 1.8;
}

.cac-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.cac-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: #333;
}

.cac-icono-x {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.cac-wa-wrap {
  display: flex;
  justify-content: flex-start;
}

.cac-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background-color: #25d366;
  color: #ffffff;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background-color .3s, transform .2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
}

.cac-wa-btn:hover {
  background-color: #1db954;
  transform: translateY(-2px);
}

.cac-wa-icono {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.seccion-videos {
  background-color: #f4f6f9;
  padding: 5rem 2rem;
}

.videos-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.videos-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 2px;
  color: #111;
  margin-bottom: 2.5rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  background-color: #000;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.contacto-final {
  background-color: #3d4450;
  padding: 4rem 2rem 5rem;
}

.cf-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cf-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-breadcrumb {
  font-size: .8rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.cf-bc-link {
  color: #aaa;
  text-decoration: none;
}

.cf-bc-link:hover {
  color: #0f7cf8;
}

.cf-bc-sep {
  color: #777;
}

.cf-bc-actual {
  color: #999;
}

.cf-titulo {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  max-width: 600px;
}

.cf-divisor {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, .15);
}

.cf-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.cf-col {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.cf-planta-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0f7cf8;
}

.cf-direccion {
  font-size: .9rem;
  color: #bbbbbb;
  line-height: 1.6;
}

.cf-mapa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background-color: #0f7cf8;
  color: #fff;
  padding: .65rem 1.5rem;
  border-radius: 4px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s, transform .2s;
  width: fit-content;
}

.cf-mapa-btn:hover {
  background-color: #0c66d4;
  transform: translateY(-2px);
}

.cf-col-titulo {
  font-size: .95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: .2rem;
}

.cf-contacto-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: #cccccc;
  text-decoration: none;
  transition: color .2s;
}

.cf-contacto-item:hover {
  color: #0f7cf8;
}

.cf-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.cf-col-redes {
  flex-direction: row;
  gap: .8rem;
  align-items: center;
}

.cf-red-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}

.cf-red-btn:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.cf-red-fb {
  background-color: #1877f2;
}

.cf-red-li {
  background-color: #0a66c2;
}

@media (max-width: 1024px) {
  .nosotros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cf-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-bar {
    padding: 1.2rem 1rem;
  }
  .nav-links {
    gap: 1.2rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
  .nav-links a {
    font-size: .8rem;
  }
  .seccion-inicio {
    padding: 7rem 1rem 3rem;
  }
  .qs-dos-col-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .qs-franja-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .qs-franja-img-wrap {
    height: 200px;
  }
  .qs-hero-content {
    padding: 1.5rem 1.5rem 2rem;
  }
  .nosotros-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 .5rem;
  }
  .card-body {
    padding: .8rem .9rem 1rem;
  }
  .card-title {
    font-size: .85rem;
  }
  .card-text {
    font-size: .78rem;
  }
  .postes-bloque {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .postes-separador-bloque {
    margin: 1.5rem auto;
  }
  .postes-col-img--desktop {
    display: none;
  }
  .postes-img-movil {
    display: block;
    margin-top: .5rem;
  }
  .postes-img {
    height: 240px;
  }
  .postes-hero {
    height: 240px;
  }
  .postes-hero-content {
    padding: 0 1.5rem 2rem;
  }
  .postes-contenido {
    padding: 2.5rem 1.5rem 3.5rem;
  }
  .solar-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .solar-img--desktop {
    display: none;
  }
  .ci-contactos-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ci-col-redes {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .cac-detalle-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .cf-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .cf-col-redes {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: .8rem;
  }
  .nav-links a {
    font-size: .75rem;
  }
  .postes-hero-titulo {
    font-size: 1.5rem;
  }
  .nosotros-grid {
    grid-template-columns: 1fr;
  }
}