/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #111827; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

:root {
  --blue: #3b5bdb;
  --blue-dark: #2c46b8;
  --blue-light: #eef2ff;
  --text: #111827;
  --muted: #4b5563;
  --white: #ffffff;
  --bg-dark: #0f172a;
  --border: #e5e7eb;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 1px 10px rgba(0,0,0,0.07);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
}
.nav-logo { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; color: var(--blue); }
.nav-logo span { color: var(--text); }
.nav-links { display: flex; gap: 1.75rem; font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 0.45rem 1.1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.85rem;
  transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  position: fixed; top: 64px; left: 0; right: 0; z-index: 199;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.9rem 6%; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(140deg, #1e3a8a 0%, var(--blue) 50%, #6366f1 100%);
  color: var(--white);
  padding: 70px 6% 80px;
  text-align: center;
}
.page-hero .hero-tag {
  display: inline-block; background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; }
.page-hero p { font-size: 1.05rem; opacity: 0.82; max-width: 500px; margin: 0.75rem auto 0; }

/* ── SHARED SECTION ── */
.section { padding: 80px 6%; }
.inner { max-width: 980px; margin: 0 auto; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.6rem;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 620px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--blue); color: var(--white);
  padding: 0.75rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.93rem; transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--blue); color: var(--blue);
  padding: 0.7rem 1.75rem; border-radius: 999px;
  font-weight: 600; font-size: 0.93rem; transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ── FOOTER ── */
footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.4);
  padding: 2.25rem 6%; text-align: center; font-size: 0.82rem;
}
.footer-links { margin-bottom: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 5%; }
}

/* ── UTILITIES ── */
.text-blue { color: var(--blue); }
.bg-light { background: var(--blue-light); }
.bg-white { background: var(--white); }
.bg-dark { background: #f9fafb; }

/* ── WHATSAPP FLOAT BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
}
.wa-float .wa-bubble {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s infinite;
  flex-shrink: 0;
}
.wa-float:hover .wa-bubble {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
  animation: none;
}
.wa-float .wa-bubble svg {
  width: 32px; height: 32px;
}
.wa-tooltip {
  background: #25D366; color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.45rem 1rem; border-radius: 999px;
  white-space: nowrap;
  margin-right: 10px;
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.wa-float:hover .wa-tooltip {
  opacity: 1; transform: translateX(0);
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 480px) {
  .wa-float { bottom: 18px; right: 18px; }
  .wa-float .wa-bubble { width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
}
