/* =====================================================
   BLUE PEAK SUPPLY US — ABOUT PAGE STYLES
   Responsive for desktop, tablet, and mobile
===================================================== */

/* ---------- VARIABLES ---------- */

:root {
  --navy: #0b2545;
  --navy-dark: #071a32;
  --navy-light: #174a7c;
  --blue: #24649b;
  --gold: #d5a94f;
  --gold-light: #f0d99e;

  --white: #ffffff;
  --off-white: #f8fafc;
  --light-blue: #eaf2fa;
  --border: #dce4ec;

  --text: #26364a;
  --muted: #64748b;

  --container: 1160px;
}


/* ---------- RESET AND GLOBAL ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}


/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy-dark);
  background: var(--gold);
  border-radius: 9px 9px 9px 2px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 31px;
}

.navigation a {
  position: relative;
  padding: 10px 0;
  color: #46576c;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.navigation a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navigation a:hover,
.navigation a.active {
  color: var(--navy);
}

.navigation a:hover::after,
.navigation a.active::after {
  transform: scaleX(1);
}


/* ---------- MOBILE MENU BUTTON ---------- */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--off-white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}


/* ---------- BUTTONS ---------- */

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: var(--navy-dark);
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.button-outline:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-navy {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}


/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 95px;
  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(36, 100, 155, 0.4),
      transparent 32%
    ),
    linear-gradient(
      125deg,
      var(--navy-dark),
      var(--navy) 60%,
      #10365e
    );
}

.hero::before {
  position: absolute;
  top: -300px;
  right: -130px;
  width: 560px;
  height: 560px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  max-width: 610px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.65rem, 5vw, 4.5rem);
  line-height: 1.06;
  font-weight: 850;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-description {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.03rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.hero-note {
  max-width: 480px;
  margin-top: 29px;
  padding-left: 15px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}


/* ---------- USA IMAGE ---------- */

.hero-image-wrap {
  position: relative;
  padding: 12px;
}

.usa-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.25);
}

.image-caption {
  position: absolute;
  bottom: -12px;
  left: 0;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.caption-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: #4c9b79;
  border-radius: 50%;
}

.image-caption div {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.image-caption strong {
  color: var(--navy);
  font-size: 0.82rem;
}

.image-caption small {
  color: var(--muted);
  font-size: 0.7rem;
}


/* ---------- INTRODUCTION ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: 85px;
}

.intro h2,
.section-heading h2,
.process-heading h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 850;
}

.intro h2 span,
.section-heading h2 span,
.process-heading h2 span {
  color: var(--blue);
}

.intro-copy p {
  margin-bottom: 18px;
  font-size: 0.97rem;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link span {
  color: var(--blue);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}


/* ---------- VALUES ---------- */

.values {
  background: var(--off-white);
}

.centered {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}

.value-card {
  position: relative;
  min-height: 270px;
  padding: 27px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(7, 26, 50, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.value-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(7, 26, 50, 0.11);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--navy-light);
  background: var(--light-blue);
  border-radius: 11px;
  font-size: 1.4rem;
  font-weight: 800;
}

.card-number {
  position: absolute;
  top: 29px;
  right: 22px;
  color: #d7e0e9;
  font-size: 1rem;
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 11px;
  font-size: 1.08rem;
}

.value-card p {
  font-size: 0.86rem;
  line-height: 1.8;
}


/* ---------- PROCESS ---------- */

.process-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 65px;
  margin-bottom: 43px;
}

.process-heading > p {
  line-height: 1.85;
}

.process-list {
  border-top: 1px solid var(--border);
}

.process-item {
  display: grid;
  grid-template-columns: 65px 1fr 35px;
  align-items: center;
  gap: 24px;
  padding: 28px 12px;
  border-bottom: 1px solid var(--border);
  transition:
    background 0.2s ease,
    padding 0.2s ease;
}

.process-item:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: var(--off-white);
}

.step {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--light-blue);
  border: 1px solid #d8e5f0;
  border-radius: 12px;
  font-weight: 900;
}

.process-item h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.process-item p {
  max-width: 760px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.process-arrow {
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
}


/* ---------- COMMITMENT ---------- */

.commitment {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(
      circle at 85% 50%,
      rgba(36, 100, 155, 0.3),
      transparent 32%
    ),
    linear-gradient(
      120deg,
      var(--navy-dark),
      var(--navy) 65%,
      #10365e
    );
}

.commitment-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 50px;
}

.commitment h2 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.commitment h2 span {
  color: var(--gold);
}

.commitment-inner > div:first-child > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}


/* BP decorative emblem */

.bp-emblem {
  width: 235px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(213, 169, 79, 0.4);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 23px rgba(255, 255, 255, 0.025),
    inset 0 0 0 48px rgba(213, 169, 79, 0.06);
}

.bp-emblem span {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  color: var(--navy-dark);
  background: var(--gold);
  border-radius: 20px 20px 20px 5px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.1em;
}


/* ---------- CONTACT STRIP ---------- */

.contact-strip {
  padding: 58px 0;
  background: var(--light-blue);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-strip .eyebrow {
  margin-bottom: 10px;
}

.contact-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-strip > .container p {
  margin-top: 10px;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 11px;
}

.email-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #d4e1ed;
  border-radius: 10px;
}

.email-link > span:last-child {
  display: flex;
  flex-direction: column;
}

.email-link small {
  color: var(--muted);
  font-size: 0.72rem;
}

.email-link strong {
  color: var(--navy);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}


/* ---------- FOOTER ---------- */

.footer {
  padding: 62px 0 0;
  background: var(--navy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: 65px;
  padding-bottom: 48px;
}

.footer-brand .brand-name strong {
  color: var(--white);
}

.footer-brand .brand-name small {
  color: rgba(255, 255, 255, 0.58);
}

.footer-about p {
  max-width: 360px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.8;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.77rem;
}

.footer-bottom a {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}


/* ---------- TABLET RESPONSIVE ---------- */

@media (max-width: 1020px) {
  .hero-grid {
    gap: 35px;
  }

  .intro-grid {
    gap: 48px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card {
    min-height: 235px;
  }

  .footer-grid {
    gap: 35px;
  }
}


/* ---------- MOBILE NAVIGATION ---------- */

@media (max-width: 780px) {
  .header-inner {
    min-height: 73px;
  }

  .menu-toggle {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 24px rgba(7, 26, 50, 0.1);

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .navigation.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navigation a {
    padding: 13px 4px;
    border-bottom: 1px solid #eef2f6;
  }

  .navigation a:last-child {
    border-bottom: 0;
  }

  .navigation a::after {
    display: none;
  }

  .hero {
    padding: 68px 0 75px;
  }

  .hero-grid,
  .intro-grid,
  .process-heading,
  .commitment-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-image-wrap {
    width: min(100%, 600px);
    margin-inline: auto;
  }

  .intro-grid {
    gap: 25px;
  }

  .process-heading {
    gap: 18px;
  }

  .commitment-inner {
    gap: 35px;
  }

  .bp-emblem {
    width: 190px;
    justify-self: start;
  }

  .bp-emblem span {
    width: 82px;
    height: 82px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}


/* ---------- SMALL PHONE RESPONSIVE ---------- */

@media (max-width: 540px) {
  .container {
    width: calc(100% - 34px);
  }

  .section {
    padding: 68px 0;
  }

  .brand-mark {
    width: 41px;
    height: 41px;
  }

  .brand-name strong {
    font-size: 0.87rem;
  }

  .brand-name small {
    font-size: 0.58rem;
  }

  .hero {
    padding: 58px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.35rem);
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-wrap {
    padding: 4px;
    margin-bottom: 14px;
  }

  .usa-image {
    aspect-ratio: 1 / 1;
    border-radius: 13px;
  }

  .image-caption {
    left: -3px;
    bottom: -18px;
    padding: 11px 13px;
  }

  .image-caption strong {
    font-size: 0.75rem;
  }

  .image-caption small {
    font-size: 0.63rem;
  }

  .intro h2,
  .section-heading h2,
  .process-heading h2 {
    font-size: 2.1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .value-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .centered {
    margin-bottom: 34px;
  }

  .process-item {
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 23px 0;
  }

  .process-item:hover {
    padding-right: 8px;
    padding-left: 8px;
  }

  .step {
    width: 46px;
    height: 46px;
    font-size: 0.88rem;
  }

  .process-item h3 {
    font-size: 1.04rem;
  }

  .process-item p {
    font-size: 0.85rem;
  }

  .process-arrow {
    display: none;
  }

  .commitment {
    padding: 67px 0;
  }

  .commitment h2 {
    font-size: 2.1rem;
  }

  .bp-emblem {
    width: 165px;
  }

  .contact-strip {
    padding: 48px 0;
  }

  .contact-strip h2 {
    font-size: 1.65rem;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    gap: 19px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .email-link strong {
    font-size: 0.76rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}