/* =====================================================================
   صفحه‌های «درباره ما» و «تماس با ما» — افزوده بر country.css و life.css
   ===================================================================== */

/* ---------- درباره ما: قهرمان با کره ---------- */
.ab-hero .globe { max-width: 560px; margin: 0 auto; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.story p { margin: 0 0 18px; font-size: 16px; line-height: 2.1; color: #2f2e2d; text-align: justify; text-align-last: right; }
.quote {
  position: relative; margin: 0; padding: 40px 34px 34px; border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 26px 40px -28px rgba(0,0,0,.45); transform: rotate(-1.2deg);
}
.quote::after { content: "”"; position: absolute; left: 22px; top: -8px; font-size: 110px; line-height: 1; color: #111; font-family: Georgia, serif; }
.quote p { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.95; color: #111; text-align: right; text-align-last: auto; }
.quote span { display: block; margin-top: 14px; font-size: 13.5px; color: #8a8884; }

/* ---------- اطلس مقصدها ---------- */
.atlas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.atl {
  position: relative; padding: 16px 16px 18px; border-radius: 4px; perspective: 800px;
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 16px 26px -20px rgba(0,0,0,.42);
  transform: rotate(var(--r, 0deg)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}
.atl:nth-child(3n) { --r: .8deg; } .atl:nth-child(3n+1) { --r: -.7deg; }
.atl:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 2px 2px rgba(0,0,0,.08), 0 26px 34px -22px rgba(0,0,0,.48); }
.atl__art { position: relative; aspect-ratio: 4 / 3; }
.atl__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.atl h3 { margin: 10px 0 10px; font-size: 18px; font-weight: 700; color: #111; }
.atl ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.atl a {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #cfcdc9;
  font-size: 12.5px; font-weight: 500; color: #2b2927; text-decoration: none; white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.atl a:hover, .atl a:focus-visible { background: #111; color: #fff; border-color: #111; outline: none; }
.atl .pencil { width: 46px; height: 46px; }

/* ---------- تماس: کارت ویزیت شناور ---------- */
.l-bcard {
  right: 0; bottom: 5%; width: 290px; padding: 18px 20px 16px; border-radius: 8px; box-sizing: border-box;
  transform: translateZ(140px) rotate(-7deg); color: #f1efea;
  background: radial-gradient(130% 130% at 20% 10%, #2f2f2f, #121212 60%, #060606);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), calc(var(--mx) * -26px) calc(30px + var(--my) * -20px) 40px -18px rgba(0,0,0,.55);
}
.l-bcard img { display: block; height: 30px; width: auto; filter: invert(1) brightness(1.15); margin-bottom: 12px; }
.bc__row { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,.12); }
.bc__row svg { flex: none; width: 15px; height: 15px; }
.bc__row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* بخش تماس روی صفحه‌ی مستقل: فاصله‌ی بالا کمتر */
.page-contact .ct { padding-block: 40px 100px; }

@media (max-width: 980px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .atlas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .atlas { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin: 0 auto; }
  .l-bcard { width: 200px; padding: 12px 14px 10px; right: -1%; bottom: 1%; }
  .l-bcard img { height: 22px; margin-bottom: 6px; }
  .bc__row { font-size: 10px; padding: 3px 0; gap: 6px; } .bc__row svg { width: 12px; height: 12px; }
  .quote { padding: 34px 22px 26px; } .quote p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .atl { transition: none; } }
