/* GENERAL */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* HEADER */
header {
  background: #333;
  padding: 10px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  margin-left: 10px;
  text-decoration: none;
}

/* MAIN */
main {
  padding: 20px;
  overflow-x: auto;
}

h1 {
  color: #222;
}

section {
  margin-bottom: 30px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  border: 1px solid #ccc;
  padding: 1rem;
  width: 200px;
  text-align: center;
  border-radius: 10px;
}

/* GALERIA */
.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.item img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.item img:hover {
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background: #eee;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.terminos {
  display: flex;
  gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .galeria {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
/* GRID GENERAL */
body {
  display: grid;
  grid-template-areas: 
    "header header"
    "nav nav"
    "sidebar main"
    "footer footer";
  grid-template-columns: 1fr 3fr;
  gap: 1rem;
}

/* ASIGNAR ÁREAS */
header {
  grid-area: header;
}

nav {
  grid-area: nav;
  background: #444;
  padding: 10px;
}

aside {
  grid-area: sidebar;
  background: #f4f4f4;
  padding: 10px;
}

main {
  grid-area: main;
}

footer {
  grid-area: footer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  body {
    grid-template-areas:
      "header"
      "nav"
      "main"
      "sidebar"
      "footer";
    grid-template-columns: 1fr;
  }
}
.testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}