
.laeca-servicios-experiencia,
.laeca-servicios-experiencia *,
.laeca-servicios-experiencia *::before,
.laeca-servicios-experiencia *::after {
  box-sizing: border-box;
}

.laeca-servicios-experiencia h2,
.laeca-servicios-experiencia p {
  margin: 0;
  padding: 0;
}

.laeca-servicios-experiencia {
  width: 100%;
  padding-top: 5rem; /* pt-20 */
  padding-bottom: 0;
  background: #ffffff;
  font-family: "Inter", sans-serif;
}

/* max-w-7xl mx-auto px-6 md:px-12 mb-12 */
.laeca-servicios-experiencia__container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* grid grid-cols-1 md:grid-cols-2 gap-12 items-center */
.laeca-servicios-experiencia__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* text-4xl md:text-5xl font-display font-extrabold
   leading-tight tracking-wide uppercase */
.laeca-servicios-experiencia__title {
  color: #1a40ff;
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}


/* space-y-8 */
.laeca-servicios-experiencia__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* text-gray-600 font-sans text-sm md:text-base leading-relaxed */
.laeca-servicios-experiencia__desc {
  color: #4b5563;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.625;
}

/* inline-flex items-center gap-2 text-laeca-blue border
   px-6 py-2 rounded-none text-sm font-medium */
.laeca-servicios-experiencia__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;

  padding: 0.5rem 1.5rem;

  border: 1px solid #1a40ff;
  border-radius: 0;

  background: transparent;
  color: #1a40ff;

  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;

  text-decoration: none;

  transition:
    background-color .3s ease,
    color .3s ease;
}

.laeca-servicios-experiencia__btn:hover {
  background: #1a40ff;
  color: #ffffff;
}

.laeca-servicios-experiencia__btn svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* grid grid-cols-1 md:grid-cols-3 h-80 */
.laeca-servicios-experiencia__images {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.laeca-servicios-experiencia__image-card {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  cursor: pointer;
}

.laeca-servicios-experiencia__image-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.laeca-servicios-experiencia__image-card:hover img {
  transform: scale(1.05);
}

/* bg-black/60 backdrop-blur-sm ... opacity-0 group-hover:opacity-100 */
.laeca-servicios-experiencia__image-overlay {
  position: absolute;
  inset: 0;

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

  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  opacity: 0;
  transition: opacity .3s ease;
}

.laeca-servicios-experiencia__image-card:hover .laeca-servicios-experiencia__image-overlay {
  opacity: 1;
}

/* text-2xl md:text-3xl uppercase tracking-wider */
.laeca-servicios-experiencia__image-overlay span {
  padding-left: 1rem;
  padding-right: 1rem;

  color: #ffffff;
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

/* =========================================================
MD ORIGINAL: 768px+
========================================================= */
@media (min-width: 768px) {
  .laeca-servicios-experiencia__container {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .laeca-servicios-experiencia__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .laeca-servicios-experiencia__title {
    font-size: 3rem;
  }

  .laeca-servicios-experiencia__desc {
    font-size: 1rem;
  }

  .laeca-servicios-experiencia__images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 20rem;
  }

  .laeca-servicios-experiencia__image-card {
    height: 100%;
  }

  .laeca-servicios-experiencia__image-overlay span {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .laeca-servicios-experiencia__title {
    font-size: 3rem;
    line-height: 1.25;
    letter-spacing: 0.025em;
  }

  .laeca-servicios-experiencia__desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625;
  }
}


/* =========================================================
MATCH VISUAL CON LA CAPTURA ORIGINAL · ESCRITORIO
========================================================= */
@media (min-width: 1024px) {
  .laeca-servicios-experiencia__container {
    max-width: 1180px;
    margin-bottom: 3rem;
    padding-left: 0;
    padding-right: 0;
  }

  .laeca-servicios-experiencia__grid {
    grid-template-columns: 550px minmax(0, 1fr);
    column-gap: 52px;
    align-items: center;
  }

  .laeca-servicios-experiencia__title {
    width: 550px;
    margin: 0 !important;

    font-family: "Barlow Condensed", sans-serif;
    font-size: 48px;
    font-weight: 800;
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;

    line-height: 1.20;
    letter-spacing: 0.025em;

    color: #1a40ff;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .laeca-servicios-experiencia__right {
    width: 100%;
    max-width: 560px;
    gap: 2rem;
  }

  .laeca-servicios-experiencia__desc {
    width: 560px;
    max-width: 560px;
    margin: 0 !important;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-synthesis: none;

    line-height: 1.625;
    letter-spacing: 0;

    color: #4b5563;
    -webkit-font-smoothing: antialiased;
  }

  .laeca-servicios-experiencia__btn {
    margin-top: 0;
    text-transform: none;
  }
}

/* En tablet y móvil no forzamos los saltos del párrafo. */
@media (max-width: 1023px) {
  .laeca-exp-desktop-break {
    display: none !important;
  }
}


/* =========================================================
TIPOGRAFÍAS EXACTAS SOLICITADAS · ESCRITORIO
========================================================= */
@media (min-width: 1024px) {
  .laeca-servicios-experiencia__title {
    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-weight: 800;
    color: rgb(26, 64, 255);
    font-size: 64px;
    line-height: 60px;
  }

  .laeca-servicios-experiencia__desc {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    color: rgb(107, 114, 128);
    font-size: 18px;
    line-height: 30px;
  }
}


/* =========================================================
AJUSTE FINAL PARA QUE QUEDE COMO EL ORIGINAL
========================================================= */
@media (min-width: 1024px) {
  .laeca-servicios-experiencia__container {
    max-width: 1220px !important;
    margin: 0 auto 3rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .laeca-servicios-experiencia__grid {
    grid-template-columns: 560px 1fr !important;
    column-gap: 70px !important;
    align-items: center !important;
  }

  .laeca-servicios-experiencia__title {
    width: 560px !important;
    max-width: 560px !important;
    margin: 0 !important;
    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-weight: 800;
    color: rgb(26, 64, 255);
    font-size: 64px;
    line-height: 60px;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .laeca-servicios-experiencia__title span {
    display: block !important;
    white-space: nowrap !important;
  }

  .laeca-servicios-experiencia__right {
    width: 100% !important;
    max-width: 560px !important;
    gap: 2rem !important;
    align-self: center !important;
    padding-top: 8px !important;
  }

  .laeca-servicios-experiencia__desc {
    width: 560px !important;
    max-width: 560px !important;
    margin: 0 !important;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    color: rgb(107, 114, 128);
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0;
  }

  .laeca-servicios-experiencia__desc span {
    display: block !important;
    white-space: nowrap !important;
  }

  .laeca-servicios-experiencia__btn {
    margin-top: 0 !important;
  }
}

/* En tablet y móvil dejamos que el texto fluya normal */
@media (max-width: 1023px) {
  .laeca-servicios-experiencia__title span,
  .laeca-servicios-experiencia__desc span {
    display: inline;
    white-space: normal;
  }

  .laeca-servicios-experiencia__desc span + span::before {
    content: " ";
  }
}


/* =========================================================
TABLET · ESTILO VISUAL COMO EL ORIGINAL
Solo afecta 768px–1023px. PC y móvil quedan intactos.
========================================================= */
@media (min-width: 768px) and (max-width: 1023px) {

  .laeca-servicios-experiencia__container {
    max-width: 100%;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }

  .laeca-servicios-experiencia__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 2.5rem !important;
    align-items: center !important;
  }

  /* TÍTULO · misma identidad del original */
  .laeca-servicios-experiencia__title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-weight: 800;

    color: rgb(26, 64, 255);

    font-size: 48px;
    line-height: 46px;
    letter-spacing: 0;

    text-transform: uppercase;
  }

  .laeca-servicios-experiencia__title span {
    display: block !important;
    white-space: normal !important;
  }

  /* BLOQUE DE TEXTO · gris, más grueso y con el estilo del original */
  .laeca-servicios-experiencia__right {
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.75rem !important;
    padding-top: 0 !important;
  }

  .laeca-servicios-experiencia__desc {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;

    color: rgb(107, 114, 128);

    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
  }

  .laeca-servicios-experiencia__desc span {
    display: inline !important;
    white-space: normal !important;
  }

  .laeca-servicios-experiencia__desc span + span::before {
    content: " ";
  }

  .laeca-servicios-experiencia__btn {
    margin-top: 0 !important;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
  }
}



/* =========================================================
MÓVIL · TÍTULO ORGANIZADO TAL CUAL EL ORIGINAL
========================================================= */
@media (max-width: 767px) {
  .laeca-servicios-experiencia__container {
    padding-left: 1.375rem !important;
    padding-right: 1.375rem !important;
    margin-bottom: 2.5rem !important;
  }

  .laeca-servicios-experiencia__grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
  }

  .laeca-servicios-experiencia__title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-weight: 800;
    color: rgb(26, 64, 255);

    font-size: 38px;
    line-height: 38px;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  /* Distribución exacta solicitada para móvil:
     LAECA POSEE EXPERIENCIA
     EN LA EJECUCIÓN DE PROYECTOS
     EN DIFERENTES NIVELES DE
     TENSIÓN ELÉCTRICA */
  .laeca-servicios-experiencia__title span {
    display: block !important;
    white-space: nowrap !important;
  }

  .laeca-servicios-experiencia__right {
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.5rem !important;
    padding-top: 0 !important;
  }

  .laeca-servicios-experiencia__desc {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;

    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 700;
    color: rgb(107, 114, 128);

    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0;
  }

  .laeca-servicios-experiencia__desc span {
    display: inline !important;
    white-space: normal !important;
  }

  .laeca-servicios-experiencia__desc span + span::before {
    content: " ";
  }

  .laeca-servicios-experiencia__btn {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-top: .25rem !important;
  }
}


/* =========================================================
MÓVIL · TAMAÑO AJUSTADO PARA QUE LAS 4 LÍNEAS NO INVADAN EL CONTENIDO
========================================================= */
@media (max-width: 767px) {
  .laeca-servicios-experiencia__title {
    width: 100% !important;
    max-width: 100% !important;

    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-weight: 800;
    color: rgb(26, 64, 255);

    font-size: 30px;
    line-height: 31px;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .laeca-servicios-experiencia__title span {
    display: block !important;
    white-space: nowrap !important;
  }

  .laeca-servicios-experiencia__grid {
    gap: 2.25rem !important;
  }
}

@media (max-width: 420px) {
  .laeca-servicios-experiencia__title {
    font-size: 28px;
    line-height: 29px;
  }
}


/* =========================================================
PC · TAMAÑO AJUSTADO PARA MANTENER LAS 4 LÍNEAS SIN INVADIR EL CONTENIDO
========================================================= */
@media (min-width: 1024px) {
  .laeca-servicios-experiencia__title {
    width: 100% !important;
    max-width: 520px !important;

    font-family: "Barlow Condensed", sans-serif;
    font-style: normal;
    font-weight: 800;
    color: rgb(26, 64, 255);

    font-size: 52px;
    line-height: 50px;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .laeca-servicios-experiencia__title span {
    display: block !important;
    white-space: nowrap !important;
  }

  .laeca-servicios-experiencia__grid {
    grid-template-columns: 520px minmax(0, 1fr) !important;
    column-gap: 70px !important;
  }
}


/* =========================================================
PC · DESPLAZAR COMPLETO EL BLOQUE DERECHO
Evita que el contenido derecho se monte sobre el título.
========================================================= */
@media (min-width: 1024px) {
  .laeca-servicios-experiencia__right {
    transform: translateX(58px);
  }
}

