:root {
  --bg: #eef5ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-dark: #071b43;
  --stroke: rgba(7, 27, 67, 0.12);
  --text: #0a1733;
  --text-soft: #55709a;
  --text-inverse: #edf4ff;
  --primary: #0d5bd7;
  --primary-strong: #083f9c;
  --accent: #21b3ff;
  --accent-soft: rgba(33, 179, 255, 0.14);
  --shadow-lg: 0 24px 70px rgba(8, 36, 86, 0.15);
  --shadow-md: 0 16px 40px rgba(8, 36, 86, 0.12);
  --radius-lg: 22px;
  --container: 1180px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(33, 179, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 100% 10%, rgba(13, 91, 215, 0.18), transparent 28rem),
    linear-gradient(180deg, #f6fbff 0%, #edf4ff 56%, #f8fbff 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--surface-dark);
  color: var(--text-inverse);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 6.5rem 0;
}

.section--surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.72) 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.48);
}

.section--cta {
  background:
    radial-gradient(circle at right top, rgba(33, 179, 255, 0.24), transparent 20rem),
    linear-gradient(135deg, #093174 0%, #0c4fbf 55%, #1697ea 100%);
  color: var(--text-inverse);
}

#inicio,
#empresa,
#cms,
#beneficios,
#demo {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(246, 251, 255, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.site-header.is-scrolled {
  border-color: rgba(10, 23, 51, 0.08);
  box-shadow: 0 10px 30px rgba(8, 36, 86, 0.08);
  background: rgba(246, 251, 255, 0.9);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  flex-shrink: 0;
  filter: drop-shadow(0 10px 20px rgba(13, 91, 215, 0.22));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand-copy span {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  background: rgba(13, 91, 215, 0.08);
  color: var(--primary);
}

.site-nav a.is-active {
  background: rgba(13, 91, 215, 0.11);
  color: var(--primary-strong);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(10, 23, 51, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.22rem auto;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, #1578ff 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(13, 91, 215, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(13, 91, 215, 0.3);
}

.button--ghost {
  border-color: rgba(13, 91, 215, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--primary-strong);
  box-shadow: none;
}

.button--light {
  background: #ffffff;
  color: var(--primary-strong);
  box-shadow: 0 16px 36px rgba(5, 18, 52, 0.18);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}

.button--small {
  min-height: 2.9rem;
  padding-inline: 1.15rem;
}

.hero {
  overflow: clip;
  padding-top: 3.75rem;
}

.hero-grid,
.workflow-grid,
.demo-grid,
.product-spotlight,
.company-grid,
.problem-block {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 91, 215, 0.08);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 13ch;
  margin-top: 1rem;
  font-size: clamp(2.8rem, 4vw + 1rem, 5rem);
}

h2 {
  font-size: clamp(2rem, 2vw + 1.2rem, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem);
}

p {
  margin: 0;
  color: var(--text-soft);
}

.lead {
  margin-top: 1.35rem;
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero-highlights {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 600;
  color: var(--text);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 6px rgba(33, 179, 255, 0.12);
}

.hero-pills,
.story-list,
.module-tags,
.demo-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-pills {
  margin-top: 1.6rem;
}

.hero-pills span,
.story-list span,
.module-tags span,
.demo-bullets span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid rgba(13, 91, 215, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  padding: 2rem 1rem 1rem;
}

.hero-visual img {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  filter: drop-shadow(0 22px 42px rgba(10, 46, 107, 0.18));
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  z-index: -1;
}

.glow--one {
  top: 8%;
  right: 12%;
  width: 12rem;
  height: 12rem;
  background: rgba(33, 179, 255, 0.24);
}

.glow--two {
  bottom: 10%;
  left: 8%;
  width: 10rem;
  height: 10rem;
  background: rgba(13, 91, 215, 0.18);
}

.floating-note {
  position: absolute;
  max-width: 18rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.floating-note strong {
  display: block;
  margin: 0.25rem 0;
  font-size: 1rem;
  line-height: 1.3;
}

.floating-note span {
  display: block;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.note-label,
.note-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.note-chip {
  background: rgba(39, 174, 96, 0.12);
}

.floating-note--product {
  top: 0.5rem;
  left: -1rem;
}

.floating-note--status {
  right: 0;
  bottom: 1.25rem;
}

.section-heading {
  max-width: 56rem;
}

.section-heading p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.company-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  margin-top: 2.25rem;
}

.card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(9, 37, 79, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow-md);
}

.story-card p + p,
.focus-card p + p,
.spotlight-copy p + p {
  margin-top: 1rem;
}

.story-list {
  margin-top: 1.35rem;
}

.focus-panel {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.2rem;
}

.focus-panel > div {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 91, 215, 0.08), rgba(33, 179, 255, 0.08));
  border: 1px solid rgba(13, 91, 215, 0.12);
}

.panel-label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.problem-block {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: start;
  margin-top: 2.25rem;
}

.problem-grid,
.modules-grid,
.benefits-grid {
  display: grid;
  gap: 1rem;
}

.problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.problem-card h3,
.module-card h3,
.benefit-card h3 {
  margin-bottom: 0.55rem;
}

.product-spotlight {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: stretch;
  margin-top: 2.4rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.module-tags {
  margin-top: 1.4rem;
}

.modules-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.workflow-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.timeline {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.45rem 0 0;
  list-style: none;
  counter-reset: flow-step;
}

.timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 4.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 91, 215, 0.1);
  color: var(--text-soft);
}

.timeline li::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 800;
}

.timeline strong {
  color: var(--text);
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.35rem;
}

.value-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1.35rem;
  margin-top: 1.35rem;
}

.demo-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.section--cta .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.section--cta h2,
.section--cta h3,
.section--cta strong {
  color: #ffffff;
}

.section--cta p,
.section--cta .demo-note {
  color: rgba(237, 244, 255, 0.82);
}

.section--cta .demo-bullets span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.demo-card {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.demo-card .demo-note {
  color: var(--text-soft);
}

.demo-illustration {
  width: 100%;
  margin-bottom: 1.25rem;
}

.contact-stack {
  display: grid;
  gap: 0.8rem;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 91, 215, 0.1);
  border-radius: 16px;
  background: rgba(13, 91, 215, 0.04);
}

.contact-label {
  font-weight: 800;
  color: var(--text);
}

code {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  background: rgba(7, 27, 67, 0.06);
  color: var(--primary-strong);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.demo-note {
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem 0 2.8rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-nav a:focus-visible,
.footer-nav a:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid rgba(33, 179, 255, 0.35);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .company-grid,
  .problem-block,
  .product-spotlight,
  .workflow-grid,
  .demo-grid,
  .value-band {
    grid-template-columns: 1fr;
  }

  .floating-note--product {
    left: 0;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 1rem auto 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(10, 23, 51, 0.08);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    justify-content: flex-start;
    padding-inline: 1rem;
  }

  .button--header {
    display: none;
  }

  .modules-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 80px;
  }

  .section {
    padding: 5rem 0;
  }

  .container {
    width: min(var(--container), calc(100% - 1.1rem));
  }

  h1 {
    max-width: none;
    font-size: clamp(2.3rem, 10vw, 3.7rem);
  }

  .lead {
    font-size: 1rem;
  }

  .modules-grid,
  .benefits-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding-inline: 0;
  }

  .floating-note {
    position: static;
    max-width: none;
    margin-bottom: 1rem;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  code {
    width: 100%;
    white-space: normal;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
