/* LAECA IPC Scope widget: estilos aislados por clases propias */
.laeca-ipc-scope,
  .laeca-ipc-scope * {
    box-sizing: border-box;
  }

  .laeca-ipc-scope {
    position: relative;
    width: 100%;
    padding: 110px 0;

    background:
      radial-gradient(
        circle at top left,
        rgba(26, 64, 255, 0.08) 0%,
        rgba(26, 64, 255, 0) 38%
      ),
      #f5f7fb;

    overflow: hidden;
  }

  .laeca-ipc-scope-wrap {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
  }

  .laeca-ipc-scope-grid {
    display: grid;
    grid-template-columns:
      minmax(320px, 560px)
      minmax(360px, 1fr);

    gap: 36px;
    align-items: start;
  }

  /* CABECERA */

  .laeca-ipc-scope-head {
    margin-bottom: 34px;
  }

  .laeca-ipc-scope-kicker {
    position: relative;
    display: inline-block;

    margin-bottom: 20px;
    padding-top: 18px;

    font-family: Inter, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #1a40ff;
  }

  .laeca-ipc-scope-kicker::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 62px;
    height: 3px;

    border-radius: 999px;
    background: #1a40ff;
  }

  .laeca-ipc-scope-head h2 {
    margin: 0;

    font-family:
      "Barlow Condensed",
      Inter,
      sans-serif;

    font-size: 62px;
    line-height: 0.98;
    font-weight: 800;

    text-transform: uppercase;

    color: #1a40ff;
  }

  .laeca-ipc-scope-head-line {
    display: block;

    width: 90px;
    height: 4px;

    margin-top: 26px;

    border-radius: 999px;
    background: #1a40ff;
  }

  /* LISTADO */

  .laeca-ipc-scope-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .laeca-ipc-scope-item {
    position: relative;

    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    align-items: flex-start;

    padding: 24px 26px;

    border-radius: 26px;

    background: #ffffff;

    box-shadow:
      0 16px 38px rgba(0, 27, 92, 0.08);

    overflow: hidden;
  }

  .laeca-ipc-scope-item-accent {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;

    width: 5px;

    border-radius: 999px;

    background:
      linear-gradient(
        180deg,
        #1a40ff 0%,
        #0f2ed6 100%
      );
  }

  /* CONTENEDORES DE LOS ÍCONOS */

  .laeca-ipc-scope-item-icon {
    width: 84px;
    height: 84px;
    padding: 0;

    border-radius: 24px;

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

    background: #f5f7fb;

    box-shadow:
      inset 0 0 0 1px rgba(26, 64, 255, 0.08);

    overflow: hidden;
  }

  .laeca-ipc-scope-item-icon img {
    display: block;

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

    object-fit: contain;
    object-position: center;

    transform: scale(1.30);
    transform-origin: center;
  }

  .laeca-ipc-scope-item-content h3 {
    margin: 0 0 10px;

    font-family:
      "Barlow Condensed",
      Inter,
      sans-serif;

    font-size: 26px;
    line-height: 1.05;
    font-weight: 800;

    text-transform: uppercase;

    color: #001b5c;
  }

  .laeca-ipc-scope-item-content p {
    margin: 0;

    font-family: Inter, sans-serif;
    font-size: 15.8px;
    line-height: 1.65;

    color: #42526b;
  }

  /* COLUMNA DERECHA */

  .laeca-ipc-scope-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* IMAGEN PRINCIPAL */

  .laeca-ipc-scope-visual {
    position: relative;

    min-height: 484px;

    border-radius: 34px;

    overflow: hidden;

    background: #eaf0fb;

    box-shadow:
      0 20px 48px rgba(0, 27, 92, 0.08);

    isolation: isolate;
  }

  .laeca-ipc-scope-visual-image {
    position: absolute;
    inset: 0;

    background-image:
      linear-gradient(
        rgba(0, 27, 92, 0.08),
        rgba(0, 27, 92, 0.08)
      ),
      url("https://laecave.com/wp-content/uploads/2026/07/e3703ec3-bd6a-451b-b448-48c841914c15.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: scale(1.02);
  }

  .laeca-ipc-scope-visual-overlay {
    position: absolute;
    inset: 0;

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(0, 27, 92, 0.17) 100%
      ),
      linear-gradient(
        90deg,
        rgba(26, 64, 255, 0.14) 0%,
        rgba(0, 27, 92, 0.06) 100%
      );
  }

  /* BLOQUE PLANEACIÓN, EJECUCIÓN Y PUESTA EN MARCHA */

  .laeca-ipc-scope-visual-content {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    z-index: 3;

    max-width: 520px;

    padding: 24px 26px;

    border-radius: 22px;

    background: #f5f7fb;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
      0 14px 34px rgba(0, 27, 92, 0.10);
  }

  .laeca-ipc-scope-visual-content span {
    display: inline-block;

    margin-bottom: 8px;

    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #1a40ff;
  }

  .laeca-ipc-scope-visual-content h3 {
    margin: 0 0 10px;

    font-family:
      "Barlow Condensed",
      Inter,
      sans-serif;

    font-size: 34px;
    line-height: 1.02;
    font-weight: 800;

    text-transform: uppercase;

    color: #001b5c;
  }

  .laeca-ipc-scope-visual-content p {
    margin: 0;

    font-family: Inter, sans-serif;
    font-size: 15.5px;
    line-height: 1.6;

    color: #42526b;
  }

  /* CONTROL / EJECUCIÓN / ENTREGA */

  .laeca-ipc-scope-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 0;
    padding: 0;

    border-radius: 28px;

    overflow: hidden;

    background: #0b3270;

    box-shadow:
      0 16px 38px rgba(0, 27, 92, 0.14);
  }

  .laeca-ipc-scope-stats article {
    display: flex;
    gap: 16px;
    align-items: flex-start;

    padding: 26px;

    color: #ffffff;

    border-right:
      1px solid rgba(255, 255, 255, 0.10);
  }

  .laeca-ipc-scope-stats article:last-child {
    border-right: none;
  }

  .laeca-ipc-scope-stat-icon {
    flex: 0 0 auto;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    background: #1a40ff;

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

  .laeca-ipc-scope-stat-icon svg {
    width: 27px;
    height: 27px;

    fill: #ffffff;
  }

  .laeca-ipc-scope-stats strong {
    display: block;

    margin-bottom: 6px;

    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;

    color: #ffffff;
  }

  .laeca-ipc-scope-stats span {
    display: block;

    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.82);
  }

  /* BLOQUE FINAL */

  .laeca-ipc-scope-callout {
    display: grid;
    grid-template-columns: 82px 1fr;

    gap: 22px;
    align-items: center;

    padding: 26px 28px;

    border-radius: 28px;

    background: #163a73;

    box-shadow:
      0 16px 38px rgba(0, 27, 92, 0.14);
  }

  .laeca-ipc-scope-callout-icon {
    width: 64px;
    height: 64px;

    padding: 9px;

    border-radius: 50%;

    border:
      1px solid rgba(255, 255, 255, 0.18);

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

    background:
      rgba(255, 255, 255, 0.06);

    overflow: hidden;
  }

  .laeca-ipc-scope-callout-icon img {
    display: block;

    width: 100%;
    height: 100%;

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

  .laeca-ipc-scope-callout-content h4 {
    margin: 0 0 8px;

    font-family:
      "Barlow Condensed",
      Inter,
      sans-serif;

    font-size: 34px;
    line-height: 1.05;
    font-weight: 700;

    color: #ffffff;
  }

  .laeca-ipc-scope-callout-content p {
    margin: 0;

    font-family: Inter, sans-serif;
    font-size: 15.5px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.82);
  }

  /* BOTÓN EXACTO DE “VER PROYECTOS” */

  .laeca-ipc-scope-actions {
    margin-top: 32px;

    display: flex;
    justify-content: center;
  }

  .laeca-ipc-scope-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 16px 40px;

    border: 0;
    border-radius: 0;

    background: #1a40ff;
    color: #ffffff;

    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;

    letter-spacing: 0.025em;
    text-decoration: none;

    transform: scale(1);
    transform-origin: center center;

    box-shadow:
      0 10px 15px -3px rgba(59, 130, 246, 0.25),
      0 4px 6px -4px rgba(59, 130, 246, 0.25);

    transition:
      all 300ms cubic-bezier(0.4, 0, 0.2, 1);

    cursor: pointer;
  }

  .laeca-ipc-scope-btn:hover {
    background: #0f30d9;
    color: #ffffff;

    transform: scale(1.05);
  }

  .laeca-ipc-scope-btn span {
    display: inline-block;
  }

  .laeca-ipc-scope-btn-icon {
    display: block;
    flex: 0 0 auto;

    width: 16px;
    height: 16px;

    stroke: currentColor;
  }

  /* TABLET HORIZONTAL */

  @media (max-width: 1200px) {
    .laeca-ipc-scope-grid {
      grid-template-columns: 1fr;
    }

    .laeca-ipc-scope-head h2 {
      font-size: 54px;
    }
  }

  /* TABLET */

  @media (max-width: 1024px) {
    .laeca-ipc-scope {
      padding: 90px 0;
    }

    .laeca-ipc-scope-wrap {
      width: min(100% - 40px, 940px);
    }

    .laeca-ipc-scope-stats {
      grid-template-columns: 1fr;
    }

    .laeca-ipc-scope-stats article {
      border-right: none;

      border-bottom:
        1px solid rgba(255, 255, 255, 0.10);
    }

    .laeca-ipc-scope-stats article:last-child {
      border-bottom: none;
    }
  }

  /* MÓVIL */

  @media (max-width: 767px) {
    .laeca-ipc-scope {
      padding: 74px 0;
    }

    .laeca-ipc-scope-wrap {
      width: min(100% - 32px, 520px);
    }

    .laeca-ipc-scope-head h2 {
      font-size: 40px;
      line-height: 0.98;
    }

    .laeca-ipc-scope-head-line {
      width: 74px;
      margin-top: 20px;
    }

    .laeca-ipc-scope-item {
      grid-template-columns: 1fr;

      gap: 18px;

      padding:
        22px
        22px
        22px
        24px;

      border-radius: 22px;
    }

    .laeca-ipc-scope-item-icon {
      width: 72px;
      height: 72px;

      padding: 0;

      border-radius: 20px;
    }

    .laeca-ipc-scope-item-icon img {
      transform: scale(1.30);
    }

    .laeca-ipc-scope-item-content h3 {
      font-size: 24px;
      color: #001b5c;
    }

    .laeca-ipc-scope-item-content p {
      font-size: 15px;
      line-height: 1.65;
    }

    .laeca-ipc-scope-visual {
      min-height: 340px;
      border-radius: 24px;
    }

    .laeca-ipc-scope-visual-image {
      background-position: center center;
    }

    .laeca-ipc-scope-visual-content {
      right: 18px;
      bottom: 18px;
      left: 18px;

      padding: 18px;

      border-radius: 18px;

      background: #f5f7fb;
    }

    .laeca-ipc-scope-visual-content h3 {
      font-size: 28px;
      color: #001b5c;
    }

    .laeca-ipc-scope-callout {
      grid-template-columns: 1fr;

      gap: 16px;

      padding: 22px;

      border-radius: 22px;
    }

    .laeca-ipc-scope-callout-icon {
      width: 62px;
      height: 62px;
    }

    .laeca-ipc-scope-callout-content h4 {
      font-size: 28px;
    }

    .laeca-ipc-scope-btn {
      width: auto;

      padding: 16px 40px;

      font-size: 14px;
      line-height: 20px;
    }
  }

  @media (max-width: 420px) {
    .laeca-ipc-scope-head h2 {
      font-size: 36px;
    }

    .laeca-ipc-scope-visual-content h3 {
      font-size: 25px;
      color: #001b5c;
    }

    .laeca-ipc-scope-callout-content h4 {
      font-size: 25px;
    }
  }
