* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  line-height: 1.6;
}

/* HERO */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 14px 26px;
  background-color: #22c55e;
  color: #0f172a;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}


/* VIDEO */
.video-wrapper iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border-radius: 12px;
}

/* FORM */
.form {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.form input {
  padding: 0.75rem;
  width: 260px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.form button {
  padding: 0.75rem 1.6rem;
  background: #22c55e;
  color: #000;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.form button:hover {
  background: #16a34a;
}

/* CONTENT */
.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
}

.content h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.card iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

.card p {
  margin-top: 0.5rem;
}

/* LINKS */
.links {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.links a {
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0.6;
}

/* ===== Página de Gracias ===== */

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

main h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

main h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

main p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #e5e7eb;
}

/* Botón principal (sopa de letras) */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 1.8rem;
  background: #22c55e;
  color: #000;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.btn:hover {
  background: #16a34a;
}

/* Separador */
hr {
  margin: 3rem auto;
  max-width: 400px;
  border: none;
  border-top: 1px solid #334155;
}

/* Botón WhatsApp */
.whatsapp-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: #000;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.05rem;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}
