:root {
  --color-bg: #f7f7f5;
  --color-surface: #ffffff;
  --color-ink: #14181f;
  --color-ink-muted: #5b6270;
  --color-border: #e7e6e2;
  --color-primary: #12312b; /* deep forest — trust, calm */
  --color-primary-soft: #1e4a40;
  --color-accent: #c8a667; /* muted gold — premium accent, used sparingly */
  --color-success: #1e7a4c;
  --color-pending: #b4842b;
  --color-error: #b3423a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card:
    0 1px 2px rgba(20, 24, 31, 0.04), 0 8px 24px rgba(20, 24, 31, 0.06);
  --shadow-modal: 0 12px 48px rgba(20, 24, 31, 0.18);

  --font-body: -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Georgia", "Iowan Old Style", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 0.4em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
.nav {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
}
.nav-links a:hover {
  color: #1e4a40;
}

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
  border-color: #1e7a4c;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.72;
}
.btn-secondary {
  background: transparent;
  border-color: #1e7a4c;
  color: var(--color-ink);
}
.btn-secondary:hover {
  opacity: 0.6;
}
.btn-block {
  width: 100%;
}

/* --- Forms --- */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--color-surface);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.error-banner {
  background: #fbeae8;
  color: var(--color-error);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* --- Status badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}
.badge-success {
  background: #e6f2eb;
  color: var(--color-success);
}
.badge-pending {
  background: #fbf1e1;
  color: var(--color-pending);
}
.badge-error {
  background: #fbeae8;
  color: var(--color-error);
}
.badge-muted {
  background: #efefed;
  color: var(--color-ink-muted);
}

/* --- Dashboard specific --- */
.balance-hero {
  padding: 40px 0 24px;
}
.balance-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-primary);
  margin: 6px 0 18px;
}
.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 360px;
}
.balance-grid .label {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
}
.balance-grid .value {
  font-size: 1.1rem;
  font-weight: 500;
}

.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.quick-actions .btn {
  flex: 1 1 140px;
}

.tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.tx-row:last-child {
  border-bottom: none;
}
.tx-desc {
  font-size: 0.92rem;
}
.tx-meta {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}
.tx-amount {
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-ink-muted);
}

/* --- Loading modal (used throughout: transfers, KYC submit, card requests, etc.) --- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 31, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.loading-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 32px 36px;
  text-align: center;
  max-width: 300px;
}
.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 16px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-title {
  font-weight: 500;
  margin-bottom: 4px;
}
.loading-subtitle {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}

footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
}
/* --- Multi-step registration stepper --- */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
}
.step-item.active {
  opacity: 1;
}
.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}
.step-item.active .step-circle {
  background: var(--color-primary);
  color: #fff;
}
.step-label {
  font-size: 0.72rem;
  color: var(--color-ink-muted);
}
.step-connector {
  width: 32px;
  height: 1px;
  background: var(--color-border);
  margin: 0 4px 20px;
}
/* --- App shell with sidebar --- */
.app-shell {
  display: flex;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px;
  align-items: flex-start;
}
.sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 32px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  margin-bottom: 2px;
}
.sidebar-link:hover {
  background: var(--color-surface);
  color: var(--color-ink);
}
.sidebar-link.active {
  background: var(--color-primary);
  color: #fff;
}
.sidebar-link.disabled {
  opacity: 0.45;
  cursor: default;
}
.sidebar-link.disabled:hover {
  background: none;
  color: var(--color-ink-muted);
}
.sidebar-soon {
  font-size: 0.68rem;
  margin-left: auto;
}
.app-main {
  flex: 1;
  min-width: 0;
}

/* --- Profile page --- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .profile-grid,
  .app-shell {
    display: block;
  }
  .sidebar {
    width: 100%;
    position: static;
    margin-bottom: 24px;
  }
  .sidebar-link {
    display: inline-flex;
    margin-right: 6px;
  }
}

/* --- Pagination --- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
/* --- Admin customer list --- */
.admin-search {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-search input,
.admin-search select {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  color: var(--color-ink-muted);
  font-weight: 500;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
}
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tr:hover {
  background: #fafaf8;
}

/* --- Admin customer profile --- */
.profile-section {
  margin-bottom: 20px;
}
.profile-section h3 {
  margin-bottom: 12px;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.inline-form .field {
  margin-bottom: 0;
  min-width: 140px;
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
input:disabled {
  background: var(--color-bg);
  color: var(--color-ink-muted);
}
/* --- Intro/welcome carousel --- */
.intro-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 31, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  padding: 24px;
}
.intro-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  max-width: 420px;
  width: 100%;
  padding: 36px 32px 28px;
  text-align: center;
}
.intro-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.intro-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.intro-text {
  color: var(--color-ink-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  min-height: 72px;
}
.intro-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 22px;
}
.intro-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.2s ease;
}
.intro-dot.active {
  background: var(--color-primary);
}
.intro-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.intro-skip {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  cursor: pointer;
}
/* --- Verification, support and contact --- */
.success-banner {
  background: #e6f2eb;
  color: var(--color-success);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.notice-box {
  background: #fbf6ea;
  border: 1px solid #eedfb8;
  color: #6b5520;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
}
.otp-input {
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  font-family: monospace;
}
.message-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.message-item:last-child {
  border-bottom: none;
}

.contact-hero {
  text-align: center;
  padding: 64px 24px 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 72px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e9efec;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .nav-links {
    gap: 14px;
    font-size: 0.85rem;
  }
}
/* =========================================================
   WESTVALE BANK — HOMEPAGE
   Isolated homepage styles
   ========================================================= */

.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 76% 42%,
      rgba(200, 166, 103, 0.08),
      transparent 30%
    ),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.home-hero-inner {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 72px;
  padding-top: 82px;
  padding-bottom: 82px;
}

.home-hero-copy {
  max-width: 650px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(200, 166, 103, 0.12);
}

.home-hero h1 {
  margin: 20px 0 22px;
  max-width: 620px;
  font-size: clamp(3.3rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--color-ink);
}

.home-hero-text {
  max-width: 560px;
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.home-primary-btn {
  padding: 14px 25px;
  border-radius: 10px;
}

.home-secondary-link {
  color: var(--color-ink-muted);
  font-size: 0.92rem;
}

.home-secondary-link span {
  margin-left: 5px;
  color: var(--color-primary);
  font-weight: 700;
}

.home-note {
  margin-top: 26px;
  color: #7b817f;
  font-size: 0.76rem;
}

.home-note span {
  color: var(--color-accent);
  margin-right: 5px;
}

/* Hero visual */

.home-hero-visual {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-balance-card {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  min-height: 270px;
  padding: 30px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #12312b 0%, #164138 55%, #0e2924 100%);
  box-shadow:
    0 25px 60px rgba(18, 49, 43, 0.2),
    0 4px 12px rgba(18, 49, 43, 0.08);
  overflow: hidden;
}

.home-balance-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -100px;
  bottom: -120px;
  border: 1px solid rgba(200, 166, 103, 0.35);
  border-radius: 50%;
}

.balance-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.balance-label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.balance-card-top strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.balance-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(200, 166, 103, 0.45);
  border-radius: 50%;
  color: var(--color-accent);
  font-family: var(--font-display);
}

.balance-main {
  margin-top: 58px;
}

.balance-main span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.balance-main strong {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.balance-card-bottom {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 25px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.home-floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(231, 230, 226, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}

.home-floating-card span {
  display: block;
  margin-bottom: 2px;
  color: var(--color-ink-muted);
  font-size: 0.68rem;
}

.home-floating-card strong {
  display: block;
  color: var(--color-ink);
  font-size: 0.9rem;
}

.floating-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--color-primary);
  background: #edf3f0;
  font-weight: 700;
}

.home-floating-transfer {
  top: 42px;
  right: -8px;
}

.home-floating-secure {
  bottom: 45px;
  left: -22px;
}

.home-floating-secure .floating-icon {
  color: var(--color-success);
}

/* Intro section */

.home-intro {
  padding: 110px 0;
  background: var(--color-surface);
}

.home-section-heading {
  max-width: 650px;
  margin-bottom: 58px;
}

.home-section-heading h2,
.home-experience h2,
.home-cta h2 {
  margin: 16px 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-section-heading p {
  max-width: 590px;
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
}

.home-feature {
  min-height: 250px;
  padding: 34px 32px 30px 0;
  border-right: 1px solid var(--color-border);
}

.home-feature:not(:first-child) {
  padding-left: 32px;
}

.home-feature:last-child {
  border-right: 0;
}

.home-feature-number {
  margin-bottom: 48px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.home-feature h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.home-feature p {
  max-width: 310px;
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Experience section */

.home-experience {
  padding: 110px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-experience-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  align-items: center;
  gap: 100px;
}

.home-experience-copy {
  max-width: 560px;
}

.home-experience-copy > p {
  max-width: 500px;
  margin: 0;
  color: var(--color-ink-muted);
  line-height: 1.75;
}

.home-check-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.home-check-list div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--color-ink);
  font-size: 0.9rem;
}

.home-check-list span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: #e8f0ec;
  font-size: 0.7rem;
  font-weight: 700;
}

.home-experience-panel {
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid #1e4a40;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.experience-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink-muted);
  font-size: 0.78rem;
}

.experience-status {
  color: var(--color-success);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.experience-balance {
  padding: 30px 0;
}

.experience-balance span {
  display: block;
  margin-bottom: 7px;
  color: var(--color-ink-muted);
  font-size: 0.75rem;
}

.experience-balance strong {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.experience-lines {
  display: grid;
  gap: 13px;
}

.experience-lines div {
  display: flex;
  justify-content: space-between;
  color: var(--color-ink-muted);
  font-size: 0.82rem;
}

.experience-lines strong {
  color: var(--color-ink);
  font-weight: 600;
}

.experience-progress {
  height: 5px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9e8e4;
}

.experience-progress span {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-accent);
}

.experience-caption {
  margin-top: 16px;
  color: #858a87;
  font-size: 0.68rem;
}

/* CTA */

.home-cta {
  padding: 100px 0;
  background: var(--color-surface);
}

.home-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 58px 62px;
  border-radius: var(--radius-lg);
  background: #edf2ef;
  border: 1px solid #dfe7e2;
}

.home-cta-card h2 {
  max-width: 650px;
}

.home-cta-card p {
  max-width: 550px;
  margin: 0;
  color: var(--color-ink-muted);
}

.home-cta-btn {
  flex: 0 0 auto;
  padding: 14px 25px;
}

/* Responsive */

@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 70px;
  }

  .home-hero-copy {
    max-width: 700px;
  }

  .home-hero-visual {
    min-height: 410px;
    max-width: 600px;
  }

  .home-experience-inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .home-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .home-hero-inner {
    min-height: auto;
    padding-top: 55px;
    padding-bottom: 65px;
  }

  .home-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .home-hero-text {
    font-size: 0.98rem;
  }

  .home-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .home-hero-visual {
    min-height: 380px;
    margin-top: 10px;
  }

  .home-balance-card {
    width: calc(100% - 25px);
    min-height: 245px;
    padding: 25px;
  }

  .balance-main {
    margin-top: 45px;
  }

  .home-floating-transfer {
    top: 20px;
    right: -2px;
  }

  .home-floating-secure {
    bottom: 20px;
    left: -2px;
  }

  .home-intro,
  .home-experience {
    padding: 75px 0;
  }

  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature,
  .home-feature:not(:first-child) {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .home-feature:last-child {
    border-bottom: 0;
  }

  .home-feature-number {
    margin-bottom: 25px;
  }

  .home-cta {
    padding: 70px 0;
  }

  .home-cta-card {
    padding: 38px 28px;
  }
}

@media (max-width: 480px) {
  .home-hero-visual {
    min-height: 350px;
  }

  .home-balance-card {
    width: calc(100% - 15px);
  }

  .home-floating-card {
    min-width: 165px;
    padding: 11px 12px;
  }

  .home-floating-card strong {
    font-size: 0.8rem;
  }

  .home-floating-secure {
    left: 0;
  }

  .home-floating-transfer {
    right: 0;
  }
}
/* =========================================================
   WESTVALE BANK — CUSTOMER DASHBOARD
   Scoped dashboard redesign
   ========================================================= */

.dashboard-shell {
  max-width: 1180px;
  gap: 46px;
  padding-top: 38px;
  padding-bottom: 64px;
}

/* ---------------------------------------------------------
   Sidebar
   --------------------------------------------------------- */

.dashboard-sidebar {
  width: 210px;
}

.sidebar-label {
  margin: 0 12px 10px;
  color: #8a8f8d;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.sidebar-label-spaced {
  margin-top: 28px;
}

.dashboard-sidebar .sidebar-link {
  position: relative;
  min-height: 42px;
  margin-bottom: 3px;
  padding: 9px 12px;
  border-radius: 10px;
  gap: 11px;
  color: var(--color-ink-muted);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.dashboard-sidebar .sidebar-link:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-ink);
  transform: translateX(2px);
}

.dashboard-sidebar .sidebar-link.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(18, 49, 43, 0.12);
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink-muted);
  background: #eeefec;
}

.dashboard-sidebar .active .sidebar-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.dashboard-page {
  max-width: 820px;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.dashboard-eyebrow {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.dashboard-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.dashboard-subtitle {
  margin: 10px 0 0;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 7px 11px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-ink-muted);
  font-size: 0.72rem;
  text-transform: capitalize;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
}

/* ---------------------------------------------------------
   Main balance card
   --------------------------------------------------------- */

.account-balance-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  padding: 30px 32px;
  border-radius: 20px;
  background: linear-gradient(145deg, #12312b 0%, #174239 56%, #0e2924 100%);
  color: #fff;
  box-shadow:
    0 18px 42px rgba(18, 49, 43, 0.16),
    0 3px 10px rgba(18, 49, 43, 0.08);
}

.account-balance-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -145px;
  bottom: -175px;
  border: 1px solid rgba(200, 166, 103, 0.3);
  border-radius: 50%;
}

.account-balance-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  top: -95px;
  border: 1px solid rgba(200, 166, 103, 0.18);
  border-radius: 50%;
}

.account-balance-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.account-card-label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.account-balance-number {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.account-card-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 166, 103, 0.42);
  border-radius: 50%;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.account-card-bottom {
  position: absolute;
  z-index: 1;
  left: 32px;
  right: 32px;
  bottom: 29px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.account-card-bottom strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.account-number-display {
  text-align: right;
}

/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */

.dashboard-section {
  margin-top: 34px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.section-heading-row h2,
.panel-heading h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-heading-row p,
.panel-heading p {
  margin: 4px 0 0;
  color: var(--color-ink-muted);
  font-size: 0.78rem;
}

/* ---------------------------------------------------------
   Quick actions
   --------------------------------------------------------- */

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dashboard-action {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 13px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-ink);
  text-align: left;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(20, 24, 31, 0.025);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.dashboard-action:not(:disabled):hover {
  border-color: #cbd7d2;
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.dashboard-action:disabled {
  cursor: default;
  opacity: 1;
}

.action-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.dashboard-action strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
}

.dashboard-action small {
  display: block;
  margin-top: 2px;
  color: var(--color-ink-muted);
  font-size: 0.66rem;
}

.action-arrow {
  color: #9a9f9d;
  font-size: 0.85rem;
}

.dashboard-coming-soon {
  margin: 9px 0 0;
  color: #8a8f8d;
  font-size: 0.7rem;
}

/* ---------------------------------------------------------
   Two-column cards
   --------------------------------------------------------- */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.dashboard-panel {
  padding: 23px;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--color-border);
}

/* ---------------------------------------------------------
   Account details
   --------------------------------------------------------- */

.account-details-list {
  display: grid;
}

.account-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #f0efec;
}

.account-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.account-detail span {
  color: var(--color-ink-muted);
  font-size: 0.76rem;
}

.account-detail strong {
  max-width: 58%;
  overflow: hidden;
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Tier
   --------------------------------------------------------- */

.tier-badge {
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
}

.tier-content {
  padding-top: 20px;
}

.tier-content p {
  margin: 18px 0;
  color: var(--color-ink-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.tier-indicator {
  display: flex;
  align-items: center;
}

.tier-step {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #e2e3df;
}

.tier-step.active {
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(18, 49, 43, 0.08);
}

.tier-line {
  width: 100%;
  max-width: 70px;
  height: 2px;
  background: #e2e3df;
}

.tier-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 600;
}

.tier-button span {
  transition: transform 0.18s ease;
}

.tier-button:hover span {
  transform: translateX(3px);
}

/* ---------------------------------------------------------
   Transactions
   --------------------------------------------------------- */

.transactions-panel {
  margin-top: 16px;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.panel-link span {
  transition: transform 0.18s ease;
}

.panel-link:hover span {
  transform: translateX(3px);
}

.transaction-list {
  margin-top: 4px;
}

.dashboard-transaction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
}

.dashboard-transaction:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.transaction-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.transaction-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  border-radius: 11px;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.transaction-left strong {
  display: block;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-left span {
  display: block;
  margin-top: 3px;
  color: var(--color-ink-muted);
  font-size: 0.68rem;
}

.transaction-right {
  flex-shrink: 0;
  text-align: right;
}

.transaction-right strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------------------------------------------------------
   Empty transactions
   --------------------------------------------------------- */

.transactions-empty {
  padding: 46px 20px 38px;
  text-align: center;
}

.empty-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 50%;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 1rem;
}

.transactions-empty h3 {
  margin: 0 0 5px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
}

.transactions-empty p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.75rem;
}

/* ---------------------------------------------------------
   Account status
   --------------------------------------------------------- */

.account-status-strip {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 17px 19px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #f8faf8;
}

.account-status-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  border-radius: 50%;
  background: #e6f2eb;
  color: var(--color-success);
  font-size: 0.75rem;
  font-weight: 700;
}

.account-status-strip strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
}

.account-status-strip p {
  margin: 2px 0 0;
  color: var(--color-ink-muted);
  font-size: 0.68rem;
}

.account-status-strip a {
  margin-left: auto;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {
  .dashboard-shell {
    gap: 28px;
  }

  .dashboard-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-shell {
    display: block;
    padding: 24px 18px 50px;
  }

  .dashboard-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 30px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .dashboard-sidebar .sidebar-label {
    display: none;
  }

  .dashboard-sidebar .sidebar-link {
    display: inline-flex;
    margin-right: 4px;
    margin-bottom: 0;
  }

  .dashboard-header {
    display: block;
  }

  .dashboard-status {
    margin-top: 15px;
  }

  .account-balance-card {
    min-height: 285px;
    padding: 25px;
  }

  .account-card-bottom {
    left: 25px;
    right: 25px;
    bottom: 24px;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .account-number-display {
    grid-column: 1 / -1;
    text-align: left;
  }

  .dashboard-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    padding: 19px;
  }

  .account-status-strip {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .account-status-strip a {
    width: 100%;
    margin-left: 44px;
  }
}

@media (max-width: 420px) {
  .dashboard-header h1 {
    font-size: 1.9rem;
  }

  .account-balance-number {
    font-size: 1.85rem;
  }

  .account-card-mark {
    width: 36px;
    height: 36px;
  }

  .dashboard-transaction {
    gap: 10px;
  }

  .transaction-left {
    gap: 9px;
  }

  .transaction-icon {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }
}
/* --- Mobile Navbar --- */

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav-toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 0.85rem;
  font-weight: 500;
  user-select: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.mobile-nav-toggle::-webkit-details-marker {
  display: none;
}

.mobile-nav-toggle:active {
  transform: scale(0.96);
}

.mobile-nav-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

/* Rotate icon when menu is open */
.mobile-nav[open] .mobile-nav-icon {
  transform: rotate(90deg);
}

/* Dropdown */
.mobile-nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-modal);
  z-index: 1000;

  /* Animation starting state */
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  animation: mobileMenuIn 0.2s ease forwards;
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-nav-dropdown a,
.mobile-nav-dropdown form button {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-ink);
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.mobile-nav-dropdown a:hover,
.mobile-nav-dropdown form button:hover {
  background: #f3f4f1;
  color: var(--color-primary);
  transform: translateX(3px);
}

.mobile-nav-dropdown form {
  margin: 0;
}

.mobile-nav-primary {
  margin-top: 4px;
  background: var(--color-primary) !important;
  color: #fff !important;
  text-align: center !important;
}

.mobile-nav-primary:hover {
  background: var(--color-primary-soft) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* --- Mobile breakpoint --- */

@media (max-width: 640px) {
  .nav-inner {
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}
/* --- Receipt --- */
.receipt-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
  max-width: 420px;
  margin: 20px auto 0;
}
.receipt-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
}
.receipt-status-icon.badge-success {
  background: #e6f2eb;
  color: var(--color-success);
}
.receipt-status-icon.badge-pending {
  background: #fbf1e1;
  color: var(--color-pending);
}
.receipt-status-icon.badge-error {
  background: #fbeae8;
  color: var(--color-error);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.receipt-row:last-child {
  border-bottom: none;
}
.receipt-row span:first-child {
  color: var(--color-ink-muted);
}
/* --- Admin overview --- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.overview-label {
  color: var(--color-ink-muted);
  font-size: 0.82rem;
}
.overview-value {
  font-size: 1.5rem;
  font-family: var(--font-display);
  margin-top: 4px;
}
.overview-link {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}
.overview-link:hover {
  box-shadow:
    0 2px 4px rgba(20, 24, 31, 0.06),
    0 12px 28px rgba(20, 24, 31, 0.09);
}
/* --- Admin mobile navbar --- */

.admin-mobile-nav {
  margin-left: auto;
}
/* =========================================================
   WESTVALE BANK — ADMIN REDESIGN
   Scoped admin styles
   ========================================================= */

.admin-shell {
  max-width: 1180px;
  gap: 42px;
  padding-top: 38px;
  padding-bottom: 70px;
}

/* ---------------------------------------------------------
   Admin sidebar
   --------------------------------------------------------- */

.admin-sidebar {
  width: 210px;
  flex: 0 0 210px;
  position: sticky;
  top: 28px;
}

.admin-sidebar-label {
  margin: 0 12px 10px;
  color: #8a8f8d;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.admin-sidebar-label-spaced {
  margin-top: 28px;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  margin-bottom: 3px;
  border-radius: 10px;
  color: var(--color-ink-muted);
  font-size: 0.84rem;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.admin-sidebar-link:hover {
  background: var(--color-surface);
  color: var(--color-ink);
  transform: translateX(2px);
}

.admin-sidebar-link.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(18, 49, 43, 0.12);
}

.admin-sidebar-icon {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 25px;
  border-radius: 7px;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-sidebar-link.active .admin-sidebar-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------------------------------------------------------
   Mobile admin sidebar
   --------------------------------------------------------- */

.admin-mobile-sidebar {
  display: none;
  position: relative;
}

.admin-mobile-sidebar-toggle {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 0 3px 12px rgba(20, 24, 31, 0.04);
  cursor: pointer;
}

.admin-mobile-sidebar-toggle::-webkit-details-marker {
  display: none;
}

.admin-mobile-sidebar-toggle small {
  display: block;
  margin-bottom: 2px;
  color: var(--color-ink-muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.admin-mobile-sidebar-toggle strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
}

.admin-mobile-chevron {
  color: var(--color-primary);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.admin-mobile-sidebar[open] .admin-mobile-chevron {
  transform: rotate(180deg);
}

.admin-mobile-sidebar-menu {
  margin-top: 8px;
  padding: 7px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  animation: adminSidebarIn 0.2s ease;
}

@keyframes adminSidebarIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-mobile-sidebar-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--color-ink-muted);
  font-size: 0.86rem;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.admin-mobile-sidebar-menu a:hover {
  background: #f3f4f1;
  color: var(--color-ink);
  transform: translateX(3px);
}

.admin-mobile-sidebar-menu a.active {
  background: var(--color-primary);
  color: #fff;
}

/* ---------------------------------------------------------
   Admin page header
   --------------------------------------------------------- */

.admin-main {
  min-width: 0;
}

.admin-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 70px;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.admin-page-header-compact {
  margin-bottom: 28px;
}

.admin-eyebrow {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.admin-page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.admin-page-subtitle {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 7px 11px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-ink-muted);
  font-size: 0.7rem;
}

.admin-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
}

/* ---------------------------------------------------------
   Admin sections
   --------------------------------------------------------- */

.admin-section {
  margin-top: 34px;
}

.admin-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 15px;
}

.admin-section-heading h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
}

.admin-section-heading p {
  margin: 4px 0 0;
  color: var(--color-ink-muted);
  font-size: 0.75rem;
}

/* ---------------------------------------------------------
   Overview stat cards
   --------------------------------------------------------- */

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.admin-stat-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 3px 5px rgba(20, 24, 31, 0.05),
    0 14px 30px rgba(20, 24, 31, 0.08);
}

.admin-stat-featured {
  background: linear-gradient(
    145deg,
    var(--color-primary),
    var(--color-primary-soft)
  );
  border-color: transparent;
  color: #fff;
}

.admin-stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--color-ink-muted);
  font-size: 0.74rem;
}

.admin-stat-featured .admin-stat-top {
  color: rgba(255, 255, 255, 0.65);
}

.admin-stat-card > strong {
  display: block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.admin-stat-card > small {
  display: block;
  margin-top: 9px;
  color: var(--color-ink-muted);
  font-size: 0.68rem;
}

.admin-stat-featured > small {
  color: rgba(255, 255, 255, 0.58);
}

.admin-stat-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-stat-featured .admin-stat-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.admin-stat-icon-warning {
  background: #fbf1e1;
  color: var(--color-pending);
}

/* ---------------------------------------------------------
   Tier cards
   --------------------------------------------------------- */

.admin-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.admin-tier-card {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.7);
}

.admin-tier-card span {
  color: var(--color-ink-muted);
  font-size: 0.7rem;
}

.admin-tier-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.admin-tier-card small {
  color: var(--color-ink-muted);
  font-size: 0.65rem;
}

/* ---------------------------------------------------------
   Review cards
   --------------------------------------------------------- */

.admin-review-section {
  margin-top: 42px;
}

.admin-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-review-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: 0 2px 8px rgba(20, 24, 31, 0.025);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.admin-review-card:hover {
  transform: translateY(-2px);
  border-color: #cbd7d2;
  box-shadow: var(--shadow-card);
}

.admin-review-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf2ef;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-review-content {
  min-width: 0;
}

.admin-review-content strong {
  display: block;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-review-content span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--color-ink-muted);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-review-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.admin-review-number span {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: transform 0.18s ease;
}

.admin-review-card:hover .admin-review-number span {
  transform: translateX(3px);
}

/* ---------------------------------------------------------
   Admin search
   --------------------------------------------------------- */

.admin-search-panel {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.5fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr)
    auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.admin-search-field {
  min-width: 0;
}

.admin-search-field label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-ink-muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.admin-search-field input,
.admin-search-field select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 9px;
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
  font-size: 0.84rem;
}

.admin-search-field input:focus,
.admin-search-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.admin-search-button {
  height: 42px;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Customer table
   --------------------------------------------------------- */

.admin-table-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.admin-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.admin-table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--color-border);
  background: #fafaf8;
  color: var(--color-ink-muted);
  font-size: 0.67rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
  background: #fafaf8;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-customer-cell {
  min-width: 190px;
  max-width: 260px;
}

.admin-customer-cell strong {
  display: block;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-customer-cell span {
  display: block;
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: var(--color-ink-muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nowrap {
  white-space: nowrap;
}

.admin-balance-cell {
  font-weight: 500;
}

.admin-open-button {
  padding: 7px 12px;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Empty customer state
   --------------------------------------------------------- */

.admin-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 65px 24px;
}

.admin-empty-state strong {
  color: var(--color-ink);
  font-size: 0.9rem;
}

.admin-empty-state span {
  color: var(--color-ink-muted);
  font-size: 0.75rem;
}

.admin-empty-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 50%;
  background: #edf2ef;
  color: var(--color-primary);
}

/* ---------------------------------------------------------
   Admin responsive
   --------------------------------------------------------- */

@media (max-width: 900px) {
  .admin-shell {
    gap: 26px;
  }

  .admin-sidebar {
    width: 180px;
    flex-basis: 180px;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-stat-featured {
    grid-column: 1 / -1;
  }

  .admin-review-grid {
    grid-template-columns: 1fr;
  }

  .admin-search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .admin-search-button {
    width: 100%;
  }
}

/* =========================================================
   ADMIN CUSTOMERS — MOBILE TABLE
   ========================================================= */

/* ---------------------------------------------------------
   Admin mobile responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
  .admin-shell {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 15px 50px;
  }

  .admin-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 22px;
  }

  .admin-sidebar-desktop {
    display: none;
  }

  .admin-mobile-sidebar {
    display: block;
  }

  .admin-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .admin-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 30px 15px 55px;
    overflow: hidden;
  }

  .admin-page-header {
    display: block;
    margin-bottom: 27px;
  }

  .admin-page-header h1 {
    font-size: 2rem;
  }

  .admin-status {
    margin-top: 15px;
  }

  .admin-section {
    margin-top: 28px;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-stat-featured {
    grid-column: auto;
  }

  .admin-tier-grid {
    grid-template-columns: 1fr;
  }

  .admin-review-grid {
    grid-template-columns: 1fr;
  }

  .admin-review-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px;
  }

  .admin-search-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .admin-search-button {
    width: 100%;
  }

  /* -------------------------------------------------------
     Customer table — mobile
     ------------------------------------------------------- */

  .admin-table-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden; /* keeps rounded corners; the actual scrolling happens one level in */
  }

  .admin-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth momentum scroll on iOS */
  }

  .admin-table {
    width: 100%;
    min-width: 640px; /* forces horizontal scroll on narrow screens instead of squishing columns unreadably */
    border-collapse: collapse;
    font-size: 0.85rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px;
    white-space: nowrap; /* keeps each cell on one line while scrolling, instead of wrapping awkwardly */
  }

  /* Customer name + email */
  .admin-customer-cell {
    min-width: 0 !important;
    max-width: none !important;
    width: auto;
  }

  .admin-customer-cell strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-customer-cell span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 0.61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Account number, country, tier and balance */
  .admin-table td {
    min-width: 0;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-table .admin-nowrap {
    min-width: 0;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-table .admin-balance-cell {
    min-width: 0;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Open button must stay inside its column */
  .admin-open-button {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-page-header-compact {
    margin-bottom: 22px;
  }
}

@media (max-width: 420px) {
  .admin-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .admin-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .admin-stat-card {
    padding: 19px;
  }

  .admin-stat-card > strong {
    font-size: 2rem;
  }

  .admin-review-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .admin-review-content strong {
    font-size: 0.76rem;
  }

  .admin-review-content span {
    font-size: 0.63rem;
  }

  .admin-table th,
  .admin-table td {
    padding-left: 6px;
    padding-right: 6px;
  }

  .admin-customer-cell strong {
    font-size: 0.68rem;
  }

  .admin-customer-cell span {
    font-size: 0.56rem;
  }

  .admin-open-button {
    padding: 5px 6px;
    font-size: 0.62rem;
  }
}

/* =========================================================
   WESTVALE BANK — HOMEPAGE EXPANSION
   Additional photography, sections and homepage footer
   ========================================================= */

.home-hero-visual {
  isolation: isolate;
}

.home-hero-photo {
  position: absolute;
  inset: 15px 0 15px 30px;
  overflow: hidden;
  border-radius: 24px;
  z-index: -1;
}

.home-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(18, 49, 43, 0.08),
    rgba(18, 49, 43, 0.28)
  );
}

.home-hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-balance-card {
  transform: translateY(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-hero-visual:hover .home-balance-card {
  transform: translateY(0);
  box-shadow: 0 30px 70px rgba(18, 49, 43, 0.26);
}

/* Service cards */

.home-services {
  padding: 105px 0 115px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.home-services-heading {
  max-width: 720px;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.home-service-card {
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(20, 24, 31, 0.1);
}

.home-service-image {
  height: 245px;
  overflow: hidden;
  background: #e9ece8;
}

.home-service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.home-service-card:hover .home-service-image img {
  transform: scale(1.045);
}

.home-service-content {
  padding: 27px 29px 30px;
}

.home-service-number {
  display: block;
  margin-bottom: 14px;
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-service-content h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.home-service-content p {
  max-width: 460px;
  min-height: 52px;
  margin: 0 0 20px;
  color: var(--color-ink-muted);
  font-size: 0.91rem;
  line-height: 1.75;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-text-link span {
  transition: transform 0.2s ease;
}

.home-text-link:hover span {
  transform: translateX(5px);
}

/* Editorial image and story */

.home-story {
  padding: 110px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.home-story-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 85px;
}

.home-story-image {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e7e8e3;
}

.home-story-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-story-image::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(10, 24, 20, 0.78));
}

.home-image-caption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 27px;
  left: 28px;
  color: #fff;
}

.home-image-caption span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.home-image-caption strong {
  display: block;
  max-width: 360px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.2;
}

.home-story-copy {
  max-width: 500px;
}

.home-story-copy h2 {
  margin: 17px 0 20px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-story-copy p {
  margin: 0 0 25px;
  color: var(--color-ink-muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

/* How it works */

.home-steps {
  padding: 105px 0;
  background: var(--color-surface);
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
}

.home-step {
  padding: 32px 30px 15px 0;
  border-right: 1px solid var(--color-border);
}

.home-step:not(:first-child) {
  padding-left: 30px;
}

.home-step:last-child {
  border-right: 0;
}

.home-step-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(200, 166, 103, 0.55);
  border-radius: 50%;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.home-step h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.home-step p {
  max-width: 300px;
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.91rem;
  line-height: 1.75;
}

/* Homepage footer */

.home-footer {
  padding: 0;
  background: #102d27;
  border-top: 0;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.home-footer .container {
  max-width: 1120px;
}

.home-footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 45px;
  padding-top: 68px;
  padding-bottom: 60px;
}

.home-footer-brand {
  max-width: 290px;
}

.home-footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.home-footer-brand p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.87rem;
  line-height: 1.8;
}

.home-footer-demo-label {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid rgba(200, 166, 103, 0.4);
  border-radius: 5px;
  color: #d6bb83;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.home-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.home-footer-column h3 {
  margin-bottom: 9px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
}

.home-footer-column a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  transition: color 0.2s ease;
}

.home-footer-column a:hover {
  color: #d6bb83;
}

.home-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 35px;
  padding: 22px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.7;
}

.home-footer-bottom span:last-child {
  max-width: 620px;
  text-align: right;
}

/* Gentle entrance animation */

@keyframes westvaleRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero-copy,
.home-hero-visual {
  animation: westvaleRise 0.7s ease both;
}

.home-hero-visual {
  animation-delay: 0.12s;
}

/* Responsive additions */

@media (max-width: 900px) {
  .home-story-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-story-copy {
    max-width: 680px;
  }

  .home-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-services,
  .home-story,
  .home-steps {
    padding: 75px 0;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-service-image {
    height: 220px;
  }

  .home-story-image {
    min-height: 330px;
  }

  .home-steps-grid {
    grid-template-columns: 1fr;
  }

  .home-step,
  .home-step:not(:first-child) {
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .home-step:last-child {
    border-bottom: 0;
  }

  .home-step-number {
    margin-bottom: 17px;
  }

  .home-footer-main {
    gap: 35px 22px;
    padding-top: 50px;
    padding-bottom: 42px;
  }

  .home-footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .home-footer-bottom span:last-child {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .home-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer-brand {
    grid-column: 1 / -1;
  }

  .home-service-content {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-copy,
  .home-hero-visual {
    animation: none;
  }

  .home-service-card,
  .home-service-image img,
  .home-balance-card,
  .home-text-link span {
    transition: none;
  }
}

/* WESTVALE — FULL-WIDTH HERO AND SCROLL REVEALS */

.home-hero {
  position: relative;
  isolation: isolate;
  background: var(--color-bg);
}

.home-hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.home-hero-background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247, 247, 245, 0.97) 0%,
    rgba(247, 247, 245, 0.93) 37%,
    rgba(247, 247, 245, 0.79) 66%,
    rgba(247, 247, 245, 0.70) 100%
  );
}

.home-hero-inner {
  position: relative;
  z-index: 1;
}

.home-hero-copy {
  position: relative;
  z-index: 2;
}

.home-hero-visual {
  z-index: 1;
}

/* Scroll-triggered fade and rise */

html.has-scroll-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.has-scroll-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .home-hero-background img {
    object-position: 58% center;
  }

  .home-hero::before {
    background: linear-gradient(
      90deg,
      rgba(247, 247, 245, 0.96) 0%,
      rgba(247, 247, 245, 0.91) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  html.has-scroll-reveal [data-reveal],
  html.has-scroll-reveal [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* WESTVALE — REVIEWS AND FREQUENTLY ASKED QUESTIONS */

.home-reviews {
  padding: 105px 0;
  background: #fff;
  overflow: hidden;
}

.home-reviews-heading {
  max-width: 680px;
}

.home-review-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-review-card {
  min-width: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #fbfbf9;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.home-review-stars {
  color: var(--color-accent);
  font-size: 1.05rem;
  letter-spacing: 0.13em;
}

.home-review-card > p {
  flex: 1;
  margin: 22px 0 28px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.7;
}

.home-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-review-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: #eaf0ec;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.home-review-person strong,
.home-review-person span {
  display: block;
}

.home-review-person strong {
  color: var(--color-ink);
  font-size: 0.83rem;
}

.home-review-person div span {
  margin-top: 4px;
  color: var(--color-ink-muted);
  font-size: 0.72rem;
}

.home-review-disclaimer {
  margin: 22px 0 0;
  color: var(--color-ink-muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

.home-review-scroll-hint {
  display: none;
}

.home-faq {
  padding: 105px 0;
  background: var(--color-bg);
}

.home-faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 85px;
}

.home-faq-intro {
  max-width: 430px;
}

.home-faq-intro h2 {
  margin: 17px 0;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.home-faq-intro > p {
  margin-bottom: 25px;
  color: var(--color-ink-muted);
  line-height: 1.8;
}

.home-faq-list {
  border-top: 1px solid var(--color-border);
}

.home-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.home-faq-item summary {
  position: relative;
  padding: 23px 38px 23px 0;
  color: var(--color-ink);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.home-faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 400;
}

.home-faq-item[open] summary::after {
  content: "−";
}

.home-faq-answer {
  padding: 0 30px 22px 0;
}

.home-faq-answer p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .home-faq-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-faq-intro {
    max-width: 650px;
  }
}

@media (max-width: 700px) {
  .home-reviews,
  .home-faq {
    padding: 76px 0;
  }

  .home-review-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 0 18px;
    margin-right: -20px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 49, 43, 0.35) transparent;
  }

  .home-review-card {
    flex: 0 0 min(84%, 340px);
    scroll-snap-align: start;
  }

  .home-review-scroll-hint {
    display: block;
    margin-top: 12px;
    color: var(--color-ink-muted);
    font-size: 0.76rem;
  }

  .home-review-scroll-hint span {
    margin-left: 5px;
    color: var(--color-primary);
  }

  .home-faq-item summary {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.92rem;
  }
}

/* WESTVALE — EDITORIAL EXPERIENCE CARDS */

.home-review-card {
  padding: 0 0 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.home-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(20, 24, 31, 0.08);
}

.home-review-photo {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #e9ece8;
}

.home-review-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 500ms ease;
}

.home-review-card:hover .home-review-photo img {
  transform: scale(1.035);
}

.home-review-category {
  display: block;
  margin: 24px 25px 10px;
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.home-review-card h3 {
  margin: 0 25px 10px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
}

.home-review-card > p {
  margin: 0 25px;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.75;
}

.home-review-disclaimer {
  max-width: 720px;
}

@media (max-width: 700px) {
  .home-review-card {
    flex-basis: min(84%, 340px);
  }

  .home-review-photo {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-review-card,
  .home-review-photo img {
    transition: none;
  }
}

/* WESTVALE — COMPACT CUSTOMER REVIEW CARDS */

.home-review-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-review-card {
  min-width: 0;
  padding: 25px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(20, 24, 31, 0.025);
}

.home-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.home-review-person img {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.home-review-person strong {
  display: block;
  color: var(--color-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-review-person div span {
  display: block;
  margin-top: 4px;
  color: var(--color-ink-muted);
  font-size: 0.7rem;
}

.home-review-card > p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
}

.home-review-stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.home-review-disclaimer {
  margin-top: 20px;
  color: var(--color-ink-muted);
  font-size: 0.72rem;
}

@media (max-width: 700px) {
  .home-review-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 0 16px;
    margin-right: -20px;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .home-review-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    padding: 22px;
  }

  .home-review-person img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}


/* WESTVALE BANK — PREMIUM BRAND IDENTITY */
.nav .westvale-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  text-decoration: none;
  color: #123c32;
  min-width: 0;
}
.westvale-brand-mark {
  display: block;
  width: 53px;
  height: 43px;
  flex-shrink: 0;
  overflow: visible;
}
.westvale-brand-divider {
  display: block;
  width: 1px;
  height: 39px;
  background: #c7a45d;
  opacity: .8;
}
.westvale-brand-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 5px;
}
.westvale-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #123c32;
  white-space: nowrap;
}
.westvale-brand-subtitle {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 7px;
  text-align: center;
  color: #c7a45d;
  padding-left: 6px;
}
@media (max-width: 480px) {
  .nav .westvale-brand { gap: 8px; }
  .westvale-brand-mark { width: 43px; height: 36px; }
  .westvale-brand-divider { height: 32px; }
  .westvale-brand-name { font-size: 19px; letter-spacing: 1.5px; }
  .westvale-brand-subtitle { font-size: 8px; letter-spacing: 5.5px; }
}


/* WESTVALE — ORIGINAL BRAND LOGO */
.nav .westvale-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.westvale-logo-image {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 480px) {
  .westvale-logo-image {
    width: 143.5px;
  }
}

/* WESTVALE LOGO — FINAL RESPONSIVE SIZING */
.nav .westvale-brand .westvale-logo-image {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  flex: 0 1 auto;
  object-fit: contain;
}

@media screen and (max-width: 480px) {
  .nav .westvale-brand .westvale-logo-image {
    width: 143.5px;
    max-width: 143.5px;
  }
}

@media (max-width: 768px) {
  .nav .westvale-brand img {
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .nav .westvale-brand img {
    width: 130px !important;
    max-width: 130px !important;
  }
}
