:root {
  --color-bg: #f7f8fc;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f3fa;
  --color-primary: #12284c;
  --color-primary-2: #1f4a8a;
  --color-accent: #c4a35a;
  --color-text: #1e2430;
  --color-muted: #5f6b7a;
  --color-border: #d9dfeb;
  --color-success: #177245;
  --color-error: #c0392b;
  --shadow-sm: 0 4px 14px rgba(18, 40, 76, 0.08);
  --shadow-md: 0 12px 30px rgba(18, 40, 76, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}
img { max-width: 100%; display: block; border-radius: var(--radius-md); }
a { color: var(--color-primary-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.section { padding: 5rem 0; }
.section-alt { background: linear-gradient(180deg, #f8faff, #eff3fb); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--color-border);
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--color-primary); font-weight: 700; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  color: #fff;
}
.brand-text { font-size: .88rem; }
.menu { display: flex; align-items: center; gap: 1rem; }
.menu a { font-weight: 600; color: var(--color-primary); }
.menu a.active, .menu a:hover { color: var(--color-primary-2); text-decoration: none; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 8px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--color-primary); margin: 5px auto; }
.hero { padding-top: 6rem; }
.hero-grid { display: grid; gap: 2rem; }
.overline { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--color-primary-2); font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; margin: 1rem 0; color: var(--color-primary); }
.lead { font-size: 1.08rem; color: var(--color-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:focus-visible { outline: 3px solid #6ea8ff; outline-offset: 2px; }
.btn-outline { background: transparent; border: 1px solid var(--color-primary-2); color: var(--color-primary-2); }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.hero-highlights { margin-top: 1.2rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-highlights li { background: #fff; border: 1px solid var(--color-border); padding: .55rem .9rem; border-radius: 999px; font-weight: 600; color: var(--color-primary); }
.section-head { margin-bottom: 2rem; }
.section h2 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); color: var(--color-primary); margin: .6rem 0; }
.cards { display: grid; gap: 1rem; }
.cards-2 { grid-template-columns: 1fr; }
.cards-3 { grid-template-columns: 1fr; }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .6rem; color: var(--color-primary); }
.steps { display: grid; gap: 1rem; }
.step {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: .7rem;
  font-weight: 700;
}
.faq-item { border: 1px solid var(--color-border); background: #fff; border-radius: var(--radius-sm); margin-bottom: .8rem; overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  border: 0;
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 1rem 1rem; color: var(--color-muted); }
.faq-item.open .faq-answer { max-height: 180px; }
.cta-box { background: linear-gradient(135deg, #132c56, #1f4e93); color: #fff; border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.cta-box h2 { color: #fff; }
.site-footer { background: #0f1f3a; color: #eef3ff; padding-top: 3rem; }
.footer-grid { display: grid; gap: 1.2rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: .7rem; }
.site-footer p, .site-footer li { font-size: .95rem; color: #d8e2ff; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 1.4rem; padding: 1rem; text-align: center; }
.legal-main { padding-top: 6rem; }
.legal-layout { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.legal-layout h1 { margin-top: 0; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--color-muted); margin-bottom: 1rem; }
.legal-toc { background: var(--color-surface-alt); border: 1px solid var(--color-border); padding: 1rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.legal-toc ul { padding-left: 1rem; }
.legal-content section { margin-bottom: 1.3rem; }
.contact-grid { display: grid; gap: 1rem; }
.contact-card, .form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-sm); }
form { display: grid; gap: .8rem; }
label { font-weight: 600; color: var(--color-primary); }
input, textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: .72rem .8rem;
  font: inherit;
}
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #6ea8ff; outline-offset: 2px; }
.error-msg { color: var(--color-error); font-size: .9rem; }
.form-status { font-weight: 600; margin-top: .2rem; }
.form-status.success { color: var(--color-success); }
.form-status.error { color: var(--color-error); }
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 950;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 4.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--color-primary);
  color: #fff;
  display: none;
}
.back-to-top.show { display: block; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .cards-2 { grid-template-columns: repeat(2,1fr); }
  .cards-3 { grid-template-columns: repeat(3,1fr); }
  .steps { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute;
    right: 1rem;
    top: 78px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: .8rem;
    width: min(92vw, 350px);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}