/* === Título principal === */
.titulo-principal {
  text-align: center;
  font-size: 32px;
  margin: 40px 0 20px;
  color: #333;
}

/* === Contenedor de cards === */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

/* === Card individual === */
.card {
  display: block;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}

.card-body .ciudad {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.card-body .precio {
  font-weight: bold;
  font-size: 16px;
  color: #00bfa6;
}

/* === Botón "Ver más" === */
.btn-ver-mas {
  padding: 12px 30px;
  font-size: 16px;
  background: #00bfa6;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* === Responsive cards === */
@media screen and (max-width: 600px) {
  .card img {
    height: 150px;
  }
}

/* === BLOQUE: CTA SERVICIOS === */
.cta-wrapper {
  margin: 80px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.cta-servicios {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.cta-box {
  position: relative;
  flex: 1 1 480px;
  height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.cta-box .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.cta-box h2 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #00bfa6;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: #009e8c;
}

@media screen and (max-width: 768px) {
  .cta-servicios {
    flex-direction: column;
  }
}
