:root {
  --hf-accent: #1b5c38;
  --hf-accent-2: #25d366;
  --hf-grad: linear-gradient(120deg, #0f5132 0%, #22c069 100%);
  --hf-ring: rgba(27,92,56,.40);
  --hf-soft: rgba(27,92,56,.06);
}

/* ── Reset formularios ── */
.hf-form *,
.hf-form *::before,
.hf-form *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Sección contenedora ── */
.hf-form-section {
  padding: 88px 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.hf-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Cabecera de sección ── */
.hf-form-head {
  text-align: center;
  margin-bottom: 44px;
}
.hf-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hf-form-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hf-form-subtitle {
  font-size: 16px;
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto;
}

/* ── Tarjeta del formulario ── */
.hf-form-card {
  background: #ffffff;
  border: 1px solid #e7e9f2;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 32px -8px rgba(12,16,40,.10);
}

/* ── Grid de campos ── */
.hf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hf-form-full { grid-column: 1 / -1; }

/* ── Grupos de campo ── */
.hf-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hf-form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  letter-spacing: .01em;
}
.hf-form-label span.req {
  color: var(--hf-accent, #1b5c38);
  margin-left: 2px;
}
.hf-form-input,
.hf-form-select,
.hf-form-textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #0a1f17;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  transition: border-color .15s, box-shadow .15s, background .15s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.hf-form-input::placeholder,
.hf-form-textarea::placeholder { color: #9ca3af; font-size: 14px; }
.hf-form-input:focus,
.hf-form-select:focus,
.hf-form-textarea:focus {
  border-color: var(--hf-accent, #1b5c38);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--hf-ring, rgba(27,92,56,.14));
}
.hf-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
  color: #4b5563;
}
.hf-form-select.selected { color: #0a1f17; }
.hf-form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* ── Grupo de checkboxes / radios ── */
.hf-form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.hf-form-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  padding: 8px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.hf-form-check-item:has(input:checked) {
  border-color: var(--hf-accent, #1b5c38);
  background: var(--hf-soft, rgba(27,92,56,.06));
  color: var(--hf-accent, #1b5c38);
  font-weight: 600;
}
.hf-form-check-item input { display: none; }
.hf-form-check-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s;
}
.hf-form-check-item:has(input:checked) .hf-form-check-dot {
  border-color: var(--hf-accent, #1b5c38);
  background: var(--hf-accent, #1b5c38);
}
.hf-form-check-dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .1s;
}
.hf-form-check-item:has(input:checked) .hf-form-check-dot::after { opacity: 1; }

/* ── Separador de sección interna ── */
.hf-form-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px;
}
.hf-form-divider-line {
  flex: 1; height: 1px; background: #f0f1f5;
}
.hf-form-divider-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* ── Privacidad ── */
.hf-form-privacy {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}
.hf-form-privacy input[type="checkbox"] {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--hf-accent, #1b5c38);
  cursor: pointer;
}
.hf-form-privacy-text {
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.55;
}
.hf-form-privacy-text a {
  color: var(--hf-accent, #1b5c38);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Botón submit ── */
.hf-form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.hf-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  background: var(--hf-grad, linear-gradient(120deg, #0f5132 0%, #22c069 100%));
  box-shadow: 0 10px 26px -10px var(--hf-ring, rgba(27,92,56,.45));
}
.hf-form-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--hf-ring, rgba(27,92,56,.5)); }
.hf-form-btn:active { transform: translateY(0); }
.hf-form-btn-icon { font-size: 18px; }

/* ── Mensaje de éxito ── */
.hf-form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.hf-form-success-icon { font-size: 48px; margin-bottom: 16px; }
.hf-form-success-title {
  font-family: 'Sora','Inter',sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--hf-accent, #1b5c38);
  margin-bottom: 8px;
}
.hf-form-success-msg { font-size: 15px; color: #6b7280; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .hf-form-card { padding: 28px 20px; }
  .hf-form-grid { grid-template-columns: 1fr; }
  .hf-form-full { grid-column: 1; }
  .hf-form-privacy { grid-column: 1; }
  .hf-form-submit-row { grid-column: 1; }
}

.hf-form-section { background: #f4f5fb; }
.hf-form-eyebrow { color: #25d366; background: #e8f8f0; }
.hf-form-title { color: #0a1f17; }
.hf-form-subtitle { color: #48506a; }
/* Indicador doble canal SEO + GEO */
.hf-seogeo-channels {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hf-seogeo-channel {
  flex: 1;
  min-width: 200px;
  border: 1.5px solid #e7e9f2;
  border-radius: 14px;
  padding: 20px 22px;
  background: #fff;
  text-align: center;
}
.hf-seogeo-channel-icon { font-size: 28px; margin-bottom: 8px; }
.hf-seogeo-channel-name {
  font-family: 'Sora','Inter',sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0a1f17;
  margin-bottom: 4px;
}
.hf-seogeo-channel-desc { font-size: 13px; color: #6b7280; line-height: 1.5; }
/* hero oscuro nativo: contraste del texto secundario */
#top .lead{color:rgba(255,255,255,.9)}
#top .hero-stats .s .l{color:rgba(255,255,255,.74)}

