/* ============================================================
   آتلیه کودک نینو — صفحه درباره من (about-page-v1.css)
   طراحی: مینیمال و حرفه‌ای، هماهنگ با پالت سایت
   ============================================================ */

/* ===== هیرو ===== */
.about-hero {
  background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
  padding: 140px 24px 60px;
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 8px;
}
.about-hero p {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(0,0,0,.55);
}

/* ===== پروفایل ===== */
.about-profile {
  padding: 70px 0 100px;
  background: var(--white);
}
.about-profile-inner {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* قاب عکس */
.about-portrait-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
}
.about-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* گوشه تزئینی بژ پشت قاب — فقط دسکتاپ و داخل صفحه */
.about-portrait {
  position: relative;
}
.about-portrait::before {
  content: "";
  position: absolute;
  inset: -16px -16px auto auto;
  width: 60%;
  height: 60%;
  background: var(--beige-light);
  border-radius: 20px;
  z-index: -1;
}
/* متن */
.about-story h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  color: var(--black);
  margin-bottom: 22px;
}
.about-story p {
  font-size: 15.5px;
  line-height: 2.1;
  color: rgba(0,0,0,.78);
  margin-bottom: 16px;
  text-align: justify;
  text-justify: inter-word;
}
.about-story .about-lead {
  font-weight: 500;
  color: var(--black);
}

/* CTA */
.about-cta {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.about-cta .btn {
  background: var(--black);
  color: var(--white);
}
.about-cta .btn-light {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,.25);
}
.about-cta .btn:hover { opacity: .85; }

/* ===== موبایل ===== */
@media (max-width: 900px) {
  .about-profile-inner { grid-template-columns: 1fr; gap: 44px; max-width: 560px; }
  .about-portrait { max-width: 420px; margin: 0 auto; }
  /* دکوری پشت قاب در موبایل حذف — باعث بیرون زدن از لبه صفحه می‌شود */
  .about-portrait::before { display: none; }
  .about-story { text-align: center; }
  .about-story p { text-align: justify; }
  .about-cta { justify-content: center; }
}

@media (max-width: 768px) {
  .about-hero { padding: 115px 16px 44px; }
  .about-hero h1 { font-size: 30px; }
  .about-hero p { font-size: 14px; }
  .about-profile { padding: 50px 0 70px; }
  .about-profile-inner { padding: 0 20px; gap: 36px; }
  .about-portrait-frame { border-radius: 16px; }
  .about-story h2 { font-size: 24px; }
  .about-story p { font-size: 14.5px; }
  .about-cta .btn { width: 100%; text-align: center; }
}
