/* =========================================
   HERO PROYECTOS PAGE IST V2
========================================= */

.proyectos-page-hero {
  position: relative;
  width: 100%;
  min-height: 800px;

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

  padding-top: 1.6rem;
  overflow: hidden;
  isolation: isolate;

  background: #000;
}

/* Fondo con la configuración que te gustó */
.proyectos-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;

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

  background-image:
    linear-gradient(
      to right,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0.705) 20%,
      rgba(0, 5, 15, 0) 60%,
      rgba(0, 0, 0, 0.212) 100%
    ),
    url("proyectos-hero.png");

  opacity: 1;
}

/* Fade inferior para conectar con la siguiente sección */
.proyectos-page-hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;

  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.38) 48%,
    #000000 100%
  );

  pointer-events: none;
}

/* Malla muy sutil */
.proyectos-page-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(0, 183, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.018) 1px, transparent 1px);

  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  opacity: 0.6;
}

/* Glows internos, no pegados al borde */
.proyectos-page-hero-orb {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
}

.proyectos-page-hero-orb-a {
  width: 390px;
  height: 390px;
  left: -180px;
  top: 30%;
  background: rgba(0, 74, 255, 0.22);
}

.proyectos-page-hero-orb-b {
  width: 420px;
  height: 420px;
  right: -190px;
  top: 34%;
  background: rgba(0, 183, 255, 0.14);
}

.proyectos-page-hero-container {
  position: relative;
  z-index: 3;
}

.proyectos-page-hero-row {
    margin-top: 0rem;
}

/* =========================================
   CONTENIDO IZQUIERDO
========================================= */

.proyectos-page-hero-content {
  color: #c0dde4;
  text-align: left;
}

.proyectos-page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.65rem 1.15rem;
  border-radius: 999px;

  color: #dff8ff;
  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.12), transparent 68%),
    rgba(0, 12, 28, 0.68);

  border: 1px solid rgba(0, 183, 255, 0.58);

  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.08),
    0 0 20px rgba(0, 183, 255, 0.16);

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.proyectos-page-hero-badge iconify-icon {
  color: #00b7ff;
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.6));
}

.proyectos-page-hero-title {
  font-family: 'Geist', sans-serif;

  font-size: clamp(2.65rem, 4vw, 62px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;

  text-align: left;
  text-wrap: balance;

  max-width: 720px;
  margin: 1.35rem 0 1rem;

  background: linear-gradient(to right, #ffffff 30%, #b8eeff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  text-shadow:
    0 0 18px rgba(0, 183, 255, 0.10),
    0 0 44px rgba(0, 110, 255, 0.12);
}

.proyectos-page-hero-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #e0f7fa;
  max-width: 650px;
  margin: 0 0 2.2rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.proyectos-page-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.proyectos-page-btn {
  min-width: 180px;
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  padding: 0.85rem 1.45rem;
  border-radius: 999px;

  font-weight: 750;
  text-decoration: none !important;
  line-height: 1;

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.proyectos-page-btn iconify-icon {
  font-size: 1.15rem;
}

.proyectos-page-btn-primary {
  color: #ffffff;
  border: 1px solid rgba(0, 183, 255, 0.88);

  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.20), transparent 65%),
    rgba(0, 10, 24, 0.86);

  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.10),
    0 0 22px rgba(0, 183, 255, 0.26);
}

.proyectos-page-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(160, 238, 255, 1);

  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.16),
    0 0 32px rgba(0, 183, 255, 0.42);
}

.proyectos-page-btn-primary iconify-icon:last-child {
  transition: transform 0.25s ease;
}

.proyectos-page-btn-primary:hover iconify-icon:last-child {
  transform: translateX(3px);
}

.proyectos-page-btn-whatsapp {
  color: #fff;
  border: 1px solid rgba(37, 211, 102, 0.56);
  background: rgba(37, 211, 102, 0.10);

  box-shadow:
    inset 0 0 14px rgba(37, 211, 102, 0.07),
    0 0 22px rgba(37, 211, 102, 0.14);
}

.proyectos-page-btn-whatsapp:hover {
  color: #ffffff;
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.9);
  background: rgba(37, 211, 102, 0.16);

  box-shadow:
    inset 0 0 18px rgba(37, 211, 102, 0.10),
    0 0 34px rgba(37, 211, 102, 0.24);
}

.proyectos-page-hero-pills {
  margin-top: 1.55rem;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;

  color: rgba(235, 249, 255, 0.70);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proyectos-page-hero-pills i {
  width: 1px;
  height: 16px;
  display: block;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 183, 255, 0.86),
    transparent
  );

  box-shadow: 0 0 10px rgba(0, 183, 255, 0.42);
}

/* =========================================
   VISUAL DERECHA / ORBITA DE LOGOS
========================================= */

.proyectos-page-hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.proyectos-page-project-orbit {
  position: relative;
  width: min(100%, 570px);
  aspect-ratio: 1 / 1;
}

.proyectos-page-orbit-ring,
.proyectos-page-orbit-ring-2 {
  position: absolute;
  inset: 12%;
  border-radius: 50%;

  border: 1px solid rgba(0, 183, 255, 0.20);

  box-shadow:
    inset 0 0 34px rgba(0, 183, 255, 0.055),
    0 0 34px rgba(0, 183, 255, 0.08);
}

.proyectos-page-orbit-ring::before,
.proyectos-page-orbit-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: inherit;
  border: 1px solid rgba(0, 183, 255, 0.11);
}

.proyectos-page-orbit-ring::after {
  inset: 29%;
  opacity: 0.72;
}

.proyectos-page-orbit-ring-2 {
  inset: 24%;
  opacity: 0.85;
  border-style: dashed;
  animation: proyectosPageOrbitSpin 26s linear infinite;
}

@keyframes proyectosPageOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.proyectos-page-orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);

  border-radius: 50%;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at 50% 35%, rgba(0, 183, 255, 0.18), transparent 66%),
    rgba(0, 10, 24, 0.76);

  border: 1px solid rgba(0, 183, 255, 0.36);

  box-shadow:
    inset 0 0 22px rgba(0, 183, 255, 0.09),
    0 0 34px rgba(0, 183, 255, 0.14);
}

.proyectos-page-orbit-center iconify-icon {
  font-size: 1.45rem;
  color: #00b7ff;
  filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.52));
}

.proyectos-page-orbit-center span {
  margin-top: -1rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(235, 249, 255, 0.68);
}

/* Nodo circular */
.proyectos-page-project-node {
  position: absolute;
  z-index: 6;

  display: grid;
  place-items: center;

  border-radius: 50%;
  text-decoration: none !important;

  transform: translate(-50%, -50%);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.proyectos-page-node-lg {
  width: 96px;
  height: 96px;
}

.proyectos-page-node-sm {
  width: 70px;
  height: 70px;
}

/* Círculo real donde vive la imagen */
.proyectos-page-node-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16), transparent 50%),
    rgba(0, 10, 24, 0.76);

  border: 1px solid rgba(0, 183, 255, 0.30);

  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(0, 183, 255, 0.10);

  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);

  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

/* Importante: así ya no se ven cuadradas */
.proyectos-page-node-img img {
  width: 100%;
  height: 100%;
  display: block;

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

  border-radius: 50%;

  filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.18));

  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

/* Si algún logo tiene mucho aire transparente, puedes ponerle esta clase al span:
   class="proyectos-page-node-img proyectos-page-node-img-contain"
*/
.proyectos-page-node-img-contain img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.proyectos-page-project-node:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.proyectos-page-project-node:hover .proyectos-page-node-img {
  border-color: rgba(150, 238, 255, 0.92);

  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 50%),
    rgba(0, 14, 32, 0.90);

  box-shadow:
    inset 0 0 20px rgba(0, 183, 255, 0.10),
    0 22px 44px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(0, 183, 255, 0.22);
}

.proyectos-page-project-node:hover img {
  transform: scale(1.05);
}

/* Posiciones */
.proyectos-page-node-cti {
  left: 50%;
  top: 7%;
}

.proyectos-page-node-umid {
  left: 83%;
  top: 29%;
}

.proyectos-page-node-front {
  left: 72%;
  top: 73%;
}

.proyectos-page-node-hydro {
  left: 25%;
  top: 73%;
}

.proyectos-page-node-pst {
  left: 16%;
  top: 31%;
}

.proyectos-page-node-roybet {
  left: 50%;
  top: 89%;
}

.proyectos-page-node-leoweb {
  left: 93%;
  top: 53%;
}

.proyectos-page-node-pesca {
  left: 7%;
  top: 53%;
}

/* Tooltip */
.proyectos-page-node-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);

  width: 252px;
  padding: 0.92rem;

  border-radius: 18px;

  transform: translateX(-50%) translateY(8px) scale(0.96);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  background:
    radial-gradient(circle at 0% 0%, rgba(0, 183, 255, 0.12), transparent 45%),
    linear-gradient(145deg, rgba(2, 18, 36, 0.92), rgba(0, 7, 16, 0.98));

  border: 1px solid rgba(0, 183, 255, 0.34);

  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.045),
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(0, 183, 255, 0.10);

  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.26s ease;
}

.proyectos-page-node-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;

  width: 14px;
  height: 14px;

  transform: translateX(-50%) rotate(45deg);

  background: rgba(0, 10, 24, 0.96);
  border-right: 1px solid rgba(0, 183, 255, 0.22);
  border-bottom: 1px solid rgba(0, 183, 255, 0.22);
}

.proyectos-page-node-tooltip strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.proyectos-page-node-tooltip small {
  display: block;
  margin-top: 0.45rem;

  color: rgba(222, 236, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

.proyectos-page-node-tooltip em {
  display: inline-flex;
  margin-top: 0.65rem;

  color: #59d8ff;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proyectos-page-project-node:hover .proyectos-page-node-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

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

@media (max-width: 991px) {
  .proyectos-page-hero {
    min-height: auto;
    padding-top: 6.2rem;
    padding-bottom: 5rem;
  }

  .proyectos-page-hero-bg {
    background-position: center top;

    background-image:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.32) 42%,
        rgba(0, 0, 0, 0.85) 100%
      ),
      url("proyectos-hero.png");
  }

  .proyectos-page-hero-row {
    min-height: auto;
    gap: 2.4rem;
  }

  .proyectos-page-hero-content {
    text-align: center;
  }

  .proyectos-page-hero-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .proyectos-page-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .proyectos-page-hero-actions,
  .proyectos-page-hero-pills {
    justify-content: center;
  }

  .proyectos-page-hero-visual {
    min-height: 540px;
  }

  .proyectos-page-project-orbit {
    width: min(100%, 500px);
  }

  .proyectos-page-node-tooltip {
    display: none;
  }
}

@media (max-width: 640px) {
  .proyectos-page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .proyectos-page-hero-title {
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .proyectos-page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .proyectos-page-btn {
    width: 100%;
  }

  .proyectos-page-hero-pills {
    font-size: 0.75rem;
    gap: 0.55rem;
  }

  .proyectos-page-hero-pills i {
    display: none;
  }

  .proyectos-page-hero-visual {
    min-height: 430px;
  }

  .proyectos-page-project-orbit {
    width: min(100%, 390px);
  }

  .proyectos-page-node-lg {
    width: 72px;
    height: 72px;
  }

  .proyectos-page-node-sm {
    width: 54px;
    height: 54px;
  }

  .proyectos-page-orbit-center {
    width: 82px;
    height: 82px;
  }

  .proyectos-page-orbit-center span {
    display: none;
  }
}

/* =========================================
   HERO PROYECTOS PAGE
========================================= */

.proyectos-page-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 860px;
  padding-top: 5rem;
  padding-bottom: 4rem;
  background: #000;
}

.proyectos-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.88) 18%,
      rgba(0, 4, 14, 0.36) 48%,
      rgba(0, 0, 0, 0.14) 72%,
      rgba(0, 0, 0, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.04) 65%,
      rgba(0, 0, 0, 0.92) 100%
    ),
    url("proyectos-hero3.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.proyectos-page-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 183, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.16), rgba(0,0,0,0));
  opacity: 0.45;
}

.proyectos-page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 2;
}

.proyectos-page-hero-orb-a {
  width: 340px;
  height: 340px;
  background: rgba(0, 183, 255, 0.14);
  top: 12%;
  left: 8%;
}

.proyectos-page-hero-orb-b {
  width: 380px;
  height: 380px;
  background: rgba(0, 90, 255, 0.12);
  right: 10%;
  bottom: 8%;
}

.proyectos-page-hero-container {
  position: relative;
  z-index: 3;
}

.proyectos-page-hero-row {
  min-height: 520px;
  align-items: center;
}

.proyectos-page-hero-content {
  color: #c0dde4;
  padding-top: 1rem;
}

/* =========================================
   BADGE NUEVA
========================================= */

.proyectos-page-hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.35rem;

  color: rgba(223, 248, 255, 0.92);
  background: rgba(0, 10, 24, 0.42);
  border: 1px solid rgba(0, 183, 255, 0.22);

  box-shadow:
    inset 0 0 10px rgba(0, 183, 255, 0.04),
    0 0 18px rgba(0, 183, 255, 0.08);

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

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proyectos-page-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d5ff;
  box-shadow: 0 0 10px rgba(0, 213, 255, 0.75);
  flex: 0 0 7px;
}

.proyectos-page-hero-badge iconify-icon {
  font-size: 0.92rem;
  color: #00bfff;
  opacity: 0.9;
}

/* =========================================
   TÍTULO Y TEXTO
========================================= */

.proyectos-page-hero-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin: 0 0 1rem 0;

  background: linear-gradient(to right, #ffffff 30%, #b8eeff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.proyectos-page-hero-text {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: #e0f7fa;
  max-width: 650px;
  margin: 0 0 2.4rem 0;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* =========================================
   BOTONES
========================================= */

.proyectos-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.proyectos-page-btn {
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none !important;
  transition: 0.28s ease;
}

.proyectos-page-btn-primary {
  color: #ffffff;
  border: 1px solid rgba(0, 183, 255, 0.88);
  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.20), transparent 65%),
    rgba(0, 10, 24, 0.86);
  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.1),
    0 0 22px rgba(0, 183, 255, 0.26);
}

.proyectos-page-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(160, 238, 255, 1);
  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.16),
    0 0 32px rgba(0, 183, 255, 0.42);
}

.proyectos-page-btn-primary iconify-icon {
  font-size: 1.15rem;
}

.proyectos-page-btn-primary iconify-icon:last-child {
  transition: transform 0.25s ease;
}

.proyectos-page-btn-primary:hover iconify-icon:last-child {
  transform: translateX(3px);
}

.proyectos-page-btn-whatsapp {
  color: #fff;
  border: 1px solid rgba(37, 211, 102, 0.56);
  background: rgba(37, 211, 102, 0.10);
  box-shadow:
    inset 0 0 14px rgba(37, 211, 102, 0.07),
    0 0 22px rgba(37, 211, 102, 0.14);
}

.proyectos-page-btn-whatsapp:hover {
  color: #ffffff;
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.9);
  background: rgba(37, 211, 102, 0.16);
  box-shadow:
    inset 0 0 18px rgba(37, 211, 102, 0.10),
    0 0 34px rgba(37, 211, 102, 0.24);
}

/* =========================================
   PILLS
========================================= */

.proyectos-page-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.proyectos-page-hero-pills span {
  color: #d4f6ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proyectos-page-hero-pills i {
  width: 1px;
  height: 14px;
  background: linear-gradient(to bottom, transparent, rgba(0,183,255,0.75), transparent);
  display: block;
}

/* =========================================
   FRANJA HORIZONTAL DE LOGOS
========================================= */

.proyectos-page-hero-logos-wrap {
  position: relative;
  margin-top: 1rem;
  padding-top: 1.8rem;
}

.proyectos-page-hero-logos-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.proyectos-page-hero-logos-label span {
  width: 64px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.44),
    transparent
  );
  box-shadow: 0 0 12px rgba(0, 183, 255, 0.16);
}

.proyectos-page-hero-logos-label p {
  margin: 0;
  color: rgba(223, 244, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.proyectos-page-hero-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.6rem 0 0.8rem;
  scrollbar-width: none;
}

.proyectos-page-hero-logos::-webkit-scrollbar {
  display: none;
}

.proyectos-page-logo-item {
  flex: 0 0 auto;
  text-decoration: none !important;
}

.proyectos-page-logo-ring {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at 50% 35%, rgba(0, 183, 255, 0.18), transparent 62%),
    rgba(0, 9, 24, 0.88);

  border: 1px solid rgba(0, 183, 255, 0.26);
  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.08),
    0 0 20px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.proyectos-page-logo-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.035);
  pointer-events: none;
}

.proyectos-page-logo-ring img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 2;
  filter:
    drop-shadow(0 0 10px rgba(0, 183, 255, 0.18));
  transition: transform 0.28s ease;
}

.proyectos-page-logo-item.is-small .proyectos-page-logo-ring {
  width: 76px;
  height: 76px;
}

.proyectos-page-logo-item:hover .proyectos-page-logo-ring {
  transform: translateY(-4px);
  border-color: rgba(130, 230, 255, 0.74);
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 183, 255, 0.24), transparent 62%),
    rgba(0, 12, 28, 0.95);
  box-shadow:
    inset 0 0 20px rgba(0, 183, 255, 0.12),
    0 0 28px rgba(0, 183, 255, 0.18);
}

.proyectos-page-logo-item:hover .proyectos-page-logo-ring img {
  transform: scale(1.06);
}

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

@media (max-width: 991.98px) {
  .proyectos-page-hero {
    min-height: auto;
    padding-top: 6.2rem;
    padding-bottom: 3.8rem;
  }

  .proyectos-page-hero-content {
    text-align: center;
    padding-top: 1.5rem;
  }

  .proyectos-page-hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .proyectos-page-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .proyectos-page-hero-actions {
    justify-content: center;
  }

  .proyectos-page-hero-pills {
    justify-content: center;
  }

  .proyectos-page-hero-logos-wrap {
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .proyectos-page-hero-title {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .proyectos-page-btn {
    width: 100%;
  }

  .proyectos-page-hero-logos-label span {
    width: 34px;
  }

  .proyectos-page-logo-ring {
    width: 74px;
    height: 74px;
  }

  .proyectos-page-logo-item.is-small .proyectos-page-logo-ring {
    width: 68px;
    height: 68px;
  }
}

/* =========================================
   MÉTRICAS HERO PROYECTOS IST V2
========================================= */

.proyectos-page-hero-stats {
  position: relative;
  z-index: 4;

  max-width: 980px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 2.1rem 1.2rem 2.4rem;
  margin-top: -3rem;
  margin-bottom: 2rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 3vw, 2.2rem);

  opacity: 0;
  transform: translateY(22px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.proyectos-page-hero-stats.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.proyectos-page-hero-stats::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  bottom: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(0, 183, 255, 0.44),
      transparent
    ) top center / 100% 1px no-repeat,

    linear-gradient(
      90deg,
      transparent,
      rgba(0, 183, 255, 0.38),
      transparent
    ) bottom center / 100% 1px no-repeat;

  filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.18));
}

.proyectos-page-hero-stats::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: min(680px, 76vw);
  height: 150px;

  transform: translate(-50%, -50%);

  background: radial-gradient(
    ellipse at center,
    rgba(0, 183, 255, 0.08),
    transparent 68%
  );

  filter: blur(34px);
  pointer-events: none;
  z-index: -1;
}

.proyectos-page-hero-stat {
  min-width: 150px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proyectos-page-hero-stat-number {
  display: block;

  font-family: 'Geist', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.95;
  font-weight: 850;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #dff8ff 48%,
    #7fe7ff 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  text-shadow:
    0 0 18px rgba(0, 183, 255, 0.18),
    0 0 42px rgba(0, 110, 255, 0.12);
}

.proyectos-page-hero-stat p {
  margin: 0.55rem 0 0;

  color: rgba(223, 244, 255, 0.78);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proyectos-page-hero-stat-line {
  width: min(120px, 12vw);
  height: 1px;
  display: block;
  flex: 0 1 120px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.72),
    transparent
  );

  box-shadow:
    0 0 12px rgba(0, 183, 255, 0.44),
    0 0 28px rgba(0, 110, 255, 0.16);
}

/* Entrada escalonada */
.proyectos-page-hero-stat {
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.proyectos-page-hero-stats.is-visible .proyectos-page-hero-stat {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.proyectos-page-hero-stats.is-visible .proyectos-page-hero-stat:nth-of-type(1) {
  transition-delay: 0.1s;
}

.proyectos-page-hero-stats.is-visible .proyectos-page-hero-stat:nth-of-type(2) {
  transition-delay: 0.22s;
}

.proyectos-page-hero-stats.is-visible .proyectos-page-hero-stat:nth-of-type(3) {
  transition-delay: 0.34s;
}

/* Responsive */
@media (max-width: 768px) {
  .proyectos-page-hero-stats {
    margin-top: 3rem;
    padding: 1.6rem 0.5rem;

    gap: 1rem;
  }

  .proyectos-page-hero-stat {
    min-width: 100px;
  }

  .proyectos-page-hero-stat-line {
    width: 42px;
    flex-basis: 42px;
  }

  .proyectos-page-hero-stat p {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 520px) {
  .proyectos-page-hero-stats {
    flex-direction: column;
    gap: 1.3rem;
  }

  .proyectos-page-hero-stat-line {
    width: 90px;
    height: 1px;
    flex: 0 0 1px;
  }

  .proyectos-page-hero-stat-number {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }
}

/* =========================================
   FRANJA HORIZONTAL DE LOGOS - PROYECTOS
========================================= */

.proyectos-page-hero-logos-wrap {
  position: relative;
  max-width: 980px;
  margin: 1.2rem auto 0;
  padding-top: 1.8rem;
}

.proyectos-page-hero-logos-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.proyectos-page-hero-logos-label span {
  width: min(72px, 16vw);
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.46),
    transparent
  );

  box-shadow: 0 0 12px rgba(0, 183, 255, 0.18);
}

.proyectos-page-hero-logos-label p {
  margin: 0;
  color: rgba(223, 244, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.proyectos-page-hero-logos {
  position: relative;

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

  gap: clamp(0.75rem, 1.6vw, 1.15rem);

  width: 100%;
  max-width: 920px;
  margin: 0 auto;

  padding: 0.75rem 0.6rem 0.9rem;

  overflow-x: auto;
  overflow-y: visible;

  scrollbar-width: none;
}

.proyectos-page-hero-logos::-webkit-scrollbar {
  display: none;
}

/* Línea luminosa detrás */
.proyectos-page-hero-logos::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.28),
    transparent
  );

  box-shadow: 0 0 18px rgba(0, 183, 255, 0.14);
  pointer-events: none;
}

.proyectos-page-logo-item {
  position: relative;
  z-index: 2;

  flex: 0 0 auto;

  display: grid;
  place-items: center;

  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.proyectos-page-logo-ring {
  position: relative;

  width: 82px;
  height: 82px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  overflow: hidden;

  background:
    radial-gradient(circle at 50% 32%, rgba(0, 183, 255, 0.18), transparent 62%),
    linear-gradient(145deg, rgba(0, 16, 36, 0.88), rgba(0, 6, 16, 0.96));

  border: 1px solid rgba(0, 183, 255, 0.32);

  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.07),
    0 0 0 1px rgba(255,255,255,0.025),
    0 12px 28px rgba(0, 0, 0, 0.36),
    0 0 22px rgba(0, 183, 255, 0.10);

  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.proyectos-page-logo-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;

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

  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.04);

  pointer-events: none;
}

/* Importante: logos centrados y sin deformarse */
.proyectos-page-logo-ring img {
  position: relative;
  z-index: 2;

  display: block;

  width: auto;
  height: auto;

  max-width: 68%;
  max-height: 68%;

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

  filter:
    drop-shadow(0 0 10px rgba(0, 183, 255, 0.20));

  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

/* Logos secundarios */
.proyectos-page-logo-item.is-small .proyectos-page-logo-ring {
  width: 70px;
  height: 70px;
}

.proyectos-page-logo-item.is-small .proyectos-page-logo-ring img {
  max-width: 66%;
  max-height: 66%;
}

/* Para imágenes tipo foto/perfil, como pstpfp */
.proyectos-page-logo-item.is-photo .proyectos-page-logo-ring img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;

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

  border-radius: 50%;
}

/* Hover */
.proyectos-page-logo-item:hover .proyectos-page-logo-ring {
  transform: translateY(-5px) scale(1.04);

  border-color: rgba(145, 238, 255, 0.82);

  background:
    radial-gradient(circle at 50% 32%, rgba(0, 183, 255, 0.26), transparent 62%),
    linear-gradient(145deg, rgba(0, 20, 44, 0.92), rgba(0, 8, 20, 0.98));

  box-shadow:
    inset 0 0 20px rgba(0, 183, 255, 0.11),
    0 16px 34px rgba(0, 0, 0, 0.40),
    0 0 30px rgba(0, 183, 255, 0.22);
}

.proyectos-page-logo-item:hover .proyectos-page-logo-ring img {
  transform: scale(1.06);

  filter:
    drop-shadow(0 0 14px rgba(0, 183, 255, 0.32));
}

/* Focus limpio */
.proyectos-page-logo-item:focus,
.proyectos-page-logo-item:focus-visible,
.proyectos-page-logo-item:active {
  outline: none !important;
}

.proyectos-page-logo-item:focus-visible .proyectos-page-logo-ring {
  border-color: rgba(180, 245, 255, 0.95);
  box-shadow:
    inset 0 0 20px rgba(0, 183, 255, 0.12),
    0 0 0 3px rgba(0, 183, 255, 0.13),
    0 0 28px rgba(0, 183, 255, 0.24);
}

/* Responsive */
@media (max-width: 768px) {
  .proyectos-page-hero-logos {
    justify-content: flex-start;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .proyectos-page-logo-ring {
    width: 72px;
    height: 72px;
  }

  .proyectos-page-logo-item.is-small .proyectos-page-logo-ring {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 480px) {
  .proyectos-page-hero-logos-wrap {
    margin-top: 0.7rem;
  }

  .proyectos-page-hero-logos-label p {
    font-size: 0.7rem;
  }

  .proyectos-page-hero-logos-label span {
    width: 34px;
  }

  .proyectos-page-logo-ring {
    width: 66px;
    height: 66px;
  }

  .proyectos-page-logo-item.is-small .proyectos-page-logo-ring {
    width: 58px;
    height: 58px;
  }
}

/* =========================================
   PROYECTOS DESTACADOS / GRID EDITORIAL
========================================= */

.proyectos-page-featured {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: clamp(5.5rem, 8vw, 7.5rem) 1.4rem clamp(6rem, 8vw, 8rem);

  color: #ffffff;

  background:
    linear-gradient(180deg, #000000 0%, #000000 8%, #020711 46%, #000000 100%);
}

/* Borde superior negro / respiración entre hero y sección */
.proyectos-page-featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 110px;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #000000 0%,
    rgba(0, 0, 0, 0.86) 42%,
    transparent 100%
  );
}

/* Grid IST V2 */
.proyectos-page-featured-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(0, 183, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.024) 1px, transparent 1px);

  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  opacity: 0.72;
}

.proyectos-page-featured::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  bottom: 16%;
  z-index: 0;
  pointer-events: none;
  border-radius: 54px;

  background:
    radial-gradient(circle at 50% 18%, rgba(0, 183, 255, 0.10), transparent 34%),
    radial-gradient(circle at 18% 60%, rgba(0, 74, 255, 0.10), transparent 34%),
    radial-gradient(circle at 84% 54%, rgba(0, 183, 255, 0.08), transparent 32%);

  filter: blur(28px);
}

.proyectos-page-featured-orb {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
}

.proyectos-page-featured-orb-a {
  width: 390px;
  height: 390px;
  left: -220px;
  top: 24%;
  background: rgba(0, 74, 255, 0.22);
}

.proyectos-page-featured-orb-b {
  width: 420px;
  height: 420px;
  right: -240px;
  top: 36%;
  background: rgba(0, 183, 255, 0.15);
}

.proyectos-page-featured-container {
  position: relative;
  z-index: 3;
}

/* =========================================
   HEADER
========================================= */

.proyectos-page-featured-header {
  max-width: 820px;
  margin: 0 auto clamp(2.8rem, 5vw, 4.3rem);
  text-align: center;
}

.proyectos-page-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.62rem 1.08rem;
  border-radius: 999px;

  color: rgba(223, 248, 255, 0.92);
  background: rgba(0, 10, 24, 0.46);
  border: 1px solid rgba(0, 183, 255, 0.28);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.045),
    0 0 18px rgba(0, 183, 255, 0.08);

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

  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.proyectos-page-featured-badge iconify-icon {
  color: #00b7ff;
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.42));
}

.proyectos-page-featured-title {
  margin: 1.25rem 0 0;

  font-size: clamp(2.6rem, 4vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  text-wrap: balance;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f4fbff 50%,
    #7aa8bf 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

}

.proyectos-page-featured-text {
  max-width: 720px;
  margin: 1.1rem auto 0;

  color: rgba(222, 236, 255, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.75;
}

/* =========================================
   LAYOUT GRID
========================================= */

.proyectos-page-featured-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.5rem);
}

.proyectos-page-featured-card {
  position: relative;
  min-height: 390px;

  display: block;
  overflow: hidden;
  isolation: isolate;

  border-radius: 28px;

  background: rgba(0, 8, 18, 0.92);
  border: 1px solid rgba(0, 183, 255, 0.24);

  text-decoration: none !important;

  box-shadow:
    inset 0 0 28px rgba(0, 183, 255, 0.035),
    0 28px 70px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(0, 183, 255, 0.08);

  transition:
    transform 0.34s ease,
    border-color 0.34s ease,
    box-shadow 0.34s ease;
}

.proyectos-page-featured-card-large {
  grid-column: span 2;
  min-height: clamp(460px, 48vw, 620px);
}

.proyectos-page-featured-card::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  z-index: 5;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(190, 245, 255, 0.82),
    transparent
  );

  box-shadow: 0 0 18px rgba(0, 183, 255, 0.52);
}

.proyectos-page-featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 183, 255, 0.50);

  box-shadow:
    inset 0 0 30px rgba(0, 183, 255, 0.05),
    0 34px 82px rgba(0, 0, 0, 0.58),
    0 0 44px rgba(0, 183, 255, 0.16);
}

/* Imagen 1350x784 */
.proyectos-page-featured-img {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: top center;

  filter:
    saturate(1.05)
    contrast(1.03)
    brightness(0.72);

  transform: scale(1.02);
  transition:
    transform 0.8s ease,
    filter 0.4s ease;
}

.proyectos-page-featured-card:hover .proyectos-page-featured-img {
  transform: scale(1.055);
  filter:
    saturate(1.08)
    contrast(1.04)
    brightness(0.78);
}

/* Overlay degradado */
.proyectos-page-featured-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: clamp(1.25rem, 3vw, 2.25rem);

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 6, 16, 0.16) 32%,
      rgba(0, 8, 20, 0.72) 72%,
      rgba(0, 5, 14, 0.94) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 7, 18, 0.84) 0%,
      rgba(0, 10, 24, 0.48) 42%,
      rgba(0, 0, 0, 0.08) 100%
    );
}

.proyectos-page-featured-card-large .proyectos-page-featured-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 6, 16, 0.12) 28%,
      rgba(0, 8, 20, 0.68) 72%,
      rgba(0, 5, 14, 0.94) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 7, 18, 0.88) 0%,
      rgba(0, 10, 24, 0.52) 38%,
      rgba(0, 0, 0, 0.06) 100%
    );
}

/* Logo esquina */
.proyectos-page-featured-logo {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 5;

  width: 70px;
  height: 70px;
  border-radius: 50%;

  display: grid;
  place-items: center;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% 35%, rgba(0, 183, 255, 0.16), transparent 62%),
    rgba(0, 10, 24, 0.80);

  border: 1px solid rgba(0, 183, 255, 0.36);

  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.07),
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(0, 183, 255, 0.12);

  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
}

.proyectos-page-featured-card-large .proyectos-page-featured-logo {
  width: 84px;
  height: 84px;
}

.proyectos-page-featured-logo img {
  width: auto;
  height: auto;

  max-width: 68%;
  max-height: 68%;

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

  display: block;

  filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.24));
}

/* Para logos tipo foto */
.proyectos-page-featured-logo-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 50%;
}

/* Texto */
.proyectos-page-featured-category {
  color: #5edcff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;

  text-shadow: 0 0 14px rgba(0, 183, 255, 0.22);
}

.proyectos-page-featured-overlay h3 {
  max-width: 720px;
  margin: 0.65rem 0 0;

  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 4.3rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.065em;
  text-wrap: balance;

  text-shadow:
    0 8px 24px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(0, 183, 255, 0.08);
}

.proyectos-page-featured-card:not(.proyectos-page-featured-card-large) .proyectos-page-featured-overlay h3 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.proyectos-page-featured-overlay p {
  max-width: 620px;
  margin: 0.85rem 0 0;

  color: rgba(228, 240, 255, 0.82);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.65;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
}

.proyectos-page-featured-tags {
  margin-top: 1rem;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.proyectos-page-featured-tags span {
  display: inline-flex;
  align-items: center;

  padding: 0.48rem 0.78rem;
  border-radius: 999px;

  color: rgba(245, 251, 255, 0.90);
  font-size: 0.74rem;
  font-weight: 820;

  background: rgba(0, 10, 24, 0.58);
  border: 1px solid rgba(0, 183, 255, 0.22);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.04);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

@media (max-width: 991px) {
  .proyectos-page-featured-layout {
    grid-template-columns: 1fr;
  }

  .proyectos-page-featured-card-large {
    grid-column: span 1;
  }

  .proyectos-page-featured-card,
  .proyectos-page-featured-card-large {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .proyectos-page-featured {
    padding: 4.8rem 1rem 5.8rem;
  }

  .proyectos-page-featured-card,
  .proyectos-page-featured-card-large {
    min-height: 500px;
    border-radius: 24px;
  }

  .proyectos-page-featured-overlay {
    padding: 1.15rem;
  }

  .proyectos-page-featured-logo,
  .proyectos-page-featured-card-large .proyectos-page-featured-logo {
    width: 62px;
    height: 62px;
    top: 1rem;
    right: 1rem;
  }

  .proyectos-page-featured-overlay h3,
  .proyectos-page-featured-card:not(.proyectos-page-featured-card-large) .proyectos-page-featured-overlay h3 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .proyectos-page-featured-overlay p {
    font-size: 0.94rem;
  }
}

/* Glow superior premium */
.proyectos-page-featured-top-glow {
  position: absolute;
  top: 110px;               /* importante: separado del borde superior */
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 78vw);
  height: 220px;
  z-index: 1;
  pointer-events: none;
  border-radius: 999px;

  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 183, 255, 0.19) 0%,
      rgba(0, 183, 255, 0.09) 24%,
      rgba(0, 110, 255, 0.07) 42%,
      rgba(0, 0, 0, 0) 72%
    );

  filter: blur(52px);
  opacity: 0.95;
}

/* brillo vertical sutil, bien IST */
.proyectos-page-featured-top-glow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: 180px;
  height: 260px;
  pointer-events: none;
  border-radius: 999px;

  background: linear-gradient(
    180deg,
    rgba(0, 183, 255, 0.18) 0%,
    rgba(0, 183, 255, 0.08) 35%,
    rgba(0, 183, 255, 0.00) 100%
  );

  filter: blur(34px);
  opacity: 0.75;
}

/* línea luminosa fina en la parte alta del glow */
.proyectos-page-featured-top-glow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: min(360px, 44vw);
  height: 1px;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(180, 245, 255, 0.9),
    transparent
  );

  box-shadow:
    0 0 10px rgba(0, 183, 255, 0.65),
    0 0 24px rgba(0, 183, 255, 0.25);
}

/* =========================================
   TODOS LOS PROYECTOS / ARCHIVO IST
========================================= */

.proyectos-page-all {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: clamp(5.8rem, 8vw, 7.8rem) 1.4rem clamp(6rem, 8vw, 8rem);

  color: #ffffff;

  background:
    radial-gradient(circle at 50% 18%, rgba(0, 183, 255, 0.065), transparent 32%),
    radial-gradient(circle at 12% 42%, rgba(0, 74, 255, 0.10), transparent 34%),
    radial-gradient(circle at 88% 52%, rgba(0, 183, 255, 0.075), transparent 32%),
    linear-gradient(180deg, #000000 0%, #000000 8%, #020711 45%, #000000 100%);
}

.proyectos-page-all::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 24%;
  bottom: 10%;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 18%, rgba(0, 183, 255, 0.095), transparent 30%),
    radial-gradient(circle at 18% 48%, rgba(0, 74, 255, 0.10), transparent 32%),
    radial-gradient(circle at 82% 54%, rgba(0, 183, 255, 0.085), transparent 30%);

  filter: blur(34px);
  opacity: 0.9;
}

/* Borde superior negro */
.proyectos-page-all::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #000000 0%,
    rgba(0, 0, 0, 0.86) 46%,
    transparent 100%
  );
}

.proyectos-page-all-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;

  background-image:
    linear-gradient(rgba(0, 183, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.038) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 183, 255, 0.12) 1px, transparent 1.4px);

  background-size:
    52px 52px,
    52px 52px,
    52px 52px;

  mask-image: radial-gradient(circle at 50% 42%, black 0%, rgba(0,0,0,0.82) 46%, transparent 86%);
  opacity: 0.92;
}



.proyectos-page-all-top-glow {
  position: absolute;
  top: 115px;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 78vw);
  height: 220px;
  z-index: 1;
  pointer-events: none;
  border-radius: 999px;

  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 183, 255, 0.13) 0%,
      rgba(0, 183, 255, 0.075) 26%,
      rgba(0, 110, 255, 0.055) 42%,
      rgba(0, 0, 0, 0) 72%
    );

  filter: blur(46px);
  opacity: 0.9;
}

.proyectos-page-all-orb {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.25;
}

.proyectos-page-all-orb-a {
  width: 390px;
  height: 390px;
  left: -220px;
  top: 24%;
  background: rgba(0, 74, 255, 0.22);
}

.proyectos-page-all-orb-b {
  width: 420px;
  height: 420px;
  right: -240px;
  top: 38%;
  background: rgba(0, 183, 255, 0.15);
}

.proyectos-page-all-container {
  position: relative;
  z-index: 3;
}

/* =========================================
   HEADER
========================================= */

.proyectos-page-all-header {
  max-width: 820px;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
  text-align: center;
}

.proyectos-page-all-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.62rem 1.08rem;
  border-radius: 999px;

  color: rgba(223, 248, 255, 0.92);
  background: rgba(0, 10, 24, 0.46);
  border: 1px solid rgba(0, 183, 255, 0.28);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.045),
    0 0 18px rgba(0, 183, 255, 0.08);

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

  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.proyectos-page-all-badge iconify-icon {
  color: #00b7ff;
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.42));
}

.proyectos-page-all-title {
  margin: 1.25rem 0 0;

  font-size: clamp(2.6rem, 4vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  text-wrap: balance;

  background: linear-gradient(180deg, #ffffff 0%, #eefaff 48%, #b8eeff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  text-shadow:
    0 0 18px rgba(0, 183, 255, 0.12),
    0 0 42px rgba(0, 110, 255, 0.10);
}

.proyectos-page-all-text {
  max-width: 720px;
  margin: 1.1rem auto 0;

  color: rgba(222, 236, 255, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  line-height: 1.75;
}

/* =========================================
   FILTROS
========================================= */

.proyectos-page-all-filters {
  margin: 0 auto clamp(2.3rem, 4vw, 3rem);
  max-width: 980px;

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

  gap: 0.75rem;
}

.proyectos-page-filter-chip {
  position: relative;

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

  min-height: 42px;
  padding: 0.65rem 1rem;

  border-radius: 999px;
  border: 1px solid rgba(0, 183, 255, 0.24);

  color: rgba(223, 244, 255, 0.72);
  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.055), transparent 68%),
    rgba(0, 10, 24, 0.48);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.035),
    0 0 18px rgba(0, 183, 255, 0.055);

  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.04em;

  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.proyectos-page-filter-chip:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(0, 183, 255, 0.52);

  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.06),
    0 0 24px rgba(0, 183, 255, 0.12);
}

.proyectos-page-filter-chip.is-active {
  color: #ffffff;
  border-color: rgba(0, 183, 255, 0.82);

  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.18), transparent 68%),
    rgba(0, 12, 28, 0.78);

  box-shadow:
    inset 0 0 16px rgba(0, 183, 255, 0.10),
    0 0 24px rgba(0, 183, 255, 0.22);
}

.proyectos-page-filter-chip:focus,
.proyectos-page-filter-chip:focus-visible,
.proyectos-page-filter-chip:active {
  outline: none !important;
}

/* =========================================
   GRID DE PROYECTOS
========================================= */

.proyectos-page-all-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  /* antes estaba más cerrado */
  gap: clamp(1.25rem, 2.4vw, 1.75rem);

  position: relative;
  z-index: 3;
}

.proyectos-page-all-card {
  position: relative;
  min-height: 330px;

  display: block;
  overflow: hidden;
  isolation: isolate;

  border-radius: 26px;

  background: rgba(0, 8, 18, 0.92);
  border: 1px solid rgba(0, 183, 255, 0.22);

  text-decoration: none !important;

  box-shadow:
    inset 0 0 24px rgba(0, 183, 255, 0.03),
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(0, 183, 255, 0.07);

  transition:
    opacity 0.3s ease,
    transform 0.34s ease,
    border-color 0.34s ease,
    box-shadow 0.34s ease;
}

.proyectos-page-all-card::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 0;
  height: 1px;
  z-index: 5;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(190, 245, 255, 0.70),
    transparent
  );

  box-shadow: 0 0 16px rgba(0, 183, 255, 0.44);
}

.proyectos-page-all-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 183, 255, 0.48);

  box-shadow:
    inset 0 0 28px rgba(0, 183, 255, 0.045),
    0 30px 72px rgba(0, 0, 0, 0.54),
    0 0 38px rgba(0, 183, 255, 0.14);
}

.proyectos-page-all-card.is-hidden {
  display: none;
}

.proyectos-page-all-img {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: top center;

  filter:
    saturate(1.04)
    contrast(1.03)
    brightness(0.70);

  transform: scale(1.02);

  transition:
    transform 0.8s ease,
    filter 0.4s ease;
}

.proyectos-page-all-card:hover .proyectos-page-all-img {
  transform: scale(1.06);
  filter:
    saturate(1.08)
    contrast(1.04)
    brightness(0.78);
}

.proyectos-page-all-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 1.25rem;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 6, 16, 0.12) 28%,
      rgba(0, 8, 20, 0.72) 72%,
      rgba(0, 5, 14, 0.94) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 7, 18, 0.78) 0%,
      rgba(0, 10, 24, 0.42) 46%,
      rgba(0, 0, 0, 0.06) 100%
    );
}

/* Logo circular superior */
.proyectos-page-all-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  display: grid;
  place-items: center;
  overflow: hidden;

  background:
    radial-gradient(circle at 50% 35%, rgba(0, 183, 255, 0.16), transparent 62%),
    rgba(0, 10, 24, 0.80);

  border: 1px solid rgba(0, 183, 255, 0.36);

  box-shadow:
    inset 0 0 16px rgba(0, 183, 255, 0.07),
    0 12px 26px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(0, 183, 255, 0.12);

  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
}

/* Todos como foto/perfil */
.proyectos-page-all-logo-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* Texto */
.proyectos-page-all-category {
  color: #5edcff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  text-shadow: 0 0 14px rgba(0, 183, 255, 0.22);
}

.proyectos-page-all-overlay h3 {
  margin: 0.55rem 0 0;

  color: #ffffff;
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-wrap: balance;

  text-shadow:
    0 7px 20px rgba(0, 0, 0, 0.42),
    0 0 16px rgba(0, 183, 255, 0.07);
}

.proyectos-page-all-overlay p {
  margin: 0.72rem 0 0;
  max-width: 420px;

  color: rgba(228, 240, 255, 0.80);
  font-size: 0.94rem;
  line-height: 1.55;

  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
}

.proyectos-page-all-action {
  margin-top: 1rem;

  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;

  opacity: 0.86;
}

.proyectos-page-all-action iconify-icon {
  color: #00b7ff;
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.proyectos-page-all-card:hover .proyectos-page-all-action iconify-icon {
  transform: translateX(4px);
}

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

@media (max-width: 1100px) {
  .proyectos-page-all-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .proyectos-page-all {
    padding: 4.8rem 1rem 5.8rem;
  }

  .proyectos-page-all-grid {
    grid-template-columns: 1fr;
  }

  .proyectos-page-all-card {
    min-height: 410px;
    border-radius: 24px;
  }

  .proyectos-page-all-overlay {
    padding: 1.15rem;
  }

  .proyectos-page-all-logo {
    width: 54px;
    height: 54px;
  }

  .proyectos-page-all-overlay h3 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .proyectos-page-all-overlay p {
    font-size: 0.94rem;
  }
}

/* =========================================
   PROYECTOS PARALLAX
========================================= */

.proyectos-parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;

  padding: clamp(6rem, 8vw, 8rem) 1.2rem clamp(6rem, 8vw, 8rem);
  min-height: 760px;

  background: #000;
}

/* Fondo principal con parallax */
.proyectos-parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url('ist-v2-parallax.png'); /* ← aquí irá tu imagen */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  transform: scale(1.03);
}

/* Overlay para lectura */
.proyectos-parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 18%, rgba(0, 5, 14, 0.55) 50%, rgba(0, 0, 0, 0.84) 100%),
    radial-gradient(circle at center, rgba(0, 183, 255, 0.08), transparent 45%);
}

/* Grid sutil */
.proyectos-parallax-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(0, 183, 255, 0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.030) 1px, transparent 1px);
  background-size: 54px 54px;

  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  opacity: 0.8;
}

/* Línea brillante superior tipo IST */
.proyectos-parallax-topline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 183, 255, 0.05) 8%,
    rgba(0, 183, 255, 0.55) 50%,
    rgba(0, 183, 255, 0.05) 92%,
    transparent 100%
  );

  box-shadow:
    0 0 12px rgba(0, 183, 255, 0.25),
    0 0 28px rgba(0, 183, 255, 0.12);
}

/* Línea brillante inferior tipo IST */
.proyectos-parallax-downline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 183, 255, 0.05) 8%,
    rgba(0, 183, 255, 0.55) 50%,
    rgba(0, 183, 255, 0.05) 92%,
    transparent 100%
  );

  box-shadow:
    0 0 12px rgba(0, 183, 255, 0.25),
    0 0 28px rgba(0, 183, 255, 0.12);
}

/* Glows */
.proyectos-parallax-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(90px);
  opacity: 0.22;
}

.proyectos-parallax-orb-a {
  width: 320px;
  height: 320px;
  top: 20%;
  left: -120px;
  background: rgba(0, 110, 255, 0.26);
}

.proyectos-parallax-orb-b {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: 16%;
  background: rgba(0, 183, 255, 0.18);
}

.proyectos-parallax-container {
  position: relative;
  z-index: 4;
}

/* =========================================
   HEADER
========================================= */

.proyectos-parallax-head {
  max-width: 900px;
  margin: 0 auto 3.6rem;
  text-align: center;
}

.proyectos-parallax-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.58rem 1rem;
  border-radius: 999px;

  color: rgba(224, 247, 255, 0.94);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;

  background: rgba(0, 12, 26, 0.44);
  border: 1px solid rgba(0, 183, 255, 0.28);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.04),
    0 0 16px rgba(0, 183, 255, 0.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.proyectos-parallax-badge iconify-icon {
  font-size: 0.95rem;
  color: #00b7ff;
  filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.45));
}

.proyectos-parallax-title {
  margin: 1.25rem 0 0.9rem;

  font-size: clamp(2.6rem, 4vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-wrap: balance;

  background: linear-gradient(to bottom, #ffffff 15%, #dff6ff 65%, #8acadd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proyectos-parallax-text {
  max-width: 760px;
  margin: 0 auto;

  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.8;
  color: rgba(224, 247, 255, 0.78);
}

/* =========================================
   PASOS
========================================= */

.proyectos-parallax-steps {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
}

.proyectos-parallax-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18px;
  height: 1px;
  z-index: 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.42),
    transparent
  );

  box-shadow: 0 0 16px rgba(0, 183, 255, 0.18);
}

.proyectos-parallax-step {
  position: relative;
  z-index: 2;
  padding-top: 0.2rem;
}

.proyectos-parallax-step-dot {
  width: 14px;
  height: 14px;
  margin: 0 auto 1rem;
  border-radius: 50%;

  background: radial-gradient(circle at center, #7fe9ff 0%, #00b7ff 55%, rgba(0, 183, 255, 0.22) 100%);
  box-shadow:
    0 0 0 6px rgba(0, 183, 255, 0.06),
    0 0 18px rgba(0, 183, 255, 0.46);
}

.proyectos-parallax-step-card {
  min-height: 250px;
  padding: 1.25rem 1.15rem 1.2rem;
  border-radius: 24px;

  text-align: center;

  background:
    linear-gradient(180deg, rgba(0, 16, 34, 0.64), rgba(0, 8, 18, 0.84)),
    radial-gradient(circle at top, rgba(0, 183, 255, 0.08), transparent 55%);

  border: 1px solid rgba(0, 183, 255, 0.22);

  box-shadow:
    inset 0 0 20px rgba(0, 183, 255, 0.03),
    0 20px 50px rgba(0, 0, 0, 0.26);

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

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.proyectos-parallax-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 225, 255, 0.52);

  background:
    linear-gradient(180deg, rgba(0, 18, 38, 0.76), rgba(0, 10, 20, 0.90)),
    radial-gradient(circle at top, rgba(0, 183, 255, 0.12), transparent 55%);

  box-shadow:
    inset 0 0 24px rgba(0, 183, 255, 0.05),
    0 24px 56px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(0, 183, 255, 0.10);
}

.proyectos-parallax-step-number {
  display: inline-block;
  margin-bottom: 0.9rem;

  color: #00c8ff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;

  text-shadow: 0 0 12px rgba(0, 183, 255, 0.26);
}

.proyectos-parallax-step-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 18px;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.18), transparent 65%),
    rgba(0, 11, 26, 0.72);

  border: 1px solid rgba(0, 183, 255, 0.26);

  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.06),
    0 0 16px rgba(0, 183, 255, 0.08);
}

.proyectos-parallax-step-icon iconify-icon {
  font-size: 1.35rem;
  color: #8cecff;
  filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.44));
}

.proyectos-parallax-step-card h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.16rem, 1.6vw, 1.45rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.proyectos-parallax-step-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(224, 247, 255, 0.72);
}

/* =========================================
   FOOT
========================================= */

.proyectos-parallax-foot {
  max-width: 860px;
  margin: 3rem auto 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.proyectos-parallax-foot span {
  width: min(120px, 18vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.44),
    transparent
  );
  box-shadow: 0 0 10px rgba(0, 183, 255, 0.16);
}

.proyectos-parallax-foot p {
  margin: 0;
  text-align: center;
  color: rgb(243, 251, 255);
  font-size: clamp(0.94rem, 1.3vw, 1.04rem);
  font-weight: 740;
  letter-spacing: -0.01em;
}

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

@media (max-width: 1100px) {
  .proyectos-parallax-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proyectos-parallax-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .proyectos-parallax {
    min-height: auto;
    padding: 5rem 1rem 5.4rem;
  }

  .proyectos-parallax-bg {
    background-attachment: scroll;
    background-position: center center;
  }

  .proyectos-parallax-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .proyectos-parallax-step-card {
    min-height: auto;
  }

  .proyectos-parallax-foot {
    flex-direction: column;
    gap: 0.8rem;
  }

  .proyectos-parallax-foot span {
    width: 120px;
  }
}

/* =========================================
   CTA FINAL PROYECTOS IST V2
========================================= */

.proyectos-final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  padding: clamp(6rem, 9vw, 8rem) 1.4rem clamp(6.4rem, 9vw, 8.5rem);

  color: #ffffff;

  background:
    linear-gradient(180deg, #000000 0%, #000000 9%, #020711 48%, #000000 100%);
}

/* Borde negro superior para continuidad */
.proyectos-final-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 125px;
  z-index: 4;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    #000000 0%,
    rgba(0, 0, 0, 0.86) 46%,
    transparent 100%
  );
}

/* Borde negro inferior para continuidad */
.proyectos-final-cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: 4;
  pointer-events: none;

  background: linear-gradient(
    0deg,
    #000000 0%,
    rgba(0, 0, 0, 0.86) 45%,
    transparent 100%
  );
}

/* =========================================
   BACKGROUND DE IMAGEN DENTRO DE LA CARD
========================================= */

.proyectos-final-cta-card.has-card-bg-image {
  background:
    linear-gradient(145deg, rgba(2, 18, 36, 0.62), rgba(0, 7, 16, 0.86));
}

.proyectos-final-cta-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--proyectos-final-cta-card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.72;
  transform: scale(1.03);
}

/* Grid sutil encima de la imagen */
.proyectos-final-cta-card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(0, 183, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.026) 1px, transparent 1px);

  background-size: 42px 42px;

  mask-image: radial-gradient(circle at center, black 0%, transparent 82%);
  opacity: 0.8;
}

/* Overlay de lectura sobre la imagen */
.proyectos-final-cta-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 42%, rgba(0, 183, 255, 0.10), transparent 42%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 5, 14, 0.38) 38%,
      rgba(0, 7, 18, 0.52) 62%,
      rgba(0, 0, 0, 0.78) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.08) 50%,
      rgba(0, 0, 0, 0.38) 100%
    );
}

/* Overlay de lectura */
.proyectos-final-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 48%, rgba(0, 183, 255, 0.12), transparent 38%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 4, 12, 0.52) 36%,
      rgba(0, 7, 18, 0.62) 62%,
      rgba(0, 0, 0, 0.88) 100%
    );
}

/* Grid IST */
.proyectos-final-cta-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(0, 183, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 183, 255, 0.032) 1px, transparent 1px);

  background-size: 54px 54px;

  mask-image: radial-gradient(circle at center, black 0%, rgba(0,0,0,0.76) 48%, transparent 84%);
  opacity: 0.86;
}

/* Glows alejados de bordes */
.proyectos-final-cta-orb {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.28;
}

.proyectos-final-cta-orb-a {
  width: 390px;
  height: 390px;
  left: -160px;
  top: 32%;
  background: rgba(0, 74, 255, 0.28);
}

.proyectos-final-cta-orb-b {
  width: 460px;
  height: 460px;
  right: -190px;
  top: 34%;
  background: rgba(0, 183, 255, 0.18);
}

.proyectos-final-cta-container {
  position: relative;
  z-index: 5;
}

/* =========================================
   CARD PRINCIPAL
========================================= */

.proyectos-final-cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4.8rem) clamp(1.4rem, 5vw, 4.5rem);

  text-align: center;

  border-radius: clamp(28px, 4vw, 42px);

  background:
    radial-gradient(circle at 50% 0%, rgba(0, 183, 255, 0.15), transparent 42%),
    linear-gradient(145deg, rgba(2, 18, 36, 0.70), rgba(0, 7, 16, 0.88));

  border: 1px solid rgba(0, 183, 255, 0.34);

  box-shadow:
    inset 0 0 34px rgba(0, 183, 255, 0.05),
    0 34px 90px rgba(0, 0, 0, 0.54),
    0 0 54px rgba(0, 183, 255, 0.13);

  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.proyectos-final-cta-card::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(190, 245, 255, 0.88),
    transparent
  );

  box-shadow:
    0 0 14px rgba(0, 183, 255, 0.58),
    0 0 34px rgba(0, 110, 255, 0.20);
}

.proyectos-final-cta-card::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 1px;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 183, 255, 0.54),
    transparent
  );

  box-shadow:
    0 0 14px rgba(0, 183, 255, 0.36);
}

.proyectos-final-cta-light {
  position: absolute;
  left: 50%;
  top: -20%;
  width: min(760px, 80vw);
  height: 360px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(0, 183, 255, 0.18),
    rgba(0, 110, 255, 0.07) 38%,
    transparent 72%
  );

  filter: blur(54px);
}
/* Badge */
.proyectos-final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  padding: 0.62rem 1.08rem;
  border-radius: 999px;

  color: rgba(223, 248, 255, 0.92);
  background: rgba(0, 10, 24, 0.52);
  border: 1px solid rgba(0, 183, 255, 0.28);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.045),
    0 0 18px rgba(0, 183, 255, 0.08);

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

  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.proyectos-final-cta-badge iconify-icon {
  color: #00b7ff;
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(0, 183, 255, 0.42));
}

/* Título */
.proyectos-final-cta-title {
  max-width: 850px;
  margin: 1.35rem auto 0;

  font-size: clamp(2.65rem, 4vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  text-wrap: balance;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f1fbff 45%,
    #b8eeff 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  text-shadow:
    0 0 18px rgba(0, 183, 255, 0.12),
    0 0 42px rgba(0, 110, 255, 0.10);
}

.proyectos-final-cta-text {
  max-width: 720px;
  margin: 1.25rem auto 0;

  color: rgba(224, 247, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

/* Puntos */
.proyectos-final-cta-points {
  margin: clamp(1.6rem, 3vw, 2.2rem) auto 0;

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

  gap: 0.75rem;
}

.proyectos-final-cta-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;

  padding: 0.55rem 0.82rem;
  border-radius: 999px;

  color: rgba(236, 248, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 820;

  background: rgba(0, 10, 24, 0.56);
  border: 1px solid rgba(0, 183, 255, 0.20);

  box-shadow:
    inset 0 0 12px rgba(0, 183, 255, 0.035);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.proyectos-final-cta-points iconify-icon {
  color: #00b7ff;
  font-size: 1rem;
}

/* Botones */
.proyectos-final-cta-actions {
  margin-top: clamp(2rem, 4vw, 2.8rem);

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

  gap: 1rem;
}

.proyectos-final-cta-btn {
  min-width: 190px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  padding: 0.92rem 1.55rem;
  border-radius: 999px;

  color: #ffffff;
  text-decoration: none !important;

  font-size: 0.96rem;
  font-weight: 820;
  letter-spacing: -0.01em;

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.proyectos-final-cta-btn iconify-icon {
  font-size: 1.12rem;
}

.proyectos-final-cta-btn-primary {
  border: 1px solid rgba(0, 183, 255, 0.88);

  background:
    radial-gradient(circle at center, rgba(0, 183, 255, 0.20), transparent 65%),
    rgba(0, 10, 24, 0.86);

  box-shadow:
    inset 0 0 14px rgba(0, 183, 255, 0.10),
    0 0 22px rgba(0, 183, 255, 0.26);
}

.proyectos-final-cta-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-3px);
  border-color: rgba(160, 238, 255, 1);

  box-shadow:
    inset 0 0 18px rgba(0, 183, 255, 0.16),
    0 0 34px rgba(0, 183, 255, 0.42);
}

.proyectos-final-cta-btn-primary iconify-icon:last-child {
  transition: transform 0.25s ease;
}

.proyectos-final-cta-btn-primary:hover iconify-icon:last-child {
  transform: translateX(4px);
}

.proyectos-final-cta-btn-whatsapp {
  border: 1px solid rgba(37, 211, 102, 0.58);

  background:
    radial-gradient(circle at center, rgba(37, 211, 102, 0.13), transparent 68%),
    rgba(37, 211, 102, 0.10);

  box-shadow:
    inset 0 0 14px rgba(37, 211, 102, 0.07),
    0 0 22px rgba(37, 211, 102, 0.14);
}

.proyectos-final-cta-btn-whatsapp:hover {
  color: #ffffff;
  transform: translateY(-3px);
  border-color: rgba(37, 211, 102, 0.92);

  background:
    radial-gradient(circle at center, rgba(37, 211, 102, 0.18), transparent 68%),
    rgba(37, 211, 102, 0.15);

  box-shadow:
    inset 0 0 18px rgba(37, 211, 102, 0.10),
    0 0 36px rgba(37, 211, 102, 0.26);
}

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

@media (max-width: 768px) {
  .proyectos-final-cta {
    padding: 5.2rem 1rem 5.8rem;
  }

  .proyectos-final-cta-card.has-card-bg-image .proyectos-final-cta-card-bg {
  opacity: 0.58;
  background-position: center;
}

  .proyectos-final-cta-card {
    border-radius: 28px;
  }

  .proyectos-final-cta-actions {
    flex-direction: column;
  }

  .proyectos-final-cta-btn {
    width: 100%;
    max-width: 330px;
  }
}

@media (max-width: 480px) {
  .proyectos-final-cta-title {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .proyectos-final-cta-text {
    font-size: 0.98rem;
  }

  .proyectos-final-cta-points {
    gap: 0.55rem;
  }

  .proyectos-final-cta-points span {
    font-size: 0.74rem;
  }
}

.proyectos-final-cta-card > :not(.proyectos-final-cta-card-bg):not(.proyectos-final-cta-light) {
  position: relative;
  z-index: 3;
}