/* =========================================================
REINICIO AISLADO PARA ELEMENTOR
========================================================= */

.laeca-elementor-hero-wrapper,
.laeca-elementor-hero-wrapper *,
.laeca-elementor-hero-wrapper *::before,
.laeca-elementor-hero-wrapper *::after {
  box-sizing: border-box;
}

.laeca-elementor-hero-wrapper h1,
.laeca-elementor-hero-wrapper p,
.laeca-elementor-hero-wrapper img,
.laeca-elementor-hero-wrapper video {
  margin-top: 0;
  padding: 0;
}

.laeca-elementor-hero-wrapper {
  --laeca-accent: #1a40ff;

  position: relative;
  width: 100%;
  height: 160vh;
  margin: 0;
  padding: 0;

  background: #0b1a2b;
  overflow: visible;
}

/* =========================================================
HERO ORIGINAL
========================================================= */

.laeca-elementor-hero-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;

  display: flex;
  align-items: center;

  margin: 0;
  padding: 80px 0 0;

  overflow: hidden;
  will-change: transform;
}

/* =========================================================
CAPAS DE FONDO
========================================================= */

.laeca-elementor-hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;
}

.laeca-elementor-hero-image-layer {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  will-change: opacity, transform;
}

.laeca-elementor-hero-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  display: block;

  object-fit: cover;
  object-position: center;
}

.laeca-elementor-hero-video {
  position: absolute;
  inset: 0;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  display: block;

  object-fit: cover;
  object-position: center;

  opacity: 0;
  will-change: opacity, transform;
}

/* =========================================================
OVERLAYS ORIGINALES
========================================================= */

.laeca-elementor-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.laeca-elementor-overlay-gradient-r {
  background: linear-gradient(
    to right,
    rgba(11, 26, 43, 0.78) 0%,
    rgba(11, 26, 43, 0.45) 50%,
    rgba(11, 26, 43, 0.2) 100%
  );
}

.laeca-elementor-overlay-gradient-t {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.laeca-elementor-overlay-accent {
  background: rgba(26, 64, 255, 0.04);
}

/* =========================================================
CUADRÍCULA ORIGINAL
========================================================= */

.laeca-elementor-hero-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;

  opacity: 0.04;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(26, 64, 255, 0.2) 60px,
      rgba(26, 64, 255, 0.2) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(26, 64, 255, 0.2) 60px,
      rgba(26, 64, 255, 0.2) 61px
    );
}

/* =========================================================
CONTENIDO ORIGINAL
========================================================= */

.laeca-elementor-hero-content {
  position: relative;
  z-index: 10;

  width: 100%;
  padding: 0 1.5rem;

  will-change: opacity, transform;
}

.laeca-elementor-hero-content-inner {
  position: relative;

  width: 100%;
  max-width: 48rem;

  margin-left: 5%;
  padding-left: 1.25rem;
}

/* =========================================================
LÍNEA AZUL
========================================================= */

.laeca-elementor-hero-accent-line {
  position: absolute;

  left: 0;
  top: 4px;
  bottom: 4px;

  width: 3px;

  background: var(--laeca-accent);
  border-radius: 9999px;
}

/* =========================================================
SUBTÍTULO ORIGINAL
========================================================= */

.laeca-elementor-hero-subtitle {
  margin: 0 0 1.25rem;

  color: rgba(255, 255, 255, 0.6);

  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.25em;

  text-transform: uppercase;
}

/* =========================================================
TÍTULO ORIGINAL
========================================================= */

.laeca-elementor-headline-text {
  margin: 0 0 1.25rem;

  color: #ffffff;

  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 72px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.02em;

  text-transform: uppercase;
}

.laeca-elementor-block {
  display: block;
}

.laeca-elementor-mt-1 {
  margin-top: 0.25rem;
}

/* =========================================================
DESCRIPCIÓN ORIGINAL
========================================================= */

.laeca-elementor-description {
  max-width: 32rem;
  margin: 0 0 2rem;

  color: rgba(255, 255, 255, 0.8);

  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.625;
}

.laeca-mobile-break {
  display: none;
}


.laeca-mobile-desc-line {
  display: inline;
}

.laeca-mobile-desc-line + .laeca-mobile-desc-line::before {
  content: " ";
}

/* =========================================================
BOTÓN ORIGINAL
========================================================= */

.laeca-elementor-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  margin: 0;
  padding: 0.875rem 2rem;

  border: 1px solid transparent;
  border-radius: 0;

  background: var(--laeca-accent);
  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.05em;

  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;

  transition: all 0.3s ease;
}

.laeca-elementor-btn:hover {
  border-color: rgba(26, 64, 255, 0.2);
  background: #ffffff;
  color: #0b1a2b;
}

.laeca-elementor-btn-arrow-container {
  width: 1.25rem;
  height: 1.25rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.3s ease;
}

.laeca-elementor-btn:hover
.laeca-elementor-btn-arrow-container {
  transform: translateX(4px);
}

/* =========================================================
RESPONSIVE ORIGINAL
========================================================= */

@media (min-width: 640px) {
  .laeca-elementor-headline-text {
    font-size: 72px;
  }
}

@media (min-width: 768px) {
  .laeca-elementor-hero-content {
    padding: 0 2.5rem;
  }

  .laeca-elementor-hero-content-inner {
    padding-left: 1.75rem;
  }

  .laeca-elementor-hero-subtitle {
    font-size: 0.875rem;
  }

  .laeca-elementor-headline-text {
    font-size: 60px;
    margin-bottom: 1.5rem;
  }

  .laeca-elementor-description {
    font-size: 1.125rem;
  }

  .laeca-elementor-btn {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .laeca-elementor-hero-content {
    padding: 0 4rem;
  }

  .laeca-elementor-headline-text {
    font-size: 72px;
  }
}

@media (min-width: 1280px) {
  .laeca-elementor-headline-text {
    font-size: 72px;
  }
}

@media (max-width: 768px) {
  .laeca-elementor-hero-content-inner {
    margin-left: 2%;
  }
}

/* =========================================================
ADAPTACIÓN RESPONSIVE FINAL · TABLET + MÓVIL
Mantiene escritorio original intacto.
Se ajustan únicamente posición, ancho, márgenes y espacios
del bloque de contenido para conservar la composición.
========================================================= */

/* TABLET · 768px a 1023px */
@media (min-width: 768px) and (max-width: 1023px) {

  .laeca-elementor-hero-sticky {
    min-height: 720px;
    padding-top: 72px;
    align-items: center;
  }

  .laeca-elementor-hero-content {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1.5rem;
  }

  .laeca-elementor-hero-content-inner {
    width: 100%;
    max-width: 41rem;
    margin-left: 0;
    padding-left: 1.5rem;
    padding-right: 0;
  }

  .laeca-elementor-hero-accent-line {
    top: 0;
    bottom: 2px;
  }

  .laeca-elementor-hero-subtitle {
    width: 100%;
    max-width: 36rem;
    margin-bottom: 1.15rem;
    font-size: 0.875rem;
    line-height: 1.55;
    letter-spacing: 0.22em;
  }

  .laeca-elementor-headline-text {
    width: 100%;
    max-width: 40rem;
    margin-bottom: 1.35rem;
    font-size: 60px;
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .laeca-elementor-block {
    display: block;
    max-width: 100%;
    white-space: nowrap;
  }

  .laeca-elementor-mt-1 {
    margin-top: 0.2rem;
  }

  .laeca-elementor-description {
    width: 100%;
    max-width: 35rem;
    margin-bottom: 1.9rem;
    font-size: 1.125rem;
    line-height: 1.6;
  }

  .laeca-elementor-btn {
    font-size: 1rem;
  }
}


/* MÓVIL · hasta 767px */
@media (max-width: 767px) {

  .laeca-elementor-hero-wrapper {
    height: 150vh;
  }

  .laeca-elementor-hero-sticky {
    min-height: 650px;
    padding-top: 64px;
    align-items: center;
  }

  .laeca-elementor-hero-content {
    width: 100%;
    padding-left: 15px;
    padding-right: 14px;
  }

  .laeca-elementor-hero-content-inner {
    width: 100%;
    max-width: 350px;
    margin-left: 0;
    padding-left: 17px;
    padding-right: 0;
  }

  .laeca-elementor-hero-accent-line {
    top: 0;
    bottom: 2px;
    width: 3px;
  }

  .laeca-elementor-hero-subtitle {
    width: 100%;
    max-width: none;
    margin-bottom: 17px;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .laeca-elementor-headline-text {
    width: 100%;
    max-width: 340px;
    margin-bottom: 20px;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -0.018em;
  }

  .laeca-elementor-block {
    display: block;
    max-width: 100%;
    white-space: nowrap;
  }

  .laeca-elementor-mt-1 {
    margin-top: 5px;
  }

  .laeca-elementor-description {
    width: 100%;
    max-width: 312px;
    margin-bottom: 29px;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0;
    text-wrap: pretty;
  }

  .laeca-elementor-btn {
    min-width: 200px;
    min-height: 46px;
    justify-content: center;
    padding: 0.82rem 1.55rem;
    font-size: 0.875rem;
  }
}


/* Mantener tamaño original entre 640px y 767px */
@media (min-width: 640px) and (max-width: 767px) {
  .laeca-elementor-headline-text {
    font-size: 48px;
  }
}

/* MÓVIL PEQUEÑO · hasta 420px */
@media (max-width: 420px) {

  .laeca-elementor-hero-sticky {
    min-height: 620px;
    padding-top: 64px;
  }

  .laeca-elementor-hero-content {
    padding-left: 14px;
    padding-right: 12px;
  }

  .laeca-elementor-hero-content-inner {
    width: 100%;
    max-width: 348px;
    margin-left: 0;
    padding-left: 17px;
    padding-right: 0;
  }

  .laeca-elementor-hero-subtitle {
    margin-bottom: 17px;
    font-size: 10.5px;
    line-height: 1.45;
    letter-spacing: 0.145em;
    white-space: nowrap;
  }

  .laeca-elementor-headline-text {
    max-width: 335px;
    margin-bottom: 20px;
    font-size: 48px;
    line-height: 1.02;
  }

  .laeca-elementor-description {
    width: 100%;
    max-width: 335px;
    margin-bottom: 29px;
    font-size: 15px;
    line-height: 1.62;
    letter-spacing: 0;
    text-wrap: wrap;
  }

  .laeca-mobile-desc-line {
    display: block;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .laeca-mobile-desc-line + .laeca-mobile-desc-line::before {
    content: none;
  }

  .laeca-mobile-break {
    display: none;
  }

  .laeca-elementor-btn {
    min-width: 200px;
    min-height: 46px;
    padding: 0.78rem 1.35rem;
    font-size: 0.875rem;
  }
}


/* =========================================================
REGLAS FINALES DEL HERO APROBADAS
PC 72px · TABLET 60px · MÓVIL 48px
========================================================= */
@media (min-width: 1024px) {
  .laeca-elementor-headline-text {
    font-size: 72px;
    line-height: 1.02;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .laeca-elementor-hero-content {
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1.5rem !important;
  }

  .laeca-elementor-hero-content-inner {
    width: 100% !important;
    max-width: 41rem !important;
    margin-left: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 0 !important;
  }

  .laeca-elementor-headline-text {
    font-size: 60px;
    line-height: 1.02;
  }
}

@media (max-width: 767px) {
  .laeca-elementor-headline-text {
    font-size: 48px;
    line-height: 1.02;
  }
}


/* =========================================================
TÍTULO · ESTRUCTURA EXACTA DE 3 LÍNEAS
MÁS DE 50 AÑOS
LIDERANDO LA INFRAESTRUCTURA
ELÉCTRICA DE VENEZUELA
========================================================= */
@media (min-width: 768px) {
  .laeca-elementor-headline-text {
    width: 100% !important;
    max-width: 900px !important;
    text-wrap: initial !important;
  }

  .laeca-elementor-headline-text .laeca-elementor-block {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}


/* =========================================================
TÍTULO RESPONSIVE · ESCRITORIO/TABLET Y MÓVIL
========================================================= */
.laeca-elementor-title-desktop {
  display: block;
}

.laeca-elementor-title-mobile {
  display: none;
}

@media (max-width: 767px) {
  .laeca-elementor-title-desktop {
    display: none !important;
  }

  .laeca-elementor-title-mobile {
    display: block !important;
  }

  .laeca-elementor-headline-text {
    width: 100% !important;
    max-width: 320px !important;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -0.018em;
  }

  .laeca-elementor-title-mobile .laeca-elementor-block {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .laeca-elementor-headline-text {
    max-width: 300px !important;
  }
}


/* =========================================================
AJUSTE FUERTE · MÓVIL
FORZAR TÍTULO ORGANIZADO SIN CORTE
========================================================= */
@media (max-width: 767px) {
  .laeca-elementor-headline-text {
    width: 100% !important;
    max-width: 320px !important;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -0.018em;
  }

  .laeca-elementor-headline-text > .laeca-elementor-title-desktop {
    display: none !important;
    visibility: hidden !important;
  }

  .laeca-elementor-headline-text > .laeca-elementor-title-mobile {
    display: block !important;
    visibility: visible !important;
  }

  .laeca-elementor-title-mobile .laeca-elementor-block {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 420px) {
  .laeca-elementor-headline-text {
    max-width: 300px !important;
  }
}
