/* ==========================================================================
   ADRIANA SEIJAS — LEAD CAPTURE LANDING (/hablemos/)
   Design System: Editorial Boutique, Warm Ivory, HubSpot Integration
   ========================================================================== */

.lead-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--text);
}

/* Header */
.lead-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.lead-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s var(--ease-editorial);
}

.lead-back-btn:hover {
  background-color: var(--bg-card);
  border-color: var(--text);
  transform: translateX(-2px);
}

.lead-back-btn:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.lead-back-arrow {
  transition: transform 0.2s var(--ease-editorial);
}

.lead-back-btn:hover .lead-back-arrow {
  transform: translateX(-3px);
}

/* Main Shell */
.lead-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  padding-block: clamp(40px, 6vw, 80px);
}

@media (min-width: 960px) {
  .lead-shell {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 1.05fr);
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
  }

  .lead-copy {
    position: sticky;
    top: 40px;
  }
}

/* Left Column: Editorial Copy */
.lead-headline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 20px 0 24px;
  color: var(--text);
}

.lead-headline em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}

.lead-intro {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 36px;
}

/* Expectations / 3 Steps */
.lead-expectations {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-bottom: 32px;
}

.expectation-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
  padding-top: 2px;
}

.step-body h2 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.step-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Trust Strip */
.lead-trust-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 14px;
}

/* Right Column: Form Card */
.lead-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-media);
}

.form-card-heading {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.form-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  display: block;
}

.form-card-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  color: var(--text);
}

.form-subheading {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.form-guidance-box {
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.form-guidance-box strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.form-guidance-box ul {
  margin: 0;
  padding-left: 18px;
}

.form-guidance-box li {
  margin-bottom: 3px;
}

.form-required-legend {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-subtle);
}

/* HubSpot Frame Container */
.hs-form-frame {
  min-height: 480px;
  width: 100%;
}

.hs-form-frame iframe {
  width: 100% !important;
  border: none !important;
}

.lead-noscript-card {
  padding: 18px 22px;
  background-color: #fff5f1;
  border: 1px solid rgba(142, 71, 54, 0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.lead-noscript-card a {
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: underline;
}

/* Lead Footer */
.lead-footer {
  margin-top: auto;
}

@media (max-width: 680px) {
  .lead-header {
    height: 72px;
  }

  .lead-header .header-descriptor {
    display: none;
  }

  .lead-form-card {
    border-radius: var(--radius-md);
    padding: 20px 18px;
  }
}