/* ==========================================================================
   About band ("Η Πύλη") — Figma node 67:863, 1920 × 530
   .about-band__inner     page container: title + body side by side
   .about-band__title     section label ("Η Πύλη")
   .about-band__body      lead paragraph + feature pills
   .about-band__link      position of the "Μάθε περισσότερα" .arrow-link
   .about-band__media     decorative photo, blue overlay and glows (right side)
   .feature-pill          icon + label chip on a dark background
   ========================================================================== */

.about-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--color-band-blue);
}

/* ---- Decorative media ----------------------------------------------------- */
/* Clip box starts at x=681 (35.47%) and covers the rest of the band. */
.about-band__media {
  position: absolute;
  inset: 0 0 0 35.47%;
  overflow: hidden;
  pointer-events: none;
}

.about-band__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Blue tint: rgba(14, 99, 216, .51) multiplied over the photo */
.about-band__media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--color-band-tint);
  content: "";
  mix-blend-mode: multiply;
}

/* Two blurred blue ellipses that fade the photo's left edge into the band.
   Positions are relative to the clip box (Figma "Ellipse 8" and "Ellipse 9"). */
.about-band__glow {
  position: absolute;
  z-index: 2;
  width: 1780px;
  height: 1543.72px;
  background: url("../../assets/images/about-glow.svg") center / 100% 100% no-repeat;
}

.about-band__glow--top {
  top: -796.46px;
  left: -931.41px;
  transform: rotate(29.36deg);
}

.about-band__glow--bottom {
  top: -235.3px;
  left: -1148.06px;
  transform: rotate(-30deg);
}

/* Large logo watermark, white at 10% (Figma "Group 4"), drawn above all layers */
.about-band::after {
  position: absolute;
  z-index: 3;
  top: -60.92%;
  left: 48.27%;
  width: 1473.68px;
  height: 1980.83px;
  background: url("../../assets/images/about-watermark.svg") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

/* ---- Content -------------------------------------------------------------- */
.about-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 530px;
  grid-template-columns: 246px minmax(0, 851px);
  align-content: start;
  padding-top: 87px;
  padding-bottom: 87px;
}

.about-band__title {
  font-size: var(--font-size-h2);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--leading-title);
}

.about-band__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  padding-top: 15.7px; /* Figma: body starts 15.7px below the title */
}

.about-band__text {
  max-width: 712px;
  color: rgb(255 255 255 / 85%);
  font-size: var(--font-size-lead-lg);
  font-weight: var(--font-weight-light);
  letter-spacing: -0.02em;
  line-height: var(--line-height-body);
}

/* Emphasised words inside the lead (e.g. "Πύλη Ανθεκτικότητας") */
.about-band__text strong {
  color: var(--white);
  font-weight: var(--font-weight-regular);
}

.about-band__features {
  display: flex;
  max-width: 560px;
  flex-wrap: wrap;
  gap: 15px;
}

/* "Μάθε περισσότερα" — right-aligned to the container, 89px from the bottom */
.about-band__link {
  position: absolute;
  right: var(--page-padding);
  bottom: 89px;
}

/* ---- Feature pill --------------------------------------------------------- */
.feature-pill {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 25px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 10%);
  font-size: var(--font-size-base);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.feature-pill img {
  flex: none; /* icons keep their Figma size: clock 23px, others 24px */
}

/* ---- Compact desktop ------------------------------------------------------ */
@media (max-width: 1500px) {
  .about-band__inner {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .about-band__text {
    max-width: 640px;
  }
}

/* ---- Tablet: stack content, photo becomes a banner below ----------------- */
@media (max-width: 1100px) {
  .about-band {
    display: flex;
    flex-direction: column;
  }

  .about-band__inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding-top: 64px;
    padding-bottom: 0;
  }

  .about-band__body {
    gap: 32px;
    padding-top: 0;
  }

  .about-band__link {
    position: static;
    margin-top: 8px;
  }

  .about-band__media {
    position: relative;
    inset: auto;
    order: 2; /* below the text */
    height: 320px;
    margin-top: 48px;
  }

  /* Fade the top of the photo into the band instead of the left edge */
  .about-band__glow {
    display: none;
  }

  .about-band__media::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(var(--color-band-blue), transparent 60%);
    content: "";
  }

  .about-band::after {
    top: -200px;
    left: 40%;
    width: 900px;
    height: 1210px;
  }
}

/* ---- Phone ---------------------------------------------------------------- */
@media (max-width: 700px) {
  .about-band__inner {
    padding-top: 48px;
  }

  .about-band__title {
    font-size: 32px;
    line-height: 1.25;
  }

  .about-band__text {
    font-size: 20px;
    line-height: 30px;
  }

  .about-band__features {
    gap: 10px;
  }

  .feature-pill {
    white-space: normal;
  }

  .about-band__media {
    height: 220px;
    margin-top: 40px;
  }

  .about-band::after {
    left: 30%;
    width: 600px;
    height: 806px;
  }
}
