:root {
  --ink: #0b1930;
  --navy: #0f2747;
  --blue: #183f6b;
  --gold: #c59a45;
  --gold-light: #ead7ac;
  --paper: #f6f4ef;
  --white: #ffffff;
  --muted: #647083;
  --line: #dde2e8;
  --shadow: 0 22px 60px rgba(11, 25, 48, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: var(--gold); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { max-width: 860px; font-size: clamp(2.7rem, 6vw, 5.2rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.45rem; }
p { margin: 0; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(221,226,232,.75); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.social-strip { height: 34px; color: var(--white); background: var(--ink); }
.social-strip-inner { height: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.social-strip-inner > span { margin-right: 3px; color: #b8c4d3; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.social-link { width: 25px; height: 25px; display: grid; place-items: center; color: var(--white); border-radius: 50%; transition: transform .2s ease, background .2s ease; }
.social-link svg { width: 14px; height: 14px; fill: currentColor; }
.social-link.whatsapp { background: #25d366; }
.social-link.linkedin { background: #0a66c2; }
.social-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.nav.container { width: min(1500px, calc(100% - 40px)); }
.nav { min-height: 178px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark { width: 460px; height: 100px; flex: 0 0 460px; display: block; overflow: hidden; color: transparent; background: var(--white) url("assets/heuristic-full-logo.jpg") center / contain no-repeat; font-size: 0; }
.site-footer .brand-mark { width: 265px; height: 58px; flex-basis: 265px; border-radius: 3px; }
.brand-copy { display: none; line-height: 1.05; }
.brand-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 38px; font-size: 1.08rem; font-weight: 750; }
.nav-links a { padding: 14px 0 17px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-color: var(--gold); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 1.2rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 51px; padding: 0 22px; color: var(--white); background: var(--navy); border: 1px solid var(--navy); border-radius: 3px; font-size: .9rem; font-weight: 800; transition: .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--blue); box-shadow: 0 12px 24px rgba(15,39,71,.18); }
.button.gold { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.text-link { color: var(--blue); font-weight: 800; }

.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #111f58 0%, #174cb4 52%, #1697df 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 18%, rgba(103,210,255,.38), transparent 30%), linear-gradient(120deg, rgba(8,19,61,.78), rgba(14,57,148,.24) 58%, rgba(255,255,255,.05)); }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: -20% -10%; opacity: .2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='420' viewBox='0 0 900 420'%3E%3Cg fill='none'%3E%3Cpath d='M0 350H900M0 280H900M0 210H900M0 140H900M0 70H900M100 0V420M250 0V420M400 0V420M550 0V420M700 0V420M850 0V420' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1'/%3E%3Cpath d='M0 340L90 305L160 325L245 240L320 265L410 170L485 205L585 105L665 145L755 62L900 92' stroke='%2367d2ff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg stroke='%23ffffff' stroke-width='4'%3E%3Cpath d='M120 235v90M100 260h40v38h-40zM365 145v102M345 170h40v52h-40zM620 78v112M600 105h40v56h-40zM800 35v100M780 60h40v48h-40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 900px 420px; animation: financeDrift 24s linear infinite; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; min-height: 690px; padding: 110px 0 90px; display: grid; grid-template-columns: 1.55fr .75fr; align-items: center; gap: 80px; }
.hero h1 { margin: 18px 0 26px; }
.hero-lead { max-width: 680px; color: #cdd6e2; font-size: 1.13rem; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-actions .text-link { color: var(--white); padding: 8px 2px; border-bottom: 2px solid rgba(255,255,255,.55); text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.hero-actions .text-link:hover { color: var(--gold-light); border-color: var(--gold-light); }
.hero-actions .button.gold { animation: ctaPulse 1.8s ease-in-out infinite; }
.hero-card { padding: 30px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.hero-stat + .hero-stat { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stat strong { display: block; color: var(--gold-light); font: 2.2rem/1 Georgia, serif; }
.hero-stat span { display: block; margin-top: 8px; color: #cdd6e2; font-size: .88rem; }

.page-hero { position: relative; overflow: hidden; padding: 110px 0 100px; color: var(--white); background: linear-gradient(135deg, #111f58 0%, #174cb4 58%, #1697df 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8,19,61,.82), rgba(14,57,148,.28) 62%, rgba(255,255,255,.04)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 5vw, 4.7rem); }
.page-hero p { max-width: 730px; margin-top: 24px; color: #cdd6e2; font-size: 1.08rem; }
.section { padding: 105px 0; }
.section.soft { background: var(--paper); }
.section.dark { color: var(--white); background: var(--navy); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 20px; color: var(--muted); }
.dark .section-head p { color: #cdd6e2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { padding: 34px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 0 0 rgba(0,0,0,0); transition: .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { color: var(--gold); font: 1.05rem Georgia, serif; }
.card h3 { margin: 28px 0 14px; }
.card p { color: var(--muted); }
.card ul { padding-left: 18px; margin: 18px 0 0; color: var(--muted); }
.card li + li { margin-top: 7px; }
.feature-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.feature-row + .feature-row { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
.feature-row p { color: var(--muted); }
.feature-row h2 { margin-top: 14px; }
.feature-content p + p { margin-top: 18px; }
.quote { padding-left: 24px; border-left: 3px solid var(--gold); font: 1.35rem/1.5 Georgia, serif; }

.profile { display: grid; grid-template-columns: 110px 1fr; gap: 26px; align-items: start; }
.initials { width: 110px; height: 110px; display: grid; place-items: center; color: var(--white); background: var(--navy); font: 2rem Georgia, serif; }
.profile .role { margin: 5px 0 15px; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.contact-list { margin-top: 36px; }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item small { display: block; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-item strong, .contact-item a { display: block; margin-top: 7px; font-size: 1.08rem; }
.form { padding: 38px; background: var(--paper); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; border: 1px solid #cfd5dd; border-radius: 2px; background: var(--white); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 14px; color: var(--muted); font-size: .8rem; }
.form-note.success { color: #0f7a46; font-weight: 800; }
.form-note.error { color: #b42318; font-weight: 800; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.cta { padding: 72px 0; color: var(--white); background: var(--blue); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 700px; font-size: clamp(2rem, 4vw, 3.3rem); }
.site-footer { padding: 60px 0 24px; color: #cdd6e2; background: #081426; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .7fr); gap: 60px; }
.footer-grid h3 { color: var(--white); font: 1rem system-ui, sans-serif; }
.footer-grid p { max-width: 440px; margin-top: 18px; color: #91a0b5; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; }
.footer-links strong { color: var(--white); }
.footer-links strong:not(:first-child) { margin-top: 10px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #78879b; font-size: .78rem; }

@keyframes financeDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-900px, 0, 0); }
}

@keyframes ctaPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 0 rgba(234,215,172,.15); filter: brightness(1); }
  50% { transform: translateY(-2px) scale(1.035); box-shadow: 0 0 0 9px rgba(234,215,172,.18), 0 14px 30px rgba(5,20,55,.28); filter: brightness(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after, .page-hero::after, .hero-actions .button.gold { animation: none; }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .nav { min-height: 150px; }
  .brand-mark { width: 360px; height: 78px; flex-basis: 360px; }
  .nav-links { gap: 24px; font-size: .96rem; }
}

@media (max-width: 900px) {
  .nav { min-height: 78px; display: flex; }
  .nav { flex-direction: row; justify-content: space-between; }
  .brand-mark { width: 260px; height: 56px; flex-basis: 260px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 112px; left: 0; right: 0; padding: 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 10px; }
  .hero-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 45px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand-mark { width: 185px; height: 40px; flex-basis: 185px; }
  .site-footer .brand-mark { width: 230px; height: 50px; flex-basis: 230px; }
  .section { padding: 76px 0; }
  .hero-grid { padding: 82px 0 65px; }
  .page-hero { padding: 80px 0 72px; }
  .hero-actions, .cta-inner { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .profile { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .form { padding: 25px; }
}
