/**
 * Lead Form Widget Stylesheet
 *
 * Converted from design-inputs/17-lead-form.html
 * Brand palette: Royal Blue #0064c1, Deep Navy #00478a, Accent Orange #f8753a, Paper White #ffffff
 *
 * @package Universal_Elementor_Engine
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ============================================================
   Section Container & Token Defaults
   ============================================================ */
.lf-section {
  --lf-ink: #0a2540;
  --lf-ink-soft: #5b6b7d;
  --lf-paper: #ffffff;
  --lf-bg: #f5f8fc;
  --lf-line: #e4ebf3;

  /* Brand Palette */
  --lf-blue: #0064c1;
  --lf-blue-deep: #00478a;
  --lf-blue-tint: #e8f2fc;
  --lf-orange: #f8753a;
  --lf-orange-deep: #d95f28;

  /* Typography */
  --lf-font-display: 'Fraunces', 'Georgia', serif;
  --lf-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --lf-font-mono: 'Space Mono', monospace;

  /* Layout sizing */
  --lf-container-max-width: 1020px;
  --lf-card-radius: 24px;

  background: var(--lf-bg);
  color: var(--lf-ink);
  font-family: var(--lf-font-body);
  padding: clamp(44px, 6vw, 88px) 0;
  position: relative;
  box-sizing: border-box;
}

.lf-section *,
.lf-section *::before,
.lf-section *::after {
  box-sizing: border-box;
}

/* ============================================================
   Full-Screen 100vw Breakout & Sizing Modes
   ============================================================ */
.uwe-widget--lead-form.lf-width-full,
.uwe-widget--lead-form.lf-width-viewport {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow-x: clip;
}

.uwe-widget--lead-form.lf-width-boxed .lf-wrap,
.uwe-widget--lead-form.lf-width-container .lf-wrap {
  max-width: var(--lf-container-max-width, 1020px);
}

.uwe-widget--lead-form.lf-height-viewport {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.uwe-widget--lead-form.lf-height-custom {
  min-height: var(--lf-custom-min-height, 600px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   Inner Wrap & Main Card
   ============================================================ */
.lf-wrap {
  width: 100%;
  max-width: var(--lf-container-max-width, 1020px);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px);
}

.lf-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--lf-paper);
  border: 1px solid var(--lf-line);
  border-radius: var(--lf-card-radius, 24px);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 37, 64, 0.25);
  position: relative;
}

/* ============================================================
   Info Column (Left Side)
   ============================================================ */
.lf-info {
  background: var(--lf-blue-deep);
  color: #ffffff;
  padding: clamp(30px, 4vw, 46px);
  position: relative;
  display: flex;
  flex-direction: column;
}

.lf-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.035) 0 2px,
    transparent 2px 60px
  );
  pointer-events: none;
}

.lf-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lf-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lf-orange);
  font-weight: 700;
}

.lf-eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lf-title {
  position: relative;
  z-index: 1;
  font-family: var(--lf-font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  margin: 16px 0 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.lf-sub {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}

.lf-points {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lf-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.lf-points svg {
  color: var(--lf-orange);
  flex-shrink: 0;
}

/* ============================================================
   Form Column (Right Side)
   ============================================================ */
.lf-form {
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  background: var(--lf-paper);
}

.lf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.lf-field label {
  font-family: var(--lf-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lf-ink-soft);
  font-weight: 700;
}

.lf-field input,
.lf-field select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--lf-line);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--lf-font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lf-ink);
  background: var(--lf-paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.lf-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b7d' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 38px;
  cursor: pointer;
}

.lf-field input::placeholder {
  color: #9fabb8;
  font-weight: 500;
}

.lf-field input:focus,
.lf-field select:focus {
  outline: none;
  border-color: var(--lf-blue);
  box-shadow: 0 0 0 4px var(--lf-blue-tint);
}

.lf-error {
  display: none;
  font-size: 11.5px;
  color: var(--lf-orange-deep);
  font-weight: 600;
  margin-top: 2px;
}

.lf-field.lf-invalid input,
.lf-field.lf-invalid select {
  border-color: var(--lf-orange-deep);
}

.lf-field.lf-invalid .lf-error {
  display: block;
}

/* ---------------- Submit Button ---------------- */
.lf-submit {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lf-orange);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: var(--lf-font-body);
  font-weight: 800;
  font-size: 14.5px;
  padding: 15px 22px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 16px 32px -14px rgba(248, 117, 58, 0.55);
  position: relative;
}

.lf-submit:hover {
  background: var(--lf-orange-deep);
  transform: translateY(-2px);
}

.lf-submit svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.lf-submit:hover svg {
  transform: translateX(3px);
}

.lf-submit.lf-loading {
  pointer-events: none;
  opacity: 0.8;
}

.lf-submit.lf-loading .lf-submit-text::after {
  content: "…";
  animation: lf-dots 1s infinite steps(4, end);
}

@keyframes lf-dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

.lf-privacy {
  margin: 0;
  font-size: 11px;
  color: var(--lf-ink-soft);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   Success Overlay
   ============================================================ */
.lf-success {
  position: absolute;
  inset: 0;
  background: var(--lf-paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 5;
}

.lf-form.lf-submitted .lf-success {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lf-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lf-blue-tint);
  color: var(--lf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.lf-success h3 {
  font-family: var(--lf-font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--lf-ink);
}

.lf-success p {
  margin: 0;
  font-size: 13.5px;
  color: var(--lf-ink-soft);
  line-height: 1.5;
}

.lf-success-whatsapp {
  margin-top: 14px;
  font-size: 12px;
  color: #25d366;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   Responsive Layout Breakpoints
   ============================================================ */
@media (max-width: 760px) {
  .lf-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Accessibility: Reduced Motion Preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .lf-submit,
  .lf-success,
  .lf-submit svg,
  .lf-field input,
  .lf-field select {
    transition: none !important;
    animation: none !important;
  }
}
