:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #101827;
  --muted: #607089;
  --line: rgba(20, 35, 60, .11);
  --primary: #0a4aa3;
  --primary-2: #0d6bdc;
  --primary-dark: #051a38;
  --cyan: #4db7ff;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(6, 23, 47, .14);
  --shadow-soft: 0 18px 45px rgba(6, 23, 47, .08);
  --radius: 28px;
  --radius-lg: 36px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  transform: translateY(-130%);
  background: var(--primary-dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 251, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}
.header-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 224px;
  height: 58px;
  padding: 8px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 30px rgba(15, 31, 58, .06);
  overflow: hidden;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 35px rgba(15, 31, 58, .05);
}
.main-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #2d3a4d;
  font-size: .91rem;
  font-weight: 760;
  transition: .22s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: #ecf4ff;
}
.main-nav .nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 28px rgba(10, 74, 163, .22);
}
.main-nav .nav-cta:hover { color: var(--white); background: linear-gradient(135deg, var(--primary-2), var(--primary-dark)); }
.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 31, 58, .08);
}
.menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--primary-dark);
  transition: .24s ease;
}
.menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-button span:nth-child(2) { opacity: 0; }
.menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 88px 0 74px;
  background:
    radial-gradient(circle at 18% 20%, rgba(77, 183, 255, .22), transparent 28%),
    radial-gradient(circle at 74% 12%, rgba(10, 74, 163, .18), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 48%, #ffffff 100%);
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}
.hero-bg::before {
  right: -140px;
  top: 120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(7, 34, 72, .16), transparent 65%);
}
.hero-bg::after {
  left: -80px;
  bottom: -110px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(13, 107, 220, .18), transparent 68%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 54px;
  align-items: center;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid rgba(10, 74, 163, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  color: #083f8d;
  font-weight: 850;
  font-size: .77rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(10, 74, 163, .08);
}
.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  box-shadow: 0 0 0 6px rgba(13, 107, 220, .10);
}
.hero h1 {
  margin: 22px 0 22px;
  max-width: 810px;
  font-size: clamp(2.55rem, 6.5vw, 5.65rem);
  line-height: .93;
  letter-spacing: -.075em;
  color: #07172d;
}
.hero-lead {
  max-width: 690px;
  margin: 0;
  color: #516176;
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 17px;
  font-weight: 850;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-2), var(--primary-dark));
  box-shadow: 0 18px 44px rgba(10, 74, 163, .28);
}
.btn-ghost {
  color: #0a2a57;
  border: 1px solid rgba(10, 74, 163, .14);
  background: rgba(255,255,255,.76);
  box-shadow: 0 14px 34px rgba(15, 31, 58, .08);
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.trust-strip span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20, 35, 60, .10);
  color: #39475a;
  font-size: .88rem;
  font-weight: 780;
}
.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.55)),
    radial-gradient(circle at top right, rgba(77, 183, 255, .23), transparent 38%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px 120px;
  height: 220px;
  background: radial-gradient(circle, rgba(6, 23, 47, .15), transparent 62%);
}
.panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.panel-top img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  padding: 9px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 74, 163, .10);
}
.panel-top strong { display: block; color: #06172f; font-size: 1.08rem; }
.panel-top span { display: block; color: var(--muted); font-size: .92rem; }
.mini-dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dash-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(20, 35, 60, .10);
  border-radius: 24px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 34px rgba(15, 31, 58, .07);
}
.dash-card.large { min-height: 180px; grid-row: span 2; background: linear-gradient(135deg, #06172f, #0a4aa3); color: var(--white); }
.dash-card.wide { grid-column: span 2; }
.dash-card span { display: block; color: inherit; opacity: .72; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.dash-card strong { display: block; margin-top: 8px; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1; letter-spacing: -.05em; }
.dash-card small { display: block; margin-top: 12px; color: inherit; opacity: .68; }
.progress { height: 10px; margin: 14px 0 0; border-radius: 999px; background: rgba(10, 74, 163, .12); overflow: hidden; }
.progress i { display: block; width: 78%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--cyan)); }

.section { padding: 100px 0; }
.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}
.section-head h2 {
  margin: 16px 0 14px;
  color: #07172d;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.solution-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.solution-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(13, 107, 220, .16), transparent 65%);
}
.solution-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(6, 23, 47, .15);
  border-color: rgba(10, 74, 163, .22);
}
.card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 26px rgba(10, 74, 163, .22);
}
.solution-card h3,
.system-card h3,
.step-card h3,
.mvv-card h3 {
  margin: 22px 0 10px;
  font-size: 1.26rem;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.solution-card p,
.system-card p,
.step-card p,
.mvv-card p,
.benefit span,
.faq-list p { color: var(--muted); margin: 0; }

.dark-section {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 0% 0%, rgba(77, 183, 255, .20), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(10, 74, 163, .35), transparent 34%),
    linear-gradient(135deg, #06172f, #081f43 58%, #030b17);
  overflow: hidden;
}
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.32));
}
.systems-layout { position: relative; z-index: 1; }
.section-head.light h2,
.section-head.light p { color: var(--white); }
.section-head.light p { opacity: .72; }
.section-head.light .section-kicker { background: rgba(255,255,255,.10); color: #dcecff; border-color: rgba(255,255,255,.12); }
.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.system-card {
  min-height: 290px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.system-tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(77, 183, 255, .14);
  color: #cfeaff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.system-card p { color: rgba(255,255,255,.72); }

.method-section {
  background:
    linear-gradient(180deg, var(--surface) 0%, #f4f8ff 100%);
}
.method-shell {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step-card {
  position: relative;
  min-height: 245px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f4f8ff);
  border: 1px solid var(--line);
}
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: #e8f2ff;
  color: #07448f;
  font-weight: 950;
}

.institutional { background: #fff; }
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mvv-card {
  min-height: 240px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,249,255,.95)),
    radial-gradient(circle at top left, rgba(13, 107, 220, .18), transparent 40%);
  box-shadow: var(--shadow-soft);
}
.mvv-card h3 { font-size: 1.55rem; }

.why-section {
  background: #eef4ff;
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}
.why-copy h2 {
  margin: 16px 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.why-copy p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.benefit-list {
  display: grid;
  gap: 14px;
}
.benefit {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid rgba(10, 74, 163, .11);
  border-radius: 22px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 12px 35px rgba(15, 31, 58, .06);
}
.benefit strong { color: #07172d; font-size: 1.05rem; }

.faq-section { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  color: #07172d;
  font-weight: 850;
}
summary::-webkit-details-marker { display: none; }
details p { padding: 0 22px 22px; }

.contact-section {
  padding: 100px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(77, 183, 255, .18), transparent 34%),
    linear-gradient(135deg, #07172d, #082450 70%, #06172f);
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  color: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.contact-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.contact-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.contact-actions { display: grid; gap: 14px; }
.contact-link {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.10);
  transition: .22s ease;
}
.contact-link:hover { transform: translateY(-3px); background: rgba(255,255,255,.15); }
.contact-link small { color: rgba(255,255,255,.66); text-transform: uppercase; letter-spacing: .06em; font-weight: 850; }
.contact-link strong { font-size: 1.15rem; }
.contact-link.whatsapp { background: linear-gradient(135deg, rgba(13,107,220,.92), rgba(77,183,255,.20)); }

.site-footer {
  padding: 28px 0;
  color: #607089;
  background: #fff;
  border-top: 1px solid var(--line);
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #07172d;
  font-weight: 850;
}
.footer-brand img {
  padding: 4px;
  border-radius: 12px;
  background: #f3f7ff;
}
.footer-wrap p { margin: 0; }

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

@media (max-width: 1060px) {
  .hero-grid,
  .why-grid,
  .faq-grid,
  .contact-box { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-panel { max-width: 620px; }
  .solution-grid,
  .systems-grid,
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-wrap { min-height: 74px; }
  .brand { width: 178px; height: 52px; border-radius: 16px; padding: 7px 8px; }
  .menu-button { display: inline-block; }
  .main-nav {
    position: fixed;
    inset: 84px 14px auto 14px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 26px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 30px 90px rgba(6, 23, 47, .22);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: .24s ease;
  }
  .main-nav a {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
  }
  .menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .hero { padding: 58px 0 44px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4.6rem); }
  .hero-actions .btn { width: 100%; }
  .trust-strip span { flex: 1 1 auto; justify-content: center; }
  .section { padding: 70px 0; }
  .solution-grid,
  .systems-grid,
  .timeline,
  .mvv-grid { grid-template-columns: 1fr; }
  .solution-card,
  .system-card,
  .step-card,
  .mvv-card { min-height: auto; }
  .mini-dashboard { grid-template-columns: 1fr; }
  .dash-card.large,
  .dash-card.wide { grid-column: auto; grid-row: auto; }
  .contact-section { padding: 70px 0; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-panel { padding: 16px; border-radius: 28px; }
  .panel-top { align-items: flex-start; }
  .panel-top img { width: 54px; height: 54px; border-radius: 18px; }
  .section-head h2,
  .why-copy h2,
  .contact-copy h2 { letter-spacing: -.045em; }
  .eyebrow,
  .section-kicker { width: 100%; justify-content: center; text-align: center; }
  .contact-link strong { font-size: 1rem; word-break: break-word; }
}

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