/* ==========================================================================
   Undes Pharm — About page premium refinement
   ========================================================================== */

:root {
  --header-height: 86px;
  --container-width: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.about-page .container {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
}

/* Header */
body.about-page .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 61, 145, 0.07);
  box-shadow: none;
  transition: box-shadow 0.3s var(--ease-out);
}

body.about-page .site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(11, 61, 145, 0.08);
}

body.about-page .site-header__inner {
  height: var(--header-height);
  max-width: 1240px;
}

body.about-page .logo__img,
body.about-page .site-logo img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 190px;
  object-fit: contain;
}

body.about-page .logo--footer .logo__img,
body.about-page .footer-logo img {
  width: auto;
  height: 72px;
  max-width: 180px;
}

body.about-page .nav__list {
  gap: 32px;
}

@media (min-width: 1024px) {
  body.about-page .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  body.about-page .logo {
    justify-self: start;
  }

  body.about-page .nav {
    justify-self: center;
  }

  body.about-page .header-actions {
    justify-self: end;
  }
}

/* Hero */
.about-hero {
  min-height: 260px;
  display: flex;
  align-items: center;
  padding-block: 0;
  background:
    linear-gradient(
      110deg,
      #0B3D91 0%,
      #1559B2 52%,
      #176B70 100%
    );
  color: #FFFFFF;
}

.about-hero .breadcrumb {
  margin-bottom: 14px;
  font-size: 13px;
}

.about-hero .breadcrumb a,
.about-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.72);
}

.about-hero .breadcrumb a:hover {
  color: #FFFFFF;
}

.about-hero .breadcrumb__current {
  color: #F1C75B;
}

.about-hero__accent {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 14px;
  background: #D4A017;
}

.about-hero__title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-transform: none;
}

.about-hero__desc {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 640px;
  margin: 0;
}

/* Introduction */
.about-intro {
  padding: 96px 0;
}

.about-intro__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-intro__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
  }
}

.about-intro__media {
  position: relative;
}

.about-intro__media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 18px -18px -18px 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11, 61, 145, 0.12), rgba(30, 111, 61, 0.14));
}

.about-intro__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 61, 145, 0.12);
  background: #E8F0F5;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E6F3D;
  margin-bottom: 12px;
}

.about-intro__title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #0B3D91;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-intro__text {
  font-size: 16px;
  line-height: 1.85;
  color: #4F5660;
  max-width: 560px;
  margin-bottom: 14px;
}

.about-intro__text:last-child {
  margin-bottom: 0;
}

/* Brand statement */
.about-brandline {
  padding: 8px 0 56px;
  text-align: center;
}

.about-brandline__ornament {
  display: block;
  width: 40px;
  height: 3px;
  margin: 0 auto 18px;
  background: #D4A017;
}

.about-brandline__text {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #0B3D91;
  line-height: 1.35;
  margin: 0;
}

/* Mission / Vision */
.about-mission {
  background: #F4F7FA;
  padding: 96px 0 84px;
}

.about-mission .section-title {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #0B3D91;
  text-align: center;
}

.about-mission .section-divider {
  margin: 16px auto 40px;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 768px) {
  .about-mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-mission-card {
  background: #FFFFFF;
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: 18px;
  padding: 30px 32px;
  min-height: 170px;
  box-shadow: 0 10px 28px rgba(11, 61, 145, 0.06);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.about-mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 61, 145, 0.1);
}

.about-mission-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

.about-mission-card__icon svg {
  width: 24px;
  height: 24px;
}

.about-mission-card__icon--blue {
  background: rgba(11, 61, 145, 0.1);
  color: #0B3D91;
}

.about-mission-card__icon--green {
  background: rgba(30, 111, 61, 0.1);
  color: #1E6F3D;
}

.about-mission-card__icon--gold {
  background: rgba(212, 160, 23, 0.14);
  color: #D4A017;
}

.about-mission-card__icon--teal {
  background: rgba(23, 107, 112, 0.12);
  color: #176B70;
}

.about-mission-card:hover .about-mission-card__icon--blue {
  background: #0B3D91;
  color: #FFFFFF;
}

.about-mission-card:hover .about-mission-card__icon--green {
  background: #1E6F3D;
  color: #FFFFFF;
}

.about-mission-card:hover .about-mission-card__icon--gold {
  background: #D4A017;
  color: #FFFFFF;
}

.about-mission-card:hover .about-mission-card__icon--teal {
  background: #176B70;
  color: #FFFFFF;
}

.about-mission-card__title {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0B3D91;
  margin-bottom: 10px;
}

.about-mission-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: #5F6368;
  margin: 0;
}

.about-value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.about-value-tag {
  display: inline-flex;
  align-items: center;
  background: #F0F4F8;
  border: 1px solid rgba(11, 61, 145, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #0B3D91;
  padding: 7px 11px;
  line-height: 1.2;
}

/* Stats — verified only */
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 46px auto 0;
}

.about-stats--single {
  max-width: 280px;
}

.about-stat {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(11, 61, 145, 0.07);
  border: 1px solid rgba(11, 61, 145, 0.06);
}

.about-stat__number {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #0B3D91;
  line-height: 1.1;
}

.about-stat__label {
  font-size: 13px;
  color: #666666;
  margin-top: 8px;
}

/* Footer transition */
body.about-page main {
  padding-bottom: 0;
}

body.about-page .about-mission {
  padding-bottom: 84px;
}

body.about-page .site-footer {
  padding-top: 62px;
  padding-bottom: 26px;
}

body.about-page .footer-certs {
  display: none;
}

/* Hide any leftover public placeholder notes */
body.about-page .placeholder-note {
  display: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-mission-card:hover {
    transform: none;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-intro {
    padding: 72px 0;
  }

  .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-intro__image {
    height: 380px;
  }

  .about-mission {
    padding: 72px 0 72px;
  }

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

  .about-stats--single {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  body.about-page {
    --header-height: 72px;
  }

  body.about-page .site-header .logo__img,
  body.about-page .site-header .site-logo img {
    height: 52px;
    width: auto;
    max-width: 150px;
  }

  .about-hero {
    min-height: auto;
    padding: 44px 0;
  }

  .about-hero__title {
    font-size: 34px;
  }

  .about-hero__desc {
    font-size: 16px;
  }

  .about-intro {
    padding: 56px 0 40px;
  }

  .about-intro__grid {
    grid-template-columns: 1fr;
  }

  .about-intro__image {
    height: 310px;
  }

  .about-intro__media::before {
    inset: 12px -12px -12px 12px;
  }

  .about-intro__title {
    font-size: 30px;
  }

  .about-intro__text {
    font-size: 16px;
  }

  .about-brandline {
    padding: 0 0 40px;
  }

  .about-brandline__text {
    font-size: 18px;
  }

  .about-mission {
    padding: 56px 0 64px;
  }

  .about-mission .section-title {
    font-size: 30px;
  }

  .about-mission-card {
    padding: 24px;
    min-height: 0;
  }

  .about-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .about-stats--single {
    max-width: 100%;
  }
}
