/* =========================================================
   GLOBE TRUST BANK — BUSINESS BANKING PAGE
   File: public/css/business.css
   Depends on shared design tokens and header/footer in site.css
   ========================================================= */

:root {
  --business-ivory: #f8f6f0;
  --business-white: #ffffff;
  --business-navy: #101f35;
  --business-navy-deep: #0a1729;
  --business-gold: #c7a45b;
  --business-gold-light: #dfc98e;
  --business-text: #243247;
  --business-muted: #6e7785;
  --business-border: rgba(16, 31, 53, 0.13);
  --business-radius: 5px;
}

/* ---------- PAGE BASE ---------- */

body:has(.about-hero) {
  background: var(--business-ivory);
}

.about-hero,
.about-section,
.about-cta {
  position: relative;
  overflow: hidden;
}

.about-hero .container,
.about-section .container,
.about-cta .container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

/* ---------- HERO ---------- */

.about-hero {
  padding: clamp(76px, 9vw, 124px) 0 clamp(78px, 9vw, 118px);
  background:
    radial-gradient(
      ellipse at 82% 16%,
      rgba(199, 164, 91, 0.13),
      transparent 38%
    ),
    var(--business-ivory);
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 7%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(199, 164, 91, 0.3),
    transparent
  );
  pointer-events: none;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.about-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #9b7936;
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--business-gold);
}

.display {
  margin: 0;
  color: var(--business-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.display em,
.display-md em {
  color: #a98743;
  font-weight: 500;
}

.lead {
  color: var(--business-text);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  font-weight: 400;
  line-height: 1.9;
}

.about-hero-copy > .lead {
  max-width: 490px;
  margin: 26px 0 0;
}

.hero-actions {
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: var(--business-radius);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--business-gold);
  outline-offset: 4px;
}

.btn-gold {
  background: var(--business-gold);
  color: var(--business-navy-deep);
}

.btn-gold:hover {
  background: var(--business-gold-light);
  color: var(--business-navy-deep);
}

.btn-outline {
  border-color: rgba(16, 31, 53, 0.3);
  background: transparent;
  color: var(--business-navy);
}

.btn-outline:hover {
  border-color: var(--business-navy);
  background: var(--business-navy);
  color: var(--business-white);
}

/* Hero photograph */

.about-hero-photo {
  position: relative;
  min-width: 0;
  padding: 0 0 28px 28px;
}

.about-hero-photo::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 12px;
  width: 68%;
  height: 65%;
  border-top: 1px solid rgba(199, 164, 91, 0.75);
  border-left: 1px solid rgba(199, 164, 91, 0.75);
  pointer-events: none;
}

.about-hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #e9e3d7;
  box-shadow: 0 24px 65px rgba(16, 31, 53, 0.14);
}

.about-hero-photo-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(330px, 88%);
  flex-direction: column;
  gap: 9px;
  padding: 22px 25px;
  background: var(--business-navy);
  color: var(--business-white);
  box-shadow: 0 12px 32px rgba(10, 23, 41, 0.15);
}

.about-hero-photo-caption span {
  color: var(--business-gold-light);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.about-hero-photo-caption strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- LIGHT SECTIONS ---------- */

.about-section {
  padding: clamp(76px, 9vw, 116px) 0;
}

.about-section-light {
  background: var(--business-white);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 54px;
}

.display-md {
  margin: 0;
  color: var(--business-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.section-intro > .lead {
  max-width: 640px;
  margin-bottom: 0;
}

/* Capability cards */

.values-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--business-border);
  border-bottom: 1px solid var(--business-border);
}

.value-block {
  min-width: 0;
  padding: 34px 30px 38px;
}

.value-block:first-child {
  padding-left: 0;
}

.value-block:last-child {
  padding-right: 0;
}

.value-block + .value-block {
  border-left: 1px solid var(--business-border);
}

.value-number {
  margin-bottom: 34px;
  color: #ad8a45;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.value-block h3 {
  margin: 0 0 15px;
  color: var(--business-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.35;
}

.value-block p {
  margin: 0;
  color: var(--business-muted);
  font-size: 0.91rem;
  line-height: 1.9;
}

/* ---------- DARK CONTROLS SECTION ---------- */

.about-section-dark {
  background:
    radial-gradient(
      ellipse at 8% 90%,
      rgba(199, 164, 91, 0.1),
      transparent 35%
    ),
    var(--business-navy);
  color: var(--business-white);
}

.about-section-dark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.split-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(42px, 8vw, 110px);
}

.split-label {
  min-width: 0;
}

.eyebrow-light {
  color: var(--business-gold-light);
}

.about-section-dark .display-md {
  color: var(--business-white);
}

.split-body {
  min-width: 0;
  color: var(--business-muted);
  font-size: 0.95rem;
  line-height: 1.95;
}

.split-body p {
  margin: 0 0 23px;
}

.split-body .lead {
  margin-bottom: 24px;
  color: var(--business-navy);
  font-size: 1.12rem;
  line-height: 1.85;
}

.about-section-dark .split-body .lead {
  color: rgba(255, 255, 255, 0.94);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: var(--business-white);
}

.btn-ghost:hover {
  border-color: var(--business-gold);
  background: var(--business-gold);
  color: var(--business-navy);
}

.about-section-light .btn-ghost {
  border-color: var(--business-border);
  color: var(--business-navy);
}

/* ---------- PLATFORM STATUS ---------- */

.split-content-reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.status-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--business-border);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--business-border);
}

.status-dot {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #aeb5bd;
}

.status-dot-active {
  background: #3d9470;
  box-shadow: 0 0 0 4px rgba(61, 148, 112, 0.12);
}

.status-dot-progress {
  background: var(--business-gold);
  box-shadow: 0 0 0 4px rgba(199, 164, 91, 0.15);
}

.status-dot-pending {
  background: #aeb5bd;
}

.status-item > div {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.status-item strong {
  color: var(--business-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.status-item span:not(.status-dot) {
  color: var(--business-muted);
  font-size: 0.78rem;
  text-align: right;
}

/* ---------- CALL TO ACTION ---------- */

.about-cta {
  padding: clamp(76px, 9vw, 112px) 0;
  background:
    radial-gradient(
      ellipse at 85% 15%,
      rgba(199, 164, 91, 0.15),
      transparent 40%
    ),
    var(--business-ivory);
}

.about-cta-inner {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.about-cta-inner .eyebrow {
  justify-content: center;
}

.about-cta-inner .display-md {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.about-cta-inner > p {
  max-width: 600px;
  margin: 24px auto 0;
  color: var(--business-muted);
  font-size: 0.97rem;
  line-height: 1.9;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn-navy {
  background: var(--business-navy);
  color: var(--business-white);
}

.btn-navy:hover {
  background: #1c3555;
  color: var(--business-white);
}

/* ---------- TABLET ---------- */

@media (max-width: 960px) {
  .about-hero .container,
  .about-section .container,
  .about-cta .container {
    width: min(100% - 48px, 760px);
  }

  .about-hero {
    padding-block: 76px 88px;
  }

  .about-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 36px;
  }

  .display {
    font-size: clamp(2.7rem, 5.5vw, 4rem);
  }

  .about-hero-photo {
    padding-left: 18px;
  }

  .about-hero-photo-caption {
    padding: 18px;
  }

  .split-content,
  .split-content-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 42px;
  }

  .value-block {
    padding-inline: 22px;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 680px) {
  .about-hero .container,
  .about-section .container,
  .about-cta .container {
    width: calc(100% - 40px);
  }

  .about-hero {
    padding: 60px 0 72px;
  }

  .about-hero::before {
    right: 4%;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-hero-copy {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 19px;
    font-size: 0.65rem;
  }

  .display {
    font-size: clamp(2.65rem, 10vw, 4rem);
    line-height: 1.1;
  }

  .about-hero-copy > .lead {
    margin-top: 21px;
    font-size: 0.97rem;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 26px !important;
    gap: 10px !important;
  }

  .hero-actions .btn {
    flex: 1 1 155px;
  }

  .about-hero-photo {
    width: calc(100% - 10px);
    margin-left: 10px;
    padding: 0 0 22px 14px;
  }

  .about-hero-photo::before {
    top: -10px;
    left: 5px;
  }

  .about-hero-photo img {
    aspect-ratio: 5 / 4;
  }

  .about-hero-photo-caption {
    width: min(290px, 90%);
    padding: 16px 18px;
  }

  .about-hero-photo-caption strong {
    font-size: 0.96rem;
  }

  .about-section {
    padding: 70px 0;
  }

  .section-intro {
    margin-bottom: 36px;
  }

  .display-md {
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .section-intro > .lead {
    margin-top: 18px !important;
    font-size: 0.96rem;
  }

  .values-row {
    grid-template-columns: 1fr;
  }

  .value-block,
  .value-block:first-child,
  .value-block:last-child {
    padding: 27px 0 29px;
  }

  .value-block + .value-block {
    border-top: 1px solid var(--business-border);
    border-left: 0;
  }

  .value-number {
    margin-bottom: 21px;
    font-size: 1.45rem;
  }

  .value-block h3 {
    font-size: 1.3rem;
  }

  .value-block p {
    font-size: 0.89rem;
  }

  .split-content,
  .split-content-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-body {
    font-size: 0.92rem;
  }

  .split-body .lead {
    font-size: 1.04rem;
  }

  .status-list {
    margin-top: 28px;
  }

  .status-item {
    gap: 12px;
  }

  .status-item > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .status-item span:not(.status-dot) {
    text-align: left;
  }

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

  .about-cta-inner .display-md {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .about-cta-inner > p {
    font-size: 0.92rem;
  }

  .about-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta-actions .btn {
    width: 100%;
  }
}

/* ---------- SMALL PHONES ---------- */

@media (max-width: 380px) {
  .about-hero .container,
  .about-section .container,
  .about-cta .container {
    width: calc(100% - 32px);
  }

  .display {
    font-size: 2.45rem;
  }

  .display-md {
    font-size: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .about-hero-photo-caption {
    padding: 13px 15px;
  }

  .about-hero-photo-caption span {
    font-size: 0.58rem;
  }

  .about-hero-photo-caption strong {
    font-size: 0.88rem;
  }
}

/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
