/* About Us Page Styles
 * Redesigned to match the FreshCart Figma "About Us" page
 * (https://www.figma.com/design/fqiKrLEAcIhEZbC4najsKJ/FreshCart?node-id=1121-5730)
 */

.about-us-page {
  background-color: #ffffff;
}

/* Shared picture/image resets for responsive_static_image output */
.about-hero__image .static-picture,
.about-section__image .static-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-hero__image img,
.about-section__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* =========================================================
 * Hero Section
 * ========================================================= */
.about-hero {
  position: relative;
  background: var(--color-brand);
  padding: 120px 80px;
  overflow: visible;
}

.about-hero__inner {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.about-hero__text {
  flex: 1 1 480px;
  max-width: 640px;
  min-width: 0;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f9fafc;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

.about-hero__title-accent {
  display: block;
  color: var(--color-brand-secondary);
  font-weight: 700;
  font-size: 2.15em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.about-hero__rule {
  width: 420px;
  height: 1px;
  background: var(--color-brand-secondary);
  margin: 20px 0 28px;
}

.about-hero__paragraph {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: #f1f1f1;
  margin: 0 0 20px;
}

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

.about-hero__paragraph strong {
  color: inherit;
  font-weight: 700;
}

.about-hero__image {
  flex: 1 1 480px;
  max-width: 700px;
  margin-top: -40px;
  margin-bottom: -210px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}

/* =========================================================
 * Content Sections (Quality / Variety)
 * ========================================================= */
.about-section {
  padding: 140px 80px;
}

.about-section--quality {
  padding-top: 220px;
}

.about-section__content {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-section--variety {
  background: rgba(var(--color-brand-secondary-rgb), 0.15);
}

.about-section--variety .about-section__content {
  align-items: flex-start;
}

.about-section--quality .about-section__content {
  align-items: flex-start;
}

.about-section--variety .about-section__image {
  margin-top: -40px;
  margin-bottom: -235px;
}

.about-section__image {
  position: relative;
  flex: 1 1 480px;
  max-width: 700px;
}

.about-section__image .static-picture {
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}

.about-section__image--quality::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 50%;
  height: 50%;
  background: var(--color-brand-secondary);
  border-radius: 20px 20px 0 20px;
  z-index: 0;
}


.about-section__text {
  flex: 1 1 420px;
  max-width: 620px;
}

.about-section__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--color-brand);
  margin: 0 0 24px;
  overflow-wrap: break-word;
}

.about-section__title-accent {
  display: block;
  color: var(--color-brand-secondary);
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  line-height: 1.2;
  margin-top: 4px;
}

.about-section__rule {
  width: 212px;
  height: 1px;
  background: var(--color-brand-secondary);
  margin: 0 0 28px;
}

.about-section--quality .about-section__rule {
  width: 321px;
}

.about-section--variety .about-section__rule {
  width: 263px;
}

.about-section__paragraph {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #606060;
  margin: 0;
}

/* =========================================================
 * Web Questions Section
 * ========================================================= */
.web-questions {
  background: rgba(var(--color-brand-secondary-rgb), 0.07);
  color: var(--color-brand);
  margin-top: 230px;
}

.web-questions__content {
  padding: 90px 24px;
  text-align: center;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

.web-questions__eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-secondary-dark);
  margin: 0 0 16px;
}

.web-questions__rule {
  width: 140px;
  height: 1px;
  margin: 0 auto 28px;
  background: rgba(var(--color-brand-rgb), 0.25);
}

.web-questions__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 40px;
}

.web-questions__cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 40px;
}

.web-questions__card {
  background: rgba(210, 226, 191, 0.55);
  border-radius: 20px;
  padding: 32px 44px;
  min-width: 220px;
}

.web-questions__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-brand-secondary);
  color: #fff;
}

.web-questions__card-icon svg {
  width: 24px;
  height: 24px;
}

.web-questions__card-label {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brand-secondary-dark);
  margin: 0 0 8px;
}

.web-questions__card-value {
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #575752;
  margin: 0;
}

.web-questions__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.web-questions__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.web-questions__row-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
}

.web-questions__row-icon svg {
  width: 20px;
  height: 20px;
}

.web-questions__row-text {
  padding-top: 2px;
}

.web-questions__row-label {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin: 0 0 4px;
}

.web-questions__row-value {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #575752;
  margin: 0;
}

.web-questions__row-value p {
  margin: 0;
}

/* =========================================================
 * Responsive
 * ========================================================= */
@media (max-width: 1200px) {
  .about-hero,
  .about-section {
    padding: 72px 48px;
  }

  .about-hero__inner,
  .about-section__content {
    gap: 40px;
  }

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

  .about-hero__rule {
    width: 378px;
  }
}

@media (max-width: 900px) {
  .about-hero__inner,
  .about-section__content,
  .about-section--variety .about-section__content {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero__text,
  .about-section__text,
  .about-hero__image,
  .about-section__image {
    max-width: 100%;
  }

  .about-section--quality .about-section__content {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .about-hero__image,
  .about-section--variety .about-section__image {
    margin-top: 0;
    margin-bottom: 0;
  }

  .about-section--quality {
    padding-top: 72px;
  }

  .web-questions {
    margin-top: 64px;
  }
}

@media (max-width: 640px) {
  .about-hero,
  .about-section {
    padding: 48px 20px;
  }

  .about-hero__image {
    margin-bottom: -117px;
  }

  .about-section--variety .about-section__image {
    margin-bottom: -122px;
  }

  .about-section--quality {
    padding-top: 182px;
  }

  .about-section__image--quality::before {
    top: -12px;
    left: -12px;
  }

  .web-questions {
    margin-top: 187px;
  }

  .about-hero__text {
    text-align: center;
  }

  .about-hero__title {
    font-size: 18px;
    line-height: 1.3;
  }

  .about-hero__title-accent,
  .about-section__title-accent {
    font-size: 42px;
    line-height: 1.2;
    margin-top: 0;
  }

  .about-hero__rule {
    width: 308px;
    margin: 0 auto 28px;
  }

  .about-section__title {
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
  }

  .about-section__text {
    text-align: center;
  }

  .about-section__rule {
    width: 140px;
    margin: 0 auto 28px;
  }

  .about-section--quality .about-section__rule {
    width: 341px;
    margin: 0 auto 28px;
  }

  .about-section--variety .about-section__rule {
    width: 279px;
    margin: 0 auto 28px;
  }

  .web-questions__content {
    padding: 56px 16px;
  }

  .web-questions__title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .web-questions__cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .web-questions__card {
    min-width: 0;
  }

  .web-questions__rows {
    max-width: 100%;
    align-items: center;
  }

  .web-questions__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .web-questions__row-text {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__image img,
  .about-section__image img {
    transition: none;
  }
}
