:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ======================================
   SECTION INTRO (igual al diseño)
   ====================================== */

.sectionIntro {
  background: #f7f9fb;
  padding: 90px 0;
}

.sectionIntro__container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.sectionIntro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

/* ======================================
   IZQUIERDA: Collage 2x2 (columna derecha bajada)
   ====================================== */

.sectionIntro__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sectionIntro__mediaGrid {
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Cada tile: placeholder gris elegante */
.sectionIntro__tile {
  border-radius: 10px;
  overflow: hidden;

  /* look placeholder del diseño */
  background: linear-gradient(145deg, #f1f3f6, #e9edf2);
  box-shadow: 0 14px 34px rgba(1, 1, 1, 0.06);

  /* En el diseño son rectángulos “portrait” */
  aspect-ratio: 4 / 5;

  will-change: transform, box-shadow;
  transform: translate3d(0, 0, 0);
  transition:
    transform 650ms var(--ease-out-expo),
    box-shadow 650ms var(--ease-out-expo);
}

/* Columna derecha un poco más baja (efecto collage) */
.sectionIntro__tile--col2 {
  transform: translate3d(0, 22px, 0);
}

/* Hover suave sin romper el offset */
.sectionIntro__tile:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 22px 44px rgba(107, 46, 230, 0.14);
}

.sectionIntro__tile--col2:hover {
  transform: translate3d(0, 16px, 0); /* sube 6px desde su base (22->16) */
}

/* Si hay imágenes reales, que llenen el tile */
.sectionIntro__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================
   DERECHA: Texto
   ====================================== */

.sectionIntro__content {
  max-width: 560px;
}

/* Welcome: NO mayúsculas + barra debajo */
.sectionIntro__subtitle {
  position: relative;
  display: inline-block;

  margin: 0 0 16px 0;

  font-size: 0.88rem;
  font-weight: 500;
  color: #8a92a1;

  text-transform: none;     /* clave: NO uppercase */
  letter-spacing: 0;        /* sin tracking exagerado */
}

.sectionIntro__subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;

  width: 60px;              /* barra como en el diseño */
  height: 2px;
  border-radius: 2px;
  background: rgba(138, 146, 161, 0.45);
}

.sectionIntro__title {
  margin: 0 0 18px 0;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
}

.sectionIntro__text {
  margin: 0 0 26px 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.60);
}

/* Botón: morado con sombra como referencia */
.sectionIntro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 6px;

  background: var(--color2);
  color: var(--neutro1);
  text-decoration: none;

  font-weight: 700;
  font-size: 0.95rem;

  box-shadow: 0 14px 30px rgba(107, 46, 230, 0.22);
  transition: transform 600ms var(--ease-out-expo), background-color 300ms ease;
}

.sectionIntro__button:hover {
  background: var(--color3);
  transform: translate3d(0, -3px, 0);
}

/* ======================================
   RESPONSIVE
   ====================================== */

@media (max-width: 1024px) {
  .sectionIntro__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sectionIntro__content {
    text-align: center;
    margin: 0 auto;
  }

  .sectionIntro__subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .sectionIntro__mediaGrid {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .sectionIntro {
    padding: 70px 0;
  }

  .sectionIntro__title {
    font-size: 1.7rem;
  }

  .sectionIntro__mediaGrid {
    gap: 14px;
  }

  .sectionIntro__tile--col2 {
    transform: translate3d(0, 14px, 0);
  }

  .sectionIntro__tile--col2:hover {
    transform: translate3d(0, 8px, 0);
  }
}
