@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
  --navy: #082e60;
  --blue: #0a4388;
  --bright: #2967b5;
  --ink: #162b43;
  --muted: #59697b;
  --line: #dce5ef;
  --pale: #f1f6fc;
  --green: #116444;
  --body: 'DM Sans', Arial, sans-serif;
  --heading: 'Manrope', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .3; }
button, a, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #3982d2; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; top: -80px; left: 20px; padding: 12px 18px; background: var(--navy); color: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 10px; font-size: .9375rem; font-weight: 700; line-height: 1.4; text-align: center; transition: background .18s, box-shadow .18s, transform .18s; }
.button:hover { transform: translateY(-1px); }
.button-outline { color: var(--navy); border-color: #ccd9e8; background: #fff; }
.button-outline:hover { background: var(--pale); border-color: #94b0d1; }
.button-whatsapp { background: var(--green); color: #fff; box-shadow: 0 5px 14px #11644414; }
.button-whatsapp:hover { background: #0b5237; box-shadow: 0 6px 20px #11644430; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fffffff2; backdrop-filter: blur(16px); border-bottom: 1px solid #e7edf4; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { position: relative; overflow: hidden; width: 43px; height: 47px; display: block; background: #fdfdfe; }
.brand-mark img { position: absolute; width: 113px; max-width: none; height: 113px; left: -34.5px; top: -22.5px; }
.brand-type { display: flex; flex-direction: column; gap: 4px; color: #07386c; }
.brand-type strong { font: 800 1.24rem/1.1 var(--heading); letter-spacing: -.035em; white-space: nowrap; }
.brand-type strong span { font-weight: 400; letter-spacing: .015em; }
.brand-type small { font-size: .55rem; letter-spacing: .16em; line-height: 1.5; }
.header-contact { min-height: 44px; padding: 10px 17px; font-size: .875rem; }
.header-contact .icon { width: 20px; height: 20px; }
.hero { background: radial-gradient(ellipse at 90% 20%, #edf4fc, transparent 65%), linear-gradient(120deg, #fff 32%, #f8fafd); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 76px; padding-block: 42px 46px; }
.hero-copy { padding-bottom: 12px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .1em; line-height: 1.6; }
.eyebrow-line { width: 27px; height: 2px; background: var(--blue); flex-shrink: 0; }
.hero h1 { font-size: clamp(2.75rem, 4.1vw, 3.6rem); font-weight: 750; line-height: 1.16; letter-spacing: -.05em; margin-top: 22px; text-wrap: balance; }
.hero h1 em { color: var(--bright); font-style: normal; }
.hero-description { color: var(--muted); font-size: 1.125rem; line-height: 1.75; max-width: 420px; margin-top: 23px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; padding-block: 23px; border-block: 1px solid #dce6f0; }
.hero-facts > div + div { border-left: 1px solid #d3dfec; padding-left: 24px; }
.hero-facts span { display: block; color: var(--muted); font-size: .875rem; margin-bottom: 5px; }
.hero-facts strong { font: 750 1.0625rem/1.5 var(--heading); letter-spacing: -.025em; color: var(--navy); }
.hero-note { max-width: 395px; margin-top: 18px; color: #627388; font-size: .8125rem; line-height: 1.7; }
.calculator-stage { min-width: 0; position: relative; background: var(--navy); padding: 16px 16px 17px; border-radius: 28px; box-shadow: 0 22px 55px #123b6417; scroll-margin-top: 108px; }
.calculator { padding: 25px 26px 22px; border-radius: 15px; background: #fff; }
.calculator-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.overline { color: var(--muted); font-size: .75rem; letter-spacing: .09em; font-weight: 600; }
.calculator h2 { margin-top: 5px; color: var(--navy); font-size: 1.3rem; letter-spacing: -.035em; font-weight: 750; }
.calculator-icon { display: flex; padding: 10px; border-radius: 12px; background: var(--pale); color: var(--blue); }
.calculator-icon .icon { width: 22px; height: 22px; }
.amount-display { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 21px 0 9px; }
.amount-display output { color: var(--navy); font: 800 2.65rem/1.2 var(--heading); letter-spacing: -.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount-display output span { font-size: 1.375rem; font-weight: 650; }
.amount-step { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid #d7e2ee; border-radius: 50%; color: var(--blue); background: #fff; font-size: 1.5rem; line-height: 1; transition: background .15s, border-color .15s; }
.amount-step:hover:not(:disabled) { background: var(--pale); border-color: #91afd3; }
.amount-range { --range-progress: 28.571%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; padding: 0; cursor: pointer; background: linear-gradient(to right, var(--blue) var(--range-progress), #e1e8f1 var(--range-progress)) center/100% 6px no-repeat; accent-color: var(--blue); }
.amount-range::-webkit-slider-thumb { -webkit-appearance: none; width: 25px; height: 25px; border: 4px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #adc4df, 0 2px 6px #07386c26; }
.amount-range::-moz-range-thumb { width: 17px; height: 17px; border: 4px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #adc4df; }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .8125rem; }
.amount-presets { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; margin-top: 15px; }
.amount-presets button { min-height: 42px; padding: 5px 0; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; color: #455d79; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.amount-presets button:hover { border-color: #8eacd0; background: #f2f7fd; }
.amount-presets button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 3px 8px #0a43881a; }
.loan-summary { margin-top: 20px; padding: 15px 17px; border: 1px solid #e1e9f2; border-radius: 11px; background: #f4f8fd; font-variant-numeric: tabular-nums; }
.summary-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px; color: var(--muted); font-size: .875rem; margin-bottom: 8px; }
.summary-row strong { color: var(--ink); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.rate-label { padding: 1px 4px; border-radius: 4px; background: #e4edf8; color: #4c6381; font-weight: 600; font-size: .75rem; white-space: nowrap; }
.summary-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 10px; padding-top: 11px; margin-top: 11px; border-top: 1px solid #d5e1ee; }
.summary-total span { display: block; color: var(--navy); font-size: .9375rem; font-weight: 600; }
.summary-total small { color: var(--muted); font-size: .8125rem; }
.summary-total > strong { color: var(--navy); font: 800 1.8rem/1.25 var(--heading); letter-spacing: -.05em; white-space: nowrap; }
.calculator .button { width: 100%; min-height: 55px; padding-inline: 12px; margin-top: 18px; font-size: 1rem; }
.calculator .button .icon { width: 22px; height: 22px; }
.calculator-footnote { color: var(--muted); font-size: .75rem; line-height: 1.6; margin-top: 9px; text-align: center; }
.stage-disclosure { display: flex; align-items: flex-start; gap: 8px; padding: 13px 5px 0; color: #ccdbed; font-size: .75rem; line-height: 1.65; }
.stage-disclosure .icon { width: 15px; height: 15px; margin-top: 2px; }
.site-footer { border-top: 1px solid #e4ebf3; }
.footer-compact { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 19px; color: var(--muted); font-size: .8125rem; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; font-size: .875rem; }
.footer-links a { display: flex; align-items: center; gap: 7px; }
.footer-links .icon { width: 17px; height: 17px; }
.footer-links button { border: 0; background: none; padding: 5px 0; color: inherit; font-size: inherit; }
.footer-links a:hover, .footer-links button:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.mobile-contact { display: none; }
dialog { width: min(620px, calc(100% - 32px)); max-height: 85vh; padding: 0; color: var(--ink); border: 1px solid #d4dfeb; border-radius: 18px; box-shadow: 0 30px 100px #061d4050; }
dialog::backdrop { background: #08234280; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 28px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { color: var(--navy); font-size: 1.5rem; }
.dialog-heading button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; background: var(--pale); color: var(--navy); font-size: 1.6rem; }
.dialog-body { padding: 25px 28px 30px; font-size: 1rem; line-height: 1.8; color: var(--muted); }
.dialog-body h3 { color: var(--navy); font-size: 1rem; margin-top: 25px; margin-bottom: 8px; }
.dialog-body a { color: var(--blue); text-decoration: underline; }

@media (min-width: 1600px) {
  .hero-grid { min-height: calc(100svh - 160px); gap: 90px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 34px; padding-block: 35px; }
  .hero h1 { font-size: 3rem; }
  .hero-description { font-size: 1rem; }
  .hero-facts { gap: 17px; }
  .hero-facts > div + div { padding-left: 17px; }
  .hero-facts strong { font-size: .9375rem; }
  .hero-facts span { font-size: .8125rem; }
  .calculator-stage { padding-inline: 13px; }
  .calculator { padding-inline: 20px; }
  .calculator h2 { font-size: 1.2rem; }
  .calculator-icon { padding: 8px; }
  .amount-display output { font-size: 2.3rem; }
  .amount-display output span { font-size: 1.125rem; }
  .summary-total > strong { font-size: 1.6rem; }
  .loan-summary { padding-inline: 13px; }
}
@media (min-width: 761px) and (max-width: 940px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-facts { flex-direction: column; gap: 15px; }
  .hero-facts > div + div { padding-left: 0; border-left: 0; }
  .hero-facts span { font-size: .875rem; }
  .hero-facts strong { font-size: 1rem; }
  .calculator { padding-inline: 16px; }
  .calculator-icon { display: none; }
  .amount-display output { font-size: 1.8rem; }
  .amount-display output span { font-size: 1rem; }
  .amount-step { width: 38px; height: 38px; }
  .summary-total > strong { font-size: 1.375rem; }
  .calculator .button { font-size: .875rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 88px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 74px; gap: 12px; }
  .brand { gap: 7px; }
  .brand-mark { width: 35px; height: 40px; }
  .brand-mark img { width: 96px; height: 96px; left: -29px; top: -19px; }
  .brand-type strong { font-size: 1.0625rem; }
  .brand-type small { font-size: .48rem; letter-spacing: .12em; }
  .header-contact { width: 44px; height: 44px; padding: 10px; }
  .header-contact span { display: none; }
  .hero-grid { display: block; padding-block: 27px 30px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { font-size: .6875rem; letter-spacing: .075em; gap: 9px; }
  .eyebrow-line { width: 20px; }
  .hero h1 { font-size: clamp(2.2rem,6.8vw,3.35rem); margin-top: 14px; line-height: 1.15; }
  .hero-description { margin-top: 15px; font-size: 1rem; line-height: 1.65; max-width: 470px; }
  .hero-facts { margin-top: 21px; padding-block: 16px; gap: 23px; }
  .hero-facts > div + div { padding-left: 23px; }
  .hero-facts span { font-size: .8125rem; margin-bottom: 3px; }
  .hero-facts strong { font-size: .9375rem; }
  .hero-note { margin-top: 12px; font-size: .75rem; line-height: 1.65; max-width: 450px; }
  .calculator-stage { max-width: 510px; margin: 24px auto 0; padding: 12px 12px 14px; border-radius: 24px; }
  .calculator { padding: 22px 19px 19px; border-radius: 13px; }
  .calculator h2 { font-size: 1.1875rem; }
  .overline { font-size: .75rem; }
  .amount-display { margin-block: 20px 7px; }
  .amount-display output { font-size: 2.15rem; }
  .amount-display output span { font-size: 1.125rem; }
  .amount-presets { gap: 7px; margin-top: 14px; }
  .amount-presets button { min-height: 44px; font-size: .875rem; }
  .loan-summary { margin-top: 18px; padding: 14px 13px; }
  .summary-row { font-size: .875rem; }
  .summary-total > strong { font-size: 1.65rem; }
  .calculator .button { font-size: .9375rem; }
  .stage-disclosure { padding-top: 12px; }
  .footer-compact { flex-wrap: wrap; gap: 12px; padding-block: 20px calc(104px + env(safe-area-inset-bottom)); }
  .footer-links { gap: 24px; }
  .mobile-contact { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 11px 20px calc(11px + env(safe-area-inset-bottom)); background: #fffffff5; backdrop-filter: blur(14px); border-top: 1px solid #d4e1ee; box-shadow: 0 -4px 22px #132b4d08; }
  .mobile-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(510px,100%); margin-inline: auto; }
  .mobile-selection { min-width: 0; }
  .mobile-selection span { display: block; color: var(--muted); font-size: .75rem; line-height: 1.4; }
  .mobile-selection strong { display: block; color: var(--navy); font: 800 1.25rem/1.5 var(--heading); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .mobile-contact .button { min-height: 48px; padding-inline: 16px; font-size: .9375rem; }
  .mobile-contact .icon { width: 21px; height: 21px; }
  .dialog-heading { padding: 21px; }
  .dialog-body { padding: 22px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.15rem; }
  .hero-facts { gap: 14px; }
  .hero-facts > div + div { padding-left: 14px; }
  .hero-facts span { font-size: .75rem; }
  .hero-facts strong { font-size: .875rem; }
  .calculator-stage { padding-inline: 10px; }
  .calculator { padding-inline: 16px; }
  .calculator h2 { font-size: 1.125rem; }
  .calculator-icon { padding: 7px; }
  .amount-display output { font-size: clamp(1.5rem,7.5vw,1.875rem); }
  .amount-display output span { font-size: 1rem; }
  .amount-presets { gap: 5px; }
  .amount-presets button { font-size: .875rem; }
  .summary-row { font-size: .875rem; }
  .summary-total > strong { font-size: 1.5rem; }
  .mobile-contact { padding-inline: 16px; }
  .mobile-contact .button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
