:root {
  --ink: #071426;
  --ink-2: #0a203b;
  --navy: #071b33;
  --blue: #0b4fa3;
  --indigo: #3431a8;
  --active: #514cf0;
  --sky: #77cbf5;
  --mist: #dce8f7;
  --paper: #f4f6fa;
  --ivory: #f1e9da;
  --white: #ffffff;
  --muted: #5c6b7c;
  --line: rgba(7, 27, 51, 0.16);
  --content: min(1240px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: var(--active); color: var(--white); }
section { scroll-margin-top: 92px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--white); color: var(--ink); padding: .8rem 1rem; border-radius: 4px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; min-height: 84px; padding: 0 max(32px, calc((100vw - 1400px) / 2)); display: flex; align-items: center; justify-content: space-between; color: var(--white); background: linear-gradient(180deg, rgba(4, 18, 36, .92), rgba(4, 18, 36, .34) 72%, transparent); backdrop-filter: blur(4px); }
.brand { display: inline-flex; align-items: center; gap: 13px; position: relative; z-index: 2; }
.brand-mark { width: 35px; height: 35px; position: relative; display: inline-block; flex: 0 0 auto; }
.brand-mark i { position: absolute; display: block; background: currentColor; transform: skewY(-28deg); }
.brand-mark i:first-child { width: 11px; height: 30px; left: 3px; top: 3px; }
.brand-mark i:last-child { width: 11px; height: 25px; right: 4px; top: 4px; opacity: .55; }
.brand-mark::after { content: ""; position: absolute; height: 2px; width: 34px; left: 0; top: 17px; background: var(--sky); transform: rotate(-29deg); transform-origin: center; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 15px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.64); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); font-size: 13px; }
.nav > a { position: relative; padding: 10px 0; color: rgba(255,255,255,.77); transition: color .2s ease; }
.nav > a::after { content: ""; position: absolute; left: 0; bottom: 6px; height: 1px; width: 0; background: var(--sky); transition: width .25s ease; }
.nav > a:hover { color: var(--white); }
.nav > a:hover::after { width: 100%; }
.nav .nav-contact { border: 1px solid rgba(255,255,255,.35); padding: 10px 15px; color: var(--white); }
.nav .nav-contact::after { display: none; }
.nav-contact span { margin-left: 12px; }
.language { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.4); }
.language button { border: 0; background: transparent; padding: 5px 2px; cursor: pointer; font-size: 11px; color: rgba(255,255,255,.48); }
.language button.active { color: var(--white); font-weight: 700; }
.menu-toggle { display: none; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-image, .contact-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,36,.98) 0%, rgba(4,18,36,.91) 32%, rgba(4,18,36,.32) 68%, rgba(4,18,36,.2)), url('./decision-field.webp') center/cover no-repeat; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,18,36,.06) 50%, rgba(4,18,36,.84)); }
.hero-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(119,203,245,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(119,203,245,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent, black 60%); }
.hero-content { position: relative; z-index: 2; width: var(--content); margin: 0 auto; padding: 150px 0 100px; }
.hero-content > * { max-width: 660px; }
.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; line-height: 1.4; letter-spacing: .15em; font-weight: 620; color: var(--blue); text-transform: uppercase; }
.eyebrow.light { color: var(--sky); }
.hero h1 { max-width: 750px; margin: 20px 0 24px; font-size: clamp(64px, 8vw, 122px); letter-spacing: -.072em; line-height: .86; font-weight: 560; }
.hero-lede { font-size: clamp(19px, 2vw, 25px); line-height: 1.5; color: rgba(255,255,255,.79); max-width: 650px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 52px; padding: 0 22px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 13px; font-weight: 620; letter-spacing: .01em; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--active); color: var(--white); }
.button.primary:hover { background: #615cf4; }
.button.ghost { border-color: rgba(255,255,255,.3); background: rgba(5,20,40,.18); color: var(--white); backdrop-filter: blur(8px); }
.button.ghost:hover { border-color: rgba(255,255,255,.65); }
.hero-note { margin-top: 29px; display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .05em; color: rgba(255,255,255,.55); }
.hero-note span { width: 28px; height: 1px; background: var(--sky); }
.hero-note b { font-weight: 400; }
.decision-marker { position: absolute; z-index: 2; right: max(7vw, 70px); top: 59%; transform: translateY(-50%); display: flex; align-items: center; gap: 14px; color: var(--white); }
.marker-dot { width: 12px; height: 12px; border: 1px solid var(--ivory); border-radius: 50%; position: relative; box-shadow: 0 0 0 8px rgba(241,233,218,.1); }
.marker-dot::after { content: ""; position: absolute; width: 130px; height: 1px; right: 14px; top: 5px; background: linear-gradient(90deg, transparent, rgba(241,233,218,.75)); }
.decision-marker p { margin: 0; display: flex; flex-direction: column; line-height: 1.2; }
.decision-marker strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.decision-marker small { margin-top: 5px; font-size: 10px; color: rgba(255,255,255,.55); }
.scroll-cue { position: absolute; z-index: 2; left: max(40px, calc((100vw - 1240px)/2)); bottom: 28px; display: flex; align-items: center; gap: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; color: rgba(255,255,255,.5); }
.scroll-cue span { width: 1px; height: 50px; background: linear-gradient(var(--sky), transparent); }

.section { width: 100%; padding: 128px max(40px, calc((100vw - 1240px)/2)); }
.section-heading { max-width: 690px; }
.section-heading.wide { max-width: 850px; }
.section h2 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -.052em; line-height: 1.02; font-weight: 520; margin: 15px 0 25px; }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 19px; }
.intervention { background: var(--paper); }
.decision-cards { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.decision-card { min-height: 330px; padding: 28px 38px 38px 0; position: relative; border-right: 1px solid var(--line); }
.decision-card + .decision-card { padding-left: 38px; }
.decision-card:last-child { border-right: 0; }
.decision-card > span { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; color: var(--blue); }
.decision-card h3 { max-width: 260px; margin: 58px 0 18px; font-size: 27px; line-height: 1.15; letter-spacing: -.025em; font-weight: 540; }
.decision-card p { max-width: 300px; color: var(--muted); font-size: 15px; }
.decision-card i { position: absolute; bottom: 35px; left: 0; width: 70px; height: 3px; background: linear-gradient(90deg, var(--indigo), var(--sky)); transform-origin: left; transition: width .35s ease; }
.decision-card:hover i { width: 130px; }
.decision-card + .decision-card i { left: 38px; }
.section-mantra { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color: var(--indigo); }

.practice { padding-left: 0; padding-right: 0; display: grid; grid-template-columns: minmax(340px, 43vw) 1fr; background: var(--white); }
.practice-media { padding: 0 0 0 max(40px, calc((100vw - 1400px)/2)); min-height: 800px; }
.practice-image { width: 100%; height: 100%; min-height: 750px; background: linear-gradient(180deg, rgba(7,27,51,.06), rgba(7,27,51,.32)), url('./contract-planes.webp') center/cover no-repeat; }
.practice-content { padding: 0 max(40px, calc((100vw - 1240px)/2)) 0 clamp(55px, 7vw, 110px); align-self: center; }
.practice-list { margin-top: 44px; border-top: 1px solid var(--line); }
.practice-list details { border-bottom: 1px solid var(--line); }
.practice-list summary { list-style: none; min-height: 71px; display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: 10px; cursor: pointer; font-size: 17px; font-weight: 560; }
.practice-list summary b { font-weight: inherit; }
.practice-list summary::-webkit-details-marker { display: none; }
.practice-list summary span { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; color: var(--blue); }
.practice-list summary i { font-size: 23px; font-weight: 300; font-style: normal; transition: transform .2s ease; }
.practice-list details[open] summary i { transform: rotate(45deg); }
.practice-list details p { margin: -5px 40px 22px 48px; color: var(--muted); font-size: 14px; }
.scope-note { margin-top: 30px; padding-left: 15px; border-left: 2px solid var(--active); color: var(--muted); font-size: 12px; }

.method { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.method::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(81,76,240,.24), transparent 65%); }
.method-intro { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 2fr; align-items: end; }
.method-intro h2 { margin: 0; max-width: 800px; }
.method-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 92px; }
.method-steps article { padding-right: 55px; }
.step-line { display: flex; align-items: center; }
.step-line span { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px; color: var(--sky); }
.step-line i { flex: 1; height: 1px; margin-left: 15px; background: rgba(119,203,245,.34); position: relative; }
.step-line i::after { content: ""; position: absolute; right: -1px; top: -4px; width: 9px; height: 9px; border: 1px solid var(--sky); border-radius: 50%; background: var(--navy); }
.step-line i.end::after { background: var(--sky); box-shadow: 0 0 0 8px rgba(119,203,245,.1); }
.method-steps h3 { margin: 34px 0 13px; font-size: 29px; font-weight: 500; }
.method-steps p { max-width: 270px; color: rgba(255,255,255,.62); font-size: 15px; }
.method-note { position: relative; z-index: 1; margin: 70px 0 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.58); font-size: 13px; }

.profile { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(70px, 9vw, 145px); background: var(--ivory); }
.profile-copy h2 { max-width: 570px; }
.profile-lede { font-size: 20px; color: var(--ink); }
.profile-copy > p:not(.eyebrow) { max-width: 620px; color: #4d5969; }
.profile-education { max-width: 620px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(7,27,51,.16); }
.profile-education > span { display: block; margin-bottom: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 9px; letter-spacing: .12em; color: var(--blue); }
.profile-education ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.profile-education li { font-size: 12px; color: #677386; }
.text-link { margin-top: 26px; display: inline-flex; gap: 18px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid var(--indigo); color: var(--indigo); font-size: 13px; font-weight: 620; }
.profile-signals { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7,27,51,.22); }
.profile-signals > div { padding: 23px 20px 30px 0; border-right: 1px solid rgba(7,27,51,.18); }
.profile-signals > div + div { padding-left: 20px; }
.profile-signals > div:last-child { border-right: 0; }
.profile-signals strong { display: block; font-size: 34px; letter-spacing: -.04em; font-weight: 540; color: var(--indigo); }
.profile-signals span { display: block; margin-top: 8px; font-size: 11px; line-height: 1.35; color: #677386; }
.profile-pillars { margin-top: 50px; }
.profile-pillars article { position: relative; padding: 0 0 27px 30px; border-left: 1px solid rgba(7,27,51,.2); }
.profile-pillars article span { position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); }
.profile-pillars h3 { margin-bottom: 8px; font-size: 16px; }
.profile-pillars p { color: #677386; font-size: 13px; }

.insights { background: var(--paper); }
.insight-grid { margin-top: 70px; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight-grid article { min-height: 360px; position: relative; padding: 34px; background: var(--white); transition: background .25s ease, color .25s ease; }
.insight-grid article:hover { background: var(--ink-2); color: var(--white); }
.insight-grid article > span { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; letter-spacing: .12em; color: var(--blue); }
.insight-grid article:hover > span { color: var(--sky); }
.insight-grid h3 { max-width: 330px; margin: 80px 0 18px; font-size: 25px; line-height: 1.15; font-weight: 520; }
.insight-grid article.featured h3 { font-size: 32px; }
.insight-grid article p { max-width: 330px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.insight-grid article:hover p { color: rgba(255,255,255,.55); }
.insight-grid article small { position: absolute; left: 34px; bottom: 31px; font-size: 10px; color: #8d98a7; }

.contact { position: relative; overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(65px, 8vw, 120px); color: var(--white); background: var(--navy); }
.contact-bg { background: linear-gradient(90deg, rgba(4,18,36,.98), rgba(4,18,36,.9) 48%, rgba(4,18,36,.6)), url('./panama-horizon.webp') center/cover no-repeat; opacity: .88; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact h2 { max-width: 570px; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.68); }
.direct-contact { margin-top: 65px; display: flex; flex-direction: column; gap: 8px; }
.direct-contact small { margin-bottom: 8px; color: rgba(255,255,255,.5); font-size: 11px; }
.direct-contact a { width: fit-content; border-bottom: 1px solid rgba(119,203,245,.35); font-size: 14px; }
.contact-form { align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 20px; padding: 35px; background: rgba(8,26,50,.74); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(18px); }
.contact-form label { display: flex; flex-direction: column; gap: 9px; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .04em; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; background: transparent; color: var(--white); padding: 9px 1px 12px; outline: none; font-size: 14px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--sky); }
.contact-form textarea { resize: vertical; min-height: 95px; }
.contact-form option { color: var(--ink); }
.contact-form ::placeholder { color: rgba(255,255,255,.35); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.form-actions .button { flex: 1 1 220px; }
.form-privacy { display: flex; gap: 9px; margin: 0; color: rgba(255,255,255,.4); font-size: 10px; }

footer { padding: 65px max(40px, calc((100vw - 1240px)/2)) 35px; background: #031326; color: var(--white); display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand p { display: flex; flex-direction: column; line-height: 1.2; }
.footer-brand strong { font-size: 14px; }
.footer-brand small { margin-top: 7px; color: rgba(255,255,255,.43); font-size: 10px; }
.disclaimer { color: rgba(255,255,255,.47); font-size: 11px; line-height: 1.65; }
.footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: rgba(255,255,255,.35); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.floating-whatsapp { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 30px; color: var(--ink); background: var(--white); box-shadow: 0 15px 40px rgba(0,0,0,.24); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px); }
.floating-whatsapp span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #1da856; color: white; font-weight: 700; font-size: 12px; }
.floating-whatsapp small { font-size: 11px; font-weight: 650; }

@media (max-width: 1050px) {
  :root { --content: calc(100vw - 64px); }
  .nav { gap: 17px; }
  .nav > a { font-size: 11px; }
  .decision-marker { display: none; }
  .practice { grid-template-columns: 40% 60%; }
  .practice-content { padding-left: 45px; }
  .profile { gap: 60px; }
  .profile-signals { grid-template-columns: 1fr; }
  .profile-signals > div, .profile-signals > div + div { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(7,27,51,.15); }
}

@media (max-width: 820px) {
  :root { --content: calc(100vw - 40px); }
  body { font-size: 16px; }
  .site-header { min-height: 72px; padding: 0 20px; background: rgba(4,18,36,.92); }
  .brand-copy small { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 7px; width: 42px; height: 42px; place-content: center; border: 0; background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 22px; height: 1px; background: var(--white); }
  .nav { position: absolute; z-index: 1; top: 0; left: 0; width: 100vw; height: 100dvh; padding: 115px 28px 40px; background: var(--navy); display: none; flex-direction: column; align-items: stretch; gap: 7px; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > a { padding: 13px 0; font-size: 24px; letter-spacing: -.02em; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav .nav-contact { margin-top: 15px; padding: 15px; font-size: 16px; }
  .language { margin-top: 15px; }
  .language button { font-size: 14px; }
  .hero { min-height: 850px; }
  .hero-image { background: linear-gradient(90deg, rgba(4,18,36,.97), rgba(4,18,36,.75)), url('./decision-field.webp') 64% center/cover no-repeat; }
  .hero-content { width: var(--content); padding-top: 130px; }
  .hero h1 { font-size: clamp(61px, 18vw, 88px); }
  .hero-lede { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .scroll-cue { left: 20px; }
  .section { padding: 90px 20px; }
  .section h2 { font-size: 45px; }
  .decision-cards { grid-template-columns: 1fr; }
  .decision-card, .decision-card + .decision-card { min-height: 250px; padding: 27px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .decision-card h3 { margin-top: 38px; }
  .decision-card i, .decision-card + .decision-card i { display: none; }
  .practice { padding: 0; grid-template-columns: 1fr; }
  .practice-media { padding: 0; min-height: 390px; }
  .practice-image { min-height: 390px; }
  .practice-content { padding: 80px 20px 90px; }
  .method-intro { grid-template-columns: 1fr; gap: 15px; }
  .method-steps { grid-template-columns: 1fr; gap: 55px; margin-top: 65px; }
  .method-steps article { padding-right: 0; }
  .profile { grid-template-columns: 1fr; gap: 65px; }
  .profile-signals { grid-template-columns: repeat(3, 1fr); }
  .profile-signals > div, .profile-signals > div + div { padding: 15px 12px 18px 0; border-right: 1px solid rgba(7,27,51,.15); border-bottom: 0; }
  .profile-signals strong { font-size: 27px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-grid article { min-height: 285px; }
  .contact { grid-template-columns: 1fr; gap: 55px; }
  .contact-form { padding: 24px; grid-template-columns: 1fr; }
  .contact-form .full { grid-column: 1; }
  footer { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 520px) {
  .hero { min-height: 780px; }
  .hero h1 { font-size: 59px; }
  .hero-content { padding-bottom: 90px; }
  .eyebrow { font-size: 9px; }
  .section h2 { font-size: 40px; }
  .profile-signals { grid-template-columns: 1fr; }
  .profile-signals > div, .profile-signals > div + div { border-right: 0; border-bottom: 1px solid rgba(7,27,51,.15); }
  .form-actions { flex-direction: column; }
  .form-actions .button { flex: auto; }
  .footer-meta { flex-direction: column; gap: 8px; }
  .floating-whatsapp { left: 16px; right: 16px; bottom: 12px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
