/* ==================================================
   DYPSEO HERO
   ================================================== */

.dyp-hero {
  position: relative;
  min-height: 820px;
  padding: 150px 24px 90px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 85% 80%,
      rgba(236, 0, 126, 0.35),
      transparent 32%
    ),
    radial-gradient(
      circle at 65% 20%,
      rgba(145, 67, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #030816 0%,
      #061024 52%,
      #030713 100%
    );
}

/* Fondo cuadriculado decorativo */

.dyp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 75%
    );
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 75%
    );
  pointer-events: none;
}

/* Contenido principal */

.dyp-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 70px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.dyp-hero__content {
  position: relative;
  z-index: 4;
  min-width: 0;
}

/* Etiqueta superior */

.dyp-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #ff1493;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Título */

.dyp-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.dyp-hero h1 strong {
  display: inline;
  color: #ff1493;
  font-weight: 900;
}

/* Texto introductorio */

.dyp-hero p {
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.65;
}

/* Botones */

.dyp-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.dyp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 34px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.dyp-btn--primary {
  color: #fff;
  background: linear-gradient(
    135deg,
    #ff1493,
    #e6007e
  );
  box-shadow:
    0 14px 32px rgba(255, 20, 147, 0.28);
}

.dyp-btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #f2a900;
}

.dyp-btn:hover,
.dyp-btn:focus-visible {
  transform: translateY(-3px);
}

.dyp-btn--primary:hover,
.dyp-btn--primary:focus-visible {
  color: #fff;
  box-shadow:
    0 18px 44px rgba(255, 20, 147, 0.42);
}

.dyp-btn--ghost:hover,
.dyp-btn--ghost:focus-visible {
  color: #fff;
  background: rgba(242, 169, 0, 0.12);
  box-shadow:
    0 0 28px rgba(242, 169, 0, 0.24);
}

.dyp-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

/* ==================================================
   VISUAL DEL HERO
   ================================================== */

.dyp-hero__visual {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 560px;
  min-width: 0;
  perspective: 1000px;
}

/* Orbes de luz */

.dyp-orbit {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(35px);
  opacity: 0.65;
  pointer-events: none;
}

.dyp-orbit--pink {
  right: 70px;
  bottom: 60px;
  width: 260px;
  height: 260px;
  background: rgba(255, 20, 147, 0.45);
}

.dyp-orbit--blue {
  top: 120px;
  left: 110px;
  width: 260px;
  height: 260px;
  background: rgba(71, 116, 255, 0.25);
}

/* ==================================================
   CONECTORES DIAGONALES
   ================================================== */

.dyp-diagonal-connectors {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.dyp-diagonal {
  position: absolute;
  width: 220px;
  height: 2px;
  border-radius: 999px;
  transform-origin: center;
}

.dyp-diagonal--seo {
  top: 190px;
  left: 200px;
  background: #ff1493;
  box-shadow:
    0 0 10px #ff1493,
    0 0 24px rgba(255, 20, 147, 0.7);
  transform: rotate(42deg);
}

.dyp-diagonal--landing {
  top: 190px;
  right: 180px;
  background: #8b35ff;
  box-shadow:
    0 0 10px #8b35ff,
    0 0 24px rgba(139, 53, 255, 0.7);
  transform: rotate(-42deg);
}

.dyp-diagonal--whatsapp {
  bottom: 190px;
  left: 190px;
  background: #1d8cff;
  box-shadow:
    0 0 10px #1d8cff,
    0 0 24px rgba(29, 140, 255, 0.7);
  transform: rotate(-42deg);
}

.dyp-diagonal--ia {
  right: 180px;
  bottom: 190px;
  background: #f59e0b;
  box-shadow:
    0 0 10px #f59e0b,
    0 0 24px rgba(245, 158, 11, 0.7);
  transform: rotate(42deg);
}

/* Puntos luminosos */

.dyp-diagonal-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.dyp-diagonal-dot--seo {
  top: 250px;
  left: 310px;
  box-shadow:
    0 0 12px #ff1493,
    0 0 28px #ff1493;
}

.dyp-diagonal-dot--landing {
  top: 250px;
  right: 295px;
  box-shadow:
    0 0 12px #8b35ff,
    0 0 28px #8b35ff;
}

.dyp-diagonal-dot--whatsapp {
  bottom: 250px;
  left: 310px;
  box-shadow:
    0 0 12px #1d8cff,
    0 0 28px #1d8cff;
}

.dyp-diagonal-dot--ia {
  right: 295px;
  bottom: 250px;
  box-shadow:
    0 0 12px #f59e0b,
    0 0 28px #f59e0b;
}

/* ==================================================
   NODO CENTRAL Y TARJETAS
   ================================================== */

.dyp-node,
.dyp-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 24px;
  text-align: center;
  background: rgba(10, 14, 34, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 22px 60px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

/* Nodo central */

.dyp-node {
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 20, 147, 0.75);
  box-shadow:
    0 0 38px rgba(255, 20, 147, 0.65),
    inset 0 0 38px rgba(255, 20, 147, 0.18);
  transform: translate(-50%, -50%);
}

/* Iconos */

.dyp-node__icon,
.dyp-card__icon {
  margin-bottom: 10px;
  font-size: 42px;
  line-height: 1;
}

/* Textos internos */

.dyp-node strong,
.dyp-card strong {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.dyp-node small,
.dyp-card small {
  margin-top: 6px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.35;
}

/* Tarjetas */

.dyp-card {
  width: 170px;
  height: 150px;
}

.dyp-card--seo {
  top: 35px;
  left: 70px;
  border: 1px solid rgba(255, 20, 147, 0.8);
  box-shadow:
    0 0 30px rgba(255, 20, 147, 0.25),
    inset 0 0 24px rgba(255, 20, 147, 0.08);
}

.dyp-card--landing {
  top: 35px;
  right: 35px;
  border: 1px solid rgba(155, 91, 255, 0.85);
  box-shadow:
    0 0 30px rgba(155, 91, 255, 0.25),
    inset 0 0 24px rgba(155, 91, 255, 0.08);
}

.dyp-card--whatsapp {
  bottom: 45px;
  left: 70px;
  border: 1px solid rgba(66, 211, 255, 0.8);
  box-shadow:
    0 0 30px rgba(66, 211, 255, 0.2),
    inset 0 0 24px rgba(66, 211, 255, 0.08);
}

.dyp-card--ia {
  right: 35px;
  bottom: 45px;
  border: 1px solid rgba(242, 169, 0, 0.85);
  box-shadow:
    0 0 30px rgba(242, 169, 0, 0.25),
    inset 0 0 24px rgba(242, 169, 0, 0.08);
}

/* Colores de iconos */

.dyp-card--seo .dyp-card__icon {
  color: #ff1493;
}

.dyp-card--landing .dyp-card__icon {
  color: #9b5bff;
}

.dyp-card--whatsapp .dyp-card__icon {
  color: #38ef7d;
}

.dyp-card--ia .dyp-card__icon {
  color: #f2a900;
}

/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1024px) {
  .dyp-hero {
    min-height: auto;
    padding-top: 135px;
  }

  .dyp-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .dyp-hero__content {
    text-align: center;
  }

  .dyp-hero h1,
  .dyp-hero p {
    margin-right: auto;
    margin-left: auto;
  }

  .dyp-hero__buttons {
    justify-content: center;
  }

  .dyp-hero__visual {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
  }
}

/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 640px) {
  .dyp-hero {
    min-height: auto;
    padding: 125px 18px 60px;
  }

  .dyp-hero__inner {
    gap: 40px;
  }

  .dyp-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .dyp-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .dyp-hero p {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.6;
  }

  .dyp-hero__buttons {
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .dyp-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 22px;
  }

  .dyp-hero__visual {
    height: 470px;
  }

  .dyp-card {
    width: 138px;
    height: 122px;
    border-radius: 19px;
  }

  .dyp-node {
    width: 126px;
    height: 126px;
    border-radius: 50%;
  }

  .dyp-node__icon,
  .dyp-card__icon {
    margin-bottom: 7px;
    font-size: 32px;
  }

  .dyp-node strong,
  .dyp-card strong {
    font-size: 13px;
  }

  .dyp-node small,
  .dyp-card small {
    margin-top: 4px;
    font-size: 11px;
  }

  .dyp-card--seo {
    top: 20px;
    left: 0;
  }

  .dyp-card--landing {
    top: 20px;
    right: 0;
  }

  .dyp-card--whatsapp {
    bottom: 20px;
    left: 0;
  }

  .dyp-card--ia {
    right: 0;
    bottom: 20px;
  }

  .dyp-diagonal {
    width: 145px;
  }

  .dyp-diagonal--seo {
    top: 150px;
    left: 90px;
  }

  .dyp-diagonal--landing {
    top: 150px;
    right: 90px;
  }

  .dyp-diagonal--whatsapp {
    bottom: 145px;
    left: 90px;
  }

  .dyp-diagonal--ia {
    right: 90px;
    bottom: 145px;
  }

  .dyp-diagonal-dot--seo {
    top: 200px;
    left: 46%;
  }

  .dyp-diagonal-dot--landing {
    top: 200px;
    right: 46%;
  }

  .dyp-diagonal-dot--whatsapp {
    bottom: 195px;
    left: 46%;
  }

  .dyp-diagonal-dot--ia {
    right: 46%;
    bottom: 195px;
  }

  .dyp-orbit--pink {
    right: -20px;
    bottom: 40px;
    width: 210px;
    height: 210px;
  }

  .dyp-orbit--blue {
    top: 100px;
    left: -20px;
    width: 210px;
    height: 210px;
  }
}

/* Móviles estrechos */

@media (max-width: 390px) {
  .dyp-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .dyp-hero__visual {
    height: 440px;
  }

  .dyp-card {
    width: 124px;
    height: 114px;
  }

  .dyp-node {
    width: 112px;
    height: 112px;
  }

  .dyp-card--seo,
  .dyp-card--whatsapp {
    left: -4px;
  }

  .dyp-card--landing,
  .dyp-card--ia {
    right: -4px;
  }

  .dyp-node__icon,
  .dyp-card__icon {
    font-size: 28px;
  }

  .dyp-node strong,
  .dyp-card strong {
    font-size: 12px;
  }

  .dyp-node small,
  .dyp-card small {
    font-size: 10px;
  }
}

/* ==================================================
   ACCESIBILIDAD: MOVIMIENTO REDUCIDO
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  .dyp-btn,
  .dyp-node,
  .dyp-card {
    transition: none;
  }

  .dyp-btn:hover,
  .dyp-btn:focus-visible {
    transform: none;
  }
}