/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f9fafb;
  color: #222;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero */
.hero {
  background: #0077cc;
  color: white;
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero .eslogan {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgb(37 211 102 / 0.4);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1ebe57;
  outline: none;
}

/* Beneficios */
.beneficios {
  padding: 3rem 0;
  background: white;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
}

.beneficios h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #0077cc;
  font-weight: 700;
  font-size: 2rem;
}

.beneficios.cliente ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
}

.beneficios.cliente ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.beneficios.cliente ul li strong {
  color: #0077cc;
}

.beneficios.cliente ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: 700;
}

/* Beneficios trabajador */
.beneficios.trabajador p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
  text-align: center;
}

/* Perfiles */
.perfiles {
  padding-bottom: 3rem;
}

.perfiles h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0077cc;
  font-weight: 700;
  font-size: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.15);
}

.card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #0077cc;
}

.card h3 {
  margin-bottom: 0.25rem;
  color: #0077cc;
}

.card .rubro {
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.card .habilidades {
  list-style: none;
  text-align: left;
  margin-bottom: 1.25rem;
  padding-left: 0;
  width: 100%;
  max-width: 250px;
}

.card .habilidades li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #555;
  position: relative;
  padding-left: 1.2rem;
}

.card .habilidades li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: 700;
}

.btn-solicitar {
  background: #0077cc;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 8px rgb(0 119 204 / 0.4);
}

.btn-solicitar:hover,
.btn-solicitar:focus {
  background: #005fa3;
  outline: none;
}

/* FAQ */
.faq {
  background: white;
  padding: 3rem 1rem 4rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0077cc;
  font-weight: 700;
  font-size: 2rem;
}

.faq dl {
  font-size: 1.1rem;
  color: #333;
}

.faq dt {
  font-weight: 700;
  margin-top: 1.5rem;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

.faq dt::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq dt.active::after {
  content: "−";
}

.faq dd {
  margin-top: 0.5rem;
  margin-left: 1rem;
  display: none;
  color: #555;
}

/* Mostrar respuesta activa */
.faq dt.active + dd {
  display: block;
}

/* Llamado a la acción final */
.cta-final {
  background: #0077cc;
  color: white;
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.cta-final h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.cta-final p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero .eslogan {
    font-size: 1rem;
  }
  .beneficios.cliente ul,
  .beneficios.trabajador p {
    font-size: 1rem;
  }
  .card .habilidades {
    max-width: 100%;
  }
}