:root {
  --navy: #011224;
  --navy-2: #02182c;
  --navy-3: #0c2742;
  --gold: #c89010;
  --gold-bright: #e0b23a;
  --gold-ink: #8a6410;
  --ink: #122033;
  --muted: #5d6d7c;
  --paper: #f3f6f8;
  --white: #ffffff;
  --line: #e4e7eb;
  --shadow: 0 24px 60px rgba(0, 17, 34, 0.14);
  --radius: 1.25rem;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.is-hidden {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 0.8rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(74rem, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--gold-bright);
}

h1,
h2,
.display {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  color: #fff;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  color: var(--navy);
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
}

.section {
  padding: 5.5rem 0;
}

.section--paper {
  background: var(--paper);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 144, 16, 0.12);
  color: var(--gold-ink);
  font-size: 0.82rem;
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(110deg, var(--gold) 0%, #e0b23a 45%, var(--gold) 90%);
  background-size: 220% 100%;
  background-position: 0% 0%;
  color: var(--navy);
  transition: transform 0.15s ease, background-position 0.45s ease;
}

.btn-primary:hover {
  background-position: 100% 0%;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: rgba(0, 17, 34, 0.18);
}

.btn-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(1, 18, 36, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(200, 144, 16, 0.45);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  margin-right: auto;
}

.brand img {
  width: 2.55rem;
  height: 2.55rem;
  transition: transform 0.45s ease;
}

.brand:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name strong {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand__name span {
  color: rgba(224, 178, 58, 0.8);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  gap: 1.35rem;
}

.nav-desktop a,
.mobile-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.nav-desktop a:hover,
.mobile-nav a:hover {
  color: var(--gold);
}

.btn-icon {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.mobile-menu {
  background: var(--navy-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0 1.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(200, 144, 16, 0.2), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 4.2rem 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.15rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.hero__note {
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.product {
  background: #f7f9fb;
  color: var(--ink);
  border-radius: 1.1rem 1.1rem 0 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 26rem;
}

.product__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: #eef2f5;
  color: var(--muted);
  font-size: 0.78rem;
}

.product__bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c5ced6;
}

.product__bar i:first-child { background: #f0a3a8; }
.product__bar i:nth-child(2) { background: #f3d38a; }
.product__bar i:nth-child(3) { background: #9ad7c8; }

.product__bar span {
  margin-left: 0.4rem;
}

.product__body {
  display: grid;
  grid-template-columns: 9.2rem 1fr;
  min-height: 23rem;
}

.product__side {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 0.9rem 0.7rem;
  font-size: 0.78rem;
}

.product__side strong {
  display: block;
  color: #fff;
  margin: 0 0.35rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__side p {
  margin: 0;
  padding: 0.45rem 0.5rem;
  border-radius: 0.45rem;
}

.product__side p.is-on {
  background: rgba(200, 144, 16, 0.18);
  color: var(--gold-bright);
}

.product__main {
  padding: 0.95rem;
}

.product__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.product__kpis article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.65rem 0.7rem;
}

.product__kpis small {
  color: var(--muted);
  font-size: 0.68rem;
}

.product__kpis strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.product__kpis em {
  font-style: normal;
  color: var(--gold-ink);
  font-size: 0.68rem;
  font-weight: 650;
}

.product__chart {
  margin-top: 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.75rem 0.4rem;
}

.product__chart header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

.product__chart svg {
  width: 100%;
  height: 7.2rem;
}

.hero__metrics {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metrics div {
  padding: 1.15rem 0.4rem 1.3rem;
}

.metrics strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
}

.metrics span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.area-grid,
.vertical-grid,
.gov-grid {
  display: grid;
  gap: 1rem;
}

.area-grid {
  grid-template-columns: repeat(3, 1fr);
}

.area,
.vertical,
.gov {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}

.area__index {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.area h3,
.vertical h3,
.gov h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.15rem;
}

.area p,
.vertical p,
.gov p,
.step p {
  margin: 0;
  color: var(--muted);
}

.explorer {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.explorer__nav {
  display: grid;
  gap: 0.4rem;
}

.explorer__nav button {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
}

.explorer__nav button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.explorer__nav small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  height: 100%;
}

.panel h3 {
  margin: 0.2rem 0 0.5rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.panel__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.panel__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--ink);
}

.panel__list i {
  color: var(--gold-ink);
  margin-top: 0.2rem;
}

.app-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.app-list {
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}

.phone {
  justify-self: center;
  width: min(19rem, 100%);
  padding: 0.7rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, #1a2c44, #07111d);
  box-shadow: 0 28px 60px rgba(1, 18, 36, 0.28);
}

.phone__screen {
  background: var(--navy);
  color: #fff;
  border-radius: 1.5rem;
  padding: 1rem 0.95rem 0.7rem;
  min-height: 28rem;
  display: flex;
  flex-direction: column;
}

.phone__top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.phone__top img {
  width: 1.6rem;
  height: 1.6rem;
}

.phone__top strong {
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.phone__top span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone__hello {
  margin: 1rem 0 0.8rem;
  font-weight: 650;
}

.phone__goal {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 144, 16, 0.35);
  border-radius: 1rem;
  padding: 0.8rem;
}

.phone__ring {
  position: relative;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0 75%, rgba(255, 255, 255, 0.12) 0);
  flex: none;
}

.phone__ring b {
  position: absolute;
  inset: 0.42rem;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.95rem;
  line-height: 1;
  padding-bottom: 0.45rem;
}

.phone__ring small {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.15rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.58rem;
}

.phone__goal span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.phone__goal strong {
  display: block;
  margin: 0.1rem 0 0.35rem;
  font-size: 1.25rem;
}

.phone__rows {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.phone__rows li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}

.phone__rows li.is-on {
  background: rgba(200, 144, 16, 0.16);
  color: var(--gold-bright);
}

.phone__nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
  padding-top: 0.9rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.phone__nav .is-on {
  color: var(--gold);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  counter-reset: step;
}

.step {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.25rem;
  min-height: 11rem;
}

.step span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.step h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.15rem;
}

.step p {
  color: rgba(255, 255, 255, 0.7);
}

.vertical-grid {
  grid-template-columns: repeat(4, 1fr);
}

.vertical i {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: rgba(200, 144, 16, 0.12);
  color: var(--gold-ink);
}

.gov-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
}

.fiscal {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}

.fiscal h3 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 560;
  margin: 0.3rem 0 0.6rem;
}

.fiscal p {
  color: rgba(255, 255, 255, 0.72);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid rgba(200, 144, 16, 0.45);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}

.cta {
  background:
    radial-gradient(600px 240px at 80% 120%, rgba(200, 144, 16, 0.22), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 4.5rem 0;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.footer {
  background: #000c18;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 1.5rem;
}

.footer h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 0.92rem;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer a:hover {
  color: var(--gold);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.footer__brand img {
  width: 2.4rem;
  height: 2.4rem;
}

.footer__copy {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 16, 0.62);
}

.modal__panel {
  position: relative;
  width: min(28rem, 100%);
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 0.6rem;
  background: var(--paper);
  cursor: pointer;
}

.modal__panel h2 {
  font-size: 1.8rem;
  margin-top: 0.4rem;
}

.modal__panel > p {
  color: var(--muted);
  margin-top: 0.35rem;
}

form {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
}

label {
  font-size: 0.82rem;
  font-weight: 650;
  margin-top: 0.45rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.75rem;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.error {
  min-height: 1rem;
  margin: 0;
  color: #b42318;
  font-size: 0.78rem;
}

.toasts {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: grid;
  gap: 0.5rem;
}

.toast {
  background: var(--navy);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
  max-width: 18rem;
}

.float-wa,
.btn-top {
  position: fixed;
  z-index: 35;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
}

.float-wa {
  right: 1rem;
  bottom: 1rem;
  background: #1faf63;
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(16, 90, 48, 0.28);
}

.btn-top {
  right: 1rem;
  bottom: 4.6rem;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  pointer-events: none;
}

.btn-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .nav-desktop,
  .header-bar > .btn {
    display: none;
  }

  .btn-icon {
    display: grid;
    place-items: center;
  }

  .hero__grid,
  .explorer,
  .gov-grid,
  .footer__grid,
  .area-grid,
  .vertical-grid,
  .app-band,
  .steps,
  .panel__list,
  .metrics,
  .product__kpis {
    grid-template-columns: 1fr;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product__body {
    grid-template-columns: 1fr;
  }

  .product__side {
    display: flex;
    gap: 0.35rem;
    overflow: auto;
    padding-bottom: 0.7rem;
  }

  .product__side strong {
    display: none;
  }

  .product__side p {
    white-space: nowrap;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
  }
}

.hero__glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 144, 16, 0.28), transparent 68%);
  filter: blur(8px);
  animation: drift 16s ease-in-out infinite;
}

.hero__glow--a {
  top: -8rem;
  right: -6rem;
}

.hero__glow--b {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  bottom: 2rem;
  animation-duration: 20s;
  animation-direction: reverse;
}

.hero__copy > * {
  animation: rise 0.8s ease both;
}

.hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.32s; }

.product {
  animation: rise 0.9s 0.18s ease both, floaty 7s 1.2s ease-in-out infinite;
}

.chart-line {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 1.7s 0.55s ease forwards;
}

.chart-fill {
  opacity: 0;
  animation: fade-in 0.7s 1.5s ease forwards;
}

.product__kpis article {
  animation: rise 0.6s ease both;
}

.product__kpis article:nth-child(2) { animation-delay: 0.35s; }
.product__kpis article:nth-child(3) { animation-delay: 0.48s; }

.product__side p {
  transition: background 0.35s ease, color 0.35s ease;
}

.metrics div {
  animation: rise 0.7s ease both;
}

.metrics div:nth-child(2) { animation-delay: 0.08s; }
.metrics div:nth-child(3) { animation-delay: 0.16s; }
.metrics div:nth-child(4) { animation-delay: 0.24s; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.area,
.vertical,
.gov,
.step,
.explorer__nav button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.area:hover,
.vertical:hover,
.gov:hover,
.step:hover {
  transform: translateY(-6px);
}

.area:hover,
.vertical:hover,
.gov:hover {
  border-color: rgba(200, 144, 16, 0.5);
  box-shadow: 0 18px 40px rgba(1, 18, 36, 0.1);
}

.area.reveal,
.vertical.reveal,
.gov.reveal,
.step.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.panel.is-show {
  animation: rise 0.45s ease both;
}

.panel.is-show .panel__list li {
  animation: rise 0.4s ease both;
}

.panel.is-show .panel__list li:nth-child(2) { animation-delay: 0.05s; }
.panel.is-show .panel__list li:nth-child(3) { animation-delay: 0.1s; }
.panel.is-show .panel__list li:nth-child(4) { animation-delay: 0.15s; }
.panel.is-show .panel__list li:nth-child(5) { animation-delay: 0.2s; }
.panel.is-show .panel__list li:nth-child(6) { animation-delay: 0.25s; }

.modal:not(.is-hidden) .modal__backdrop {
  animation: fade-in 0.25s ease both;
}

.modal:not(.is-hidden) .modal__panel {
  animation: pop 0.35s ease both;
}

.mobile-menu:not(.is-hidden) .mobile-nav > * {
  animation: rise 0.35s ease both;
}

.mobile-menu:not(.is-hidden) .mobile-nav > *:nth-child(2) { animation-delay: 0.04s; }
.mobile-menu:not(.is-hidden) .mobile-nav > *:nth-child(3) { animation-delay: 0.08s; }
.mobile-menu:not(.is-hidden) .mobile-nav > *:nth-child(4) { animation-delay: 0.12s; }
.mobile-menu:not(.is-hidden) .mobile-nav > *:nth-child(5) { animation-delay: 0.16s; }
.mobile-menu:not(.is-hidden) .mobile-nav > *:nth-child(6) { animation-delay: 0.2s; }

.float-wa {
  animation: pulse 2.8s ease-in-out infinite;
}

.toast {
  animation: rise 0.3s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 18px, 0); }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .brand img,
  .nav-desktop a::after,
  .area,
  .vertical,
  .gov,
  .step,
  .product__side p,
  .site-header {
    transition: none;
  }

  .hero__glow,
  .hero__copy > *,
  .product,
  .chart-line,
  .chart-fill,
  .product__kpis article,
  .metrics div,
  .panel.is-show,
  .panel.is-show .panel__list li,
  .modal:not(.is-hidden) .modal__backdrop,
  .modal:not(.is-hidden) .modal__panel,
  .mobile-menu:not(.is-hidden) .mobile-nav > *,
  .float-wa,
  .toast {
    animation: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }

  .chart-fill,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
