/* =====================================
   DYPSEO - GLOBAL CSS
   Aquí iremos migrando el CSS desde
   Apariencia > Personalizar > CSS adicional
===================================== */

:root {
  --dyp-dark: #030816;
  --dyp-navy: #071228;
  --dyp-pink: #ff1493;
  --dyp-purple: #8b35ff;
  --dyp-gold: #f2a900;
  --dyp-blue: #1d8cff;
  --dyp-white: #ffffff;
  --dyp-muted: rgba(255,255,255,.82);
}

body {
  overflow-x: hidden;
}

.dyp-gradient-bg {
  background:
    radial-gradient(circle at 80% 25%, rgba(255,20,147,.22), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(61,114,255,.16), transparent 30%),
    linear-gradient(135deg, #030816 0%, #071228 50%, #030713 100%);
}

/* ==================================================
   DYPSEO · TALLER DIGITAL
   ================================================== */

.dyp-taller-page {
  min-height: 100vh;
  padding: 160px 24px 120px;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(255, 20, 147, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(61, 114, 255, 0.16),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #030816 0%,
      #071228 50%,
      #030713 100%
    );
}

.dyp-taller-page__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================================================
   ETIQUETA DE SECCIÓN
   ================================================== */

.dyp-taller-page h1.dyp-section__tag {
  margin: 0 0 24px;
  color: #ff1493;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

/* ==================================================
   CABECERA DEL TALLER
   ================================================== */

.dyp-taller-header {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 90px;
  text-align: center;
}

.dyp-taller-header__logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto 45px;
  filter:
    drop-shadow(0 0 20px rgba(255, 20, 147, 0.18))
    drop-shadow(0 0 40px rgba(29, 140, 255, 0.12));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.dyp-taller-header__logo:hover {
  transform: scale(1.03);
  filter:
    drop-shadow(0 0 26px rgba(255, 20, 147, 0.28))
    drop-shadow(0 0 48px rgba(29, 140, 255, 0.18));
}

.dyp-taller-header h1 {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.dyp-taller-header p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 22px;
  line-height: 1.8;
}

/* ==================================================
   INTRO
   ================================================== */

.dyp-taller-intro {
  max-width: 880px;
  margin: 0 auto 70px;
  text-align: center;
}

.dyp-taller-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.55;
}

/* ==================================================
   MANIFIESTO
   ================================================== */

.dyp-taller-soon {
  margin-top: 70px;
  padding: 46px;
  border: 1px solid rgba(255, 20, 147, 0.35);
  border-radius: 30px;
  background: rgba(3, 8, 22, 0.86);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  text-align: center;  
}

.dyp-taller-soon h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
}

.dyp-manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.dyp-manifesto-card {
  min-width: 0;
  padding: 20px;
  text-align: left;
}

.dyp-manifesto-card h3 {
  margin: 0 0 18px;
  color: #ff1493;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.dyp-manifesto-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

/* ==================================================
   MESAS DE TRABAJO
   ================================================== */

.dyp-workbenches-section {
  margin-top: 90px;
}

.dyp-workbenches-section__head {
  max-width: 860px;
  margin: 0 auto 46px;
  text-align: center;
}

.dyp-workbenches-section__head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.dyp-workbenches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dyp-workbench-img-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  color: #fff;
  text-decoration: none !important;
  border: 1px solid rgba(255, 20, 147, 0.28);
  border-radius: 24px;
  background: #050b1d;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.dyp-workbench-img-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transform: scale(0.9);
  transition:
    transform 0.45s ease,
    opacity 0.35s ease;
}

.dyp-workbench-img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(3, 8, 22, 0.05),
      rgba(3, 8, 22, 0.92)
    ),
    radial-gradient(
      circle at 75% 20%,
      rgba(255, 20, 147, 0.22),
      transparent 34%
    );
  pointer-events: none;
}

.dyp-workbench-img-card__content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
}

.dyp-workbench-img-card__content span {
  display: block;
  margin-bottom: 12px;
  color: #ff1493;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dyp-workbench-img-card__content h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
}

.dyp-workbench-img-card__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

/* Estados interactivos */

.dyp-workbench-img-card:hover,
.dyp-workbench-img-card:focus-visible {
  border-color: rgba(255, 20, 147, 0.65);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(255, 20, 147, 0.18);
  transform: translateY(-6px);
}

.dyp-workbench-img-card:hover img,
.dyp-workbench-img-card:focus-visible img {
  opacity: 0.65;
  transform: scale(1.1);
}

.dyp-workbench-img-card:focus-visible {
  outline: 3px solid rgba(255, 20, 147, 0.8);
  outline-offset: 5px;
}

/* ==================================================
   CITA FINAL
   ================================================== */

.dyp-taller-quote {
  max-width: 900px;
  margin: 70px auto 0;
  padding-top: 46px;
  border-top: 1px solid rgba(255, 20, 147, 0.28);
  text-align: center;
}

.dyp-taller-quote p {
  margin: 0;
  color: #ff1493;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.03em;
  text-shadow:
    0 0 22px rgba(255, 20, 147, 0.22);
}

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

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

  .dyp-workbenches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .dyp-taller-page {
    padding-top: 140px;
  }

  .dyp-workbenches-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
}

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

@media (max-width: 700px) {
  .dyp-taller-page {
    padding: 120px 18px 80px;
  }

  .dyp-taller-header {
    margin-bottom: 64px;
  }

  .dyp-taller-header__logo {
    width: min(100%, 320px);
    margin-bottom: 34px;
  }

  .dyp-taller-header h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .dyp-taller-header p {
    font-size: 18px;
    line-height: 1.65;
  }

  .dyp-taller-intro {
    margin-bottom: 54px;
  }

  .dyp-taller-intro p {
    font-size: 20px;
  }

  .dyp-taller-soon {
    margin-top: 54px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .dyp-manifesto-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 42px;
  }

  .dyp-manifesto-card {
    padding: 16px 4px;
    text-align: center;
  }

  .dyp-manifesto-card h3 {
    font-size: 23px;
  }

  .dyp-manifesto-card p {
    font-size: 17px;
    line-height: 1.7;
  }

  .dyp-workbenches-section {
    margin-top: 68px;
  }

  .dyp-workbench-img-card {
    min-height: 300px;
  }

  .dyp-workbench-img-card__content {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .dyp-workbench-img-card__content h3 {
    font-size: 25px;
  }

  .dyp-taller-quote {
    margin-top: 54px;
    padding-top: 36px;
  }
}

/* ==================================================
   MOVIMIENTO REDUCIDO
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  .dyp-taller-header__logo,
  .dyp-workbench-img-card,
  .dyp-workbench-img-card img {
    transition: none;
  }

  .dyp-taller-header__logo:hover,
  .dyp-workbench-img-card:hover,
  .dyp-workbench-img-card:focus-visible {
    transform: none;
  }
}