:root {
  --main-color: #6c788e;
  --secondary-color: #a6aec1;
  --third-color: #cfd5e1;
  --fourth-color: #ededf2;
  --fifth-color: #fcfdff;
  --accent-color: #8ecae6;
  --success-color: #b7e4c7;
  --blackblack: #222;
  --font-color: #444;
  --green-correct: #6bcb77;
  --header-color: #3b646b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

body {
  background: var(--fourth-color);
  color: var(--font-color);
}

.about-section {
  background: var(--fifth-color);
  padding: 48px 0;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 48px;
}

.about-text {
  flex: 1.2;
}

.about-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blackblack);
  margin-bottom: 8px;
}

.about-subtitle {
  color: var(--main-color);
  font-size: 1rem;
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.services-section {
  background: var(--fifth-color);
  padding: 45px 0;
}

.services-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 48px;
}

.services-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.services-image img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.services-text {
  flex: 1.2;
}

.services-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blackblack);
  margin-bottom: 4px;
}

.services-subtitle {
  color: var(--main-color);
  font-size: 1rem;
  margin-bottom: 24px;
}

.services-text p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsivo para tablets */
@media (max-width: 900px) {
  .about-container,
  .services-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
  }
  .about-image,
  .services-image {
    width: 100%;
    justify-content: center;
  }
  .about-image img,
  .services-image img {
    width: 90vw;
    max-width: 350px;
    height: auto;
  }
  .about-text,
  .services-text {
    width: 100%;
    flex: unset;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .site-name {
    font-size: 1.2rem;
  }
  .about-section,
  .services-section {
    padding: 20px 0;
  }
  .about-text h1,
  .services-text h1 {
    font-size: 1.3rem;
  }
  .about-subtitle,
  .services-subtitle {
    font-size: 0.95rem;
  }
  .about-image img,
  .services-image img {
    width: 100vw;
    max-width: 95vw;
    height: auto;
    border-radius: 8px;
  }
}
