body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #f6f8fa;
  color: #181c22;
}
.container {
  width: 95%;
  max-width: 1150px;
  margin: 0 auto;
}
header {
  background: #fff;
  box-shadow: 0 2px 8px #d1d5db44;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7em 0;
}
.logo {
  font-weight: 700;
  font-size: 1.4em;
  color: #181c22;
  letter-spacing: 0.03em;
}
nav ul {
  display: flex;
  gap: 1.7em;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li a {
  color: #181c22;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav ul li a:hover, nav ul li a.active {
  background: #333;
  color: #fff;
}
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1510915228340-29c85a43dcfe?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(246,248,250,0.81);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #181c22;
}
.hero h1 {
  font-size: 2.4em;
  margin-bottom: 0.4em;
  color: #181c22;
  text-shadow: 0 2px 12px #fff9;
}
.hero p {
  font-size: 1.1em;
  margin-bottom: 1.3em;
  color: #181c22;
}
.cta-btn {
  background: #222;
  color: #fff;
  padding: 0.7em 1.7em;
  border: none;
  border-radius: 2em;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 8px #181c2233;
}
.cta-btn:hover {
  background: #181c22;
  color: #f6f8fa;
}
section {
  padding: 60px 0 30px;
}
h2 {
  color: #181c22;
  font-size: 2em;
  margin-bottom: 20px;
}
.cards {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px #232c3811;
  padding: 1.4em 1.2em 1.7em;
  min-width: 220px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f2f3f7;
  transition: transform 0.14s, box-shadow 0.14s;
}
.card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 8px 32px #181c2233;
  border-color: #181c22;
}
.card img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid #f6f8fa;
}
.card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #181c22;
}
.card p {
  color: #636a74;
  font-size: 1em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.2em;
}
.gallery-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 2px 10px #232c3822;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1.5px solid #f2f3f7;
}
.gallery-grid img:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px #181c2233;
  border-color: #181c22;
}
.avantaje-list {
  color: #181c22;
  font-size: 1.1em;
  padding-left: 1.3em;
  list-style-type: disc;
}
.testimonial blockquote {
  background: #f6f8fa;
  border-left: 5px solid #181c22;
  border-radius: 13px;
  padding: 1.5em;
  color: #181c22;
  font-size: 1.2em;
  box-shadow: 0 2px 10px #232c3807;
  margin: 1em 0;
}
.testimonial span {
  display: block;
  color: #181c22;
  font-size: 1em;
  margin-top: 0.7em;
  font-weight: 700;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 400px;
}
form input, form textarea {
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  padding: 0.8em;
  font-size: 1em;
  background: #f6f8fa;
  color: #181c22;
  margin-bottom: 5px;
}
form button {
  width: 170px;
  align-self: flex-end;
  background: #181c22;
  color: #fff;
  border: none;
  border-radius: 2em;
  font-weight: 600;
  padding: 0.7em 1.3em;
  box-shadow: 0 2px 8px #181c2233;
  cursor: pointer;
}
form button:hover {
  background: #222;
  color: #f6f8fa;
}
.contact-info {
  margin-top: 1em;
  color: #181c22;
  font-size: 1em;
}
footer {
  background: #fff;
  text-align: center;
  padding: 1.2em 0 1em;
  color: #181c22;
  font-size: 1em;
  margin-top: 2em;
  border-top: 1px solid #f2f3f7;
}

@media (max-width: 900px) {
  .cards { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { width: 99%; }
  .hero h1 { font-size: 1.3em; }
  header .container { flex-direction: column; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
