/* Base */
:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-muted: #edf3fb;
  --text: #102033;
  --muted: #5f6e82;
  --brand: #0d4b7d;
  --brand-strong: #113f67;
  --accent: #163d5f;
  --border: rgba(16, 32, 51, 0.12);
  --shadow: 0 18px 48px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(13, 75, 125, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(22, 61, 95, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero {
  padding: 88px 20px 48px;
  background:
    linear-gradient(135deg, rgba(9, 29, 49, 0.94), rgba(13, 75, 125, 0.9)),
    #0c2236;
  color: #fff;
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.hero__lead {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fd0ff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
}

.btn--primary,
button {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 12px 24px rgba(13, 75, 125, 0.24);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.section-card {
  margin-top: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-card--accent,
.trust-panel,
.cta-panel {
  background: linear-gradient(180deg, #ffffff, var(--surface-muted));
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 16px 16px 48px;
  border: 1px solid rgba(13, 75, 125, 0.1);
  border-radius: 16px;
  background: #fff;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brand), #55a7e5);
  box-shadow: 0 0 0 6px rgba(13, 75, 125, 0.1);
}

.trust-panel {
  position: relative;
  overflow: hidden;
}

.trust-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -45% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 75, 125, 0.14), transparent 70%);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group--full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(16, 32, 51, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus {
  border-color: rgba(13, 75, 125, 0.7);
  box-shadow: 0 0 0 4px rgba(13, 75, 125, 0.12);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

#ejemplo img {
  margin-top: 18px;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(16, 32, 51, 0.12);
}

.workflow-preview {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 28px;
  min-height: 220px;
  border: 1px dashed rgba(13, 75, 125, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(13, 75, 125, 0.08), rgba(22, 61, 95, 0.04)),
    #fff;
  align-content: center;
}

.workflow-preview strong {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--text);
}

.workflow-preview p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}

.workflow-preview__chip {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 75, 125, 0.1);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero {
    padding-top: 72px;
  }

  .section-card {
    padding: 22px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: auto;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  button {
    width: 100%;
  }
}
