:root {
  --bg-base: #fafaf7;
  --bg-white: #ffffff;
  --bg-dark: #0f1923;
  --bg-section: #f4f3ee;
  --navy: #0f2644;
  --navy-mid: #2b4a7a;
  --text-body: #3d3d3a;
  --text-muted: #787872;
  --text-light: #b8b8af;
  --gold: #c9921a;
  --gold-light: #f5e5c0;
  --gold-dark: #9b6e0f;
  --gold-bg: rgba(201, 146, 26, 0.08);
  --border: rgba(15, 38, 68, 0.12);
  --border-strong: rgba(15, 38, 68, 0.24);
  --whatsapp: #25d366;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max-width: 1120px;
  --section-py: 80px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 220ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--bg-dark); }
.stack-lg { display: grid; gap: 24px; }
.section-header { margin-bottom: 32px; }
.section-title,
.hero-title,
.page-hero-title,
.docs-cta-title,
.cta-final-title {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
}
.section-title { font-size: clamp(28px, 4vw, 42px); }
.section-title--light { color: #f2eee5; }
.section-copy, .page-hero-sub, .docs-cta-text { color: var(--text-muted); max-width: 700px; }
.label-caps {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.label-caps--gold { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: #fff7e6; }
.btn--gold:hover { background: var(--gold-dark); }
.btn--outline { border-color: var(--border-strong); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn--outline-light { border-color: rgba(255,255,255,.16); color: #f2eee5; }
.btn--ghost { color: var(--navy-mid); }
.btn--ghost-light { border-color: rgba(255,255,255,.12); color: #f2eee5; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 24px; }
.btn--full { width: 100%; margin-bottom: 12px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(250, 250, 247, 0.92);
  border-bottom: 1px solid transparent;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.nav--scrolled { border-color: var(--border); box-shadow: 0 10px 30px rgba(15, 25, 35, 0.05); }
.nav-inner { min-height: 82px; display: flex; align-items: center; gap: 24px; }
.nav-logo { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-link { color: var(--text-body); font-size: 15px; position: relative; }
.nav-link.active, .nav-link:hover { color: var(--navy); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--navy); margin: 0 auto; }
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}
.nav-mobile-links { display: grid; gap: 2px; padding: 16px 20px 8px; }
.nav-mobile-link { padding: 12px 0; color: var(--navy); }
.nav-mobile-footer { padding: 12px 20px 20px; }
.nav--open .nav-mobile { display: block; }

.hero {
  background: linear-gradient(180deg, #fffef9 0%, #f6f4ec 100%);
  padding: 34px 0 0;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(38px, 6vw, 68px); margin-bottom: 18px; }
.hero-title em { color: var(--gold); font-style: italic; }
.hero-subtitle { max-width: 620px; font-size: 19px; color: var(--text-body); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: var(--font-display); font-size: 34px; color: var(--navy); line-height: 1; }
.trust-label { font-size: 13px; color: var(--text-muted); max-width: 150px; line-height: 1.4; }
.trust-sep { width: 1px; height: 46px; background: var(--border); }
.hero-visual { position: relative; }
.doc-mockup {
  position: relative;
  background: #fffdf9;
  border: 1px solid rgba(15, 38, 68, 0.15);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 26px 60px rgba(15, 25, 35, 0.10);
}
.doc-mockup-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.doc-mockup-logo { width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: 12px; background: var(--gold-bg); }
.doc-mockup-lines { width: 120px; display: grid; gap: 10px; }
.doc-mockup-lines span, .doc-line { height: 8px; background: #ece8de; border-radius: 999px; }
.doc-mockup-title { font-family: var(--font-display); color: var(--navy); font-size: 28px; margin-bottom: 18px; }
.doc-mockup-body { display: grid; gap: 12px; }
.doc-line--long { width: 100%; }
.doc-line--medium { width: 76%; }
.doc-line--short { width: 48%; }
.doc-mockup-stamp {
  position: absolute;
  right: 28px;
  bottom: 80px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 11px;
  text-align: center;
  font-family: var(--font-mono);
}
.doc-mockup-badge {
  margin-top: 24px;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-bg);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
}
.hero-deco-line {
  position: absolute;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  top: -20px;
  right: -40px;
  transform: rotate(26deg);
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

.alert-band { background: #fef8eb; border-top: 1px solid rgba(201, 146, 26, 0.24); border-bottom: 1px solid rgba(201, 146, 26, 0.24); padding: 14px 0; }
.alert-band-inner { display: flex; align-items: center; gap: 12px; }
.alert-band-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold-dark); font-weight: 700; }
.alert-band-text { flex: 1; font-size: 14px; }
.alert-band-link { color: var(--gold-dark); font-weight: 700; white-space: nowrap; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.service-card { background: var(--bg-white); padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; }
.service-card:hover { background: #fffdf7; }
.service-num, .step-time, .doc-type-price { font-family: var(--font-mono); }
.service-num { color: var(--text-light); font-size: 12px; letter-spacing: 0.08em; }
.service-title, .step-title, .contact-info-title, .detail-card-title { color: var(--navy); font-size: 22px; line-height: 1.25; }
.service-desc, .step-desc, .faq-answer p, .detail-card-text { color: var(--text-muted); font-size: 15px; }
.service-link { color: var(--gold-dark); font-weight: 700; margin-top: auto; }

.geo-inner, .split-callout, .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.geo-text { color: #b6b0a4; margin-bottom: 24px; }
.geo-facts, .detail-list, .docs-cta-list, .footer-links { list-style: none; }
.geo-facts { display: grid; gap: 16px; margin-bottom: 28px; }
.geo-fact { display: flex; gap: 16px; align-items: baseline; }
.geo-fact-num, .detail-card-number, .stat-panel-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
}
.geo-fact-label { color: #d9d4cb; font-size: 15px; }
.geo-timeline { border-left: 1px solid rgba(255,255,255,.12); padding-left: 18px; }
.tl-item { display: flex; gap: 18px; position: relative; padding-bottom: 28px; }
.tl-dot { width: 10px; height: 10px; margin-left: -24px; margin-top: 7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); background: transparent; flex-shrink: 0; }
.tl-item--done .tl-dot { background: #3fb950; border-color: #3fb950; }
.tl-item--active .tl-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,146,26,.18); }
.tl-label { color: #efe9de; font-size: 15px; }
.tl-badge { display: inline-flex; margin-top: 6px; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.tl-badge--done { background: rgba(63,185,80,.15); color: #75db8a; }
.tl-badge--active { background: rgba(201,146,26,.15); color: #ffd483; }
.tl-badge--pending { background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); }

.process-steps { display: grid; }
.process-step { display: grid; grid-template-columns: 72px 1fr; gap: 26px; padding: 28px 0; border-top: 1px solid var(--border); }
.process-step:last-child { border-bottom: 1px solid var(--border); }
.step-number { font-family: var(--font-display); color: var(--text-light); font-size: 54px; line-height: 1; }
.step-time { color: var(--gold-dark); font-size: 11px; letter-spacing: 0.09em; display: inline-block; margin-bottom: 6px; }
.process-cta, .section-cta { margin-top: 22px; text-align: center; }

.docs-cta-section { background: var(--bg-section); }
.docs-cta-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
}
.docs-cta-list { display: grid; gap: 8px; margin-top: 20px; }
.docs-cta-list li, .detail-list li {
  position: relative;
  padding-left: 20px;
}
.docs-cta-list li::before, .detail-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.doc-type-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.doc-type-item:hover { border-color: var(--gold); background: var(--gold-bg); }
.doc-type-label { flex: 1; color: var(--navy); font-weight: 700; }
.doc-type-price { color: var(--text-muted); font-size: 12px; }

.page-hero { background: var(--bg-section); padding: 64px 0 46px; border-bottom: 1px solid var(--border); }
.page-hero--light { background: var(--bg-white); }
.page-hero-title { font-size: clamp(30px, 5vw, 52px); margin-bottom: 14px; }

.detail-card, .note-card, .stat-panel, .info-card, .contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.detail-card { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 28px; }
.detail-card-number { font-size: 40px; }
.detail-list { display: grid; gap: 10px; margin-top: 16px; color: var(--text-body); }
.note-card { padding: 28px; background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); color: #eee9df; }
.note-card--light { background: var(--bg-white); color: var(--text-body); border-color: var(--border); }
.note-card h3, .info-card h3 { font-size: 20px; margin-bottom: 10px; }
.note-card p, .info-card p { color: inherit; opacity: .86; margin-bottom: 18px; }
.stat-panel { padding: 12px; display: grid; gap: 12px; background: linear-gradient(180deg, #fffdf8, #f7f4ec); }
.stat-panel-item { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--bg-white); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 24px; background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); color: #f2eee5; }

.table-wrap { overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--bg-white); border: 1px solid var(--border); }
.legal-table th, .legal-table td { padding: 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-table th { color: var(--navy); background: #f8f6f0; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}
.faq-icon { color: var(--gold-dark); font-size: 24px; }
.faq-answer { padding-bottom: 18px; }

.contact-section { background: var(--bg-white); }
.contact-form-title { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--text-body); }
.form-label span { color: var(--gold-dark); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-body);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--gold); background: var(--bg-white); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-success, .form-error {
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 14px;
}
.form-success { background: #edf7ef; border: 1px solid #a8dab2; color: #1e6b30; }
.form-error { background: #fef0ef; border: 1px solid #f5a9a6; color: #8b1a18; }
.contact-info-card { padding: 26px; background: var(--bg-section); }
.contact-method { display: flex; gap: 12px; margin-bottom: 16px; }
.contact-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.contact-method-icon--wa { background: rgba(37,211,102,.14); color: #1da851; }
.contact-method-icon--email { background: rgba(15,38,68,.08); color: var(--navy-mid); }
.contact-method-label, .footer-heading {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.contact-method-value { font-size: 15px; color: var(--navy); }
.contact-divider { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
.contact-note { margin-top: 18px; background: var(--gold-bg); border: 1px solid rgba(201,146,26,.22); border-radius: var(--radius-md); padding: 14px; font-size: 14px; }

.cta-final-section { background: var(--bg-dark); }
.cta-final-inner { max-width: 720px; text-align: center; }
.cta-final-title { color: #f2eee5; font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.cta-final-sub { color: #b8b1a5; margin-bottom: 28px; }
.cta-final-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.site-footer { background: var(--bg-dark); color: #7e796f; padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-tagline { margin: 16px 0; max-width: 360px; }
.footer-contact, .footer-links { display: grid; gap: 8px; }
.footer-links a:hover, .footer-contact-item:hover { color: #f2eee5; }
.footer-bottom { padding: 18px 0 24px; }
.footer-bottom-inner { display: grid; gap: 6px; }
.footer-copy { font-size: 13px; color: #5c5a54; }
.footer-disclaimer { font-size: 12px; color: #47453f; max-width: 720px; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 120; }
.whatsapp-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 8px 28px rgba(37,211,102,.34);
}
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(37,211,102,.4);
  border-radius: 50%;
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: var(--bg-dark);
  color: #f2eee5;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; transform: translateY(0); }

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .75; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 1024px) {
  .hero-inner, .docs-cta-card, .geo-inner, .split-callout, .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .services-grid, .cards-3, .footer-inner, .form-row { grid-template-columns: 1fr; }
  .docs-cta-card, .detail-card { padding: 26px; }
  .detail-card { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 52px 1fr; gap: 16px; }
  .step-number { font-size: 40px; }
  .hero-actions, .cta-final-actions { flex-direction: column; align-items: stretch; }
  .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--max-width)); }
  .hero-title { font-size: 42px; }
  .alert-band-inner { align-items: flex-start; }
  .stat-panel-item { grid-template-columns: 1fr; }
}
