:root {
  --primary: #0f172a;
  --secondary: #1e40af;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --gold: #f7c948;
  --light: #f8fafc;
  --dark: #020617;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --text: #172033;
  --muted: #65748b;
  --border: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.88);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 90px rgba(15, 23, 42, 0.18);
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 76px;
  --section-space: 104px;
  --font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: var(--font-family);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  fill: currentColor;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  color: var(--primary);
  line-height: 1.04;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: var(--primary);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img,
.footer-brand img {
  width: 172px;
  height: auto;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav__menu a:not(.button) {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav__menu a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav__menu a:not(.button):hover,
.nav__menu a:not(.button):focus-visible {
  color: var(--primary);
}

.nav__menu a:not(.button):hover::after,
.nav__menu a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: #fff;
}

.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--primary);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #16223a;
}

.button--accent {
  background: var(--accent);
  color: #04210f;
  box-shadow: 0 16px 30px rgba(34, 197, 94, 0.28);
}

.button--accent:hover,
.button--accent:focus-visible {
  background: #35d66f;
}

.button--ghost {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.button--small {
  min-height: 44px;
  padding: 11px 17px;
  font-size: 0.9rem;
}

.button--large {
  min-height: 64px;
  padding: 20px 34px;
  font-size: 1.06rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 50px);
  background:
    linear-gradient(120deg, rgba(238, 246, 255, 0.95), rgba(255, 255, 255, 0.94) 46%, rgba(233, 255, 242, 0.92)),
    var(--light);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__text {
  max-width: 650px;
  margin-bottom: 32px;
  color: #475569;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__proof span {
  padding: 8px 12px;
  border: 1px solid rgba(30, 64, 175, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 760;
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.93)),
    var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 31%, rgba(255, 255, 255, 0.08) 31% 32%, transparent 32% 65%, rgba(255, 255, 255, 0.08) 65% 66%, transparent 66%),
    linear-gradient(0deg, transparent 0 31%, rgba(255, 255, 255, 0.08) 31% 32%, transparent 32% 65%, rgba(255, 255, 255, 0.08) 65% 66%, transparent 66%);
  opacity: 0.35;
}

.dashboard-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-card__header,
.dashboard-card__header div,
.dashboard-card__balance,
.indicator-grid {
  display: flex;
}

.dashboard-card__header {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 38px;
}

.dashboard-card__header div {
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
}

.dashboard-card__tag {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 850;
}

.dashboard-card__balance {
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.dashboard-card__balance span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 720;
}

.dashboard-card__balance strong {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
}

.dashboard-card__chart {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-card__chart span {
  height: var(--bar);
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, #86efac, #22c55e);
  animation: barRise 1.4s ease both;
}

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

.indicator-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.indicator-grid strong {
  display: block;
  color: var(--gold);
  font-size: 1.45rem;
  line-height: 1;
}

.indicator-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.section--soft {
  background: var(--light);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.feature-grid,
.solutions-grid,
.metrics-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.solution-card,
.metric-card,
.testimonial-slider,
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  min-height: 218px;
  padding: 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.solution-card:hover {
  border-color: rgba(30, 64, 175, 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent-dark);
  font-weight: 900;
}

.feature-card p,
.solution-card p,
.timeline-step p,
.metric-card p {
  margin-bottom: 0;
}

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

.solution-card {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.solution-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(30, 64, 175, 0.1), rgba(34, 197, 94, 0.12));
  color: var(--secondary);
}

.solution-icon svg {
  width: 28px;
  height: 28px;
}

.solution-card a {
  width: max-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--secondary);
  font-weight: 900;
}

.metrics-section {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.91)),
    var(--primary);
}

.metrics-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: 48px;
}

.metrics-section h2,
.metrics-section .section-heading p:not(.eyebrow) {
  color: #fff;
}

.metrics-section .eyebrow {
  color: #93c5fd;
}

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

.metric-card {
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.metric-card strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.metric-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 760;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(30, 64, 175, 0.18), rgba(34, 197, 94, 0.36));
}

.timeline-step {
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.timeline-step span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 10px solid var(--light);
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1.24rem;
  font-weight: 900;
}

.timeline-step div {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.testimonial-wrap {
  max-width: 900px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 46px);
}

.testimonial-track {
  display: grid;
}

.testimonial {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(22px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.testimonial p {
  margin-bottom: 24px;
  color: var(--primary);
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  line-height: 1.38;
}

.testimonial strong,
.testimonial span {
  display: block;
}

.testimonial strong {
  color: var(--primary);
}

.testimonial span {
  color: var(--muted);
  font-size: 0.94rem;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.testimonial-dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width 0.2s ease, background 0.2s ease;
}

.testimonial-dots button.is-active {
  width: 56px;
  background: var(--secondary);
}

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 52px;
  align-items: start;
}

.faq-list {
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 850;
  text-align: left;
}

.faq-item button span {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--secondary);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.96), rgba(15, 23, 42, 0.96) 58%, rgba(22, 163, 74, 0.9)),
    var(--primary);
}

.final-cta__inner {
  max-width: 860px;
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 30px;
  color: #fff;
}

.final-cta .eyebrow {
  color: #bbf7d0;
}

.site-footer {
  padding: 58px 0 26px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr 0.9fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-brand p {
  max-width: 320px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links,
.footer-contact,
.footer-address {
  display: grid;
  gap: 10px;
}

.footer-links strong,
.footer-contact strong,
.footer-address strong {
  color: #fff;
  font-size: 0.92rem;
}

.footer-links a,
.footer-contact a,
.footer-address a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-address a:hover {
  color: #fff;
}

.footer-address p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.34);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes barRise {
  from {
    transform: scaleY(0.3);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  :root {
    --section-space: 86px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__menu a {
    padding: 12px;
  }

  .nav__menu .button {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero__grid,
  .metrics-wrap,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .timeline::before {
    display: none;
  }

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

@media (max-width: 700px) {
  :root {
    --header-height: 70px;
    --section-space: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img,
  .footer-brand img {
    width: 148px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.82rem, 9vw, 2.65rem);
  }

  .hero {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero__actions,
  .hero__actions .button,
  .final-cta .button {
    width: 100%;
  }

  .dashboard-card__balance,
  .footer-bottom {
    flex-direction: column;
  }

  .dashboard-card__chart {
    height: 124px;
    gap: 8px;
    padding: 14px;
  }

  .feature-grid,
  .solutions-grid,
  .metrics-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .solution-card {
    min-height: auto;
  }

  .timeline-step {
    padding: 0;
  }

  .timeline-step span {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    border-width: 8px;
  }

  .testimonial-slider {
    border-radius: var(--radius-sm);
  }

  .faq-item button {
    align-items: flex-start;
    padding: 20px;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
