/* ===== TripTea — «Про компанію» page =======================================
   Route information/about_us. Not wrapped in .container — #information-about-us
   sits at body level like the footer, so sections here are full-bleed by
   default without needing a breakout hack (same pattern as delivery_page.css).
*/

#information-about-us {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "case", "cpsp";
}

#information-about-us *, #information-about-us *::before, #information-about-us *::after {
  box-sizing: border-box;
}

.tt-about-hero__inner,
.tt-about-story__inner,
.tt-about-values__inner,
.tt-about-why__inner,
.tt-about-cta__inner {
  width: min(1704px, 100% - 32px);
  margin: 0 auto;
}
@media (min-width: 1201px) {
  .tt-about-hero__inner,
  .tt-about-story__inner,
  .tt-about-values__inner,
  .tt-about-why__inner,
  .tt-about-cta__inner {
    width: min(1704px, calc(100% - 216px));
  }
}

/* ===== Hero (breadcrumb + H1 + photo + intro) ============================= */

.tt-about-hero {
  background: #FFFFFF;
  padding: 40px 0 0;
}

.tt-about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tt-about-hero__breadcrumb {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tt-about-hero__breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tt-about-hero__breadcrumb a {
  color: #8B5E3C;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-decoration: none;
}
.tt-about-hero__breadcrumb a:hover { text-decoration: underline; }
.tt-about-hero__breadcrumb-dot {
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #E7D7C8;
}
.tt-about-hero__breadcrumb-current {
  color: #6B6B6B;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
}

.tt-about-hero__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 120%;
  color: #4A3426;
}

.tt-about-hero__photo {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 1704 / 614;
}
.tt-about-hero__photo img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Brand-brown tint fading left-to-right over the photo — a separate overlay
   layer (not baked into the image, not a CSS background on the <img> itself,
   which an opaque photo would just hide). Figma: linear-gradient(94deg,
   #8B5E3C 0%, transparent 100%). */
.tt-about-hero__photo-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(94deg, #8B5E3C 0%, rgba(139, 94, 60, 0) 100%);
  pointer-events: none;
}
.tt-about-hero__glyph {
  position: absolute;
  left: 70.5%;
  top: 31.9%;
  width: 23.7%;
  height: auto;
  pointer-events: none;
}

.tt-about-hero__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 160px;
  /* .tt-about-hero__inner's own 24px flex gap (between photo and this block)
     already contributes part of the 40px banner-to-text gap — this padding
     makes up the remaining 16px rather than stacking a full 40 on top of it. */
  padding: 16px 0 80px;
}
.tt-about-hero__intro-main {
  margin: 0;
  flex: 1 1 620px;
  max-width: 947px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: #4A3426;
}
.tt-about-hero__intro-side {
  margin: 0;
  flex: 0 1 600px;
  max-width: 600px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #6B6B6B;
}

/* ===== Story (label/title/copy + photo) ==================================== */

.tt-about-story {
  background: #FFFFFF;
  padding: 80px 0;
}

.tt-about-story__inner {
  display: flex;
  align-items: center;
  gap: 195px;
}

.tt-about-story__text {
  /* 820px is the design's own width — flex-basis (not a hard width) so it
     can still shrink under it instead of overflowing in the ~1025-1200px
     squeeze between this section's own container easing back and the
     tablet breakpoint kicking in. */
  flex: 1 1 480px;
  max-width: 820px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tt-about-story__heading {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 7px;
}
.tt-about-story__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #8B5E3C;
}
.tt-about-story__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 120%;
  color: #4A3426;
}

.tt-about-story__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.tt-about-story__body p {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #6B6B6B;
}

.tt-about-story__media {
  position: relative;
  flex: 1 1 380px;
  max-width: 689px;
}
.tt-about-story__glow {
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 256px;
  height: 256px;
  border-radius: 9999px;
  background: rgba(229, 233, 232, 0.4);
  filter: blur(32px);
  z-index: 0;
}
.tt-about-story__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 689 / 680;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Values ================================================================ */

.tt-about-values {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F2 100%);
  padding: 80px 0;
}

.tt-about-values__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tt-about-values__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px 0;
}
.tt-about-values__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  color: #8B5E3C;
}
.tt-about-values__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 120%;
  color: #4A3426;
}

.tt-about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tt-value-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #FAF7F2;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(44, 33, 24, 0.03);
}

.tt-value-card__icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF7F2;
  border-radius: 12px;
}
/* Icon wrapper background alternates card to card (Якість/Турбота get the
   warmer #F5F1EB, Натуральність/Сервіс the cooler #FAF7F2 — matches design,
   not a mistake). */
.tt-value-card:nth-child(odd) .tt-value-card__icon {
  background: #F5F1EB;
}
.tt-value-card__icon img { width: 100%; height: 100%; display: block; }

.tt-value-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tt-value-card__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  color: #2C2118;
}
.tt-value-card__desc {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #6B6B6B;
}

/* ===== Why us / stats ======================================================== */

.tt-about-why {
  background: #FFFFFF;
  padding: 80px 0;
}

.tt-about-why__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tt-about-why__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tt-about-why__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #8B5E3C;
}
.tt-about-why__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 120%;
  color: #4A3426;
}
.tt-about-why__desc {
  margin: 0;
  max-width: 640px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #6B6B6B;
}

.tt-about-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tt-stat-card {
  border-radius: 24px;
  padding: 32px;
}

.tt-stat-card--count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 268px;
  background: #FAF7F2;
  text-align: center;
}
.tt-stat-card__count {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 100%;
  color: #4A3426;
}
.tt-stat-card__count-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #6B6B6B;
}

.tt-stat-card--feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: 268px;
  background: #FFFFFF;
  border: 1px solid #E7D7C8;
}
.tt-stat-card--feature:nth-child(3) {
  background: #FAF7F2;
  border: none;
}

.tt-stat-card__icon {
  width: 48px;
  height: 48px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF7F2;
  border-radius: 24px;
}
.tt-stat-card--feature:nth-child(3) .tt-stat-card__icon {
  background: #FFFFFF;
  width: 56px;
  height: 56px;
  padding: 16px;
  border-radius: 28px;
}
.tt-stat-card__icon img { width: 100%; height: 100%; display: block; }

.tt-stat-card__title {
  margin: 0 0 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #4A3426;
}
.tt-stat-card__desc {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #6B6B6B;
}

.tt-stat-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: 268px;
  background: #FFFFFF;
  border: 1px solid #E7D7C8;
}
.tt-stat-card--cta .tt-stat-card__title { font-size: 24px; margin-bottom: 6px; }
.tt-stat-card__arrow {
  width: 56px;
  height: 56px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8B5E3C;
  border-radius: 28px;
  color: #FFFFFF;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.tt-stat-card__arrow:hover { background: #6F472B; }
.tt-stat-card__arrow img { width: 100%; height: 100%; display: block; }

/* ===== Final CTA banner ====================================================== */

.tt-about-cta {
  background: linear-gradient(180deg, #FAF7F2 0%, #FFFFFF 100%);
  padding: 80px 0;
}

.tt-about-cta__banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  height: 456px;
  padding: 16px 56px;
  border-radius: 16px;
  background-color: #8B5E3C;
  background-image: linear-gradient(135deg, rgba(139, 94, 60, 0.92) 0%, rgba(90, 56, 33, 0.55) 45%, rgba(90, 56, 33, 0) 80%), url('../image/delivery/cta-photo.webp');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.tt-about-cta__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.tt-about-cta__title {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 120%;
  color: #FFFFFF;
}
.tt-about-cta__desc {
  margin: 0;
  max-width: 667px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #FFFFFF;
}

.tt-about-cta__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 8px 36px;
  background: #FFFFFF;
  color: #8B5E3C;
  border-radius: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tt-about-cta__button:hover {
  background: #FAF7F2;
  color: #8B5E3C;
  text-decoration: none;
}

/* ===== Tablet (≤1024px) ===================================================== */
@media (max-width: 1024px) {
  .tt-about-hero__intro {
    flex-direction: column;
    gap: 24px;
  }
  .tt-about-hero__intro-main,
  .tt-about-hero__intro-side {
    max-width: none;
    flex: none;
  }

  .tt-about-story__inner {
    flex-direction: column;
    gap: 40px;
  }
  .tt-about-story__media {
    width: 100%;
    flex: none;
  }

  .tt-about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tt-about-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tt-about-cta__banner {
    height: auto;
  }
}

/* ===== Mobile (≤768px) ====================================================== */
@media (max-width: 768px) {
  .tt-about-hero {
    padding: 16px 0 0;
  }
  .tt-about-hero__inner,
  .tt-about-story__inner,
  .tt-about-values__inner,
  .tt-about-why__inner,
  .tt-about-cta__inner {
    width: 100%;
    padding: 0 16px;
  }

  /* Hero: breadcrumb/title/photo/intro all just stack with one uniform
     16px gap on mobile — desktop's separate hero-inner/intro blocks (each
     with their own gap) collapse into a single flow here. */
  .tt-about-hero__inner {
    gap: 16px;
  }
  .tt-about-hero__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 120%;
  }
  .tt-about-hero__photo {
    aspect-ratio: 358 / 200;
    border-radius: 24px;
  }
  .tt-about-hero__photo img:first-child,
  .tt-about-hero__photo-tint {
    border-radius: 24px;
  }
  .tt-about-hero__glyph {
    left: 69.6%;
    top: 34%;
    width: 37.7%;
  }
  .tt-about-hero__intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
  }
  /* Order swaps on mobile — the short blurb leads, the longer mission
     statement follows underneath it (desktop has them side by side, blurb
     on the right). */
  .tt-about-hero__intro-main {
    order: 2;
    max-width: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    color: #4A3426;
  }
  .tt-about-hero__intro-side {
    order: 1;
    max-width: none;
    font-size: 14px;
    line-height: 150%;
  }

  .tt-about-story,
  .tt-about-values,
  .tt-about-why,
  .tt-about-cta {
    padding: 48px 0;
  }

  .tt-about-story__inner {
    gap: 32px;
  }
  /* No room for the decorative blur blob once the photo is full-width. */
  .tt-about-story__glow {
    display: none;
  }
  .tt-about-story__heading {
    gap: 8px;
  }
  .tt-about-story__body {
    gap: 32px;
  }
  .tt-about-story__body p {
    font-size: 14px;
  }

  .tt-about-story__label,
  .tt-about-values__label,
  .tt-about-why__label {
    font-size: 14px;
    font-weight: 600;
  }
  .tt-about-story__title,
  .tt-about-values__title,
  .tt-about-why__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 120%;
  }

  .tt-about-values__heading {
    padding: 0;
    gap: 8px;
  }

  .tt-about-values__grid,
  .tt-about-why__grid {
    grid-template-columns: 1fr;
  }

  .tt-about-why__heading {
    gap: 8px;
  }
  .tt-about-why__desc {
    font-size: 14px;
  }

  /* Stat cards: desktop's fixed 268px height + space-between (icon pinned
     top, copy pinned bottom) only works in a same-height row — stacked
     full-width on mobile, they just size to content with a flat gap
     instead. */
  .tt-stat-card--feature,
  .tt-stat-card--cta {
    height: auto;
    justify-content: flex-start;
    gap: 16px;
  }
  .tt-stat-card--feature:nth-child(3) {
    gap: 24px;
  }

  .tt-about-cta__banner {
    aspect-ratio: 358 / 526;
    height: auto;
    justify-content: flex-end;
    padding: 32px 24px;
    background-image: linear-gradient(45deg, rgba(139, 94, 60, 0.92) 0%, rgba(90, 56, 33, 0.55) 45%, rgba(90, 56, 33, 0) 80%), url('../image/delivery/cta-photo.webp');
  }
  .tt-about-cta__text {
    max-width: 310px;
    gap: 8px;
  }
  .tt-about-cta__desc {
    font-size: 14px;
  }
}
