:root {
  --navy: #0c3c8c;
  --navy-deep: #082a66;
  --blue: #1d4ed8;
  --sky: #e8f0ff;
  --orange: #f5a31a;
  --orange-deep: #e08b00;
  --ink: #12244d;
  --muted: #5c6b86;
  --line: #e3eaf5;
  --paper: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(12, 60, 140, 0.1);
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  font-weight: 800;
  color: var(--navy);
}

p { margin: 0; }

.shell {
  width: min(1140px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: white;
  padding: 0.55rem 0.9rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(12, 60, 140, 0.06); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.logo { width: 46px; height: 46px; display: block; flex-shrink: 0; }
.logo svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.brand-by {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.nav a:hover { color: var(--orange-deep); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--navy); }

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #1a4fbe, var(--navy));
  color: white;
  box-shadow: 0 8px 18px rgba(12, 60, 140, 0.28);
}
.call-pill:hover { background: var(--navy-deep); }
.call-pill-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #3b82f6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.call-pill-icon svg { width: 18px; height: 18px; }
.call-pill-copy { display: flex; flex-direction: column; line-height: 1.1; }
.call-pill-copy small {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.9;
}
.call-pill-copy strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.call-pill-lg { padding: 0.45rem 1.2rem 0.45rem 0.45rem; }
.call-pill-lg .call-pill-icon { width: 48px; height: 48px; }
.call-pill-lg .call-pill-copy strong { font-size: 1.15rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  border: 2px solid transparent;
}
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-orange { background: var(--orange); color: var(--navy-deep); }
.btn-orange:hover { background: var(--orange-deep); color: white; }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--sky); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.4rem;
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(245, 163, 26, 0.16), transparent 60%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 78%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(12, 60, 140, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.kicker, .eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  max-width: 11ch;
}
.hero h1 span { color: var(--orange); }
.hero-lead {
  max-width: 36rem;
  margin-top: 0.9rem;
  font-size: 1.08rem;
  color: var(--muted);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.tagline {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.scene { position: relative; min-height: 340px; }
.scene-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.scene-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, #0c3c8c, #1d4ed8);
  color: white;
}
.scene-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.scene-top strong {
  margin-left: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.scene-layout { display: grid; grid-template-columns: 64px 1fr; min-height: 250px; }
.scene-layout aside {
  background: #f4f7fd;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0.85rem;
}
.scene-layout aside i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: #d5e1f5;
}
.scene-layout aside i.on { background: var(--orange); }
.scene-main { padding: 1rem; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.mini-stats div {
  background: var(--sky);
  border-radius: 12px;
  padding: 0.75rem;
}
.mini-stats span { display: block; font-size: 0.75rem; color: var(--muted); }
.mini-stats b { font-family: var(--font-display); color: var(--navy); font-size: 0.95rem; }
.chart {
  margin-top: 1rem;
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
  padding: 0.4rem 0.2rem 0;
  border-bottom: 2px solid var(--line);
}
.chart span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #3b82f6, var(--navy));
}
.chart span:last-child { background: linear-gradient(180deg, #ffd27a, var(--orange)); }
.growth {
  position: absolute;
  width: 170px;
  right: -8px;
  top: -18px;
  filter: drop-shadow(0 8px 10px rgba(245, 163, 26, 0.25));
}

.modules {
  border-block: 1px solid var(--line);
  background: white;
}
.module-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.module-row article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 1.15rem 0.6rem;
  border-right: 1px solid var(--line);
}
.module-row article:last-child { border-right: 0; }
.module-row p {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--navy);
  position: relative;
}
.ico svg { width: 26px; height: 26px; }
.ico::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
  right: -3px;
  top: -3px;
}
.ico-blue::after { display: none; }

.section { padding: 4.5rem 0; scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.card-grid, .solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card, .solution {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 8px 24px rgba(18, 36, 77, 0.04);
}
.card h3, .solution h3 { font-size: 1.05rem; margin-top: 0.85rem; }
.card p, .solution p { color: var(--muted); font-size: 0.96rem; }
.solutions { background: linear-gradient(180deg, #f7f9fd, #ffffff); }
.instead {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.how { background: white; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.steps li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  border-top: 4px solid var(--navy);
}
.steps li:nth-child(even) { border-top-color: var(--orange); }
.steps span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  font-size: 1.15rem;
}
.steps h3 { font-size: 1.05rem; margin-top: 0.45rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

.contact { padding-top: 1rem; }
.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 24px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(245, 163, 26, 0.28), transparent 60%),
    linear-gradient(135deg, #123f90, #0c3c8c 55%, #082a66);
  color: white;
  box-shadow: var(--shadow);
}
.contact-panel h2, .eyebrow.light { color: white; }
.eyebrow.light { color: #ffd27a; }
.contact-panel p { color: rgba(255, 255, 255, 0.88); max-width: 36rem; }
.contact-actions { display: grid; gap: 0.75rem; }

.site-footer {
  margin-top: 0.5rem;
  background:
    linear-gradient(90deg, var(--navy) 0 62%, var(--orange) 62% 100%);
  color: white;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 58%;
  top: -28px;
  width: 90px;
  height: 90px;
  background: var(--navy);
  border-radius: 0 0 80px 0;
}
.footer-inner {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.footer-inner a { text-decoration: underline; text-underline-offset: 3px; }
.footer-places { color: var(--navy-deep); }

.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #128c7e;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(18, 140, 126, 0.35);
  z-index: 50;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .contact-panel, .steps, .card-grid, .solution-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .contact-panel { grid-template-columns: 1fr; }
  .module-row { grid-template-columns: repeat(3, 1fr); }
  .module-row article { border-bottom: 1px solid var(--line); }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 1rem 1.2rem 1.2rem;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .call-pill-copy small { display: none; }
  .site-footer { background: var(--navy); }
  .site-footer::before { display: none; }
  .footer-places { color: #ffd27a; }
}

@media (max-width: 680px) {
  .card-grid, .solution-grid, .steps, .module-row { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
  .cta-row .btn { flex: 1; }
  .call-pill { padding-right: 0.7rem; }
  .growth { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
