/* Widget de alcance de subestaciones */
.laeca-substations-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) 40%),
      #f5f7fb;
    overflow: hidden;
  }

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

  .laeca-substations-scope-top {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(340px, 1fr);
    gap: 46px;
    align-items: start;
    margin-bottom: 56px;
  }

  .laeca-substations-scope-intro {
    padding-top: 8px;
  }

  .laeca-substations-scope-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding-top: 20px;
    position: relative;
    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-substations-scope-kicker::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 3px;
    border-radius: 999px;
    background: #1a40ff;
  }

  .laeca-substations-scope-intro h2 {
    margin: 0 0 22px;
    font-family: "Barlow Condensed", Inter, sans-serif;
    font-size: 58px;
    line-height: 0.98;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a40ff;
  }

  .laeca-substations-scope-intro p {
    max-width: 500px;
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    color: #4b5563;
  }

  .laeca-substations-scope-visual {
    display: flex;
    justify-content: flex-end;
  }

  .laeca-substations-scope-visual-image {
    width: 100%;
    max-width: 780px;
    min-height: 470px;
    border-radius: 22px;
    background-image: linear-gradient(rgba(0, 27, 92, 0.08), rgba(0, 27, 92, 0.08));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .laeca-substations-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .laeca-substations-scope-card {
    position: relative;
    min-height: 320px;
    padding: 34px 32px 30px;
    border-radius: 28px;
    overflow: hidden;
    background: #001b5c;
    border: 1px solid rgba(26, 64, 255, 0.18);
    box-shadow: 0 18px 42px rgba(0, 27, 92, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    isolation: isolate;
  }

  .laeca-substations-scope-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 64, 255, 0.35);
    box-shadow: 0 26px 56px rgba(0, 27, 92, 0.20);
  }

  .laeca-substations-scope-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
    transition: transform 0.45s ease;
  }

  .laeca-substations-scope-card:hover .laeca-substations-scope-card-bg {
    transform: scale(1.08);
  }

  .laeca-substations-scope-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(
        180deg,
        rgba(0, 27, 92, 0.30) 0%,
        rgba(0, 27, 92, 0.72) 52%,
        rgba(0, 27, 92, 0.95) 100%
      ),
      linear-gradient(
        90deg,
        rgba(26, 64, 255, 0.32) 0%,
        rgba(0, 27, 92, 0.08) 100%
      );
  }

  .laeca-substations-scope-card-inner {
    position: relative;
    z-index: 3;
  }

  .laeca-substations-scope-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 64, 255, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
  }

  .laeca-substations-scope-icon img {
    width: 66px;
    height: 66px;
    display: block;
    object-fit: contain;
  }

  .laeca-substations-scope-card h3 {
    margin: 0 0 18px;
    font-family: "Barlow Condensed", Inter, sans-serif;
    font-size: 30px;
    line-height: 1.06;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
  }

  .laeca-substations-scope-line {
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #1a40ff;
  }

  .laeca-substations-scope-card p {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 400;
    color: #d1d5db;
  }

  .laeca-substations-scope-actions {
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }

  .laeca-substations-scope-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 16px 30px;
    border-radius: 4px;
    background: #1a40ff;
    color: #ffffff;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(26, 64, 255, 0.22);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  }

  .laeca-substations-scope-btn:hover {
    background: #0f2ed6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(26, 64, 255, 0.30);
  }

  @media (max-width: 1180px) {
    .laeca-substations-scope-top {
      grid-template-columns: 1fr;
      gap: 34px;
    }

    .laeca-substations-scope-visual {
      justify-content: flex-start;
    }

    .laeca-substations-scope-visual-image {
      max-width: 100%;
    }

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

    .laeca-substations-scope-card {
      min-height: auto;
    }
  }

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

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

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

    .laeca-substations-scope-intro p {
      font-size: 16px;
      line-height: 1.65;
    }

    .laeca-substations-scope-visual-image {
      min-height: 250px;
      border-radius: 16px;
    }

    .laeca-substations-scope-card {
      padding: 28px 24px 24px;
      border-radius: 22px;
    }

    .laeca-substations-scope-icon {
      width: 82px;
      height: 82px;
      margin-bottom: 22px;
    }

    .laeca-substations-scope-icon img {
      width: 56px;
      height: 56px;
    }

    .laeca-substations-scope-card h3 {
      font-size: 30px;
      line-height: 1.06;
    }

    .laeca-substations-scope-card p {
      font-size: 15px;
      line-height: 1.68;
    }

    .laeca-substations-scope-btn {
      width: 100%;
      min-height: 52px;
      font-size: 14px;
      padding: 15px 22px;
    }
  }

  @media (max-width: 420px) {
    .laeca-substations-scope-intro h2 {
      font-size: 35px;
    }

    .laeca-substations-scope-card h3 {
      font-size: 30px;
      line-height: 1.06;
    }
  }
