:root {
  --bg: #14120f;
  --bg-card: #1d1a15;
  --texto: #f3ede2;
  --texto-suave: #b8ae9c;
  --acento: #e0a944;
  --acento-suave: #f3d9a4;
  --borde: #33301f;
  --error: #e07a5f;
  --radio: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: 'Georgia', 'Iowan Old Style', serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.page {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eyebrow {
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--acento);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
}

.hero { text-align: center; }

.logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.hero-img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radio);
  margin: 0 auto 28px;
  display: block;
  border: 1px solid var(--borde);
}

h1 {
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  line-height: 1.28;
  margin: 0 0 18px;
  font-weight: 500;
}

.lead-prueba {
  color: var(--acento-suave);
  margin-top: 16px;
}

.lead {
  color: var(--texto-suave);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 32px 28px;
}

.form-card h2 {
  font-size: 1.25rem;
  margin: 0 0 8px;
  font-weight: 500;
}

.form-sub {
  color: var(--texto-suave);
  font-size: 0.94rem;
  margin: 0 0 22px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lead-form label {
  font-size: 0.82rem;
  color: var(--texto-suave);
  margin-top: 12px;
}

.lead-form input {
  background: #0f0d0a;
  border: 1px solid var(--borde);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--texto);
  font-size: 1rem;
  font-family: inherit;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--acento);
}

.lead-form input::placeholder { color: #6b6555; }

.lead-form button {
  margin-top: 22px;
  background: var(--acento);
  color: #1d1508;
  border: none;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s ease;
}

.lead-form button:hover { filter: brightness(1.08); }

.privacidad {
  color: #746c58;
  font-size: 0.78rem;
  margin: 16px 0 0;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
}

.error {
  background: rgba(224, 122, 95, 0.12);
  border: 1px solid var(--error);
  color: var(--acento-suave);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0 0 18px;
}

/* Pagina de gracias */
.coach-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 20px 22px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.coach-foto {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--acento);
  flex-shrink: 0;
}

.coach-saludo {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--acento-suave);
  font-size: 0.98rem;
}

.coach-copy {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pasos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.paso {
  background: var(--bg-card);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 26px 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--acento);
  color: #1d1508;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.paso h2 {
  font-size: 1.08rem;
  margin: 0 0 8px;
  font-weight: 600;
}

.paso p {
  color: var(--texto-suave);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.boton-grupo {
  display: inline-block;
  margin-top: 16px;
  background: var(--acento);
  color: #1d1508;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.94rem;
}

@media (prefers-color-scheme: light) {
  /* La landing mantiene el look oscuro/dorado a proposito (identidad de marca),
     no sigue el tema del sistema. */
}

/* Selector de pais + numero de WhatsApp */
.telefono-fila {
  display: flex;
  gap: 8px;
}

.lead-form select {
  flex: 0 0 46%;
  min-width: 0;
  background: #0f0d0a;
  border: 1px solid var(--borde);
  border-radius: 10px;
  padding: 13px 10px;
  color: var(--texto);
  font-size: 0.95rem;
  font-family: inherit;
}

.lead-form select:focus {
  outline: none;
  border-color: var(--acento);
}

.telefono-fila input { flex: 1 1 0; min-width: 0; }

.lead-form .ayuda {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: #746c58;
}

@media (max-width: 420px) {
  .telefono-fila { flex-direction: column; }
  .lead-form select { flex-basis: auto; }
}
