/* ===========================
   Reset básico y estructura
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* ===========================
   Encabezado
=========================== */
header {
  background-color: #0a2239;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* ===========================
   Sección de servicios
=========================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}

/* ===========================
   Tarjetas de servicio
=========================== */
.service-card {
  background: white;
  padding: 2rem;
  margin: 10px; /* Ajustado para consistencia con responsive */
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h2 {
  color: #0a2239;
  margin-bottom: 0.8rem;
}

/* ===========================
   Botones de contacto
=========================== */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.contact-button {
  flex: 1 1 auto;
  min-width: 120px;
  text-align: center;
  padding: 10px 16px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* WhatsApp */
.contact-button.whatsapp {
  background-color: #25D366;
}

.contact-button.whatsapp:hover {
  background-color: #1ebe5d;
}

/* Correo */
.contact-button.email {
  background-color: #004080;
}

.contact-button.email:hover {
  background-color: #0066cc;
}

/* ===========================
   Responsive (móviles)
=========================== */
@media (max-width: 600px) {
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-button {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }
}
