/* ================================================
   ABOUT-PAGE.CSS
   ================================================ */

/* ── Фото Елены (hero) ── */
.about-hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  padding: 24px 0 24px 24px;
}

/* Декоративная рамка со смещением */
.about-hero-photo__frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  z-index: 1;
}

/* Смещённый контур позади фото */
.about-hero-photo__frame::before {
  content: '';
  position: absolute;
  inset: -20px 20px 20px -20px;
  border: 2px solid var(--color-rose);
  border-radius: 18px;
  opacity: 0.55;
  z-index: 0;
}

/* Тонкая цветная полоса-акцент снизу */
.about-hero-photo__frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-rose), transparent);
  border-radius: 2px;
  z-index: 2;
}

.about-hero-photo__frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  display: block;
  box-shadow: 0 20px 60px rgba(66,44,42,0.18);
}

/* Бейдж "10+ лет" */
.about-hero-photo__badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--color-brown);
  color: #fff;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(66,44,42,0.28);
}

.badge-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-rose);
  line-height: 1;
}

.badge-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
  margin-top: 3px;
  padding: 0 8px;
}

/* Точечный орнамент */
.about-hero-photo__dots {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--color-rose) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.35;
  z-index: 0;
}

/* Примеры работ */
.about-works {
  margin-top: 3rem;
}

.about-works h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-brown);
  margin-bottom: 1.5rem;
}

.about-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.about-work-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-work-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-work-item:hover img {
  transform: scale(1.05);
}

.about-work-item span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(42,20,18,0.75));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 0.75rem 0.6rem;
  text-align: center;
}

@media (max-width: 900px) {
  .about-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .about-hero-photo {
    padding: 16px 0 16px 16px;
  }
  .about-hero-photo__frame img {
    height: 380px;
  }
  .about-hero-photo__badge {
    width: 86px;
    height: 86px;
    right: -0.75rem;
    bottom: 1.5rem;
  }
  .badge-num { font-size: 1.5rem; }
  .about-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .about-work-item img {
    height: 160px;
  }
}
