/* ==========================================================================
   CashoCredit — Main Stylesheet
   ========================================================================== */

:root {
  --navy-950: #06152b;
  --navy-900: #081c38;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4277;
  --emerald-700: #0b7f65;
  --emerald-600: #0e9f7e;
  --emerald-500: #12b886;
  --emerald-400: #38d9a9;
  --emerald-50: #e9f9f3;
  --gold-500: #f5b700;
  --gold-400: #ffc933;
  --ink: #0f1b2d;
  --body: #43536b;
  --muted: #6b7a90;
  --line: #e3e9f1;
  --soft: #f4f7fb;
  --white: #fff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --shadow: 0 14px 34px -14px rgba(11, 37, 69, .22);
  --shadow-lg: 0 34px 70px -24px rgba(6, 21, 43, .45);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--ink); font-weight: 800; line-height: 1.18; letter-spacing: -.022em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--emerald-400); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--navy-800); color: #fff; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 14px 26px; border: 2px solid transparent; border-radius: 12px;
  font: 700 .98rem/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--emerald-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 159, 126, .7); }
.btn-primary:hover { background: var(--emerald-700); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(14, 159, 126, .8); }
.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(245, 183, 0, .7); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--emerald-600); color: var(--emerald-700); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--emerald-700); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(11, 37, 69, .35); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy-800); }
.brand img { width: 42px; height: 42px; }
.brand-accent { color: var(--emerald-600); }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; font-size: .97rem; color: #33445c; transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--navy-800); background: var(--soft); }
.main-nav a.active { color: var(--emerald-700); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px;
  border-radius: 3px; background: var(--emerald-600);
}
.nav-mobile-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-apply { padding: 12px 22px; }
.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy-800);
  transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Generic sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: linear-gradient(165deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700)); color: #c3cee0; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #a9b7cc; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-600);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-dark .kicker { color: var(--emerald-400); }
.lead { font-size: 1.15rem; }
.text-muted { color: var(--muted); }

.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--emerald-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9f7e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

.icon-tile {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--emerald-50); color: var(--emerald-600);
}
.icon-tile .icon { width: 28px; height: 28px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.badge .icon { width: 14px; height: 14px; stroke-width: 3; }
.badge-success { background: var(--emerald-50); color: var(--emerald-700); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #c8d3e6; padding: 96px 0 150px;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(18, 184, 134, .28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(245, 183, 0, .12), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #c8d3e6; max-width: 560px; margin-bottom: 34px; }
.hl {
  background: linear-gradient(90deg, var(--emerald-400), var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 7px 16px 7px 8px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .06);
  font-size: .88rem; font-weight: 600; color: #dfe7f3;
}
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--emerald-600); color: #fff; font-size: .75rem; letter-spacing: .04em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: .94rem; font-weight: 600; color: #dfe7f3; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 20px; height: 20px; color: var(--emerald-400); }

.hero-visual { position: relative; padding: 30px 10px 30px 30px; }
.app-card {
  position: relative; z-index: 1; padding: 28px; border-radius: var(--radius-lg); background: #fff; color: var(--body);
  box-shadow: var(--shadow-lg);
}
.app-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.app-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.app-card-head strong { font-size: 1.25rem; }
.app-progress { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; margin-bottom: 22px; }
.app-progress span { display: block; width: 82%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400)); }
.app-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.app-steps li:last-child { padding-bottom: 0; }
.app-steps li:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.app-steps li.done:not(:last-child)::before { background: var(--emerald-500); }
.app-steps .dot { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); border: 2px solid var(--line); }
.app-steps .done .dot { background: var(--emerald-600); border-color: var(--emerald-600); color: #fff; }
.app-steps .dot .icon { width: 15px; height: 15px; stroke-width: 3; }
.app-steps .active .dot { border-color: var(--gold-500); background: #fff8e1; }
.app-steps .active .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-500); animation: pulse 1.6s infinite; }
.app-steps strong { display: block; font-size: .98rem; line-height: 1.3; }
.app-steps small { color: var(--muted); font-size: .85rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 183, 0, .55); } 70% { box-shadow: 0 0 0 9px rgba(245, 183, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 183, 0, 0); } }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); color: var(--body);
  animation: float 6s ease-in-out infinite;
}
.float-card .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.float-card .icon-tile .icon { width: 22px; height: 22px; }
.float-card strong { display: block; font-size: .92rem; line-height: 1.25; }
.float-card small { font-size: .8rem; color: var(--muted); }
.float-1 { top: -6px; right: -14px; }
.float-2 { bottom: -10px; left: -6px; animation-delay: -3s; }
.float-2 .icon-tile { background: #fff4d1; color: #b88600; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Highlights strip overlapping hero */
.highlights { position: relative; z-index: 3; margin-top: -78px; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.highlight { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight .icon-tile { width: 48px; height: 48px; border-radius: 14px; }
.highlight .icon-tile .icon { width: 24px; height: 24px; }
.highlight h3 { font-size: 1.02rem; margin-bottom: 4px; }
.highlight p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-text p { color: var(--body); }
.split-text .btn { margin-top: 12px; }

.intro-visual { position: relative; padding: 0 0 40px 0; }
.iv-main {
  position: relative; padding: 36px 32px 28px; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(500px 260px at 100% 0, rgba(18, 184, 134, .35), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-lg); color: #c3cee0;
}
.iv-main .iv-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.iv-main .iv-title strong { color: #fff; font-size: 1.05rem; }
.iv-main .iv-title span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #dfe7f3; }
.iv-chart { width: 100%; height: auto; }
.iv-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.iv-legend div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.iv-legend small { display: block; font-size: .75rem; color: #9fb0c8; }
.iv-legend b { color: #fff; font-size: .95rem; }
.iv-badge {
  position: absolute; right: -16px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
}
.iv-badge .icon-tile { width: 46px; height: 46px; border-radius: 12px; background: #fff4d1; color: #b88600; }
.iv-badge strong { display: block; line-height: 1.25; }
.iv-badge small { color: var(--muted); font-size: .85rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--emerald-500), var(--gold-500)); opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .icon-tile { margin-bottom: 22px; transition: background-color .3s, color .3s; }
.card:hover .icon-tile { background: var(--emerald-600); color: #fff; }
.card p { color: var(--muted); font-size: .97rem; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.card-tags li { padding: 4px 10px; border-radius: 8px; background: var(--soft); font-size: .8rem; font-weight: 600; color: #4a5a72; }
.center-cta { margin-top: 48px; text-align: center; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-grid .lead { color: #a9b7cc; }
.why-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item {
  padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09); transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.why-item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(56, 217, 169, .35); transform: translateY(-4px); }
.why-item .icon-tile { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; background: rgba(56, 217, 169, .12); color: var(--emerald-400); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .93rem; line-height: 1.6; color: #a9b7cc; }
.section-dark .deco-ring {
  position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%;
  border: 80px solid rgba(56, 217, 169, .05); pointer-events: none;
}

/* Process */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process::before {
  content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--emerald-500) 0 8px, transparent 8px 16px); opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px;
  border-radius: 50%; background: #fff; border: 2px solid var(--emerald-500); color: var(--emerald-600);
  box-shadow: 0 0 0 8px var(--soft);
}
.section:not(.section-soft) .step-num { box-shadow: 0 0 0 8px #fff; }
.step-num .icon { width: 30px; height: 30px; }
.step-num::after {
  counter-increment: step; content: counter(step); position: absolute; top: -6px; right: -6px;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); font-size: .8rem; font-weight: 800;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Testimonials */
.testimonial { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial .quote-mark { width: 40px; height: 40px; color: var(--emerald-500); opacity: .25; margin-bottom: 10px; }
.stars { display: flex; gap: 3px; color: var(--gold-500); margin-bottom: 14px; }
.stars .icon { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 24px; color: #33445c; font-size: 1rem; }
.person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--navy-700), var(--emerald-600)); color: #fff; font-weight: 800;
}
.person strong { display: block; line-height: 1.3; }
.person small { color: var(--muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.help-card { margin-top: 28px; padding: 28px; border-radius: var(--radius); background: var(--navy-800); color: #c3cee0; }
.help-card h3 { color: #fff; }
.help-card .icon-tile { width: 48px; height: 48px; margin-bottom: 16px; background: rgba(56, 217, 169, .14); color: var(--emerald-400); }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { border-color: rgba(14, 159, 126, .4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px;
  font-weight: 700; color: var(--ink); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .25s var(--ease), background-color .25s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--emerald-50);
}
.faq-answer { padding: 0 24px 22px; color: var(--body); }
.faq-answer p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; margin-bottom: 20px; }
.faq-group > h2 .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.faq-group > h2 .icon-tile .icon { width: 22px; height: 22px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
  padding: 56px 60px; border-radius: 28px; color: #e2fbf2;
  background: radial-gradient(600px 300px at 100% 0, rgba(255, 201, 51, .25), transparent 60%), linear-gradient(135deg, var(--emerald-700), var(--emerald-600) 50%, #10b18a);
  box-shadow: 0 30px 60px -28px rgba(11, 127, 101, .8);
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); pointer-events: none; }
.cta-band::before { width: 340px; height: 340px; left: -120px; bottom: -200px; }
.cta-band::after { width: 220px; height: 220px; right: 18%; top: -150px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-outline-light { border-color: rgba(255, 255, 255, .5); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 84px 0 88px; color: #c8d3e6; text-align: center;
  background: radial-gradient(700px 360px at 85% -20%, rgba(18, 184, 134, .3), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 26px 26px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .9rem; font-weight: 600; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--emerald-400); }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: #dfe7f3; }
.breadcrumb a:hover { color: #fff; }

/* About */
.value-card { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value-card .icon-tile { margin-bottom: 20px; }
.value-card p { margin: 0; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { padding: 18px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.stat b { display: block; font-size: 1.1rem; color: var(--navy-800); }
.stat small { color: var(--muted); font-size: .85rem; }
.about-visual {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: radial-gradient(400px 260px at 80% 10%, rgba(255, 201, 51, .25), transparent 60%), linear-gradient(150deg, var(--emerald-700), var(--navy-800));
  display: grid; place-items: center;
}
.about-visual svg.illustration { width: 78%; height: auto; }

/* Services detail */
.service-detail {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: 36px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease);
}
.service-detail:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-detail .icon-tile { width: 64px; height: 64px; border-radius: 18px; }
.service-detail h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-detail > div > p { color: var(--muted); }
.service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 18px 0 24px; }
.service-cols h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 12px; }
.service-cols .check-list li { font-size: .93rem; margin-bottom: 8px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.service-actions .btn { padding: 12px 22px; font-size: .93rem; }
.info-panel { padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.info-panel h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.info-panel h3 .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.info-panel h3 .icon-tile .icon { width: 22px; height: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-card .icon-tile { width: 50px; height: 50px; border-radius: 14px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--body); font-size: .97rem; }
.contact-card a:hover { color: var(--emerald-700); }
.form-card { padding: 44px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.form-field label span { color: #d14343; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft);
  font: 500 .97rem/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--emerald-500); background: #fff; box-shadow: 0 0 0 4px rgba(18, 184, 134, .15);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #d14343; background: #fff7f7; }
.field-error { min-height: 1em; font-size: .82rem; color: #c03535; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--body); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--emerald-600); flex: none; }
.checkbox a { color: var(--emerald-700); font-weight: 600; text-decoration: underline; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-status.is-success { display: flex; gap: 10px; align-items: center; background: var(--emerald-50); color: var(--emerald-700); }
.form-status.is-error { display: block; background: #fff1f1; color: #b42828; }

/* Apply page */
.apply-shell { max-width: 880px; margin: 0 auto; }
.apply-placeholder {
  position: relative; overflow: hidden; padding: 56px 48px; border-radius: 28px; text-align: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.apply-placeholder::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--emerald-500), var(--gold-500)); }
.apply-placeholder .icon-tile { width: 76px; height: 76px; border-radius: 22px; margin-bottom: 22px; }
.apply-placeholder .icon-tile .icon { width: 36px; height: 36px; }
.apply-placeholder p { max-width: 560px; margin-inline: auto; color: var(--muted); }
.selected-loan { display: none; margin: 0 auto 18px; }
.selected-loan.is-visible { display: inline-flex; }
.apply-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; text-align: left; }
.apply-steps li { padding: 20px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.apply-steps b { display: block; color: var(--ink); margin-bottom: 4px; }
.apply-steps small { color: var(--muted); font-size: .88rem; line-height: 1.5; display: block; }
.apply-steps .num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: var(--emerald-600); color: #fff; font-size: .82rem; font-weight: 800; }
.apply-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 270px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.legal-toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc li a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .9rem; font-weight: 600; color: #4a5a72; transition: background-color .2s, color .2s; }
.legal-toc li a:hover { background: #fff; color: var(--emerald-700); }
.legal-content { max-width: 800px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.legal-content section + section { margin-top: 40px; }
.legal-content h2 { font-size: 1.4rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-content ul { margin: 0 0 1em; }
.legal-content ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.legal-content ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-500); }
.legal-content a { color: var(--emerald-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notice { display: flex; gap: 14px; padding: 18px 20px; margin-bottom: 32px; border-radius: 14px; background: #fff8e1; border: 1px solid #f7e2a1; color: #6b5300; font-size: .94rem; }
.notice .icon { color: #b88600; }

/* 404 */
.error-page { padding: 120px 0; text-align: center; }
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--navy-700), var(--emerald-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0c8; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { transition: color .2s; }
.site-footer ul a:hover { color: var(--emerald-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--emerald-400); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #dfe7f3; transition: background-color .2s, transform .2s;
}
.socials a:hover { background: var(--emerald-600); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }
.footer-note { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; line-height: 1.65; color: #7f91ab; }
.footer-note p { margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom nav a:hover { color: var(--emerald-400); }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 14px; background: var(--emerald-600); color: #fff; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s var(--ease), visibility .25s, background-color .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--emerald-700); }

/* ---------- Reveal animations (only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99; padding: 24px 20px 40px;
    background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 16px 18px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.active { background: var(--emerald-50); border-radius: 10px; border-color: transparent; }
  .main-nav a.active::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
  .nav-mobile-extra a.contact-line { display: flex; align-items: center; gap: 10px; color: var(--body); font-weight: 600; }
  .nav-mobile-extra .icon { color: var(--emerald-600); }

  .hero { padding: 72px 0 140px; }
  .hero-grid, .split, .why-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process::before { display: none; }
  .faq-aside { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 48px 40px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .intro-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .split .intro-visual, .split .about-visual { order: -1; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .why-features, .service-cols, .apply-steps, .stat-row { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; padding: 28px; }
  .form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apply-placeholder { padding: 44px 24px; }
  .iv-badge { right: 8px; }
  .float-1 { right: -4px; }
}

@media (max-width: 560px) {
  .container { width: min(1200px, 100% - 32px); }
  .brand { font-size: 1.22rem; }
  .brand img { width: 36px; height: 36px; }
  .btn-apply { padding: 10px 14px; font-size: .9rem; }
  .btn-apply .icon { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; }
  .hero-visual { padding: 24px 0 30px; }
  .float-card { padding: 10px 14px; }
  .float-card small { display: none; }
  .cta-band { padding: 40px 24px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .iv-legend { grid-template-columns: 1fr 1fr; }
  .iv-legend div:last-child { display: none; }
}
