.arreglos-personalizados {
  width: 1400px;
  max-width: 100%;
  margin: 0 auto;
  padding: 50px;
  font-family: 'Inter', sans-serif;
}

.boton-personalizado {
  text-decoration: none; /* 🚫 sin subrayado */
  display: inline-block; /* para que respete padding y border-radius como un botón */
}

/* Título principal */
.titulo-principal {
  color: #000;
  text-align: center;
  font-size: 41px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 50px;
}

.imagen-texto {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  margin-bottom: 50px;
}

.imagen-lado {
  width: 678.675px;
  height: 425px;
  border-radius: 15px;
  flex-shrink: 0;
  background: lightgray 50% / cover no-repeat;
}

.texto-boton-container {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Espacio entre texto y botón */
  max-width: 500px; /* Mantiene el texto con un ancho adecuado */
}

.texto-lado {
  color: #000;
  text-align: justify;
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
}

.boton-container {
  display: flex;
  justify-content: flex-end; /* Alinea el botón a la derecha */
}

.boton-personalizado {
  display: flex;
  width: 404px;
  height: 54px;
  padding: 17.333px 34.667px 19.5px 34.667px;
  justify-content: center;
  align-items: center;
  gap: 10.833px;
  border-radius: 107.25px;
  background: #A42D1D;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* Subtítulos y párrafos */
.subtitulo-principal {
  color: #000;
  text-align: center;
  font-size: 41px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
  margin-top: 200px;
}

.subtitulo-secundario {
  color: #A42D1D;
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 20px;
}

.parrafo-principal {
  color: #000;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 50px;
}

.parrafo-secundario {
  color: #000;
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 30px;
}

/* Galería de imágenes */
.galeria-imagenes {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.imagen-galeria {
  width: 299px;
  height: 425px;
  border-radius: 15px;
  background: lightgray 50% / cover no-repeat;
}

/* Lista de pasos */
.lista-pasos {
  color: #000;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.8;
  padding-left: 20px;
}

@media (max-width: 750px) {
  .arreglos-personalizados {
    padding: 20px;
    width: 100%;
  }

  /* Título principal */
  .titulo-principal {
    color: #000;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
  }

  /* Imagen y texto debajo */
  .imagen-texto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .imagen-lado {
    width: 346.194px;
    height: 216.794px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    flex-shrink: 0;
  }

  .texto-boton-container {
    max-width: 100%;
    gap: 5px;
    text-align: center;
  }

  .texto-lado {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
  }

  .boton-container {
    display: flex;
    justify-content: center;
    margin-top: 5px;
  }

  .boton-personalizado {
    display: flex;
    width: 220px;
    height: 23px;
    padding: 7.384px 14.767px 8.307px 14.767px;
    justify-content: center;
    align-items: center;
    gap: 4.615px;
    border-radius: 107.25px;
    background: #A42D1D;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
  }

  /* Sección ¿Qué hacemos por ti? */
  .subtitulo-principal {
    color: #000;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 10px;
  }

  .subtitulo-secundario {
    color: #A42D1D;
    text-align: justify;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .parrafo-principal {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 20px;
  }

  /* Inspiración proyectos reales */
  .parrafo-secundario {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
  }

  .galeria-imagenes {
    display: flex;
    gap: 5px;               /* Separación horizontal entre imágenes */
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .imagen-galeria {
    flex: 1;                 /* Cada imagen ocupa el mismo espacio disponible */
    height: auto;
    aspect-ratio: 299 / 425; /* Mantiene proporción */
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    max-width: calc((100% - 15px) / 4); /* Cuatro imágenes caben con 3 gaps de 5px */
  }

  /* Proceso paso a paso */
  .lista-pasos,
  .subtitulo-secundario,
  .subtitulo-principal {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: normal;
  }

  .lista-pasos {
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 20px;
  }

  /* Subtítulos de proceso */
  .subtitulo-principal-proceso {
    color: #000;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
  }

  .subtitulo-secundario-proceso {
    color: #A42D1D;
    font-size: 12px;
    font-weight: 700;
    text-align: justify;
    margin-bottom: 5px;
  }
}
