/* =========================================================
   Crown Bank — Custom Styles (Bootstrap 5 add-on)
   Palette taken from the Crown logo: navy + orange
   ========================================================= */

:root {
  --navy: #14265d;
  --navy-dark: #0c1738;
  --navy-soft: #24397c;
  --orange: #f7941d;
  --orange-dark: #de7d09;
  --green: #22a45d;
  --purple: #7c3aed;
  --teal: #0ea5a4;
  --red: #e5484d;
  --ink: #101828;
  --muted: #64748b;
  --line: #e6eaf2;
  --bg-soft: #f6f8fc;
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(20, 38, 93, .06);
  --shadow-md: 0 12px 34px rgba(20, 38, 93, .10);
  --shadow-lg: 0 24px 60px rgba(20, 38, 93, .16);
}

/* Smooth scrolling is applied to the viewport via the root element.
   Note: do NOT move overflow-x below onto <html> — it breaks position: sticky. */
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
p { color: var(--muted); line-height: 1.75; }
a { text-decoration: none; }
section { scroll-margin-top: 90px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; padding: .65rem 1.15rem; transition: .25s ease; }

.btn-brand {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(247, 148, 29, .28);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(247, 148, 29, .36);
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.link-arrow { color: var(--orange); font-weight: 700; font-size: .93rem; }
.link-arrow i { transition: transform .25s ease; display: inline-block; }
.link-arrow:hover { color: var(--orange-dark); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Section helpers ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }

.section-head { max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .75rem; }
.section-head p { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .7rem;
}
.eyebrow--light { color: #ffc46b; }

.text-gradient {
  background: linear-gradient(100deg, var(--orange), #ffbf5e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  padding: 9px 0;
}
.topbar a { color: rgba(255, 255, 255, .7); transition: .2s; }
.topbar a:hover { color: var(--orange); }
.topbar-badge {
  background: rgba(34, 164, 93, .18);
  color: #6ee7a8;
  border-radius: 30px;
  padding: 3px 12px;
  font-weight: 600;
  font-size: .76rem;
}

/* ---------- Navbar ---------- */
.site-nav {
  background: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 24px rgba(20, 38, 93, .08);
  border-bottom-color: var(--line);
}
.site-nav .nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: .94rem;
  padding: .5rem .85rem !important;
  border-radius: 8px;
  position: relative;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--orange); }
.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1.4rem;
  line-height: 1;
  padding: .35rem .6rem;
  color: var(--navy);
}
.navbar-toggler:focus { box-shadow: none; }

/* Mobile drawer — slides in from the right */
.nav-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--line);
  padding: 16px 22px;
}
.nav-offcanvas .offcanvas-body { padding: 8px 22px 26px; }

.nav-drawer-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-drawer-foot > a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.nav-drawer-foot > a i { color: var(--orange); margin-right: 8px; }
.nav-drawer-foot .social-row a {
  background: var(--bg-soft);
  color: var(--navy);
  width: 36px; height: 36px;
}
.nav-drawer-foot .social-row a:hover { background: var(--orange); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-soft) 100%);
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
}
.hero-blob--1 { width: 420px; height: 420px; background: var(--orange); top: -140px; right: -80px; }
.hero-blob--2 { width: 360px; height: 360px; background: #2f6df6; bottom: -160px; left: -100px; opacity: .4; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 7px 16px;
  border-radius: 40px;
  font-size: .84rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.pill-badge i { color: var(--orange); }

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
}
.hero-sub {
  color: rgba(255, 255, 255, .78);
  font-size: 1.06rem;
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0; }
.hero-points li { color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 500; }
.hero-points i { color: #4ade80; margin-right: .4rem; }

/* Hero visual */
.hero-visual { position: relative; min-height: 430px; display: flex; align-items: center; justify-content: center; }

.bank-card {
  width: 340px;
  max-width: 100%;
  aspect-ratio: 1.6 / 1;
  border-radius: 20px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #1c2f6e 0%, #0e1c46 55%, #24397c 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-6deg);
  animation: floaty 6s ease-in-out infinite;
}
.bank-card::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(247, 148, 29, .55), transparent 70%);
  right: -90px; top: -90px;
}
.bank-card__top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.bank-card__label { font-weight: 700; letter-spacing: .06em; font-size: .8rem; text-transform: uppercase; }
.bank-card__wifi { transform: rotate(90deg); opacity: .85; }
.bank-card__chip {
  width: 44px; height: 33px; border-radius: 7px;
  background: linear-gradient(135deg, #f7d488, #c9922c);
  position: relative; z-index: 2;
}
.bank-card__number {
  font-size: 1.15rem; letter-spacing: .08em; font-weight: 600;
  position: relative; z-index: 2;
}
.bank-card__bottom { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.bank-card__bottom small { display: block; font-size: .6rem; opacity: .65; letter-spacing: .1em; }
.bank-card__bottom strong { font-size: .84rem; font-weight: 600; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
}
.float-card small { display: block; font-size: .72rem; color: var(--muted); }
.float-card h5 { margin: 0; font-size: 1.15rem; }

.float-card--balance { left: -10px; top: 10px; width: 210px; animation: floaty 7s ease-in-out infinite .4s; }
.float-card--txn {
  right: -6px; bottom: 46px; display: flex; align-items: center; gap: 12px;
  animation: floaty 6.5s ease-in-out infinite .9s;
}
.float-card--txn strong { font-size: .95rem; }
.float-card--secure {
  left: 12px; bottom: 6px;
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; color: var(--navy);
  animation: floaty 8s ease-in-out infinite .2s;
}
.float-card--secure i { color: var(--green); font-size: 1.05rem; }

.ficon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto;
}
.ficon--green { background: rgba(34, 164, 93, .12); color: var(--green); }
.ficon--orange { background: rgba(247, 148, 29, .14); color: var(--orange); }

.spark { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.spark span {
  flex: 1;
  background: linear-gradient(180deg, var(--orange), #ffd39a);
  border-radius: 3px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
.bank-card { --rot: -6deg; }

/* ---------- Stats ---------- */
.stats-section { margin-top: -60px; position: relative; z-index: 5; }
.stats-wrap {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 38px 12px;
  margin: 0;
}
.stats-wrap h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--navy); margin-bottom: .2rem; }
.stats-wrap p { margin: 0; font-size: .88rem; font-weight: 600; color: var(--muted); }
.stats-wrap [class*="col-"] { border-right: 1px solid var(--line); }
.stats-wrap [class*="col-"]:last-child { border-right: 0; }

/* ---------- Service cards ---------- */
.service-card, .why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: .3s ease;
}
.service-card:hover, .why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card h5, .why-card h5 { font-size: 1.12rem; margin: 18px 0 10px; }
.service-card p, .why-card p { font-size: .93rem; margin-bottom: 14px; }
.why-card { background: #fff; }
.why-card p { margin-bottom: 0; }

.s-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  flex: 0 0 auto;
}
.s-icon--blue   { background: rgba(20, 38, 93, .09);  color: var(--navy); }
.s-icon--orange { background: rgba(247, 148, 29, .14); color: var(--orange); }
.s-icon--green  { background: rgba(34, 164, 93, .12);  color: var(--green); }
.s-icon--purple { background: rgba(124, 58, 237, .11); color: var(--purple); }
.s-icon--teal   { background: rgba(14, 165, 164, .12); color: var(--teal); }
.s-icon--red    { background: rgba(229, 72, 77, .11);  color: var(--red); }

/* ---------- Account tabs & plans ---------- */
.account-pills { gap: 10px; }
.account-pills .nav-link {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 40px;
}
.account-pills .nav-link.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: .3s ease;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.plan-card--featured {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.plan-card--featured h4,
.plan-card--featured .plan-rate { color: #fff; }
.plan-card--featured .plan-list li { color: rgba(255, 255, 255, .85); }
.plan-card--featured .plan-list i { color: #4ade80; }

.plan-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(20, 38, 93, .08);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.plan-tag--hot { background: var(--orange); color: #fff; }

.plan-card h4 { font-size: 1.35rem; margin-bottom: .35rem; }
.plan-rate { font-size: 2.1rem; font-weight: 800; color: var(--orange); margin-bottom: 18px; }
.plan-rate small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan-card--featured .plan-rate small { color: rgba(255, 255, 255, .7); }

.plan-list { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.plan-list li { font-size: .93rem; color: var(--ink); padding: 7px 0; display: flex; gap: 10px; align-items: flex-start; }
.plan-list i { color: var(--green); font-size: 1.05rem; line-height: 1.4; }

/* FD table */
.rate-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rate-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 20px;
  border: 0;
}
.rate-table td { padding: 15px 20px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.rate-table tbody tr.highlight { background: rgba(247, 148, 29, .09); }
.rate-table tbody tr.highlight td { font-weight: 700; color: var(--navy); }

.fd-note { padding-left: 12px; }
.fd-note h4 { font-size: 1.5rem; margin-bottom: .7rem; }

/* ---------- EMI Calculator ---------- */
.calc-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.calc-inputs { padding: 40px; }

.loan-types { flex-wrap: wrap; gap: 8px; }
.loan-types .btn {
  border: 1px solid var(--line);
  border-radius: 30px !important;
  color: var(--navy);
  font-size: .88rem;
  padding: .5rem 1.15rem;
  background: #fff;
}
.loan-types .btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.calc-field { margin-bottom: 34px; }
.calc-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calc-label label { font-weight: 700; color: var(--navy); font-size: .96rem; margin: 0; }
.calc-value {
  background: rgba(247, 148, 29, .12);
  color: var(--orange-dark);
  font-weight: 800;
  font-size: .95rem;
  padding: 5px 14px;
  border-radius: 8px;
}
.calc-scale { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); margin-top: 6px; }

.form-range { height: 22px; --pct: 50%; }
.form-range::-webkit-slider-runnable-track {
  height: 7px; border-radius: 10px;
  background: linear-gradient(90deg, var(--orange) 0 var(--pct), #e4e9f4 var(--pct) 100%);
}
.form-range::-moz-range-track {
  height: 7px; border-radius: 10px;
  background: linear-gradient(90deg, var(--orange) 0 var(--pct), #e4e9f4 var(--pct) 100%);
}
.form-range::-webkit-slider-thumb {
  width: 22px; height: 22px; margin-top: -7.5px;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(247, 148, 29, .5);
}
.form-range::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--orange);
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(247, 148, 29, .5);
}
.form-range:focus { box-shadow: none; }

.calc-result {
  background: linear-gradient(165deg, var(--navy-dark), var(--navy));
  padding: 40px 34px;
  height: 100%;
  text-align: center;
  color: #fff;
}
.calc-result__label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 700; }
.calc-result__emi { color: #fff; font-size: 2.5rem; margin: 6px 0 22px; }

.calc-donut {
  width: 168px; height: 168px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  background: conic-gradient(var(--orange) 0deg 176deg, #3d55a0 176deg 360deg);
  transition: background .35s ease;
}
.calc-donut__hole {
  width: 118px; height: 118px;
  border-radius: 50%;
  background: var(--navy-dark);
  display: grid; place-items: center; align-content: center;
}
.calc-donut__hole small { font-size: .7rem; color: rgba(255, 255, 255, .6); letter-spacing: .08em; text-transform: uppercase; }
.calc-donut__hole strong { font-size: 1.5rem; color: #fff; }

.calc-breakup { text-align: left; font-size: .9rem; }
.calc-breakup > div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .75);
}
.calc-breakup strong { color: #fff; font-weight: 700; }
.calc-breakup .total { border-bottom: 0; font-weight: 800; color: #fff; padding-top: 14px; }
.calc-breakup .total strong { color: var(--orange); font-size: 1.05rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.dot--navy { background: #3d55a0; }
.dot--orange { background: var(--orange); }

.calc-disclaimer { font-size: .74rem; color: rgba(255, 255, 255, .5); margin: 12px 0 0; }

/* ---------- Mini stats ---------- */
.mini-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.mini-stat h4 { font-size: 1.5rem; color: var(--orange); margin-bottom: 2px; }
.mini-stat span { font-size: .84rem; color: var(--muted); font-weight: 600; }

/* ---------- App section ---------- */
.app-section {
  background: linear-gradient(140deg, var(--navy-dark), var(--navy) 60%, #1d3070);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.app-section::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(247, 148, 29, .35), transparent 70%);
  right: -120px; bottom: -180px;
  filter: blur(60px);
}
.app-text { color: rgba(255, 255, 255, .78); max-width: 520px; }
.app-list li { color: rgba(255, 255, 255, .88); padding: 6px 0; font-size: .96rem; }
.app-list i { color: var(--orange); margin-right: .6rem; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 20px;
  transition: .25s;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .3); color: var(--navy); }
.store-btn i { font-size: 1.7rem; }
.store-btn span { display: flex; flex-direction: column; font-weight: 700; line-height: 1.2; }
.store-btn small { font-size: .65rem; font-weight: 600; color: var(--muted); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; position: relative; z-index: 2; }
.phone {
  width: 300px;
  height: 590px;
  background: #0a1230;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .12);
  position: relative;
  animation: floaty 7s ease-in-out infinite;
}
.phone__notch {
  width: 120px; height: 22px;
  background: #0a1230;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.phone__screen {
  background: #f4f6fb;
  border-radius: 32px;
  height: 100%;
  overflow: hidden;
  padding: 34px 18px 18px;
}
.ps-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ps-head small { color: var(--muted); font-size: .7rem; display: block; }
.ps-head strong { color: var(--navy); font-size: .95rem; }
.ps-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-size: .78rem; font-weight: 700;
}
.ps-balance {
  background: linear-gradient(135deg, var(--navy), #2a4291);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  margin-bottom: 16px;
}
.ps-balance small { font-size: .68rem; opacity: .7; }
.ps-balance h4 { color: #fff; font-size: 1.5rem; margin: 4px 0 6px; }
.ps-balance span { font-size: .7rem; opacity: .65; }

.ps-actions { display: flex; justify-content: space-between; margin-bottom: 18px; }
.ps-actions > div {
  flex: 1;
  text-align: center;
  font-size: .66rem;
  color: var(--navy);
  font-weight: 600;
}
.ps-actions i {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  margin: 0 auto 5px;
  border-radius: 12px;
  background: #fff;
  color: var(--orange);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.ps-list { background: #fff; border-radius: 16px; padding: 6px 12px; }
.ps-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ps-item:last-child { border-bottom: 0; }
.ps-item div { flex-grow: 1; line-height: 1.25; }
.ps-item strong { font-size: .8rem; color: var(--navy); display: block; }
.ps-item small { font-size: .66rem; color: var(--muted); }
.ps-item b { font-size: .8rem; color: var(--ink); }
.ps-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: .85rem; }
.ps-ic--g { background: rgba(34, 164, 93, .12); color: var(--green); }
.ps-ic--o { background: rgba(247, 148, 29, .14); color: var(--orange); }
.ps-ic--b { background: rgba(20, 38, 93, .1); color: var(--navy); }

/* ---------- How it works / Steps ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

/* dotted rail behind the cards + orange progress fill */
.steps-line {
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #dbe2ef 0 8px, transparent 8px 16px);
  z-index: 0;
}
.steps-line i {
  display: block;
  position: absolute;
  left: 0; top: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width .55s cubic-bezier(.4, 0, .2, 1);
}

.step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  cursor: pointer;
  transition: .35s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-card:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.step-num {
  position: absolute;
  top: 16px; right: 22px;
  font-size: 1.7rem;
  font-weight: 800;
  color: #eef1f8;
  letter-spacing: -.04em;
  transition: .35s ease;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  background: rgba(20, 38, 93, .08);
  color: var(--navy);
  transition: .35s ease;
}
.step-card h5 { font-size: 1.08rem; margin: 18px 0 8px; }
.step-card p { font-size: .9rem; margin-bottom: 16px; }
.step-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange-dark);
  background: rgba(247, 148, 29, .12);
  padding: 5px 13px;
  border-radius: 30px;
  transition: .35s ease;
}

.step-card.active {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.step-card.active .step-num { color: rgba(255, 255, 255, .13); }
.step-card.active .step-icon { background: var(--orange); color: #fff; }
.step-card.active h5 { color: #fff; }
.step-card.active p { color: rgba(255, 255, 255, .75); }
.step-card.active .step-time { background: rgba(255, 255, 255, .14); color: #ffc46b; }

.steps-foot {
  margin-top: 46px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.steps-foot h6 { font-size: 1rem; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.doc-chips i { color: var(--green); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 14px !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--navy);
  padding: 20px 24px;
  font-size: 1rem;
  background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--orange);
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-button::after {
  background-image: none;
  content: "\f4fe";
  font-family: "bootstrap-icons";
  transform: none;
  font-size: 1rem;
  color: var(--orange);
  transition: transform .25s;
}
.faq-accordion .accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.faq-accordion .accordion-body { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact-info {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  height: 100%;
}
.ci-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.ci-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-item:first-child { padding-top: 0; }
.ci-item h6 { font-size: .95rem; margin-bottom: 4px; }
.ci-item p { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.6; }
.ci-item small { color: var(--muted); font-size: .78rem; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .9rem;
  font-size: .94rem;
  background-color: #fbfcfe;
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, .15);
  background-color: #fff;
}
.input-group-text { background: #f1f4fa; border: 1px solid var(--line); border-right: 0; font-weight: 600; color: var(--navy); border-radius: 10px 0 0 10px; }
.form-check-input:checked { background-color: var(--orange); border-color: var(--orange); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(247, 148, 29, .15); border-color: var(--orange); }
.form-check-label { font-size: .86rem; color: var(--muted); }
.form-note { font-size: .82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .68);
  padding: 70px 0 0;
}
.site-footer h6 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-about { font-size: .9rem; color: rgba(255, 255, 255, .6); line-height: 1.8; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, .65); font-size: .9rem; transition: .2s; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid; place-items: center;
  transition: .25s;
}
.social-row a:hover { background: var(--orange); transform: translateY(-3px); }

.newsletter { display: flex; gap: 8px; }
.newsletter .form-control {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}
.newsletter .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter .btn { padding: .7rem 1.1rem; }
.news-msg { display: block; margin-top: 8px; font-size: .8rem; color: #6ee7a8; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .7); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 20px;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Back to top + toast ---------- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(247, 148, 29, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .3s ease;
  z-index: 1040;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange-dark); }

#successToast { background: var(--navy); color: #fff; border: 0; }
#successToast .toast-body i { color: #4ade80; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bank-card, .float-card, .phone { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 70px 0 100px; }

  .nav-offcanvas { width: 310px !important; max-width: 85vw; }
  .site-nav .navbar-nav .nav-link {
    padding: .85rem .2rem !important;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .site-nav .navbar-nav .nav-link::after { display: none; }
  .site-nav .navbar-nav .nav-link.active { color: var(--orange); }
  .site-nav .nav-cta { flex-direction: column; gap: 10px !important; margin-top: 22px; }
  .site-nav .nav-cta .btn { width: 100%; padding: .72rem 1rem; font-size: .95rem; }

  .hero-visual { min-height: 380px; margin-top: 40px; }
  .float-card--balance { left: 0; top: 0; }
  .float-card--txn { right: 0; }
  .stats-wrap [class*="col-"]:nth-child(2) { border-right: 0; }
  .stats-wrap [class*="col-"]:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .calc-inputs { padding: 30px 24px; }
  .fd-note { padding-left: 0; margin-top: 24px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .step-card.active { transform: none; }
  .step-card.active:hover { transform: translateY(-4px); }
}

@media (max-width: 575.98px) {
  .section { padding: 56px 0; }
  .hero-points { gap: .8rem 1.2rem; }
  .bank-card { width: 290px; padding: 18px; }
  .bank-card__number { font-size: 1rem; }
  .float-card--balance { width: 170px; padding: 12px; }
  .float-card--txn { bottom: 20px; padding: 10px 12px; }
  .float-card--secure { display: none; }
  .contact-form { padding: 24px 20px; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-foot { padding: 22px 20px; }
  .steps-foot .btn { width: 100%; }
  .phone { width: 265px; height: 540px; }
  .stats-wrap { padding: 26px 6px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
