/* ============================================= */
/*                 SERVICIOS                     */
/* ============================================= */

.servicios-section {
  padding: 90px 20px;
  background-color: #f8f8f8;
}

.servicios-title {
  text-align: center;
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servicios-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
  line-height: 1.6;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.servicio-card {
  background: #fff;
  border-radius: 15px;
  text-align: center;
  padding: 35px 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(20px);
}

.servicio-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.servicio-card i {
  font-size: 2.5rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.servicio-card h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 10px;
}

.servicio-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ============================================= */
/*             CTA FINAL DE CONTACTO             */
/* ============================================= */

.cta-contacto {
  position: relative;
  background: url('../../img/obras/Haras.jpeg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.2rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.cta-content p {
  color: #ddd;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-cta {
  background-color: #ffcc00;
  color: #111;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}
