/* ================================
   HOME - QUIÉNES SOMOS (welcome)
   Fondo full width + contenido centrado (sin "leer más")
================================= */

.section.welcome.welcome .welcome__header{
  margin-bottom: var(--space-5);
}

/* Stack vertical */
.section.welcome.welcome .welcome__stack{
  display: grid;
  gap: var(--space-5);
}

/* ================================
   Slider manual Welcome
================================= */

.section.welcome.welcome .welcome__slider{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: #fff;
}

.section.welcome.welcome .welcome__slides{
  position: relative;
  width: 100%;
  height: 100%;
}

.section.welcome.welcome .welcome__slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.section.welcome.welcome .welcome__slide.active{
  opacity: 1;
}

/* Botones navegación */
.section.welcome.welcome .welcome__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);

  display: grid;
  place-items: center;

  font-size: 26px;
  line-height: 1;
  cursor: pointer;

  transition: transform 0.15s ease, background 0.15s ease;
}

.section.welcome.welcome .welcome__nav:hover{
  background: rgba(255, 255, 255, 0.75);
}

.section.welcome.welcome .welcome__nav:active{
  transform: translateY(-50%) scale(0.98);
}

.section.welcome.welcome .welcome__nav--prev{ left: 12px; }
.section.welcome.welcome .welcome__nav--next{ right: 12px; }

/* ================================
   Bloque texto: fondo full width
================================= */

.section.welcome.welcome .welcome__card{
  position: relative;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Fondo azul a ancho completo */
.section.welcome.welcome .welcome__card::before{
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;

  background: rgba(210, 230, 245, 0.55);
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

/* Contenido real (ancho normal del site) */
.section.welcome.welcome .welcome__inner{
  position: relative;
  z-index: 1;

  max-width: 1100px;
  margin-inline: auto;
  padding: var(--space-5);

  text-align: center;
}

/* ================================
   Tipografía + ritmo (compacto + alineado)
================================= */

.section.welcome.welcome .welcome__lead{
  margin: 0 0 10px;

  font-size: clamp(1.1rem, 1.2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.25;
}

/* Párrafos: centrados y con ancho cómodo para lectura */
.section.welcome.welcome .welcome__inner p{
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

.section.welcome.welcome .welcome__summary{
  margin: 0 0 10px;
}

/* Ritmo entre párrafos (si hay varios) */
.section.welcome.welcome .welcome__inner p + p{
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 640px){
  .section.welcome.welcome .welcome__inner{
    padding: var(--space-4);
  }

  .section.welcome.welcome .welcome__nav{
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}
/* =========================================
   WELCOME — forzar ancho (migrar a welcome.css)
   ========================================= */
section.section.section--soft.welcome > .container-global {
  max-width: 1100px;
}
 
section.section.section--soft.welcome .welcome__inner {
  max-width: 1100px;
}
 
section.section.section--soft.welcome .welcome__inner p {
  max-width: none;
}