/* ================= ABOUT ================= */

.about {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__content {
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 40px;
  position: relative;
  align-items: start;
}

/* --- SUBTITLE --- */
.about__subtitle {
  margin-bottom: 24px;
  grid-column: 1;
  grid-row: 1;
  align-self: baseline;
  display: flex;
  justify-content: flex-start;
}

/* --- BADGE --- */
.about__badge {
  position: relative;
  grid-row: 2;
  grid-column: 1;
  /* Now flow relative */
  bottom: auto;
  left: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  /* Square-ish circle/shape */
  max-width: 180px;
  background: #FFF9F6;
  border: 1px solid var(--brand-peach);
  border-radius: 50%;
  /* Fully round if desired, or keep pill */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(198, 156, 132, 0.15);
}

/* Optional: Keep it pill shape if preferred, but in a grid column it might look better centered */
.about__badge {
  border-radius: 90px;
  height: 180px;
  /* Make it circular for the column layout */
}

.about__badge-number {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--brand-peach);
  line-height: 1;
  margin-bottom: 5px;
}

.about__badge-text {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* --- TEXT SECTION --- */
.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-row: 2;
  grid-column: 2;
}

.about__header {
  grid-column: 2 / -1;
  grid-row: 1;
}

.about__header h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}

.about__title-muted {
  color: var(--color-text-muted);
}

.about__title-accent {
  color: var(--brand-sage);
  font-size: 34px;
}

.about__text p {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Advantages List */
.about__advantages-title {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  color: var(--brand-peach);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(198, 156, 132, 0.3);
}

.about__advantages-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about__advantages-list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: var(--color-text-muted);
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(198, 156, 132, 0.1);
}

.about__advantages-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about__advantages-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0L9.79611 6.20389L16 8L9.79611 9.79611L8 16L6.20389 9.79611L0 8L6.20389 6.20389L8 0Z' fill='%23C69C84'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* --- IMAGE SECTION --- */
.about__image {
  grid-row: 2;
  grid-column: 3;
  position: relative;
  height: 100%;
  /* Stretches to fill grid cell height */
  /* min-height: 500px; removed to match text height */
  border-radius: 4px;
  z-index: 1;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* Decoration Circle */
.about__decoration-circle {
  position: absolute;
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  border: 1px solid rgba(198, 156, 132, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1280px) {
  .about {
    padding: 60px 0;
    min-height: auto;
  }

  .about__content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .about__subtitle {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .about__header {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .about__header h2 {
    font-size: 38px;
  }

  .about__title-accent {
    font-size: 28px;
  }

  .about__text {
    grid-column: 1;
    grid-row: 3;
    font-size: 15px;
  }

  .about__image {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 992px) {
  .about__header h2 {
    font-size: 34px;
  }

  .about__title-accent {
    font-size: 25px;
  }
}

/* Tablet/Mobile Breakpoint merged to 768px as requested */
@media (max-width: 768px) {
  .about {
    padding: 40px 0;
    /* Significantly reduced padding */
    min-height: auto;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Reduced gap */
  }

  .about__header h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .about__title-accent {
    font-size: 25px;
  }

  .about__subtitle {
    order: 1;
    margin-bottom: 10px;
  }

  .about__header {
    order: 2;
    margin-bottom: 20px;
    display: none;
  }

  .about__text {
    order: 3;
    /* Content above image */
    margin-bottom: 20px;
  }

  .about__text p {
    font-size: 15px;
    /* Readable mobile font */
    margin-bottom: 16px;
  }

  .about__badge {
    order: 4;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    top: auto;
    left: auto;
    transform: none;
  }

  .about__image {
    order: 5;
    /* Image at bottom */
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    /* Slightly wider on mobile */
    border-radius: 8px;
  }

  .about__decoration-circle {
    display: none;
  }

  .about__advantages {
    margin-top: 20px;
  }

  .about__advantages-list {
    gap: 10px;
  }

  .about__advantages-list li {
    padding-bottom: 10px;
  }
}