/* ==========================================================================
   کلینیک دامپزشکی آزادی — azadipetclinic.ir
   یک صفحه، یک زمینه، یک رنگ تأکید. بدون طیف و سایه.
   ========================================================================== */

/* ---------- فونت ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- توکن‌ها ---------- */
:root {
  /* سبزهای لوگو */
  --green-900: #004520;   /* اصلی: نوشتهٔ Azadi و بیشتر نشان */
  --green-800: #005c2b;   /* حالت hover رنگ اصلی */
  --green-600: #308010;   /* میانی */
  --green-400: #60a010;   /* تأکید: اثر پنجه */

  --paper: #ffffff;       /* زمینه */
  --tint: #f2f7ec;        /* همان رنگ تأکید، خیلی کم‌رنگ؛ برای قاب‌ها */
  --ink: #10301f;         /* متن */
  --muted: #52685b;       /* متن فرعی */
  --line: #dfe8e1;        /* خط‌های نازک */
  --on-dark: #ffffff;
  --on-dark-muted: #cfe2d5;

  --font: "Vazirmatn", "Vazir", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --header-h: 4rem;
  --gutter: 1.25rem;
  --container: 72rem;
  --radius: 1.75rem;
  --section-gap: 5.5rem;
}

@media (min-width: 40rem) {
  :root { --gutter: 2rem; --section-gap: 7.5rem; }
}
@media (min-width: 64rem) {
  :root { --header-h: 4.75rem; --gutter: 3rem; --section-gap: 9.5rem; }
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;          /* ۱۷ پیکسل: خط فارسی کمی درشت‌تر راحت‌تر خوانده می‌شود */
  font-weight: 400;
  line-height: 2;                /* متن فارسی فاصلهٔ سطر بیشتری می‌خواهد */
  letter-spacing: 0;             /* حروف فارسی به هم می‌چسبند؛ هیچ‌وقت فاصله‌گذاری نمی‌شوند */
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }

h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  color: var(--green-900);
  font-weight: 900;
  line-height: 1.35;
  text-wrap: balance;
}
p, figcaption, address { text-wrap: pretty; }

a { color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 0.375rem;
}

::selection { background: var(--green-900); color: #fff; }

/* شماره‌ها و نوشتهٔ لاتین همیشه چپ‌به‌راست و یک‌تکه */
bdi[dir="ltr"], [lang="en"] {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--green-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.sprite { position: absolute; }

/* ---------- آیکون‌ها ---------- */
.icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--flip { transform: scaleX(-1); }

.paw {
  width: 1.75rem;
  height: 1.75rem;
  fill: var(--green-400);
}

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.375rem;
  padding: 0.5rem 1.75rem;
  border: 2px solid var(--green-900);
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-inline-end: 0.625rem;
  stroke-width: 2;
}

.btn--primary { background: var(--green-900); color: #fff; }
.btn--primary:hover { background: var(--green-800); border-color: var(--green-800); }

.btn--ghost { background: transparent; color: var(--green-900); }
.btn--ghost:hover { background: var(--tint); }

.btn--light { background: #fff; border-color: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--tint); border-color: var(--tint); }

/* ---------- هدر ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--green-900);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}
.brand__mark { width: auto; height: 2.5rem; }
.brand__name { display: none; margin-inline-start: 0.75rem; }

.site-nav ul { display: flex; align-items: center; }
.site-nav li + li { margin-inline-start: 0.125rem; }
.site-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  left: 0.5rem;
  bottom: 0.375rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green-400);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.site-nav a:hover,
.site-nav a[aria-current] { color: var(--green-900); }
.site-nav a:hover::after,
.site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { font-weight: 700; }

@media (min-width: 24rem) {
  .site-nav a { padding: 0.5rem 0.75rem; }
  .site-nav a::after { right: 0.75rem; left: 0.75rem; }
}
@media (min-width: 34rem) {
  .brand__name { display: inline; }
}
@media (min-width: 64rem) {
  .brand { font-size: 1.125rem; }
  .brand__mark { height: 2.875rem; }
  .site-nav li + li { margin-inline-start: 0.5rem; }
  .site-nav a { padding: 0.5rem 1rem; font-size: 1rem; }
  .site-nav a::after { right: 1rem; left: 1rem; }
}

/* ---------- صفحهٔ اول ---------- */
/* در همان نگاه اول: عکس ورودی کلینیک، لوگو، نام، تلفن و آدرس.
   موبایل: عکس بالا و لوگو روی لبهٔ آن. دسکتاپ: متن راست، عکس چپ. */
.hero { padding-top: 0.75rem; }

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* سه عکس کلینیک، کاشی‌شده کنار هم: ورودی (بزرگ)، نمای شب و بچه‌گربه */
.hero__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
  height: 13rem;
}
.tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--tint);
}
.tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile--day { grid-column: 1; grid-row: 1 / span 2; }
.tile--day img { object-position: 85% 45%; }
.tile--night img { object-position: 50% 50%; }
.tile--kitten img { object-position: 45% 30%; }

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* لوگو مثل یک کارت سفید روی لبهٔ پایین عکس می‌نشیند */
.hero__logo {
  position: relative;
  width: 7rem;
  height: auto;
  margin-top: -3.5rem;
  padding: 0.5rem;
  border-radius: 1.5rem;
  background: var(--paper);
}

.hero__title {
  margin-top: 0.125rem;
  font-size: 1.875rem;
  font-size: clamp(1.875rem, 1.45rem + 2.1vw, 2.75rem);
}

.hero__sub {
  color: var(--muted);
  font-size: 0.9375rem;
  font-size: clamp(0.9375rem, 0.86rem + 0.4vw, 1.125rem);
  font-weight: 500;
  line-height: 1.9;
  text-wrap: balance;
}

/* تلفن و آدرس */
/* خودِ بلوک وسط می‌نشیند، ولی دو سطرش از راست هم‌تراز می‌مانند تا آیکون‌ها زیر هم باشند */
.hero__facts {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0.875rem;
}
.hero__facts li + li { margin-top: 0.375rem; }

.fact__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-inline-end: 0.625rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--green-900);
}
.fact__icon .icon { width: 1.125rem; height: 1.125rem; stroke-width: 2; }

.hero__tel {
  display: inline-flex;
  align-items: center;
  color: var(--green-900);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
  word-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.hero__tel:hover { color: var(--green-600); }

.hero__address {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  text-align: start;
}

/* موبایل: دو دکمهٔ هم‌عرض کنار هم */
.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 22rem;
  margin-top: 1.25rem;
}
.hero__actions .btn { padding-left: 0.75rem; padding-right: 0.75rem; }

@media (min-width: 40rem) {
  .hero { padding-top: 1rem; }
  .hero__mosaic { height: 20rem; gap: 0.75rem; }
  .tile { border-radius: 1.5rem; }
  .hero__logo { width: 8.5rem; margin-top: -4.25rem; border-radius: 1.75rem; }
  .hero__facts { margin-top: 1.25rem; }
  .hero__tel { font-size: 1.75rem; }
  .hero__address { font-size: 1.0625rem; }
  .hero__actions {
    grid-template-columns: auto auto;
    justify-content: center;
    max-width: none;
    margin-top: 1.75rem;
  }
  .hero__actions .btn { padding-left: 1.75rem; padding-right: 1.75rem; }
}

@media (min-width: 60rem) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    padding: 1.5rem 0 3rem;
  }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    column-gap: 4.5rem;
    align-items: center;
    text-align: start;
  }
  .hero__body { grid-column: 1; grid-row: 1; align-items: flex-start; }
  /* دسکتاپ: ورودی پهن بالا، نمای شب و بچه‌گربه زیرش؛ ارتفاع با قاب اول تنظیم می‌شود */
  .hero__mosaic {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: minmax(0, 1.75fr) minmax(0, 1fr);
    height: 28rem;
    height: min(30rem, 62vh);
  }
  .tile--day { grid-column: 1 / -1; grid-row: 1; }
  .tile--day img { object-position: 50% 25%; }
  .tile--kitten img { object-position: 45% 28%; }

  .hero__logo {
    width: 9.5rem;
    width: min(9.5rem, 22vh);
    margin-top: 0;
    padding: 0;
    border-radius: 0;
  }
  .hero__title {
    margin-top: 0.75rem;
    font-size: 2.5rem;
    font-size: clamp(2.25rem, 3.6vw, 3rem);
  }
  .hero__sub { font-size: 1.125rem; }
  .hero__facts { align-items: flex-start; margin-top: 1.5rem; }
  .hero__facts li + li { margin-top: 0.625rem; }
  .fact__icon { width: 2.75rem; height: 2.75rem; margin-inline-end: 0.875rem; }
  .fact__icon .icon { width: 1.25rem; height: 1.25rem; }
  .hero__tel { font-size: 2rem; }
  .hero__address { font-size: 1.125rem; }
  .hero__actions { justify-content: flex-start; margin-top: 2rem; }
}

/* ---------- بخش‌ها ---------- */
.section { padding-top: var(--section-gap); }

.section-head {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-head .paw { margin: 0 auto; }
.section-head h2 {
  margin-top: 0.5rem;
  font-size: 2.75rem;
  font-size: clamp(2.75rem, 1.9rem + 4.4vw, 4.5rem);
  line-height: 1.3;
}
.lead {
  max-width: 30em;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 1.0625rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.25rem);
  line-height: 1.9;
  text-wrap: balance;            /* جملهٔ کوتاهِ وسط‌چین، بدون تک‌کلمهٔ جامانده در سطر آخر */
}

@media (min-width: 40rem) {
  .section-head { margin-bottom: 3.5rem; }
}

/* ---------- حیوانات ---------- */
.animals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1rem;
}

.animal__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 11rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--green-900);
}
@supports (aspect-ratio: 1) {
  .animal__frame { min-height: 0; aspect-ratio: 4 / 5; }
}
.animal__frame .icon {
  width: 5rem;
  height: 5rem;
  width: clamp(4.5rem, 3rem + 9vw, 7.5rem);
  height: clamp(4.5rem, 3rem + 9vw, 7.5rem);
  stroke-width: 1;
}
/* وقتی عکس واقعی برسد، قاب را پر می‌کند */
.animal__frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.animal__name {
  margin-top: 0.75rem;
  font-size: 1.375rem;
  font-size: clamp(1.375rem, 1.15rem + 1.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 48rem) {
  .animals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .animal__name { margin-top: 1rem; }
}

/* ---------- خدمات ---------- */
.services {
  max-width: 60rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  column-gap: 0.75rem;
  align-items: center;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--line);
}

.service__num {
  align-self: start;
  padding-top: 0.3125rem;
  color: var(--green-600);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 2;
}

.service__title {
  font-size: 1.375rem;
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 800;
  line-height: 1.6;
}

.service__desc {
  margin-top: 0.125rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.service__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--green-900);
}
.service__icon .icon { stroke-width: 1.5; }

@media (min-width: 56rem) {
  .service {
    grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.2fr) auto;
    column-gap: 2rem;
    padding: 2rem 0;
  }
  .service__text { display: contents; }
  .service__num { align-self: center; padding-top: 0; font-size: 1rem; }
  .service__desc { margin-top: 0; font-size: 1.0625rem; }
  .service__icon { width: 4rem; height: 4rem; }
  .service__icon .icon { width: 1.75rem; height: 1.75rem; }
}

/* ---------- دامپزشکان (برای بعد؛ نشانه‌گذاری‌اش در index.html کامنت است) ---------- */
.vets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
.vet { text-align: center; }
.vet__photo {
  width: 100%;
  border-radius: var(--radius);
  background: var(--tint);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.vet__name { margin-top: 1rem; font-size: 1.5rem; font-weight: 800; line-height: 1.5; }
.vet__role { color: var(--muted); font-size: 1rem; }

/* ---------- تماس و آدرس ---------- */
/* یک کادر: تلفن، آدرس و ساعت کاری در یک نیمه، نقشهٔ گوگل در نیمهٔ دیگر */
.place {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--on-dark);
}

.place__body { padding: 2.75rem 1.25rem 2rem; }

.place h2 {
  margin-top: 0.5rem;
  color: var(--on-dark);
  font-size: 2.25rem;
  font-size: clamp(2.25rem, 1.7rem + 2.8vw, 3.5rem);
  line-height: 1.35;
}
.place .lead {
  max-width: 28em;
  margin: 0.5rem 0 0;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}

.place__list {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.place__list li {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.place__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-inline-end: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #d9efb8;
}
.place__icon .icon { width: 1.25rem; height: 1.25rem; }

.place__label {
  display: block;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.place__tel {
  display: inline-block;
  color: var(--on-dark);
  font-size: 2rem;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.35;
  word-spacing: 0.1em;           /* سه گروهِ شماره از هم جدا خوانده شوند */
  text-decoration: none;
  transition: color 0.2s ease;
}
.place__tel:hover { color: #d9efb8; }

.place__address strong {
  display: block;
  color: var(--on-dark);
  font-size: 1.125rem;
  font-size: clamp(1.125rem, 1.03rem + 0.5vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.7;
}
.place__address span {
  display: block;
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.place__hours {
  color: var(--on-dark);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.8;
}

.place__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.place__actions .btn { padding-left: 0.75rem; padding-right: 0.75rem; }

.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.place__map {
  position: relative;
  height: 18rem;
  background: var(--tint);
}
.place__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* فقط وقتی دیده می‌شود که نقشه بار نشده باشد */
.place__map-note {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

@media (min-width: 40rem) {
  .place { border-radius: 2.5rem; }
  .place__body { padding: 3.5rem 3rem 3rem; }
  .place__actions { grid-template-columns: auto auto; justify-content: start; }
  .place__actions .btn { padding-left: 1.75rem; padding-right: 1.75rem; }
  .place__map { height: 22rem; }
}

@media (min-width: 60rem) {
  .place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .place__body { padding: 4rem 3.5rem; }
  .place__map { height: auto; min-height: 34rem; }
}

/* ---------- فوتر ---------- */
.site-footer {
  margin-top: var(--section-gap);
  padding: 3.5rem 0 2rem;
  background: var(--green-900);
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

.site-footer__brand { display: flex; flex-direction: column; align-items: center; }
.site-footer__brand img { width: auto; height: 4rem; }
.site-footer__brand p { margin-top: 0.875rem; }
.site-footer__brand strong {
  display: block;
  color: var(--on-dark);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.6;
}
.site-footer__brand [lang="en"] {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;       /* فقط برای لاتین */
}

.site-footer__info li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.site-footer__info li + li { margin-top: 0.375rem; }
.site-footer__info .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.4375rem;
  margin-inline-end: 0.625rem;
  color: var(--green-400);
}
.site-footer__info a {
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
}
.site-footer__info a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.site-footer__copy {
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    text-align: start;
  }
  .site-footer__brand { flex-direction: row; align-items: center; }
  .site-footer__brand p { margin-top: 0; margin-inline-start: 1.25rem; }
  .site-footer__info li { justify-content: flex-start; }
  .site-footer__copy { grid-column: 1 / -1; }
}

/* ---------- حرکت ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* ورود آرام صفحهٔ اول؛ فقط CSS، بدون وابستگی به جاوااسکریپت */
  .hero__mosaic, .hero__title, .hero__sub, .hero__facts, .hero__actions {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__logo { animation: fade 0.7s ease 0.1s both; }
  .hero__title { animation-delay: 0.1s; }
  .hero__sub { animation-delay: 0.16s; }
  .hero__facts { animation-delay: 0.22s; }
  .hero__actions { animation-delay: 0.28s; }

  /* بخش‌های پایین‌تر: main.js کلاس is-waiting را فقط به چیزهای بیرون از دید می‌دهد */
  .reveal.is-waiting {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  .reveal.is-waiting.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .animals .reveal:nth-child(2), .services .reveal:nth-child(2) { transition-delay: 0.07s; }
  .animals .reveal:nth-child(3), .services .reveal:nth-child(3) { transition-delay: 0.14s; }
  .animals .reveal:nth-child(4), .services .reveal:nth-child(4) { transition-delay: 0.21s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(0.875rem); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- چاپ ---------- */
@media print {
  .site-header, .hero__actions, .place__actions, .place__map { display: none; }
  .hero { min-height: 0; }
  .place, .site-footer { background: none; color: var(--ink); }
  .place h2, .place__tel, .place__address strong, .place__hours, .site-footer__brand strong, .site-footer__info a { color: var(--green-900); }
  .place .lead, .place__label, .place__address span { color: var(--muted); }
}
