/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  background-color: var(--white);
  color: var(--text-color);
  overflow-x: hidden;
  text-transform: uppercase;
}

p, a{
  font-size: var(--font-size-base);
  color: var(--text-light);
  line-height: 1.8;
  text-decoration: none;
}

#descri {
  text-align: center;
  padding: 3rem 1rem;
  background-color: var(--white);
}

.serviciosprinc {
  font-size: var(--font-size-4xl);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.resacer {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
  color: var(--text-light);
  line-height: 1.7;
}

/* Contenedores */
.contenedores {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 3rem 1rem;
}

.contenedor1,
.contenedor2,
.contenedor3,
.contenedor4,
.contenedor5 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.contenedor1:hover,
.contenedor2:hover,
.contenedor3:hover,
.contenedor4:hover,
.contenedor5:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-xl);
}

/* Imágenes */
.imagenes {
  flex: 1 1 45%;
}

.imagenes img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: transform var(--transition-speed) ease;
}

.imagenes img:hover {
  transform: scale(1.05);
}

/* Texto */
.texto1,
.texto2,
.texto4,
.texto5 {
  flex: 1 1 45%;
}

.texto1 h1,
.texto2 h1,
.texto4 h1,
.texto5 h1 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-3xl);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.texto1 p,
.texto2 p,
.texto4 p,
.texto5 p {
  font-size: var(--font-size-base);
  color: var(--text-light);
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .contenedor1,
  .contenedor2,
  .contenedor3,
  .contenedor4,
  .contenedor5 {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .imagenes,
  .texto1,
  .texto2,
  .texto4,
  .texto5 {
    flex: 1 1 100%;
  }

  .imagenes img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .serviciosprinc {
    font-size: var(--font-size-3xl);
  }
}
