/* ---- ESTILOS GENERALES ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #121212;
  line-height: 1.5;
  background-color: #ffffff;
}

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', Arial, sans-serif;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}

/* ---- CABECERA ---- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #121212;
}

.logo span {
  color: #0066ff;
}

.header nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #121212;
  font-weight: 500;
}

.header nav a:hover {
  color: #0066ff;
}

/* ---- HERO ---- */
.hero {
  text-align: center;
  padding: 100px 20px;
  background-color: #121212;
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 6px;
  background-color: #0066ff;
  margin: 20px auto 0;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: #ececec;
  letter-spacing: 1px;
}

.hero-botones {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.boton-secundario-hero {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.boton-secundario-hero:hover {
  background-color: #ffffff;
  color: #121212;
}

/* ---- BOTÓN ---- */
.boton {
  display: inline-block;
  background-color: #0066ff;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.boton:hover {
  transform: scale(1.05);
  background-color: #0052cc;
}

/* ---- NÚMERO (etiqueta pequeña en tarjetas) ---- */
.numero {
  display: inline-block;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  color: #0066ff;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* ---- SERVICIOS ---- */
.servicios {
  padding: 80px 40px;
  background-color: #ececec;
}

.tarjetas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.tarjeta {
  background: white;
  padding: 30px;
  border-radius: 8px;
  border-top: 4px solid #0066ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 260px;
  text-align: left;
}

.tarjeta h3 {
  color: #121212;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

/* ---- CÓMO TRABAJAMOS ---- */
.proceso {
  padding: 80px 40px;
  background-color: #121212;
  color: white;
  text-align: center;
}

.proceso-subtitulo {
  color: #a0a0a0;
  margin-bottom: 40px;
}

.proceso-pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.paso {
  max-width: 240px;
}

.paso .numero {
  font-size: 1.6rem;
}

.paso h3 {
  margin-bottom: 8px;
}

.paso p {
  color: #ccc;
  font-size: 0.95rem;
}

/* ---- NÚMEROS ---- */
.numeros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 60px 40px;
  background-color: #0066ff;
  color: white;
  text-align: center;
}

.numero-grande {
  display: block;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
}

.numero-item p {
  margin-top: 4px;
  font-size: 0.95rem;
}

/* ---- CONTACTO ---- */
.contacto {
  text-align: center;
  padding: 70px 20px;
  background-color: #ececec;
  color: #121212;
}

.contacto h2 {
  margin-bottom: 8px;
}

.contacto > p {
  color: #444;
  margin-bottom: 32px;
}

.formulario-contacto {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fila-formulario {
  display: flex;
  gap: 14px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  outline: 2px solid #0066ff;
}

.formulario-contacto .boton {
  align-self: center;
  margin-top: 8px;
}

.respuesta-tiempo {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #666;
}

.contacto-alt {
  margin-top: 24px;
  font-size: 0.95rem;
}

.contacto-alt a {
  color: #0066ff;
  font-weight: 600;
  text-decoration: none;
}

.contacto-alt a:hover {
  text-decoration: underline;
}

.contacto-alt span {
  margin: 0 8px;
  color: #999;
}

/* ---- PIE DE PÁGINA ---- */
.footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #121212;
  color: #a0a0a0;
  font-size: 0.9rem;
}

.footer-logo {
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* ---- RESPONSIVE (MÓVIL) ---- */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px;
  }
  .header nav a {
    margin: 0 10px;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .tarjeta {
    max-width: 100%;
  }
  .fila-formulario {
    flex-direction: column;
  }
  .numeros {
    gap: 30px;
  }
}

/* ---- FORMULARIO DE CONTACTO ---- */
.formulario {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.formulario input,
.formulario textarea {
  padding: 12px 14px;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  color: #121212;
}

.formulario textarea {
  resize: vertical;
}

.formulario .boton {
  border: none;
  cursor: pointer;
  font-size: 1rem;
  background-color: #121212;
}

.formulario .boton:hover {
  background-color: #000000;
}

/* ---- REDES SOCIALES ---- */
.redes {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.redes a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}

.redes a:hover {
  border-color: #ffffff;
}
