/* ================================================================
   Development Process — UDABot (node template)
   Estilos para node--development_process.html.twig
   ================================================================ */

/* ── Página contenedor ─────────────────────────────────────────── */
.dp-page {
  background: #ffffff;
}

/* ── Base de secciones ─────────────────────────────────────────── */
.dp-section {
  padding: 6rem 0;
}

/* ── Tipografía compartida ─────────────────────────────────────── */
.dp-heading {
  font-family: 'Google Sans Flex', Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.dp-subtitle {
  font-family: 'Red Hat Display', Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #1b1b1b;
  margin-bottom: 1.5rem;
}

.dp-body {
  font-family: 'Google Sans Flex', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 100;
  line-height: 1.8;
  color: #000000;
}

.dp-body p {
  margin-bottom: 0.85rem;
}

.dp-text-block {
  padding-right: 1rem;
}

/* ================================================================
   Sección 1 · Diseño / Presentación
   ================================================================ */
.dp-section--design {
  background: #ffffff;
}

/* Rejilla de medios: acentos + robot */
.dp-media-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Fila superior de imágenes acento */
.dp-accents-top {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
  width: 100%;
}

.dp-accent-img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.dp-accent-img img,
.dp-accent-img picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Marco imagen robot principal */
.dp-robot-frame {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.dp-robot-frame img,
.dp-robot-frame picture img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ================================================================
   Sección 2 · Proceso iterativo (fondo azul / multitud)
   ================================================================ */
.dp-section--iterative {
  background-color: #5b8fa8;
  position: relative;
  overflow: hidden;
}

/* Capa de overlay azul semitransparente sobre la foto de fondo */
.dp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(70, 110, 140, 0.82);
  z-index: 1;
}

/* Texto claro sobre fondo oscuro */
.dp-body--light {
  color: #e8f0f5;
}

.dp-body--light p {
  margin-bottom: 0.85rem;
}

/* Contenedor bocetos + logo */
.dp-sketches-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.dp-sketches-row {
  display: flex;
  gap: 1rem;
}

.dp-sketch-frame {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.dp-sketch-frame img,
.dp-sketch-frame picture img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Logo UDABot */
.dp-logo-frame {
  /*background: #ffffff;*/
  border-radius: 10px;
  /*padding: 1rem 1.5rem;*/
  display: inline-flex;
  align-items: center;
  /*box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);*/
  align-self: flex-start;
}

.dp-logo-frame img,
.dp-logo-frame picture img {
  width: 100%;
  display: block;
}

/* ================================================================
   Sección 3 · CTA — Conoce más
   ================================================================ */
.dp-section--cta {
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

/* Imagen cabeza robot (recortada por la izquierda/abajo) */
.dp-head-frame {
  height: clamp(300px, 45vw, 650px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.dp-head-frame img,
.dp-head-frame picture img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Bloque CTA central */
.dp-cta-block {
  padding: 3.5rem 2rem;
}

.dp-cta-text {
  font-family: 'Red Hat Display', Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  color: #0d1b2a;
  margin-bottom: 1.75rem;
}

.dp-cta-btn {
  display: inline-block;
}

/* Imagen persona */
.dp-person-frame {
  height: clamp(300px, 40vw, 520px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.dp-person-frame img,
.dp-person-frame picture img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* ── margin-top negativo solo en escritorio ────────────────────── */
@media (min-width: 1200px) {
  .dp-offset-up {
    margin-top: -300px;
  }
}

/* ── Contenedor responsive con padding lateral ─────────────────── */
.dp-container-responsive {
  padding-left: 0;
  padding-right: 0;
}

/* ── Responsive < 1200px ───────────────────────────────────────── */
@media (max-width: 1199.98px) {
  .dp-section {
    padding: 4rem 0;
  }

  .dp-container-responsive {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .dp-text-block {
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
  }

  .dp-accents-top {
    justify-content: center;
  }

  .dp-media-grid {
    align-items: center;
  }

  .dp-robot-frame {
    margin-bottom: 1rem;
  }

  .dp-section--iterative {
    padding: 2rem 0;
  }

  .dp-section--iterative .row.g-5 {
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 0;
  }

  .dp-section--iterative .dp-text-block {
    margin-bottom: 0.5rem;
  }

  .dp-optional-img {
    max-width: 400px;
    margin: 0 auto;
  }

  .dp-section--iterative .dp-sketches-wrapper {
    max-width: 550px;
    margin: 0 auto;
  }

  .dp-sketches-row {
    flex-direction: row;
  }

  .dp-section--iterative .dp-sketch-frame img {
    max-height: 300px;
    object-fit: contain;
  }

  .dp-logo-frame {
    align-self: center;
    max-width: 320px;
  }

  .dp-head-frame,
  .dp-person-frame {
    height: auto;
    max-height: 400px;
    justify-content: center;
  }

  .dp-head-frame img,
  .dp-head-frame picture img,
  .dp-person-frame img,
  .dp-person-frame picture img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
  }

  .dp-cta-block {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  .dp-cta-text.display-6 {
    font-size: 1.25rem !important;
  }
}

/* ── Responsive < 576px ────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .dp-section {
    padding: 3rem 0;
  }

  .dp-heading {
    font-size: 1.5rem;
  }

  .dp-accent-img {
    width: 70px;
    height: 70px;
  }
}

.shadow-custom{
  box-shadow: 0 1rem 1rem rgb(0 0 0 / 45%);
}

.dp-section.dp-section--cta{
  padding: 0 0;
}
