:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --ink: #12202b;
  --ink-soft: #45535c;
  --ink-mute: #7a8790;
  --blue: #0768A9;
  --blue-dark: #054d80;
  --yellow: #FFCC00;
  --yellow-dark: #cf a700;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --line: rgba(18, 32, 43, 0.1);
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
section { position: relative; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin: 0 0 14px;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--yellow);
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 500; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 20ch; }
h3 { font-size: 1.15rem; }
p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 16px; }
em { font-style: normal; color: var(--blue); }

.mark {
  background: var(--yellow);
  color: #4a3b00;
  padding: 0.05em 0.4em;
  border-radius: 6px;
}

/* isotipo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.logo-mark { width: 34px; height: 34px; position: relative; flex: none; }
.logo-mark span {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 5px;
}
.logo-mark .a { top: 0; left: 0; background: #fff; border: 1.5px solid #d9d9d9; }
.logo-mark .b { top: 6px; left: 6px; background: var(--blue); }
.logo-mark .c { top: 12px; left: 12px; background: var(--yellow); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
@supports not (backdrop-filter: blur(1px)) {
  .nav-inner { background: rgba(255,255,255,0.92); }
}
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; border: none; transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; padding: 6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 22px; }
.nav-toggle span::after { position: absolute; top: 7px; width: 22px; }

/* hero */
.hero {
  padding: 90px 0 60px;
  overflow: clip;
}
.hero-mesh {
  position: absolute; inset: -10% -10% auto -10%; height: 640px; z-index: -1;
  background:
    radial-gradient(at 18% 25%, rgba(7,104,169,0.20) 0%, transparent 55%),
    radial-gradient(at 82% 20%, rgba(255,204,0,0.28) 0%, transparent 50%),
    radial-gradient(at 50% 85%, rgba(7,104,169,0.12) 0%, transparent 55%);
  filter: blur(50px);
  animation: meshDrift 26s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(6deg); }
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  border: 1px solid transparent; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,104,169,0.25); }
.btn-ghost { background: rgba(7,104,169,0.06); color: var(--blue-dark); border-color: rgba(7,104,169,0.18); }
.btn-ghost:hover { background: rgba(7,104,169,0.12); transform: translateY(-2px); }

.stat-row { display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.stat-num { font-size: 1.9rem; font-weight: 500; color: var(--blue-dark); }
.stat-label { font-size: 13px; color: var(--ink-mute); max-width: 16ch; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

/* glass cards */
.glass-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
}
@supports (backdrop-filter: blur(1px)) {
  .glass-card { background: var(--glass); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,104,169,0.1); color: var(--blue); margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.section { padding: 70px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-alt { background: var(--bg-soft); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge {
  font-size: 12.5px; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}

.quote-box {
  border-left: 3px solid var(--yellow);
  padding-left: 20px; margin: 26px 0;
}
.quote-box p { font-size: 15px; color: var(--ink); margin: 0; }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.faq-q .plus { flex: none; width: 20px; height: 20px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
}
.faq-q .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-q .plus::after { top: 0; left: 9px; width: 2px; height: 20px; transition: transform .25s ease; }
.faq-item.is-open .faq-q .plus::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-a { max-height: 240px; }
.faq-a p { padding-bottom: 20px; margin: 0; }

/* contact */
.contact-box {
  border-radius: 28px; padding: 50px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.contact-box h2 { color: #fff; }
.contact-box p { color: rgba(255,255,255,0.85); }
.contact-box .accent-dot {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,204,0,0.25); filter: blur(50px); top: -80px; right: -60px;
}
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form-row input {
  flex: 1 1 240px; padding: 14px 18px; border-radius: 999px; border: none;
  font-size: 14.5px; background: rgba(255,255,255,0.95); color: var(--ink);
}
.form-row .btn-primary { background: var(--yellow); color: #4a3b00; }
.form-row .btn-primary:hover { background: #ffd633; }

footer {
  padding: 40px 0 60px; border-top: 1px solid var(--line); margin-top: 20px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-note { font-size: 12.5px; color: var(--ink-mute); max-width: 60ch; }
.footer-links { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-links a { font-size: 13.5px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--blue); }

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

@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 4%; right: 4%;
    background: #fff; border-radius: 20px; padding: 14px 18px;
    box-shadow: 0 20px 40px rgba(18,32,43,0.12);
  }
  .nav.is-open .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-cta { display: block; margin-top: 10px; }
  .contact-box { padding: 34px; }
}
