:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #edf3ff;
  --text: #142235;
  --muted: #526479;
  --primary: #1f56d8;
  --primary-dark: #153d9c;
  --accent: #10b2a8;
  --border: #d8e1ee;
  --shadow: 0 12px 30px rgba(20, 34, 53, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  --danger: #b3261e;
  --info-bg: #eaf1ff;
  --focus: #9fc0ff;
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .6rem .8rem;
  z-index: 9999;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-soft { background: linear-gradient(180deg, #f9fbff 0%, var(--surface-soft) 100%); }
.section-title { font-size: clamp(1.55rem, 2.8vw, 2.2rem); margin-bottom: 1.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  padding: .45rem .55rem;
  border-radius: 8px;
}
.main-nav a:hover,
.main-nav a.active {
  background: #e8efff;
  text-decoration: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .3rem;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: .78rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 700;
  transition: .25s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { background: #f2f6ff; }

.hero-grid,
.split-grid,
.contact-layout {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: #dce8ff;
  color: #0f3a94;
  font-weight: 700;
  font-size: .86rem;
  border-radius: 999px;
  padding: .32rem .72rem;
  margin-bottom: .8rem;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: .9rem;
}
h2 { line-height: 1.25; }
h3 { line-height: 1.3; }
.lead { color: var(--muted); font-size: 1.05rem; }

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.trust-list,
.check-list,
.feature-box ul,
.contact-list {
  list-style: none;
  display: grid;
  gap: .45rem;
  margin-top: .95rem;
}
.trust-list li::before,
.check-list li::before,
.feature-box li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 800;
}

.cards-grid { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.service-card,
.feature-box,
.contact-box,
.cta-panel,
.form-panel,
.info-panel,
.legal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card-icon { font-size: 1.4rem; margin-bottom: .45rem; }
.service-link { display: inline-block; margin-top: .75rem; font-weight: 700; }

.steps-list { list-style: none; display: grid; gap: .85rem; }
.steps-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: .8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
}
.step-number {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #dce8ff;
  color: #143f9d;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.faq-list { display: grid; gap: .8rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  padding: .95rem 1rem;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item.open .faq-answer { max-height: 260px; }
.faq-answer p { padding: 0 1rem 1rem; color: var(--muted); }

.site-footer {
  background: #0f1e34;
  color: #d5e0f0;
  margin-top: 2rem;
  padding-top: 2.2rem;
}
.footer-grid { display: grid; gap: 1.2rem; }
.site-footer a { color: #b8ceff; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; margin-top: .5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 1.2rem;
  padding: .9rem 0 1.1rem;
}

.form-grid { display: grid; gap: .85rem; }
.form-field label { display: block; margin-bottom: .28rem; font-weight: 600; }
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .72rem .8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }

input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.checkbox-wrap input { width: auto; margin-top: .2rem; }

.field-error {
  color: var(--danger);
  font-size: .85rem;
  margin-top: .28rem;
  display: none;
}
.invalid + .field-error { display: block; }

.form-message {
  display: none;
  margin-top: .85rem;
  padding: .8rem .9rem;
  border-radius: 10px;
}
.form-message.info {
  display: block;
  background: var(--info-bg);
  color: #123a93;
}

.legal-page .legal-panel { max-width: 940px; }
.legal-meta {
  background: #f1f5ff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .8rem;
  margin: .8rem 0 1.2rem;
}
.legal-page h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .4rem; }
.legal-page h2 { margin-top: 1.15rem; margin-bottom: .45rem; font-size: 1.2rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { padding-left: 1.15rem; }

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 1000;
}
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 4.8rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--primary-dark);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: none;
}
.to-top.show { display: block; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 981px) {
  .hero-grid,
  .split-grid,
  .contact-layout {
    grid-template-columns: 1.1fr .9fr;
  }
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .mobile-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .8rem 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }
  .main-nav.open { display: flex; }
  .nav-cta { width: 100%; }
  .grid-4,
  .grid-3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}