:root {

  --ink: #2A0D0D;

  --ink-soft: #744545;

  --paper: #FFF7F7;

  --surface: #FFFFFF;

  --line: #F0CACA;

  --primary: #DC2626;

  --primary-dark: #991B1B;

  --secondary: #EF4444;

  --accent: #F97316;

  --pop: #FB7185;

  --rose: #E11D48;

  --sky: #7F1D1D;

  --deep: #B91C1C;

  --success: #16A34A;

  --danger: #991B1B;

  --shadow: 0 24px 80px #2A0D0D1f;

  --radius: 28px;

  --max: 1200px;

}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: #00000000; }
a { color: inherit; }
svg { stroke-width: 1.8; }
::selection { background: var(--pop); color: var(--ink); }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: 10px 16px; background: var(--surface); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 10px;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.section-kicker {
  margin: 0 0 14px; color: var(--primary-dark); font-weight: 850;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.section-title {
  margin: 0; max-width: 780px; font-size: clamp(2.15rem, 5vw, 4.85rem);
  line-height: .98; letter-spacing: -.055em; font-weight: 900;
}
.section-copy { max-width: 680px; margin: 22px 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.text-link { color: var(--primary-dark); font-weight: 800; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: 92px; color: var(--surface); }
.site-header.scrolled {
  position: fixed; height: 76px; background: #052630f0;
  box-shadow: 0 12px 40px #00000024; backdrop-filter: blur(18px);
  animation: headerDrop .35s ease both;
}
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 900; letter-spacing: -.035em; font-size: 1.22rem; color: var(--surface); }
.brand-mark {
  width: 39px; height: 39px; position: relative; display: grid; place-items: center;
  border-radius: 13px; background: linear-gradient(135deg, var(--pop), var(--accent));
  color: var(--ink); transform: rotate(-7deg);
}
.brand-mark::after { content: ""; position: absolute; inset: 5px; border: 1px solid #05263055; border-radius: 9px; }
.brand-mark svg { width: 21px; position: relative; z-index: 1; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: #ffffffe0; text-decoration: none; font-size: .91rem; font-weight: 700; position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -7px; background: var(--pop); transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-cta { padding: 11px 18px; border-radius: 13px; background: var(--pop); color: var(--ink) !important; }
.menu-toggle { display: none; border: 0; background: #ffffff16; color: var(--surface); width: 44px; height: 44px; border-radius: 12px; place-items: center; cursor: pointer; }

.hero { min-height: 100svh; overflow: hidden; color: var(--surface); background: radial-gradient(circle at 13% 19%, #0891B273 0, #0891B200 29%), radial-gradient(circle at 80% 69%, #06B6D44f 0, #06B6D400 35%), linear-gradient(125deg, #052630 0%, #10B981 48%, #261c69 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(#ffffff30 1px, #00000000 1px), linear-gradient(90deg, #ffffff30 1px, #00000000 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000000, #00000000); }
.hero-inner { position: relative; min-height: 70svh; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 50px; padding-top: 120px; padding-bottom: 20px; }
.hero-copy { position: relative; z-index: 3; max-width: 710px; }
.hero h1 { margin: 0; font-weight: 950; font-size: clamp(3.35rem, 7vw, 7.5rem); line-height: .84; letter-spacing: -.070em; }
.hero h1 span { display: block; color: var(--pop); }
.hero-promise { max-width: 620px; margin: 27px 0 0; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.05; letter-spacing: -.035em; }
.hero-copy > p { max-width: 620px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #ffffffc9; margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 22px; border: 2px solid #00000000; border-radius: 15px; text-decoration: none; font-weight: 850; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: var(--ink); background: var(--pop); box-shadow: 0 12px 30px #22D3EE38; }
.btn-primary:hover { box-shadow: 0 18px 38px #22D3EE55; }
.btn-ghost { color: var(--surface); border-color: #ffffff4a; background: #ffffff0d; }
.btn-dark { color: var(--surface); background: var(--ink); }
.btn-light { color: var(--ink); background: var(--surface); }
.btn svg { width: 19px; height: 19px; }

.hero-visual { min-height: 590px; position: relative; display: grid; place-items: center; isolation: isolate; }
.visual-halo { position: absolute; width: min(43vw, 515px); aspect-ratio: 1; border: 1px solid #ffffff30; border-radius: 50%; animation: slowSpin 28s linear infinite; }
.visual-halo::before, .visual-halo::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed #ffffff3d; }
.visual-halo::before { inset: 11%; animation: slowSpin 18s linear infinite reverse; }
.visual-halo::after { inset: 26%; }
@keyframes slowSpin { to { transform: rotate(360deg); } }
.finance-core { width: min(25vw, 290px); aspect-ratio: 1; border-radius: 38% 62% 56% 44% / 46% 42% 58% 54%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(140deg, var(--pop), var(--accent)); box-shadow: 0 35px 90px #00000040, inset 0 0 0 14px #ffffff1f; animation: coreMorph 7s ease-in-out infinite; }
.finance-core svg { width: 43%; height: 43%; stroke-width: 1.6; }
@keyframes coreMorph { 0%, 100% { border-radius: 38% 62% 56% 44% / 46% 42% 58% 54%; transform: rotate(-4deg) translateY(0); } 50% { border-radius: 58% 42% 40% 60% / 55% 59% 41% 45%; transform: rotate(4deg) translateY(-12px); } }
.orbit-icon { position: absolute; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; color: var(--surface); background: #ffffff14; border: 1px solid #ffffff35; box-shadow: 0 20px 45px #00000033; backdrop-filter: blur(10px); animation: iconFloat 5s ease-in-out infinite; }
.orbit-icon svg { width: 30px; height: 30px; }
.orbit-icon:nth-of-type(1) { top: 13%; left: 14%; color: var(--secondary); }
.orbit-icon:nth-of-type(2) { top: 18%; right: 4%; color: var(--pop); animation-delay: -.7s; }
.orbit-icon:nth-of-type(3) { bottom: 16%; right: 7%; color: var(--accent); animation-delay: -1.4s; }
.orbit-icon:nth-of-type(4) { bottom: 12%; left: 10%; color: var(--sky); animation-delay: -2.1s; }
@keyframes iconFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-17px) rotate(5deg); } }

.ticker { overflow: hidden; background: var(--pop); color: var(--ink); border-block: 2px solid var(--ink); transform: rotate(-1deg) scale(1.02); position: relative; z-index: 2; }
.ticker-track { width: max-content; display: flex; gap: 32px; padding: 15px 0; animation: ticker 30s linear infinite; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ticker-track span { display: inline-flex; align-items: center; gap: 32px; }
.ticker-track span::after { content: "/"; color: var(--primary); }
@keyframes ticker { to { transform: translateX(-50%); } }

.about { background: var(--paper); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.about-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.trust-shape { width: min(78vw, 430px); aspect-ratio: 1; background: var(--primary); border-radius: 50% 50% 18% 50%; transform: rotate(-9deg); position: relative; box-shadow: 28px 28px 0 var(--secondary); }
.trust-shape::before { content: ""; position: absolute; inset: 15%; border: 2px solid #ffffff4f; border-radius: inherit; }
.trust-icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--surface); transform: rotate(9deg); }
.trust-icon svg { width: 41%; height: 41%; stroke-width: 1.2; }
.trust-spark { position: absolute; width: 88px; height: 88px; display: grid; place-items: center; color: var(--ink); background: var(--pop); border: 3px solid var(--ink); border-radius: 50%; right: 0; top: 6%; animation: pulseRing 3s ease-in-out infinite; }
@keyframes pulseRing { 50% { transform: scale(1.08) rotate(12deg); box-shadow: 0 0 0 18px #22D3EE24; } }
.about-copy .section-title { font-size: clamp(2.5rem, 5vw, 5.2rem); }
.about-principles { margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.about-principles li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-principles svg { color: var(--primary); }
.about-principles strong { display: block; margin-bottom: 3px; }
.about-principles span { color: var(--ink-soft); }

.services { background: var(--surface); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 72px; }
.services-head .section-copy { max-width: 440px; margin-bottom: 6px; }
.category { padding: 90px 0; border-top: 1px solid var(--line); }
.category-head { display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: center; margin-bottom: 48px; }
.category-number { color: var(--primary); font-size: .77rem; font-weight: 900; letter-spacing: .15em; }
.category-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 26px; transform: rotate(-5deg); }
.category-icon svg { width: 39px; height: 39px; }
.category-title { display: flex; align-items: center; gap: 24px; }
.category-title h3 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.045em; margin: 0; }
.category-title p { max-width: 510px; margin: 9px 0 0; color: var(--ink-soft); }
.service-item { transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.service-item h4 { margin: 0 0 9px; font-size: 1.16rem; line-height: 1.25; }
.service-item p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.mini-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; }
.mini-icon svg { width: 20px; height: 20px; }

.loans .category-icon { background: var(--pop); color: var(--ink); }
.loan-list { counter-reset: loan; display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; }
.loan-list .service-item { counter-increment: loan; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.loan-list .service-item::before { content: "0" counter(loan); font-weight: 900; color: var(--primary); font-size: .78rem; padding-top: 4px; }
.loan-list .service-item:hover { transform: translateX(8px); }

.insurance { background: #f2f0ff; width: 100vw; margin-left: calc(50% - 50vw); padding-inline: max(20px, calc((100vw - var(--max)) / 2)); }
.insurance .category-icon { background: var(--primary); color: var(--surface); }
.insurance-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.insurance-grid .service-item { grid-column: span 2; padding: 25px; border: 1px solid #cfc8ff; border-radius: 22px; background: #ffffff8f; }
.insurance-grid .service-item:nth-child(1), .insurance-grid .service-item:nth-child(5) { grid-column: span 3; }
.insurance-grid .service-item:hover { transform: translateY(-7px) rotate(-1deg); background: var(--surface); border-color: var(--primary); }
.insurance-grid .mini-icon { margin-bottom: 19px; background: var(--primary); color: var(--surface); }

.investments .category-icon { background: var(--secondary); color: var(--ink); }
.investment-stack { display: grid; gap: 8px; }
.investment-stack .service-item { display: grid; grid-template-columns: 82px .55fr 1fr 42px; align-items: center; gap: 26px; padding: 29px 22px; border-bottom: 2px solid var(--ink); }
.investment-stack .service-item:first-child { border-top: 2px solid var(--ink); }
.investment-stack .service-item:hover { background: var(--secondary); padding-left: 32px; }
.investment-stack .mini-icon { background: var(--ink); color: var(--secondary); }
.investment-stack .arrow { transition: transform .25s ease; }
.investment-stack .service-item:hover .arrow { transform: translateX(7px); }

.wealth { background: var(--ink); color: var(--surface); width: 100vw; margin-left: calc(50% - 50vw); padding-inline: max(20px, calc((100vw - var(--max)) / 2)); }
.wealth .category-number, .wealth .category-title p { color: #ffffffa8; }
.wealth .category-icon { background: var(--accent); color: var(--ink); }
.wealth-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #ffffff2b; }
.wealth-grid .service-item { padding: 32px; min-height: 260px; border-right: 1px solid #ffffff2b; border-bottom: 1px solid #ffffff2b; position: relative; overflow: hidden; }
.wealth-grid .service-item:nth-child(3n) { border-right: 0; }
.wealth-grid .service-item:nth-last-child(-n+3) { border-bottom: 0; }
.wealth-grid .service-item::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--primary); filter: blur(4px); right: -140px; bottom: -140px; transition: transform .4s ease; }
.wealth-grid .service-item:hover::before { transform: translate(-48px, -48px) scale(1.2); }
.wealth-grid .service-item:hover { background: #ffffff0c; }
.wealth-grid .mini-icon { background: #ffffff12; color: var(--pop); margin-bottom: 45px; }
.wealth-grid p { color: #ffffffac; position: relative; }
.wealth-grid h4 { position: relative; }

.payments .category-icon { background: var(--sky); color: var(--ink); }
.payment-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; position: relative; }
.payment-flow::before { content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 9px, #00000000 9px 18px); }
.payment-flow .service-item { text-align: center; padding: 0 10px 54px; position: relative; }
.payment-flow .mini-icon { width: 72px; height: 72px; margin: 0 auto 23px; background: var(--surface); border: 2px solid var(--sky); color: var(--ink); box-shadow: 0 0 0 9px var(--surface); position: relative; z-index: 1; border-radius: 50%; }
.payment-flow .service-item:hover .mini-icon { transform: rotate(9deg) scale(1.1); background: var(--sky); }

.debt { background: #fff4ef; width: 100vw; margin-left: calc(50% - 50vw); padding-inline: max(20px, calc((100vw - var(--max)) / 2)); }
.debt .category-icon { background: var(--accent); color: var(--ink); }
.debt-path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: debt; }
.debt-path .service-item { counter-increment: debt; padding-top: 28px; border-top: 5px solid var(--accent); position: relative; }
.debt-path .service-item::after { content: counter(debt); position: absolute; top: -30px; right: 0; font-size: 5rem; line-height: 1; font-weight: 950; color: #F9731620; }
.debt-path .mini-icon { background: var(--accent); color: var(--ink); margin-bottom: 22px; }
.debt-path .service-item:hover { transform: translateY(-8px); }

.home .category-icon { background: var(--rose); color: var(--surface); }
.home-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: center; }
.home-symbol { aspect-ratio: 1; max-width: 360px; display: grid; place-items: center; border: 3px solid var(--rose); border-radius: 50%; position: relative; color: var(--rose); }
.home-symbol::before, .home-symbol::after { content: ""; position: absolute; border: 2px dashed var(--line); border-radius: 50%; animation: slowSpin 22s linear infinite; }
.home-symbol::before { inset: 10%; }
.home-symbol::after { inset: -8%; animation-direction: reverse; }
.home-symbol svg { width: 37%; height: 37%; }
.home-plan { border-top: 1px solid var(--line); }
.home-plan .service-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.home-plan .mini-icon { background: #2DD4BF17; color: var(--rose); }
.home-plan .service-item:hover { transform: translateX(10px); }

.auto { background: #eefbff; width: 100vw; margin-left: calc(50% - 50vw); padding-inline: max(20px, calc((100vw - var(--max)) / 2)); }
.auto .category-icon { background: var(--ink); color: var(--sky); }
.auto-garage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.auto-garage .service-item { background: var(--surface); border-radius: 8px 34px 8px 34px; padding: 28px; border-left: 5px solid var(--sky); box-shadow: 0 13px 30px #0526300c; }
.auto-garage .service-item:hover { transform: translateY(-8px); border-left-color: var(--accent); }
.auto-garage .mini-icon { background: var(--ink); color: var(--sky); margin-bottom: 22px; border-radius: 50% 50% 50% 12px; }

.why { background: var(--pop); overflow: hidden; }
.why::before { content: ""; position: absolute; width: 620px; height: 620px; border: 110px solid #ffffff40; border-radius: 50%; right: -230px; top: -170px; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; position: relative; }
.why .section-title { font-size: clamp(2.5rem, 5vw, 5.4rem); }
.why-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.why-list li { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 27px 0; border-bottom: 2px solid var(--ink); }
.why-list .num { font-size: .8rem; font-weight: 900; }
.why-list h3 { margin: 0 0 6px; font-size: 1.25rem; }
.why-list p { margin: 0; color: #052630bd; }

.testimonials { background: var(--deep); color: var(--surface); overflow: hidden; }
.testimonials .section-kicker { color: var(--pop); }
.testimonials-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.carousel-controls { display: flex; gap: 10px; }
.round-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ffffff3d; border-radius: 50%; color: var(--surface); background: #ffffff0d; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.round-btn:hover { background: var(--primary); transform: scale(1.06); }
.testimonial-carousel { overflow: hidden; }
.testimonial-track { display: flex; transition: transform .65s cubic-bezier(.22, .8, .25, 1); }
.testimonial { min-width: 100%; display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: center; padding: 26px 0; }
.avatar-art { width: 200px; aspect-ratio: 1; border-radius: 48% 52% 42% 58%; background: linear-gradient(145deg, var(--primary), var(--rose)); display: grid; place-items: center; border: 2px solid #ffffff3d; position: relative; }
.avatar-art::before { content: ""; position: absolute; inset: 13px; border: 1px dashed #ffffff66; border-radius: inherit; }
.avatar-art svg { width: 78px; height: 78px; position: relative; }
.testimonial:nth-child(2) .avatar-art { background: linear-gradient(145deg, var(--secondary), var(--sky)); }
.testimonial:nth-child(3) .avatar-art { background: linear-gradient(145deg, var(--accent), var(--pop)); color: var(--ink); }
.testimonial:nth-child(4) .avatar-art { background: linear-gradient(145deg, var(--rose), var(--primary)); }
.stars { display: flex; gap: 5px; color: var(--pop); margin-bottom: 22px; }
.stars svg { width: 19px; fill: var(--pop); }
.quote { margin: 0 0 30px; max-width: 790px; font-size: clamp(1.45rem, 3vw, 2.45rem); line-height: 1.32; letter-spacing: -.03em; font-weight: 700; }
.person { display: flex; align-items: center; gap: 13px; }
.person strong { display: block; }
.person span { display: block; color: #ffffff9c; font-size: .9rem; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.carousel-dot { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 5px; background: #ffffff35; cursor: pointer; transition: width .25s ease, background .25s ease; }
.carousel-dot.active { width: 62px; background: var(--pop); }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-routes { margin-top: 46px; border-top: 1px solid var(--line); }
.contact-route { display: flex; align-items: center; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-route svg { color: var(--primary); }
.contact-route span { color: var(--ink-soft); }
.form-panel { padding: 42px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form-panel h3 { font-size: 1.65rem; margin: 0 0 8px; letter-spacing: -.03em; }
.form-panel > p { margin: 0 0 30px; color: var(--ink-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.spaced { margin-top: 17px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 850; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #b9c7d6; border-radius: 13px; padding: 14px 15px; color: var(--ink); background: var(--surface); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px #0891B21a; }
.form-submit { margin-top: 23px; width: 100%; }
.form-status { display: none; margin-top: 20px; border-radius: 14px; padding: 15px 17px; font-weight: 750; }
.form-status.success { display: flex; align-items: center; gap: 10px; background: #e4f8f0; color: var(--success); animation: statusIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes statusIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.success-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.burst-dot { position: absolute; width: 10px; height: 10px; border-radius: 3px; animation: burst 1s ease-out both; }
@keyframes burst { from { opacity: 1; transform: translate(0,0) rotate(0); } to { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(260deg); } }

.newsletter { background: var(--primary); color: var(--surface); overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 330px; height: 330px; background: var(--secondary); border-radius: 41% 59% 70% 30%; top: -170px; left: -90px; animation: coreMorph 12s ease-in-out infinite; }
.newsletter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; position: relative; }
.newsletter .section-kicker { color: var(--pop); }
.newsletter-copy p { color: #ffffffc2; max-width: 490px; }
.newsletter-form { padding: 38px; background: var(--surface); color: var(--ink); border-radius: 8px 38px 8px 38px; box-shadow: 18px 18px 0 var(--pop); }
.newsletter-form .form-grid { gap: 17px; }
.checkbox-field { grid-column: 1 / -1; display: grid; grid-template-columns: 21px 1fr; gap: 11px; align-items: start; margin-top: 4px; }
.checkbox-field input { width: 19px; height: 19px; accent-color: var(--primary); margin-top: 3px; }
.checkbox-field label { font-size: .86rem; color: var(--ink-soft); }
.newsletter-note { margin: 23px 0 0; font-size: .83rem; color: var(--ink-soft); }
.newsletter-note button { padding: 0; border: 0; background: none; color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; cursor: pointer; }

.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-question { width: 100%; display: grid; grid-template-columns: 1fr 34px; gap: 22px; align-items: center; text-align: left; border: 0; background: none; padding: 25px 0; color: var(--ink); font-weight: 850; font-size: 1.08rem; cursor: pointer; }
.faq-toggle { width: 31px; height: 31px; border-radius: 50%; background: var(--pop); display: grid; place-items: center; transition: transform .3s ease, background .3s ease; }
.faq-toggle svg { width: 17px; }
.faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); background: var(--secondary); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 52px 24px 0; color: var(--ink-soft); }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

.legal-content { padding-top: 160px; padding-bottom: 80px; background: var(--paper); }
.legal-content .shell { max-width: 900px; }
.legal-content .sheet-body { background: var(--surface); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.legal-content h2 { font-size: 2.5rem; margin: 0 0 10px; letter-spacing: -.04em; }
.legal-content p { color: var(--ink-soft); margin: 0 0 15px; }
.legal-content h3 { margin: 30px 0 8px; font-size: 1.15rem; }

.footer { background: var(--ink); color: var(--surface); padding: 76px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 70px; padding-bottom: 56px; }
.footer-brand p { color: #ffffff9c; max-width: 440px; margin: 22px 0 0; }
.footer h3 { margin: 4px 0 20px; font-size: .84rem; text-transform: uppercase; letter-spacing: .12em; color: var(--pop); }
.footer-links { display: grid; gap: 11px; }
.footer-links a, .footer-links button { color: #ffffffc0; text-decoration: none; background: none; border: 0; padding: 0; width: max-content; cursor: pointer; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: var(--surface); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 25px; border-top: 1px solid #ffffff21; color: #ffffff80; font-size: .85rem; }
.footer-bottom p { margin: 0; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 200; max-width: 380px; display: flex; gap: 12px; align-items: center; padding: 15px 18px; border-radius: 15px; color: var(--surface); background: var(--ink); box-shadow: var(--shadow); transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { color: var(--secondary); flex: 0 0 auto; }
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.confetti { position: absolute; top: -20px; width: 10px; height: 18px; animation: confettiFall var(--duration) cubic-bezier(.2,.6,.4,1) var(--delay) both; }
@keyframes confettiFall { to { transform: translate(var(--drift), 110vh) rotate(800deg); } }

[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].revealed { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 76px 16px auto; display: none; padding: 25px; border-radius: 20px; background: var(--ink); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .menu-toggle { display: grid; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 140px; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 480px; }
  .visual-halo { width: min(78vw, 480px); }
  .finance-core { width: min(45vw, 265px); }
  .about-grid, .why-grid, .contact-grid, .newsletter-grid, .faq-grid { grid-template-columns: 1fr; gap: 58px; }
  .about-visual { min-height: 450px; order: 2; }
  .services-head { display: block; }
  .category-head { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-grid .service-item, .insurance-grid .service-item:nth-child(1), .insurance-grid .service-item:nth-child(5) { grid-column: span 1; }
  .wealth-grid { grid-template-columns: repeat(2, 1fr); }
  .wealth-grid .service-item:nth-child(3n) { border-right: 1px solid #ffffff2b; }
  .wealth-grid .service-item:nth-child(2n) { border-right: 0; }
  .wealth-grid .service-item:nth-last-child(-n+3) { border-bottom: 1px solid #ffffff2b; }
  .wealth-grid .service-item:nth-last-child(-n+2) { border-bottom: 0; }
  .payment-flow { grid-template-columns: repeat(2, 1fr); }
  .payment-flow::before { display: none; }
  .home-layout { grid-template-columns: 1fr; }
  .home-symbol { margin-inline: auto; }
  .contact-copy, .faq-intro { position: static; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 82px 0; }
  .legal-content { padding-top: 120px; }
  .hero h1 { font-size: clamp(3.15rem, 18vw, 5.3rem); }
  .hero-inner { gap: 14px; padding-bottom: 15px; }
  .hero-visual { min-height: 390px; }
  .orbit-icon { width: 56px; height: 56px; border-radius: 17px; }
  .orbit-icon svg { width: 25px; }
  .about-visual { min-height: 370px; }
  .trust-shape { width: min(75vw, 330px); }
  .trust-spark { width: 68px; height: 68px; right: 5px; }
  .services-head { margin-bottom: 45px; }
  .category { padding: 70px 0; }
  .category-title { align-items: start; gap: 15px; }
  .category-title h3 { font-size: 2.6rem; }
  .category-icon { width: 66px; height: 66px; border-radius: 20px; }
  .category-icon svg { width: 30px; }
  .loan-list, .insurance-grid, .wealth-grid, .payment-flow, .debt-path, .auto-garage { grid-template-columns: 1fr; }
  .insurance-grid .service-item { border-radius: 16px; }
  .investment-stack .service-item { grid-template-columns: 52px 1fr 28px; gap: 15px; }
  .investment-stack .service-item p { grid-column: 2 / -1; }
  .wealth-grid .service-item, .wealth-grid .service-item:nth-child(3n), .wealth-grid .service-item:nth-child(2n) { border-right: 0; border-bottom: 1px solid #ffffff2b; }
  .wealth-grid .service-item:last-child { border-bottom: 0; }
  .payment-flow .service-item { text-align: left; display: grid; grid-template-columns: 64px 1fr; gap: 17px; padding: 0 0 32px; }
  .payment-flow .mini-icon { width: 58px; height: 58px; margin: 0; }
  .payment-flow .service-item p { grid-column: 2; }
  .testimonial { grid-template-columns: 1fr; gap: 30px; }
  .avatar-art { width: 130px; }
  .avatar-art svg { width: 55px; height: 55px; }
  .testimonials-head { align-items: start; flex-direction: column; }
  .form-panel, .newsletter-form, .legal-content .sheet-body { padding: 25px 20px; }
  .newsletter-form { box-shadow: 10px 10px 0 var(--pop); }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .checkbox-field { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Fix for inner page headers */
.site-header.header-solid {
  position: fixed;
  height: 76px;
  background: #052630; /* Solid dark green background */
  box-shadow: 0 4px 20px rgba(5, 38, 48, 0.15);
}

.site-header.header-solid.scrolled {
  background: #052630; /* Keep it solid when scrolled */
  backdrop-filter: none;
  box-shadow: 0 12px 40px #00000024;
}