@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --card: #0c1322;
  --card-hi: #111a2d;
  --border: #1e293b;
  --border-hi: #2b3a55;
  --fg: #f5f8fc;
  --muted: #a3afc2;
  --dim: #6b778c;
  --primary: #1f63ee;
  --teal: #1fa3a3;
  --teal-hi: #4fd1c5;
  --gold: #f5c33b;
  --whatsapp: #25d366;
  --radius: 1rem;
  --wrap: 1180px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
svg.i { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section + .section { border-top: 1px solid rgba(30, 41, 59, 0.6); }
.grad { background: linear-gradient(90deg, #2f6bf0, var(--teal-hi) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-teal { color: var(--teal-hi); }
.t-gold { color: var(--gold); }
.t-blue { color: #4b86f5; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.head { margin-bottom: 3rem; }
.head h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 1rem; }
.head.center { text-align: center; }
.head.center .lead { max-width: 36rem; margin-inline: auto; }
.head:not(.center) .lead { max-width: 32rem; }

/* Background grid */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.6rem; border-radius: 0.75rem; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; font-family: var(--body);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }
.btn-light { background: #fff; color: #0b1120; box-shadow: 0 0 30px rgba(255, 255, 255, 0.15); }
.btn-ghost { background: rgba(12, 19, 34, 0.7); border-color: var(--border-hi); color: var(--fg); }
.btn-ghost:hover { border-color: var(--teal); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-blue { background: var(--primary); color: #fff; }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--teal)); color: #fff; width: 100%; }
.btn .i { width: 1rem; height: 1rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.site-header.scrolled { background: rgba(7, 11, 20, 0.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.75rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 2.6rem; height: 2.6rem; border-radius: 0.6rem; object-fit: cover; border: 1px solid var(--border-hi); }
.brand b { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 700; line-height: 1.1; }
.brand b span { color: #4b86f5; }
.brand small { display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a { padding: 0.5rem 0.8rem; border-radius: 0.6rem; font-size: 0.9rem; color: var(--muted); font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--fg); background: rgba(31, 99, 238, 0.14); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-hi); background: rgba(12, 19, 34, 0.7); color: var(--fg); transition: border-color 0.2s; cursor: pointer; }
.icon-btn:hover { border-color: var(--teal); }
.icon-btn .i { width: 1rem; height: 1rem; }
.nav-actions .btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.5rem 1.25rem 1.25rem; background: rgba(7, 11, 20, 0.97); border-bottom: 1px solid var(--border); }
  .mobile-menu a { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--border); color: var(--muted); }
  .mobile-menu a[aria-current="page"] { color: var(--fg); }
}
@media (max-width: 520px) {
  .nav-actions .btn, .nav-actions .icon-btn:not(.menu-btn) { display: none; }
  .brand small { display: none; }
}

/* Hero */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 7rem 0 4rem; }
.hero .glow { position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 40%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(31, 99, 238, 0.22), rgba(31, 163, 163, 0.06) 40%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--border-hi); background: rgba(12, 19, 34, 0.8); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 2rem; }
.pill i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 10px var(--teal-hi); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); font-weight: 800; margin-bottom: 1.5rem; }
.hero .lead { max-width: 40rem; margin: 0 auto 2.5rem; font-size: clamp(1.05rem, 2vw, 1.4rem); color: #cbd5e1; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 10rem 0 5rem; text-align: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 70%, rgba(31, 99, 238, 0.35), transparent 55%); pointer-events: none; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero .badge-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; border-radius: 1rem; display: grid; place-items: center; background: rgba(31, 163, 163, 0.12); border: 1px solid rgba(79, 209, 197, 0.3); color: var(--teal-hi); }
.page-hero .badge-icon .i { width: 1.6rem; height: 1.6rem; }
.page-hero h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 38rem; margin-inline: auto; }

/* Cards */
.card { background: linear-gradient(180deg, var(--card-hi), var(--card)); border: 1px solid var(--border); border-radius: 1.25rem; padding: 2rem; transition: border-color 0.3s, transform 0.3s; }
.card:hover { border-color: var(--border-hi); }
.card-icon { width: 3.1rem; height: 3.1rem; border-radius: 0.8rem; display: grid; place-items: center; background: rgba(31, 163, 163, 0.12); border: 1px solid rgba(79, 209, 197, 0.25); color: var(--teal-hi); margin-bottom: 1.5rem; }
.card-icon .i { width: 1.35rem; height: 1.35rem; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.card p { color: var(--muted); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.bento .card { display: flex; flex-direction: column; min-height: 17rem; }
.bento .card:hover { transform: translateY(-4px); }
.bento .card p { margin-bottom: 2rem; }
.bento .more { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--teal-hi); font-size: 0.85rem; font-weight: 600; }
.bento .more .i { transition: transform 0.2s; }
.bento .card:hover .more .i { transform: translateX(4px); }
.b-8 { grid-column: span 8; } .b-4 { grid-column: span 4; } .b-5 { grid-column: span 5; } .b-7 { grid-column: span 7; }
@media (max-width: 860px) { .bento > * { grid-column: span 12 !important; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 4rem; }
.stat { text-align: center; padding: 2.25rem 1rem; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; }
.stat span { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.quote { position: relative; display: flex; flex-direction: column; }
.quote .mark { position: absolute; top: 1.25rem; right: 1.5rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: rgba(148, 163, 184, 0.12); }
.stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 1.25rem; }
.quote blockquote { margin: 0 0 2rem; color: #e2e8f0; font-size: 1.02rem; }
.who { margin-top: auto; display: flex; align-items: center; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--teal)); }
.who b { display: block; font-size: 0.95rem; }
.who small { color: var(--dim); }

/* CTA band */
.cta-band { text-align: center; padding: clamp(3rem, 7vw, 5rem) 1.5rem; border-radius: 2rem; background: radial-gradient(ellipse at top, rgba(31, 99, 238, 0.28), transparent 70%), var(--card); border: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.cta-band .lead { margin-bottom: 2rem; }

/* Two column */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 7rem; }
@media (max-width: 900px) { .sticky { position: static; } }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 2rem; }
.mini { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem; border-radius: 0.9rem; background: var(--card); border: 1px solid var(--border); font-size: 0.85rem; font-weight: 600; }
.mini .i { color: var(--teal-hi); width: 1.15rem; height: 1.15rem; }

/* Accordion */
.acc { display: flex; flex-direction: column; gap: 1rem; }
.acc-item { padding: 0; overflow: hidden; }
.acc-item button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; width: 100%; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 1.75rem 2rem; }
.acc-item button:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: -2px; }
.acc-item h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.acc-item p { color: var(--muted); }
.chev { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(148, 163, 184, 0.08); flex: none; transition: transform 0.3s, background 0.3s; }
.acc-item.open .chev { transform: rotate(180deg); background: rgba(31, 163, 163, 0.18); color: var(--teal-hi); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1.25rem 2rem 1.75rem; border-top: 1px solid var(--border); margin: 0 2rem; padding-inline: 0; }
.tag { padding: 0.4rem 0.85rem; border-radius: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--teal-hi); background: rgba(31, 163, 163, 0.1); border: 1px solid rgba(79, 209, 197, 0.2); }

/* Metric cards */
.metric h3 { font-size: 1.5rem; }
.metric > p { margin-bottom: 2rem; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.metric-row div { padding: 1.25rem; border-radius: 0.9rem; background: rgba(7, 11, 20, 0.6); border: 1px solid var(--border); }
.metric-row b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; }
.metric-row span { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

/* Timeline */
.timeline { position: relative; max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.timeline::before { content: ""; position: absolute; left: 5.4rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: linear-gradient(var(--primary), var(--teal), var(--gold)); opacity: 0.5; }
.slot { display: grid; grid-template-columns: 4.4rem 1fr; gap: 2.25rem; align-items: center; }
.slot time { font-family: var(--display); font-weight: 700; color: var(--teal-hi); text-align: right; font-size: 1.05rem; }
.slot .card { padding: 1.15rem 1.5rem; position: relative; font-weight: 600; }
.slot .card::before { content: ""; position: absolute; left: -1.5rem; top: 50%; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--teal-hi); transform: translate(-50%, -50%); box-shadow: 0 0 12px var(--teal-hi); }

/* Feature trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* Module lists */
.list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.85rem; }
.list li { display: flex; gap: 0.75rem; align-items: center; color: #e2e8f0; }
.list li .i { color: var(--teal-hi); }

/* Assist + form */
.assist h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.assist .lead { margin-bottom: 2rem; }
.assist-btns { display: flex; flex-direction: column; gap: 0.85rem; max-width: 22rem; }
.assist-btns .btn { justify-content: flex-start; padding: 1rem 1.4rem; }

.form h3 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.form > p { color: var(--muted); margin-bottom: 1.75rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; color: #cbd5e1; }
input, select, textarea {
  font: inherit; font-size: 0.95rem; color: var(--fg); background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--border-hi); border-radius: 0.7rem; padding: 0.8rem 1rem; width: 100%;
  transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; }
textarea { min-height: 7rem; resize: vertical; }
.form .btn-primary { margin-top: 1.5rem; }
.form-note { margin-top: 1rem; font-size: 0.85rem; color: var(--teal-hi); min-height: 1.3em; }

/* Contact cards */
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-cards .card { display: flex; gap: 1.25rem; padding: 1.5rem; }
.contact-cards .card-icon { margin: 0; }
.contact-cards h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.contact-cards a.link { color: var(--teal-hi); font-weight: 600; word-break: break-word; }
.contact-cards .row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }

/* Floating buttons */
.floaters { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: flex; flex-direction: column; gap: 0.75rem; }
.floaters a { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); transition: transform 0.2s; }
.floaters a:hover { transform: scale(1.08); }
.floaters .i { width: 1.35rem; height: 1.35rem; }
.f-wa { background: var(--whatsapp); }
.f-call { background: var(--primary); }

/* Footer */
.site-footer { background: linear-gradient(180deg, var(--bg-2), #060912); border-top: 1px solid var(--border); padding: 5rem 0 2rem; margin-top: 4rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1rem; margin-bottom: 1.25rem; }
.site-footer p, .site-footer li, .site-footer a { color: var(--muted); font-size: 0.9rem; }
.site-footer a:hover { color: var(--fg); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.site-footer ul.contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.site-footer ul.contact .i { color: var(--teal-hi); margin-top: 0.25rem; }
.motto { display: inline-block; margin-top: 1.25rem; padding: 0.7rem 1rem; border-radius: 0.7rem; border: 1px solid var(--border-hi); background: rgba(12, 19, 34, 0.7); }
.motto b { display: block; color: var(--gold); font-size: 0.95rem; }
.motto small { color: var(--dim); font-size: 0.75rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 2.6rem; height: 2.6rem; border-radius: 0.7rem; display: grid; place-items: center; border: 1px solid var(--border-hi); background: rgba(12, 19, 34, 0.7); }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding-top: 1.75rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--dim); }
.foot-bottom nav { display: flex; gap: 2rem; }
@media (max-width: 900px) { .site-footer { padding-bottom: 6rem; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill i { animation: none; }
}
