/* =========================
   MÓDULO 4: INDUSTRIAS
========================= */

.industries-section {
  position: relative;
  width: 100%;
  padding: 105px 0 115px;
  background:
    radial-gradient(circle at top left, rgba(28, 118, 210, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  overflow: hidden;
}

.industries-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 118, 210, 0.11), transparent 66%);
  pointer-events: none;
}

.industries-section::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: 60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.09), transparent 66%);
  pointer-events: none;
}

.industries-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.industries-header {
  max-width: 780px;
  margin: 0 auto 58px;
  text-align: center;
}

.industries-header h2 {
  margin: 0;
  color: #12233f;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.industries-header p {
  margin: 18px auto 0;
  color: #617089;
  font-size: 1.02rem;
  line-height: 1.7;
}

.industries-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

/* Visual */
.industries-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industries-orbit {
  position: relative;
  width: 100%;
  max-width: 455px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(28, 118, 210, 0.18);
  pointer-events: none;
}

.orbit-ring-one {
  inset: 38px;
  animation: orbitPulse 4.8s ease-in-out infinite;
}

.orbit-ring-two {
  inset: 82px;
  border-style: dashed;
  animation: orbitPulse 5.8s ease-in-out infinite reverse;
}

.industries-main-img {
  position: relative;
  z-index: 2;
  width: 88%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(27, 58, 107, 0.16));
}

.industry-floating-card {
  position: absolute;
  z-index: 4;
  min-width: 142px;
  padding: 13px 15px;
  border-radius: 17px;
  border: 1px solid rgba(28, 92, 168, 0.12);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(27, 58, 107, 0.11);
}

.industry-floating-card span {
  display: block;
  margin-bottom: 4px;
  color: #1c76d2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.industry-floating-card strong {
  display: block;
  color: #10213b;
  font-size: 0.88rem;
  line-height: 1.25;
}

.float-card-one {
  top: 72px;
  left: 8px;
}

.float-card-two {
  right: 4px;
  top: 178px;
}

.float-card-three {
  left: 42px;
  bottom: 82px;
}

/* Cards */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.industry-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 205px;
  height: 205px;
  padding: 26px 24px 30px;
  border-radius: 26px;
  border: 1px solid rgba(22, 57, 101, 0.10);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(28, 58, 102, 0.08);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(28, 118, 210, 0.10), transparent 42%),
    linear-gradient(315deg, rgba(0, 174, 239, 0.07), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(28, 118, 210, 0.28);
  box-shadow: 0 28px 72px rgba(28, 58, 102, 0.14);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(28, 118, 210, 0.18), transparent 62%),
    #edf5ff;
  color: #1c76d2;
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(28, 92, 168, 0.10);
}

.industry-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: #10213b;
  font-size: 1.04rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.industry-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #60708a;
  font-size: 0.86rem;
  line-height: 1.48;
}

@keyframes orbitPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.035);
    opacity: 1;
  }
}

/* =========================
   RESPONSIVE MÓDULO 4
========================= */

@media (max-width: 1024px) {
  .industries-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industries-visual {
    min-height: 430px;
  }

  .industries-orbit {
    max-width: 430px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-card {
    height: auto;
    min-height: 165px;
  }
}

@media (max-width: 768px) {
  .industries-section {
    padding: 78px 0 88px;
  }

  .industries-container {
    width: min(100% - 28px, 1180px);
  }

  .industries-header {
    margin-bottom: 38px;
  }

  .industries-header h2 {
    font-size: 2.05rem;
  }

  .industries-header p {
    font-size: 0.96rem;
  }

  .industries-visual {
    min-height: 360px;
  }

  .industries-orbit {
    max-width: 360px;
  }

  .industries-main-img {
    width: 84%;
    max-height: 290px;
  }

  .industry-floating-card {
    min-width: 128px;
    padding: 11px 13px;
  }

  .industry-floating-card strong {
    font-size: 0.8rem;
  }

  .float-card-one {
    top: 36px;
    left: 0;
  }

  .float-card-two {
    right: 0;
    top: 140px;
  }

  .float-card-three {
    left: 20px;
    bottom: 50px;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    height: auto;
    min-height: auto;
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .industries-section {
    padding: 68px 0 78px;
  }

  .industries-header h2 {
    font-size: 1.8rem;
  }

  .industries-visual {
    min-height: 310px;
  }

  .industries-orbit {
    max-width: 310px;
  }

  .industries-visual {
    min-height: 390px;
  }

  .industries-orbit {
    width: 100%;
    max-width: 350px;
    min-height: 350px;
    margin: 0 auto;
  }

  .industries-main-img {
    width: 78%;
    max-width: 270px;
  }

  .industry-floating-card {
    display: flex;

    min-width: 112px;
    max-width: 138px;

    padding: 9px 10px;

    border-radius: 13px;

    font-size: 0.72rem;
    line-height: 1.2;

    z-index: 5;
  }

  .industry-floating-card span {
    font-size: 0.68rem;
  }

  .industry-floating-card strong {
    font-size: 0.7rem;
  }

  .float-card-one {
    top: 22px;
    left: 0;
  }

  .float-card-two {
    top: 126px;
    right: 0;
  }

  .float-card-three {
    left: 8px;
    bottom: 36px;
  }
}

  .orbit-ring-one {
    inset: 30px;
  }

  .orbit-ring-two {
    inset: 68px;
  }

  .industry-card {
    padding: 22px;
    border-radius: 22px;
  }

  .industry-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }
