*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101828;
  background-color: #f5f5f7;
}

body {
  line-height: 1.5;
}

a {
  color: #1455c2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #0f172a;
  color: #f9fafb;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.28);
}

.topbar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  font-size: 0.9rem;
}

.logo__text {
  font-size: 0.98rem;
}

.logo__img {
  height: 28px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.nav a {
  color: #e5e7eb;
  font-weight: 500;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  padding: 56px 0 40px;
  background: radial-gradient(circle at top left, #e0edff 0, #f5f5f7 55%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: stretch;
}

.hero__copy h1 {
  font-size: clamp(1.9rem, 2.4vw, 2.4rem);
  margin: 12px 0;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
}

.hero__subtitle {
  font-size: 0.98rem;
  color: #475569;
  max-width: 540px;
}

.highlight {
  color: #1455c2;
}

.hero__bullets {
  margin: 16px 0 12px;
  padding-left: 18px;
  font-size: 0.95rem;
  color: #1f2933;
}

.hero__bullets li {
  margin-bottom: 4px;
}

.hero__trust {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #0f172a;
  color: #e5e7eb;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge--light {
  background-color: #e0edff;
  color: #1d4ed8;
}

.hero__form-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 18px 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.hero__form-card h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.form__hint {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #64748b;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
}

.form__field input,
.form__field select,
.form__field textarea {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 7px 9px;
  font-size: 0.88rem;
  font-family: inherit;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 2px solid #2563eb33;
  border-color: #2563eb;
}

.form__field textarea {
  resize: vertical;
  min-height: 80px;
}

.form__consenso {
  margin-top: 4px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #4b5563;
}

.checkbox input[type="checkbox"] {
  margin-top: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.05s ease, box-shadow 0.05s ease, background-color 0.1s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  width: 100%;
}

.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.45);
}

.btn--secondary {
  background-color: #e0edff;
  color: #1d4ed8;
}

.btn--secondary:hover {
  background-color: #d0e0ff;
}

.form__disclaimer {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: #6b7280;
}

.section {
  padding: 40px 0;
  background-color: #f5f5f7;
}

.section--alt {
  background-color: #ffffff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 1.4rem;
}

.section__subtitle {
  margin-top: 0;
  margin-bottom: 18px;
  color: #4b5563;
  font-size: 0.95rem;
  max-width: 680px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.step {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  border: 1px solid #e5e7eb;
}

.step__number {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

.step h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
}

.note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #6b7280;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  border: 1px solid #e5e7eb;
}

.card h3 {
  margin: 4px 0 4px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.86rem;
  color: #4b5563;
}

.card--icon {
  position: relative;
  padding-top: 28px;
}

.card__icon {
  position: absolute;
  top: 10px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.section__cta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.faq {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq details {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
}

.faq summary {
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  font-size: 0.86rem;
  color: #4b5563;
  margin-top: 6px;
}

.contacts {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contacts__item h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
}

.contacts__item p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 14px 0 16px;
  font-size: 0.78rem;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__links a {
  color: #e5e7eb;
}

/* Chat widget */
.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  font-size: 0.85rem;
}

.chat-widget__toggle {
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
  font-weight: 600;
}

.chat-widget__toggle-icon {
  font-size: 1.1rem;
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: 46px;
  width: 320px;
  max-height: 420px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

.chat-widget--open .chat-widget__panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-widget__header {
  padding: 10px 12px;
  background-color: #0f172a;
  color: #e5e7eb;
  font-size: 0.82rem;
}

.chat-widget__header strong {
  display: block;
  margin-bottom: 2px;
}

.chat-widget__messages {
  padding: 10px 10px 4px;
  flex: 1;
  overflow-y: auto;
  background-color: #f1f5f9;
}

.chat-bubble {
  border-radius: 12px;
  padding: 6px 8px;
  margin-bottom: 6px;
  max-width: 90%;
}

.chat-bubble--bot {
  background-color: #e0edff;
  color: #1e293b;
}

.chat-bubble--user {
  background-color: #2563eb;
  color: #ffffff;
  margin-left: auto;
}

.chat-widget__form {
  padding: 8px 8px 10px;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
  display: flex;
  gap: 6px;
}

.chat-widget__input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 6px 9px;
  font-size: 0.85rem;
  font-family: inherit;
}

.chat-widget__send {
  border-radius: 999px;
  border: none;
  background-color: #2563eb;
  color: #ffffff;
  padding: 6px 10px;
  font-size: 0.8rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__form-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .steps,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding-top: 32px;
  }

  .chat-widget__panel {
    width: 90vw;
  }
}


