/* ==========================================================================
   Inner pages — page hero, about, directors, documents, gallery,
   contact/branches, services, micro ATM, blood donation
   ========================================================================== */

/* ---------- Compact page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ice-blue) 0%, var(--light-blue) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero--directors {
  background:
    url("../images/home/Board of Directors.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--fixed {
  background:
    url("../images/home/Fixed Deposit.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--certificate {
  background:
    url("../images/home/Certificate.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--financials {
  background:
    url("../images/home/Financials.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--mayura {
  background:
    url("../images/home/Mayura Account.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--samruddhi {
  background:
    url("../images/home/Samruddhi Certificate.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--savings {
  background:
    url("../images/home/BannersSavings Bank Account.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--senior {
  background:
    url("../images/home/Senior Citizen Scheme.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--gold {
  background:
    url("../images/home/Gold Loan.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--business {
  background:
    url("../images/home/Business.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--personal {
  background:
    url("../images/home/Personal Loan.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--home {
  background:
    url("../images/home/Home.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--mymoney {
  background:
    url("../images/home/My Money Loan.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--vehicle {
  background:
    url("../images/home/Vehicle Loan.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--asset {
  background:
    url("../images/home/Asset Purchase Loan.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--salary {
  background:
    url("../images/home/Salary Loan.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--skill {
  background:
    url("../images/home/Skill Advance.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--blood {
  background:
    url("../images/home/Blood Donors Network.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--gallery {
  background:
    url("../images/home/gALLERY.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--member {
  background:
    url("../images/home/Innovative Member Service Center.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--micro {
  background:
    url("../images/home/Micro ATM.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--contact {
  background:
    url("../images/home/Our Branches.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(11, 77, 162, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 77, 162, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(11, 77, 162, 0.1);
  box-shadow: 0 0 0 70px rgba(11, 77, 162, 0.025), 0 0 0 140px rgba(11, 77, 162, 0.02);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.page-hero .breadcrumb {
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero__sub {
  margin: -0.25rem 0 1rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  color: var(--primary-blue);
}

.page-hero__lead {
  max-width: 62ch;
  margin: 0 0 1.75rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

.page-hero__lead:last-child {
  margin-bottom: 0;
}

.page-hero--dark--about {
  background:
    url("../images/about/KADAMBA SOUHARDHA CO-OPERATIVE LIMITED.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 0;
}

.page-hero--dark--mobile {
  background:
    url("../images/services/Kadamba Mobile Application.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 0;
}

.page-hero--mobile-app::before {
  background-image: none;
}

.page-hero--dark::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px,
      transparent 1px), linear-gradient(90deg,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px);
}

.page-hero--dark::after {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.02);
}

.page-hero--dark h1 {
  color: #071E41;
}

.page-hero--dark .page-hero__lead {
  color: #5B6B82;
}

.page-hero--dark .page-hero__sub {
  color: #1267D6;
}

.page-hero--dark .breadcrumb li,
.page-hero--dark .breadcrumb a {
  color: #5B6B82;
}

.page-hero--dark .breadcrumb [aria-current="page"] {
  color: #061E41;
}

.page-hero--dark .breadcrumb li+li::before {
  color: rgba(255, 255, 255, 0.3);
}


/* Emblem visual used in hero when no photography is needed */
.hero-emblem {
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  width: min(300px, 100%);
  aspect-ratio: 1;
}

.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}

.hero-emblem::before {
  inset: 0;
}

.hero-emblem::after {
  inset: 16%;
  border-style: dashed;
  animation: spin 60s linear infinite;
}

.hero-emblem__core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, var(--royal-blue), var(--navy));
  box-shadow: var(--shadow-lg);
  transform: rotate(-6deg);
}

.hero-emblem__core .ico {
  width: 44%;
  height: 44%;
  transform: rotate(6deg);
  stroke-width: 1.5;
}

.hero-emblem__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 6px rgba(33, 134, 235, 0.15);
}

.hero-emblem__dot:nth-of-type(2) {
  top: 8%;
  right: 22%;
}

.hero-emblem__dot:nth-of-type(3) {
  bottom: 14%;
  left: 8%;
  width: 8px;
  height: 8px;
}

.page-hero--dark .hero-emblem::before,
.page-hero--dark .hero-emblem::after {
  border-color: rgba(255, 255, 255, 0.2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Key facts card in product hero */
.hero-facts {
  padding: 1.5rem;
  display: grid;
  gap: 0;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
}

.hero-facts__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.hero-facts__title .ico {
  width: 16px;
  height: 16px;
}

.hero-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--border);
}

.hero-fact:first-of-type {
  border-top: 0;
}

.hero-fact dt {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.hero-fact dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

/* ---------- About ---------- */
.statement {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 30ch;
}

.statement em {
  font-style: normal;
  color: var(--primary-blue);
}

.editorial-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.editorial-2__label {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.editorial-2__body p {
  font-size: var(--fs-lead);
  color: var(--text-dark);
  line-height: 1.75;
}

.editorial-2__body p+p {
  margin-top: 1.25rem;
}

.est-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.est-strip>div {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.est-strip>div+div {
  border-left: 1px solid var(--border);
}

.est-strip dt {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.est-strip dd {
  margin: 0;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  counter-reset: pt;
  border-top: 1px solid var(--border);
}

.points li {
  counter-increment: pt;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
}

.points li:nth-child(odd) {
  padding-right: 2rem;
}

.points li:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.points li::before {
  content: counter(pt, decimal-leading-zero);
  flex: none;
  width: 2.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--royal-blue);
  letter-spacing: 0.04em;
}

.points li .ico {
  width: 22px;
  height: 22px;
  color: var(--primary-blue);
  margin-left: auto;
  opacity: 0.7;
}

/* ---------- Board of directors ---------- */
.chairman {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.chairman__photo {
  position: relative;
}

.chairman__photo .media {
  --ratio: 4 / 5;
  border-radius: 20px;
}

.chairman__photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
}

.chairman__name {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  margin: 0.5rem 0;
}

.chairman__role {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 1.5rem;
}

.orgs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.orgs li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
}

.orgs li .ico {
  width: 18px;
  height: 18px;
  color: var(--primary-blue);
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.director--featured {
  grid-column: span 1;
  border-color: var(--primary-blue);
}

/* ---------- Certificates ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.cert {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cert__preview {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.75rem);
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--ice-blue);
  cursor: zoom-in;
}

.cert__preview .media {
  --ratio: 3 / 2;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 30px -18px rgba(7, 30, 65, 0.35);
}

.cert__zoom {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary-blue);
  border: 1px solid var(--border);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.cert__zoom .ico {
  width: 18px;
  height: 18px;
}

.cert:hover .cert__zoom,
.cert__preview:focus-visible .cert__zoom {
  opacity: 1;
  transform: none;
}

.cert__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: grid;
  gap: 1rem;
}

.cert__body h3 {
  margin: 0;
  font-size: 1.0625rem;
}

/* ---------- Financials ---------- */
.fin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.fin-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.5rem;
}

.fin-aside h2 {
  font-size: 1.125rem;
}

.fin-aside p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.fin-year__count {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}

.doc-list {
  display: grid;
  gap: 0.75rem;
}

.doc-list .doc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--ice-blue);
}

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.masonry {
  columns: 3 300px;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  column-fill: balance;
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.masonry__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.masonry__btn .media {
  border-radius: var(--radius-lg);
}

.masonry__btn .media__img {
  transition: transform 0.6s var(--ease), opacity var(--dur-slow) var(--ease);
}

.masonry__btn:hover .media__img {
  transform: scale(1.05);
}

.masonry__overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 2.5rem 1rem 1rem;
  text-align: left;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(7, 30, 65, 0.8));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.masonry__overlay .ico {
  width: 18px;
  height: 18px;
}

.masonry__btn:hover .masonry__overlay,
.masonry__btn:focus-visible .masonry__overlay {
  opacity: 1;
  transform: none;
}

/* ---------- Contact / branches ---------- */
.offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.office {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.office h2,
.office h3 {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.office address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
}

.office a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  font-weight: 600;
  text-decoration: none;
}

.office a .ico {
  width: 17px;
  height: 17px;
}

.branch-finder {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.branch-list {
  padding: 1rem;
  border-right: 1px solid var(--border);
  background: var(--ice-blue);
  display: grid;
  gap: 0.375rem;
  align-content: start;
  max-height: 640px;
  overflow-y: auto;
}

.branch-list__label {
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.branch-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 52px;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  text-align: left;
  font: 600 0.9875rem/1.3 var(--font-sans);
  color: var(--navy);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.branch-tab .icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
}

.branch-tab .icon-badge .ico {
  width: 16px;
  height: 16px;
}

.branch-tab .ico-arrow {
  margin-left: auto;
  width: 16px;
  height: 16px;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  color: var(--primary-blue);
}

.branch-tab:hover {
  background: #fff;
  border-color: var(--border);
}

.branch-tab[aria-selected="true"] {
  background: #fff;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.branch-tab[aria-selected="true"] .icon-badge {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

.branch-tab[aria-selected="true"] .ico-arrow {
  opacity: 1;
}

.branch-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-content: start;
  animation: panelIn var(--dur) var(--ease);
}

.branch-panel[hidden] {
  display: none;
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

.branch-panel__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.branch-panel__head h3 {
  margin: 0;
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
}

.branch-detail {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.branch-detail li {
  display: flex;
  gap: 0.875rem;
}

.branch-detail h4 {
  margin: 0 0 0.25rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.branch-detail address,
.branch-detail p {
  font-style: normal;
  margin: 0;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.6;
}

.branch-detail a {
  font-weight: 600;
  text-decoration: none;
}

.map-ph {
  --ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
}

.map-ph .media__ph .ico {
  opacity: 0.7;
}

.map-ph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary-blue);
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 0 0 8px rgba(11, 77, 162, 0.12);
  display: none;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-info {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-info li {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-info small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-info a {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.0625rem;
}

.contact-info a:hover {
  color: var(--primary-blue);
}

/* ---------- Services dashboard ---------- */
.dash {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.875rem;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 150px;
  padding: 1.25rem;
}

.tile h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.tile:hover {
  border-color: var(--primary-blue);
}

.tile:hover .icon-badge {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
}

.tile--wide {
  grid-column: span 2;
  background: linear-gradient(140deg, var(--navy), var(--primary-blue));
  border-color: transparent;
  color: var(--text-on-dark);
}

.tile--wide h3 {
  color: #fff;
}

.elements {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: el;
  border-top: 1px solid var(--border);
}

.elements li {
  counter-increment: el;
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  transition: padding var(--dur) var(--ease), color var(--dur) var(--ease);
}

.elements li::before {
  content: counter(el, decimal-leading-zero);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--royal-blue);
  letter-spacing: 0.06em;
}

.elements li .ico {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  opacity: 0.6;
}

.elements li:hover {
  padding-left: 0.5rem;
  color: var(--primary-blue);
}

.category-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.category {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.category__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.category__head h3 {
  margin: 0;
}

.category--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--text-on-dark);
}

.category--dark h3 {
  color: #fff;
}

.category--dark .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.category--dark .chip .ico {
  color: #8EC2FF;
}

/* ---------- Mobile app page ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature-row+.feature-row {
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
}

.feature-row--reverse> :first-child {
  order: 2;
}

.feature-row h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  letter-spacing: -0.02em;
}

.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--ice-blue), var(--light-blue));
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature-visual::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
}

.feature-visual__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--royal-blue), var(--navy));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.feature-visual__icon .ico {
  width: 42px;
  height: 42px;
  stroke-width: 1.5;
}

.feature-visual__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.feature-visual__chip .ico {
  width: 15px;
  height: 15px;
  color: var(--primary-blue);
}

.feature-visual__chip:nth-of-type(1) {
  top: 16%;
  left: 8%;
}

.feature-visual__chip:nth-of-type(2) {
  bottom: 16%;
  right: 8%;
}

.feature-visual__chip:nth-of-type(3) {
  top: 20%;
  right: 10%;
}

.feature-visual {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 24px;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.gold-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-xl);

  background:
    url("../images/services/Gold Trading.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gold-panel h2,
.gold-panel h3 {
  color: #5B6B82;
}

.gold-panel__coin {
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(220px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F8E2A3, #D3A845 55%, #A87C1F 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 10px rgba(255, 255, 255, 0.18), inset 0 0 0 12px rgba(120, 85, 20, 0.35);
  color: #6E4E0E;
}

.gold-panel__coin .ico {
  width: 40%;
  height: 40%;
  stroke-width: 1.3;
}

.approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.approach li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.0625rem;
  transition: background-color var(--dur) var(--ease);
}

.approach li:nth-child(3n) {
  border-right: 0;
}

.approach li:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.approach li:hover {
  background: var(--ice-blue);
}

/* ---------- Micro ATM flow diagram ---------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.8fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.flow__col {
  display: grid;
  gap: 0.875rem;
}

.flow__col h3 {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.flow__node {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.flow__hub {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  aspect-ratio: 1;
  padding: 1.5rem;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  background: radial-gradient(circle at 30% 25%, var(--royal-blue), var(--navy));
  box-shadow: 0 0 0 12px var(--light-blue), 0 0 0 13px var(--border-strong), var(--shadow-lg);
}

.flow__hub .ico {
  width: 36px;
  height: 36px;
}

.flow__arrow {
  display: grid;
  place-items: center;
  color: var(--primary-blue);
}

.flow__arrow svg {
  width: 56px;
  height: 20px;
}

.flow__node--benefit {
  background: var(--ice-blue);
  border-color: var(--border-strong);
}

/* ---------- Blood donation ---------- */
.care-hero-mark {
  color: #fff;
  background: linear-gradient(145deg, #D64545, #8E1B1B);
}

.blood-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}