/*
Theme Name: CBK Karditsa Modern
Theme URI: https://site.mycbk.cloud/
Author: MyCBK
Description: Custom modern WordPress theme for Cooperative Bank of Karditsa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
Text Domain: cbk-karditsa
*/

:root {
  --cbk-ink: #0b1f2a;
  --cbk-muted: #5a6972;
  --cbk-green: #0b6f4f;
  --cbk-green-2: #34a776;
  --cbk-blue: #0a6f9e;
  --cbk-sky: #e9f6f8;
  --cbk-gold: #d7a33b;
  --cbk-paper: #f7f4ed;
  --cbk-line: rgba(11, 31, 42, 0.12);
  --cbk-white: #fff;
  --shadow: 0 20px 50px rgba(11, 31, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cbk-ink);
  font-family: Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
  background: var(--cbk-white);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px;
  color: #264150;
  font-size: 13px;
  border-bottom: 1px solid var(--cbk-line);
  background: #f4f9f8;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-weight: 900;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cbk-green), var(--cbk-blue));
}

.brand small {
  display: block;
  color: var(--cbk-muted);
  font-weight: 600;
}

.main-nav {
  display: flex;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--cbk-ink-deep);
  white-space: nowrap;
}

.nav-menu .sub-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  min-width: min(760px, calc(100vw - 32px));
  max-height: 76vh;
  overflow: auto;
  gap: 2px;
  margin: 0;
  padding: 18px;
  list-style: none;
  border: 1px solid var(--cbk-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu .sub-menu a {
  justify-content: flex-start;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.nav-menu .sub-menu a:hover {
  color: #fff;
  background: var(--cbk-green);
}

.nav-menu .sub-menu .sub-menu {
  position: static;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  max-height: none;
  overflow: visible;
  gap: 2px;
  padding: 4px 0 10px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none !important;
}

.nav-menu .sub-menu .sub-menu a {
  color: #42616d;
  font-size: 13px;
  min-height: 32px;
  padding: 6px 10px;
  font-weight: 800;
}

.nav-menu > li:nth-last-child(-n + 2) > .sub-menu {
  left: auto;
  right: 0;
  transform: translateY(12px);
}

.nav-menu > li:nth-last-child(-n + 2):hover > .sub-menu,
.nav-menu > li:nth-last-child(-n + 2):focus-within > .sub-menu {
  transform: translateY(0);
}

.nav-menu .sub-menu li:hover > .sub-menu,
.nav-menu .sub-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link,
.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--cbk-line);
  font-weight: 800;
}

.icon-link {
  width: 42px;
  border-radius: 10px;
  color: var(--cbk-green);
}

.primary-link {
  padding: 0 18px;
  color: #fff;
  border-color: var(--cbk-green);
  border-radius: 10px;
  background: var(--cbk-green);
}

.ghost-link {
  padding: 0 18px;
  border-radius: 10px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: #071f25;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 23, 30, 0.92) 0%, rgba(4, 23, 30, 0.68) 36%, rgba(4, 23, 30, 0.12) 68%),
    url("assets/images/karditsa-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #fff);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 420px);
  gap: 70px;
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 110px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: #bfe9dc;
  font-size: 14px;
  font-weight: 900;
  text-transform: none;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--cbk-gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-cta a {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(7, 31, 37, 0.56);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel h2 {
  margin-bottom: 16px;
  font-size: 18px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-tile {
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.quick-tile span {
  display: block;
  margin-bottom: 12px;
  color: var(--cbk-gold);
  font-size: 22px;
}

.quick-tile strong {
  display: block;
  font-size: 15px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--cbk-paper);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 38px;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}

.section-head p {
  color: var(--cbk-muted);
  font-size: 18px;
  line-height: 1.65;
}

.audience-grid,
.proof-grid,
.news-grid {
  display: grid;
  gap: 18px;
}

.audience-grid {
  grid-template-columns: repeat(3, 1fr);
}

.audience-card,
.proof-card,
.news-card {
  border: 1px solid var(--cbk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(11, 31, 42, 0.06);
}

.audience-card {
  display: grid;
  min-height: 370px;
  padding: 26px;
}

.card-number {
  color: var(--cbk-green);
  font-size: 14px;
  font-weight: 900;
}

.audience-card h3 {
  margin: 36px 0 14px;
  font-size: 28px;
  line-height: 1.1;
}

.audience-card p,
.proof-card p,
.news-card p {
  color: var(--cbk-muted);
  line-height: 1.65;
}

.card-link {
  align-self: end;
  color: var(--cbk-green);
  font-weight: 900;
}

.banking-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.phone-shell {
  position: relative;
  min-height: 520px;
}

.phone {
  position: absolute;
  right: 12%;
  top: 20px;
  width: 270px;
  min-height: 500px;
  padding: 22px;
  border: 10px solid #102d37;
  border-radius: 36px;
  background: #f8fbfb;
  box-shadow: var(--shadow);
}

.phone::before {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: #c9d7dc;
}

.balance {
  padding: 18px;
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cbk-green), var(--cbk-blue));
}

.balance small,
.phone-row small {
  display: block;
  color: inherit;
  opacity: 0.72;
}

.balance strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #dce7e9;
}

.device-orbit {
  position: absolute;
  left: 6%;
  top: 150px;
  width: 250px;
  padding: 24px;
  border: 1px solid var(--cbk-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.feature b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 10px;
  background: var(--cbk-green);
}

.proof-grid {
  grid-template-columns: repeat(4, 1fr);
}

.proof-card {
  min-height: 210px;
  padding: 24px;
}

.proof-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--cbk-green);
  font-size: 36px;
  line-height: 1;
}

.impact {
  color: #fff;
  background:
    radial-gradient(circle at 80% 30%, rgba(215, 163, 59, 0.18), transparent 34%),
    linear-gradient(135deg, #092732, #0b6f4f);
}

.impact .section-head p,
.impact .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.impact h2,
.impact h3 {
  color: #fff;
}

.impact .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.impact-map {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.impact-item {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.impact-item h3 {
  color: #fff;
  font-size: 26px;
}

.impact-item p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.news-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.news-card {
  display: grid;
  min-height: 260px;
  padding: 26px;
}

.news-card time {
  color: var(--cbk-green);
  font-size: 13px;
  font-weight: 900;
}

.news-card h3 {
  margin: 24px 0 10px;
  font-size: 25px;
  line-height: 1.18;
}

.final-cta {
  padding: 84px 0;
  color: #fff;
  background: #081e27;
}

.final-cta .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
}

.final-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 52px);
}

.final-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.site-footer {
  padding: 54px 0 30px;
  color: #dfe9eb;
  background: #06171d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 38px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer a,
.site-footer p {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 38px auto 0;
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 980px) {
  .header-inner,
  .hero-inner,
  .section-head,
  .banking-band,
  .final-cta .section-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .nav-menu {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 86px;
  }

  .audience-grid,
  .proof-grid,
  .impact-map,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .top-strip {
    display: none;
  }

  .header-inner,
  .section-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    width: min(100% - 28px, 1180px);
    gap: 32px;
    padding: 70px 0 86px;
  }

  .hero-panel {
    padding: 16px;
  }

  .quick-grid,
  .audience-grid,
  .proof-grid,
  .impact-map,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    min-height: 430px;
  }

  .phone {
    right: 0;
    width: 235px;
    min-height: 430px;
  }

  .device-orbit {
    left: 0;
    top: 120px;
    width: 210px;
  }
}

/* Fintech direction */
:root {
  --cbk-ink: #07141b;
  --cbk-muted: #66747d;
  --cbk-green: #00a66a;
  --cbk-green-2: #44e19c;
  --cbk-blue: #0077ff;
  --cbk-sky: #ecf7ff;
  --cbk-gold: #b9ff66;
  --cbk-paper: #f4f8fb;
  --cbk-line: rgba(7, 20, 27, 0.1);
  --shadow: 0 24px 70px rgba(7, 20, 27, 0.12);
}

body {
  background:
    linear-gradient(90deg, rgba(7, 20, 27, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 20, 27, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px;
}

.site-header {
  border-bottom: 1px solid rgba(7, 20, 27, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.top-strip {
  color: #d7fff0;
  border-bottom: 0;
  background: #07141b;
}

.brand-mark,
.primary-link,
.feature b {
  color: #061016;
  background: linear-gradient(135deg, var(--cbk-gold), var(--cbk-green-2));
}

.primary-link {
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(0, 166, 106, 0.24);
}

.ghost-link {
  color: var(--cbk-ink);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
}

.hero {
  min-height: 720px;
  color: var(--cbk-ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(68, 225, 156, 0.25), transparent 28%),
    radial-gradient(circle at 84% 62%, rgba(0, 119, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #f7fbff 0%, #eaf5f3 48%, #ffffff 100%);
}

.hero::before {
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0.42) 100%),
    url("assets/images/karditsa-hero.png");
}

.hero::after {
  background: linear-gradient(180deg, transparent, #ffffff);
}

.hero-inner {
  grid-template-columns: minmax(0, 560px) minmax(420px, 1fr);
  align-items: center;
  padding: 104px 0 94px;
}

.eyebrow {
  color: var(--cbk-green);
  letter-spacing: 0.02em;
}

.eyebrow::before {
  background: var(--cbk-blue);
}

h1 {
  max-width: 640px;
  color: #07141b;
  font-size: clamp(48px, 6.8vw, 86px);
}

.hero-lede {
  color: #45545d;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  color: #0c3840;
  border: 1px solid rgba(7, 20, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.fintech-visual {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.dashboard-card,
.mini-metrics div,
.payment-stack div {
  border: 1px solid rgba(7, 20, 27, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.main-balance {
  min-height: 170px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 24%, rgba(185, 255, 102, 0.38), transparent 24%),
    linear-gradient(135deg, #07141b, #063b46 58%, #00a66a);
}

.main-balance span,
.main-balance small {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.main-balance strong {
  display: block;
  margin: 14px 0 10px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.96;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-metrics div,
.payment-stack div {
  padding: 16px;
}

.mini-metrics span,
.payment-stack span,
.flow-head span {
  display: block;
  color: var(--cbk-muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.flow-card {
  padding: 20px;
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.flow-head b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #07141b;
  color: var(--cbk-gold);
}

.bars {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 0.9fr 1.3fr 0.8fr;
  gap: 8px;
  align-items: end;
  min-height: 112px;
  margin-bottom: 14px;
}

.bars i {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--cbk-blue), var(--cbk-green-2));
}

.bars i:nth-child(1) { height: 42px; }
.bars i:nth-child(2) { height: 84px; }
.bars i:nth-child(3) { height: 58px; }
.bars i:nth-child(4) { height: 106px; }
.bars i:nth-child(5) { height: 70px; }

.flow-card p {
  margin-bottom: 0;
  color: var(--cbk-muted);
  line-height: 1.55;
}

.payment-stack {
  display: grid;
  gap: 10px;
}

.payment-stack div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.audience-card,
.proof-card,
.news-card {
  border-color: rgba(7, 20, 27, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(7, 20, 27, 0.07);
}

.audience-card {
  background:
    linear-gradient(180deg, rgba(0, 166, 106, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.92);
}

.card-number {
  color: var(--cbk-blue);
}

.banking-band {
  grid-template-columns: 1fr 1fr;
}

.section.alt {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 119, 255, 0.1), transparent 26%),
    var(--cbk-paper);
}

.phone {
  border-color: #07141b;
  background: #ffffff;
}

.balance {
  background:
    radial-gradient(circle at 82% 20%, rgba(185, 255, 102, 0.44), transparent 28%),
    linear-gradient(135deg, #07141b, #006c84);
}

.device-orbit {
  border-radius: 18px;
}

.proof-card strong {
  color: #07141b;
}

.impact {
  background:
    radial-gradient(circle at 18% 20%, rgba(185, 255, 102, 0.22), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(0, 119, 255, 0.24), transparent 28%),
    #07141b;
}

.impact-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.news-card {
  background: rgba(255, 255, 255, 0.92);
}

.final-cta {
  background:
    radial-gradient(circle at 82% 24%, rgba(68, 225, 156, 0.24), transparent 28%),
    #07141b;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .fintech-visual {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 46px;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .payment-stack div {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* "Η Τράπεζά σου" direction */
.hero-your-bank {
  min-height: 760px;
  color: #07141b;
  background:
    radial-gradient(circle at 76% 18%, rgba(185, 255, 102, 0.38), transparent 26%),
    radial-gradient(circle at 88% 64%, rgba(0, 119, 255, 0.22), transparent 25%),
    linear-gradient(135deg, #f8fbff 0%, #ecf8f2 42%, #ffffff 100%);
}

.hero-your-bank::before {
  opacity: 0.14;
  mix-blend-mode: multiply;
}

.hero-your-bank .hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.82fr);
  align-items: center;
  padding-top: 96px;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(64px, 9.6vw, 132px);
  line-height: 0.9;
}

.hero-copy .hero-lede {
  max-width: 650px;
  color: #43515a;
  font-size: clamp(19px, 2.2vw, 25px);
}

.your-bank-device {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 90px rgba(7, 20, 27, 0.17);
  backdrop-filter: blur(24px);
}

.your-bank-device::before {
  content: "";
  position: absolute;
  inset: -32px -18px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--cbk-blue), var(--cbk-green-2));
  opacity: 0.18;
  transform: rotate(14deg);
}

.device-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #42515b;
  font-weight: 900;
}

.device-top b {
  padding: 7px 10px;
  color: #061016;
  border-radius: 999px;
  background: var(--cbk-gold);
  font-size: 12px;
}

.account-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 20%, rgba(185, 255, 102, 0.52), transparent 24%),
    radial-gradient(circle at 10% 82%, rgba(0, 119, 255, 0.46), transparent 30%),
    linear-gradient(135deg, #07141b, #0b3d42 55%, #009a67);
}

.account-card small,
.account-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.account-card strong {
  display: block;
  margin: 20px 0 16px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
}

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

.action-grid a {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 92px;
  color: #07141b;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.action-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #061016;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--cbk-gold), var(--cbk-green-2));
  font-size: 18px;
}

.smart-feed {
  display: grid;
  gap: 10px;
}

.smart-feed div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.smart-feed b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cbk-green);
}

.smart-feed span {
  font-weight: 800;
}

.smart-feed em {
  color: var(--cbk-muted);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.quick-actions-band {
  position: relative;
  z-index: 2;
  padding: 34px 0 36px;
}

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

.quick-actions a {
  min-height: 122px;
  padding: 20px;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(7, 20, 27, 0.08);
  backdrop-filter: blur(18px);
}

.quick-actions strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.quick-actions span {
  color: var(--cbk-muted);
  font-weight: 700;
}

.experience-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product-directory {
  padding-top: 70px;
}

.product-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-group {
  display: grid;
  align-content: start;
  min-height: 380px;
  padding: 24px;
  border: 1px solid rgba(15, 83, 113, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 83, 113, 0.05), transparent 38%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(15, 83, 113, 0.08);
}

.product-group-head span {
  color: var(--cbk-green);
  font-size: 13px;
  font-weight: 900;
}

.product-group-head h3 {
  margin: 8px 0 18px;
  color: var(--cbk-ink-deep);
  font-size: 28px;
  line-height: 1.1;
}

.product-list {
  display: grid;
  gap: 8px;
}

.product-list a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  color: #214756;
  border: 1px solid rgba(15, 83, 113, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.product-list a:hover {
  color: #fff;
  border-color: var(--cbk-green);
  background: var(--cbk-green);
}

.experience-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 20, 27, 0.07);
}

.experience-card.primary {
  grid-row: span 2;
  min-height: 394px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(185, 255, 102, 0.4), transparent 26%),
    linear-gradient(135deg, #07141b, #006c84);
}

.experience-card small {
  display: block;
  margin-bottom: 22px;
  color: var(--cbk-blue);
  font-weight: 900;
  text-transform: none;
}

.experience-card.primary small,
.experience-card.primary p {
  color: rgba(255, 255, 255, 0.72);
}

.experience-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.05;
}

.experience-card p {
  color: var(--cbk-muted);
  line-height: 1.6;
}

.signature-section {
  background:
    linear-gradient(90deg, rgba(7, 20, 27, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 20, 27, 0.035) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px;
}

.promo-carousel {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding-bottom: 26px;
}

.carousel-shell {
  overflow: hidden;
  border: 1px solid rgba(7, 20, 27, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(185, 255, 102, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 251, 0.92));
  box-shadow: 0 28px 80px rgba(7, 20, 27, 0.12);
  backdrop-filter: blur(22px);
}

.carousel-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 28px 0;
}

.carousel-topline h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #061016;
  border: 1px solid rgba(7, 20, 27, 0.1);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.carousel-track {
  display: flex;
  transition: transform 520ms ease;
  will-change: transform;
}

.promo-slide {
  flex: 0 0 100%;
  padding: 28px;
}

.promo-slide > div {
  display: grid;
  align-content: end;
  min-height: 280px;
  padding: 34px;
  overflow: hidden;
  position: relative;
  color: #fff;
  border-radius: 24px;
  background:
    linear-gradient(100deg, rgba(7, 20, 27, 0.96), rgba(7, 20, 27, 0.74) 54%, rgba(7, 20, 27, 0.28)),
    radial-gradient(circle at 82% 26%, rgba(185, 255, 102, 0.64), transparent 24%),
    radial-gradient(circle at 78% 84%, rgba(0, 119, 255, 0.62), transparent 26%),
    linear-gradient(135deg, #0b3d42, #00a66a);
}

.promo-slide > div::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 38px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  transform: rotate(16deg);
}

.promo-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #061016;
  border-radius: 999px;
  background: var(--cbk-gold);
  font-size: 13px;
  font-weight: 900;
}

.promo-slide h3 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
}

.promo-slide p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.promo-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  margin-top: 10px;
  padding: 0 18px;
  color: #061016;
  border-radius: 14px;
  background: #fff;
  font-weight: 900;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  padding: 0 28px 28px;
}

.carousel-dots button {
  width: 36px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 20, 27, 0.16);
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: var(--cbk-green);
}

@media (max-width: 980px) {
  .hero-your-bank .hero-inner,
  .banking-band {
    grid-template-columns: 1fr;
  }

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

  .product-groups {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-topline {
    grid-template-columns: 1fr;
  }

  .your-bank-device {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  .hero-copy h1 {
    font-size: 76px;
  }

  .action-grid,
  .quick-actions,
  .experience-wall,
  .product-groups {
    grid-template-columns: 1fr;
  }

  .nav-menu .sub-menu {
    display: none;
  }

  .quick-actions-band {
    padding-top: 18px;
  }

  .promo-carousel {
    margin-top: -42px;
  }

  .promo-slide,
  .carousel-topline {
    padding-left: 16px;
    padding-right: 16px;
  }

  .promo-slide > div {
    min-height: 330px;
    padding: 24px;
  }

  .promo-slide > div::after {
    width: 130px;
    height: 130px;
  }

  .account-card {
    min-height: 180px;
    padding: 22px;
  }
}

/* Brand manual alignment */
:root {
  --cbk-ink: #0f5371;
  --cbk-ink-deep: #07384d;
  --cbk-muted: #5f7783;
  --cbk-green: #f15c3a;
  --cbk-green-2: #ff8a6c;
  --cbk-blue: #0f5371;
  --cbk-sky: #e8f2f5;
  --cbk-gold: #f15c3a;
  --cbk-paper: #f3f7f8;
  --cbk-line: rgba(15, 83, 113, 0.14);
  --shadow: 0 24px 70px rgba(15, 83, 113, 0.14);
}

body {
  color: var(--cbk-ink-deep);
  font-family: "PF Transit", "PFTransitLight", Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(15, 83, 113, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 83, 113, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px;
}

h1,
h2,
h3,
.primary-link,
.ghost-link,
.card-link,
.quick-actions strong,
.promo-kicker {
  font-family: Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
}

.brand {
  font-family: "CF Lampoon", "CfLampoonBold", Inter, "Noto Sans", "Segoe UI", Arial, sans-serif;
}

.top-strip,
.final-cta,
.impact {
  background: var(--cbk-ink-deep);
}

.brand {
  min-width: 250px;
}

.brand-logo {
  width: clamp(210px, 19vw, 310px);
  height: auto;
}

.brand-mark {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
}

.primary-link,
.brand-mark,
.feature b,
.action-grid span {
  color: #fff;
  background: var(--cbk-green);
  box-shadow: 0 14px 30px rgba(241, 92, 58, 0.24);
}

.icon-link,
.card-link,
.eyebrow,
.experience-card small,
.news-card time {
  color: var(--cbk-green);
}

.eyebrow {
  letter-spacing: 0.01em;
  text-transform: none;
}

.hero-copy .eyebrow {
  color: var(--cbk-green);
  font-size: 15px;
  letter-spacing: 0;
}

.eyebrow::before,
.carousel-dots button[aria-current="true"] {
  background: var(--cbk-green);
}

.hero-your-bank {
  background:
    radial-gradient(circle at 76% 18%, rgba(241, 92, 58, 0.22), transparent 26%),
    radial-gradient(circle at 88% 64%, rgba(15, 83, 113, 0.2), transparent 25%),
    linear-gradient(135deg, #fbfdff 0%, #eef6f7 42%, #ffffff 100%);
}

h1,
.section h2,
.carousel-topline h2,
.proof-card strong {
  color: var(--cbk-ink-deep);
}

.section h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
}

.banking-band .section h2,
.banking-band h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.feature {
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}

.feature b {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 22px;
}

.feature p {
  margin-bottom: 0;
  color: var(--cbk-ink-deep);
  font-size: 22px;
  line-height: 1.35;
}

.feature p strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.2;
}

.account-card,
.main-balance,
.balance,
.experience-card.primary,
.promo-slide > div {
  background:
    radial-gradient(circle at 84% 20%, rgba(241, 92, 58, 0.42), transparent 24%),
    radial-gradient(circle at 10% 82%, rgba(255, 138, 108, 0.28), transparent 30%),
    linear-gradient(135deg, var(--cbk-ink-deep), var(--cbk-ink) 62%, #1b7495);
}

.device-top b,
.promo-kicker {
  color: #fff;
  background: var(--cbk-green);
}

.carousel-shell {
  background:
    radial-gradient(circle at 88% 18%, rgba(241, 92, 58, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(243, 247, 248, 0.94));
}

.impact {
  background:
    radial-gradient(circle at 18% 20%, rgba(241, 92, 58, 0.2), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(255, 138, 108, 0.17), transparent 28%),
    var(--cbk-ink-deep);
}

.impact h2,
.impact h3,
.impact .section h2 {
  color: #fff;
}

.impact .section-head p {
  color: rgba(255, 255, 255, 0.84);
}

.final-cta {
  background:
    radial-gradient(circle at 82% 24%, rgba(241, 92, 58, 0.22), transparent 28%),
    var(--cbk-ink-deep);
}

.quick-actions a,
.experience-card,
.audience-card,
.proof-card,
.news-card,
.your-bank-device,
.carousel-shell {
  border-color: rgba(15, 83, 113, 0.12);
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 220px;
  }
}
