:root {
  --navy: #1b3a52;
  --navy-deep: #0f2436;
  --sky: #1fb0e6;
  --sun: #f4d81e;
  --ink: #16212b;
  --muted: #5b6b78;
  --tint: #f2f6f9;
  --line: #dfe7ee;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(15, 36, 54, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px; font-family: "Montserrat"; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(244, 216, 30, .8); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--navy { background: var(--navy); color: #fff; width: 100%; justify-content: center; }
.btn--sm { padding: .55rem 1.2rem; font-size: .85rem; }

.eyebrow { display: inline-block; font-family: "Montserrat"; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: .7rem; }
.eyebrow--light { color: var(--sun); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
.nav.is-scrolled { background: rgba(15, 36, 54, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(0,0,0,.2); padding: 10px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.nav__brand img { width: 46px; height: 46px; border-radius: 10px; }
.nav__brand span { font-family: "Montserrat"; font-weight: 800; font-size: 1.1rem; line-height: 1; display: flex; flex-direction: column; }
.nav__brand small { font-weight: 600; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) { color: rgba(255,255,255,.88); font-weight: 500; font-size: .93rem; position: relative; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--sun); transition: width .25s; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__slides, .hero__slide, .hero__overlay { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay { background: linear-gradient(100deg, rgba(15,36,54,.92) 0%, rgba(15,36,54,.7) 45%, rgba(15,36,54,.2) 100%); }
.hero__content { position: relative; padding-top: 80px; max-width: 1180px; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; max-width: 14ch; margin-bottom: 1.2rem; }
.hero .hl { color: var(--sun); }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: #fff; border-radius: 4px; translate: -50% 0; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 8px } 100% { opacity: 0; top: 26px } }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; padding: 46px 0; position: relative; }
.stats::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--sky), var(--sun)); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: "Montserrat"; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--sun); line-height: 1.1; }
.stat > span { font-size: .92rem; color: rgba(255,255,255,.8); }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy-deep); color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__head p { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }
.section--dark .section__head p { color: rgba(255,255,255,.7); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.badge-float { position: absolute; right: -18px; bottom: 30px; background: var(--sun); color: var(--navy-deep); padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.badge-float strong { font-family: "Montserrat"; font-size: 2.2rem; font-weight: 800; }
.badge-float span { font-size: .85rem; font-weight: 600; line-height: 1.3; }
.split__text h2 { margin-bottom: 1.2rem; }
.split__text > p { color: var(--muted); margin-bottom: 1rem; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.8rem; }
.mv__card { background: var(--tint); border-left: 4px solid var(--sky); border-radius: 12px; padding: 20px; }
.mv__card:last-child { border-color: var(--sun); }
.mv__card h3 { margin-bottom: .5rem; color: var(--navy); }
.mv__card p { font-size: .9rem; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1.2rem; transition: background .3s; }
.card:hover .card__icon { background: var(--sky); }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 118px; left: 5%; right: 5%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 18px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--navy-deep); font-family: "Montserrat"; font-weight: 800; margin: -22px auto 10px; position: relative; border: 4px solid #fff; }
.step p { font-size: .88rem; color: var(--muted); }

/* Projects */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 2.4rem; }
.filter { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); padding: .6rem 1.3rem; border-radius: 999px; font-family: "Montserrat"; font-weight: 600; cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--sun); }
.filter.is-active { background: var(--sun); border-color: var(--sun); color: var(--navy-deep); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3.4; background: #000; transition: opacity .35s, transform .35s; }
.project.is-hidden { display: none; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; opacity: .92; }
.project:hover img { transform: scale(1.07); opacity: .7; }
.project__info { position: absolute; inset: auto 0 0; padding: 22px; background: linear-gradient(transparent, rgba(8,20,30,.95)); }
.project__info .tag { margin-bottom: .5rem; }
.project__info p { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .3rem; }
.project__count { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); color: #fff; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--sky); color: #fff; }

/* Gov */
.gov { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 22px; align-items: stretch; }
.gov__item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.gov__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.gov__item img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.gov__item > div { padding: 22px; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.gov__item p { color: var(--muted); font-size: .92rem; }
.link { margin-top: auto; background: none; border: 0; color: var(--navy); font-weight: 700; font-family: "Montserrat"; cursor: pointer; text-align: left; padding: 0; }
.link:hover { color: var(--sky); }
.mop { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.mop::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.05); right: -80px; top: -80px; }
.mop__seal { width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: var(--navy-deep); display: grid; place-items: center; font-family: "Montserrat"; font-weight: 800; margin-bottom: 1rem; }
.mop > p { color: rgba(255,255,255,.7); font-size: .9rem; margin: .3rem 0 1.2rem; }
.mop ul { list-style: none; display: grid; gap: 10px; }
.mop li { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.mop li span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.mop li b { font-size: .92rem; }
.ok { color: #5fe39a; }

/* Team */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.founder { display: flex; gap: 20px; background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: 0 2px 0 var(--line); border: 1px solid var(--line); }
.founder__avatar { flex: none; width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--sky)); color: #fff; display: grid; place-items: center; font-family: "Montserrat"; font-weight: 800; font-size: 1.3rem; }
.founder h3 { margin-bottom: .5rem; }
.founder p { color: var(--muted); font-size: .93rem; }
.sub { text-align: center; margin: 3rem 0 1.4rem; font-size: 1.3rem; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.member { background: #fff; border-radius: 14px; padding: 20px; border-top: 4px solid var(--sky); display: flex; flex-direction: column; gap: .4rem; }
.member b { font-family: "Montserrat"; color: var(--navy); }
.member span { font-size: .86rem; color: var(--muted); }

/* CTA */
.cta { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 110px 0; color: #fff; text-align: center; }
.cta__overlay { position: absolute; inset: 0; background: rgba(15,36,54,.8); }
.cta__inner { position: relative; }
.cta p { margin: .8rem 0 1.8rem; font-size: 1.15rem; color: rgba(255,255,255,.85); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: start; }
.contact h2 { margin-bottom: 1.6rem; }
.contact__row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; word-break: break-word; }
a.contact__row:hover { color: var(--sky); }
.contact__row small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; }
.form { background: var(--tint); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); }
.form__note { color: var(--muted); text-align: center; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 44px 0 22px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 56px; border-radius: 10px; }
.footer__brand div { display: flex; flex-direction: column; font-size: .88rem; }
.footer__brand b { color: #fff; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--sun); }
.footer__copy { text-align: center; font-size: .8rem; margin-top: 30px; color: rgba(255,255,255,.45); }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37,211,102,.7); animation: pulse 2.6s infinite; }
.wa-float svg { width: 30px; fill: #fff; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5) } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0) } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,18,.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-size: .95rem; }
.lightbox__close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; }
.lightbox__nav:hover { background: var(--sun); color: var(--navy-deep); }
.lightbox__prev { left: 18px; } .lightbox__next { right: 18px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards, .projects { grid-template-columns: repeat(2, 1fr); }
  .gov { grid-template-columns: 1fr 1fr; }
  .mop { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(300px, 80%); background: var(--navy-deep); flex-direction: column; align-items: flex-start; padding: 90px 30px; gap: 1.4rem; transform: translateX(100%); transition: transform .35s; }
  .nav__links.is-open { transform: none; box-shadow: -20px 0 40px rgba(0,0,0,.4); }
  .nav__links a:not(.btn) { font-size: 1.1rem; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__toggle { position: relative; z-index: 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .founders { grid-template-columns: 1fr; }
  .badge-float { right: 12px; }
  .cta { background-attachment: scroll; }
}
@media (max-width: 600px) {
  .cards, .projects, .gov, .mv, .team { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .founder { flex-direction: column; }
  .split__media img { aspect-ratio: 4/3.5; }
  .lightbox__nav { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
