/* Our Brand page — narrative sections */

/* Top banner (image from /image/about-our-brand-banner.jpg) */
.page-banner--our-brand {
  position: relative;
  min-height: var(--page-banner-image-min-height);
  background-color: var(--color-primary);
  background-image: url("../image/about-our-brand-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner--our-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.35) 50%,
    rgba(15, 23, 42, 0.45) 100%
  );
}

.page-banner--our-brand .page-banner__inner {
  position: relative;
  z-index: 1;
  padding-top: 0.75rem;
}

.brand-page {
  background: var(--color-surface);
}

.brand-section {
  padding: 3.5rem 1rem;
}

.brand-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand-section--footer-back {
  padding-top: 0;
  padding-bottom: 3rem;
}

.brand-section--footer-back .brand-section__inner {
  text-align: center;
}

/* 1. Brand “video” — image + copy */
.brand-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.brand-split__media {
  min-height: 280px;
  background: #e8eef2;
}

.brand-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.brand-split__body {
  padding: 2rem 2.25rem 2.25rem 1rem;
}

.brand-split__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.brand-split__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.brand-split__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* 2 & 5. Centered card on background */
.brand-band {
  position: relative;
  min-height: min(52vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
}

.brand-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.55) 100%
  );
}

.brand-band__card {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.25rem 2rem 2.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.brand-band__card-title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

.brand-band__card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  text-align: left;
}

/* 3. Our Purpose — left-aligned block */
.brand-purpose {
  position: relative;
  min-height: min(48vh, 500px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3.5rem 1.25rem;
  background-color: #1a365d;
  background-size: cover;
  background-position: center;
}

.brand-purpose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.45) 55%,
    rgba(15, 23, 42, 0.25) 100%
  );
}

.brand-purpose__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.brand-purpose__block {
  max-width: 36rem;
  padding: 2rem 0;
}

.brand-purpose__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #fff;
}

.brand-purpose__lead {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.brand-purpose__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

/* 4. Statistics image */
.brand-stats {
  padding: 2.5rem 1rem 3rem;
  background: var(--color-white);
}

.brand-stats__figure {
  margin: 0 auto;
  max-width: var(--container-max);
}

.brand-stats__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

/* 7. Transformation CTA */
.brand-cta {
  position: relative;
  min-height: min(42vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
}

.brand-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.brand-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  text-align: center;
}

.brand-cta__headline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.brand-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-primary);
  background: #fff;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.brand-cta__btn:hover,
.brand-cta__btn:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

/* 8. CSR — split */
.brand-csr {
  background: var(--color-white);
}

.brand-csr .brand-split__body {
  padding: 2rem 2rem 2.25rem;
}

.brand-csr__btn {
  display: inline-flex;
  margin-top: 1.35rem;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.brand-csr__btn:hover,
.brand-csr__btn:focus-visible {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 991.98px) {
  .brand-split {
    grid-template-columns: 1fr;
  }

  .brand-split__body {
    padding: 1.75rem 1.35rem 2rem;
  }

  .brand-split__media img {
    min-height: 220px;
  }

  .brand-purpose__block {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .brand-section {
    padding: 2.5rem 1rem;
  }

  .brand-band__card-text {
    font-size: 0.95rem;
  }
}
