/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #e60023, #ff4d6d);
  color: white;
  border-bottom: 5px solid #c5001e;
}

header h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* SECCIÓN SERVICIOS */
.services-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 1rem;
  max-width: 1300px;
  margin: auto;
}

.service-box {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.service-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-box h2 {
  color: #e60023;
  font-size: 1.8rem;
  margin: 1rem 0;
}

.service-box p {
  padding: 0 1rem;
  color: #555;
}

.service-box ul {
  list-style: none;
  padding: 1rem;
}

.service-box li {
  margin-bottom: 0.5rem;
  color: #444;
  display: flex;
  align-items: center;
}

.service-box li::before {
  content: "✔";
  color: #e60023;
  font-weight: bold;
  margin-right: 8px;
}

/* TESTIMONIOS */
.testimonials {
  background: #fff;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 2rem;
}

.testimonials h2 {
  color: #e60023;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  font-style: italic;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: scale(1.05);
}

.testimonial h4 {
  margin-top: 1rem;
  color: #e60023;
  font-weight: bold;
}

/* BOTÓN DE REGRESO */
.btn-back {
  text-align: center;
  margin: 3rem 0;
}

.btn-back a {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #e60023, #ff4d6d);
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.btn-back a:hover {
  background: linear-gradient(135deg, #c5001e, #ff1e4d);
  transform: scale(1.05);
}

/* BOTÓN WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 2rem;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebe57;
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }
  .service-box img {
    height: 180px;
  }
}
