/* سایت ریشهٔ گروه فرش استیشن — یک فایل برای چهار صفحه (کلاس body: t-group، t-a8، t-fh، t-ct)
   بی‌CDN؛ فونت‌ها از /assets/fonts. متن فارسی هرگز letter-spacing ندارد (فقط .en لاتین). */

@font-face { font-family: IRAN; src: url(/fonts/IRAN.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: IRAN; src: url(/fonts/IRANBold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: IRAN; src: url(/fonts/IRANBlack.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: Lalezar; src: url(/fonts/Lalezar-Arabic.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: Lalezar; src: url(/fonts/Lalezar-Latin.woff2) format("woff2"); font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --bg: #F8F4EC; --surface: #FFFDF8; --ink: #2E2E2E; --muted: #5B5E52; --line: rgba(31, 58, 46, .14);
  --brand: #1F3A2E; --brand-ink: #F8F4EC; --accent: #D4A24A; --focus: #D4A24A;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.8 IRAN, Tahoma, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: Lalezar, IRAN, Tahoma, sans-serif; font-weight: 400; line-height: 1.35; }
p { margin: 0; }
:where(ul[role="list"]) { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 10;
  background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.en { font-family: Lalezar, "Segoe UI", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.en-inline { font-family: IRAN, "Segoe UI", sans-serif; font-size: .6em; font-weight: 700; color: var(--muted); margin-inline-start: 6px; vertical-align: middle; }

/* ---------- دکمه‌ها (کمینهٔ ۵۶ پیکسل برای لمس) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 56px; padding: 8px 22px; border-radius: 14px; border: 2px solid transparent;
  font: 700 1.0625rem/1.4 IRAN, Tahoma, sans-serif; text-decoration: none; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { background: transparent; color: var(--brand); border-color: currentColor; }
.btn-ghost:hover { background: rgba(0, 0, 0, .04); }
.btn-xl { min-height: 64px; font-size: 1.25rem; border-radius: 16px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* ---------- پاورقی مشترک ---------- */
footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); text-align: center; }
.foot-name { font-weight: 700; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 12px; font-size: .9375rem; }
.foot-links a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.enamad { display: flex; justify-content: center; margin-top: 16px; }
.enamad img { display: inline-block; }

/* =====================================================================
   گروه فرش استیشن — freshstationiran.ir
   ===================================================================== */
.t-group { --bg: #F8F4EC; --brand: #1F3A2E; --brand-ink: #F8F4EC; --muted: #5E6455; --focus: #C48A2C; }
.g-hero { text-align: center; padding: 36px 0 22px; }
.g-logo { width: 96px; height: auto; aspect-ratio: 415 / 454; margin: 0 auto 12px; }
.g-hero h1 { color: var(--brand); font-size: clamp(2.1rem, 7vw, 3rem); }
.g-hero .en { color: #6E735F; font-size: .8125rem; margin-top: 2px; }
.g-lead { margin: 14px auto 0; max-width: 34em; color: var(--muted); font-size: 1rem; }
.g-lead strong { color: var(--brand); }
.g-hero .wrap::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: #D4A24A; margin: 20px auto 0;
}

.cards { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 6px 0 40px; }
.card {
  display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "media text" "actions actions";
  gap: 14px 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 1px 2px rgba(31, 58, 46, .05), 0 8px 24px -12px rgba(31, 58, 46, .18);
}
.card.has-site { grid-template-areas: "media text" "site site" "actions actions"; }
.card-media {
  grid-area: media; width: 76px; height: 76px; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; border: 1px solid var(--line);
}
.card-text { grid-area: text; min-width: 0; }
.card h2 { color: var(--brand); font-size: 1.5rem; }
.card-text p { color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.card-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px; }
.card-actions .btn { flex: 1 1 140px; }
.card-site {
  grid-area: site; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  color: var(--brand); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; margin-block: -6px -2px;
}
.card-site span { font-family: "Segoe UI", Tahoma, sans-serif; color: var(--muted); }

.m-fs  { background: #F3EDE0; }
.m-fs img { width: 52px; }
.m-a8  { background: #fff; }
.m-a8 img { width: 66px; }
.m-ct  { background: #FBF7EC; }
.m-ct img { width: 68px; }
.m-fh  { background: #009551; border-color: #009551; }
.m-fh img { width: 62px; }
.m-tr  { background: #90967F; border-color: #90967F; }
.m-tr span { font-family: Lalezar, IRAN, sans-serif; color: #F8F4EC; font-size: 1.5rem; line-height: 1; }
.m-club { background: #F6E9CC; color: #1F3A2E; }

.g-foot { background: #1F3A2E; color: #F1ECE0; }
.g-foot .foot-links a { color: #F1ECE0; }
.g-foot .foot-links a.staff { color: #E9C27A; }
.g-foot :focus-visible { outline-color: #E9C27A; }

@media (min-width: 720px) {
  .g-hero { padding: 56px 0 30px; }
  .g-logo { width: 120px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .card { grid-template-rows: auto 1fr; }
  .card.has-site { grid-template-rows: auto 1fr auto; }
  .card-site { align-self: start; }
  .card-actions { align-self: end; }
}
@media (min-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 64px; }
  .card { padding: 20px; }
}

/* =====================================================================
   افتر ایت — after8cafe.ir (رنگ‌ها از لوگو: زرشکی #94151F روی سفید)
   ===================================================================== */
.t-a8 { --bg: #FFF8F2; --surface: #fff; --ink: #2B1416; --muted: #6A4A4D; --brand: #94151F; --brand-ink: #FFF8F2;
        --line: rgba(148, 21, 31, .16); --focus: #F2C14E; }
.a8-hero { background: #94151F; color: #FFF4EA; padding: 28px 0 36px; }
.a8-grid { display: grid; gap: 22px; justify-items: center; text-align: center; }
.a8-logo {
  width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 18px 40px -16px rgba(0, 0, 0, .45);
}
.a8-logo img { width: 74%; height: auto; aspect-ratio: 489.5 / 484; }
.a8-intro h1 { font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.15; }
.a8-intro .en { color: #F6CFC9; font-size: .9375rem; }
.a8-where { margin-top: 8px; font-size: 1.0625rem; color: #FFE9DE; }
.a8-actions { display: grid; gap: 12px; margin-top: 22px; width: min(440px, 100%); margin-inline: auto; }
.a8-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a8-hero .btn-primary { background: #FFF8F2; color: #94151F; }
.a8-hero .btn-primary:hover { filter: none; background: #fff; }
.a8-hero .btn-ghost { color: #FFF4EA; border-color: rgba(255, 244, 234, .8); }
.a8-hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.a8-main { padding: 36px 16px 44px; }
.a8-about { max-width: 640px; margin-inline: auto; text-align: center; }
.a8-about h2 { color: #94151F; font-size: 1.75rem; }
.a8-about p { margin-top: 8px; color: var(--muted); font-size: 1.0625rem; }
.a8-foot { background: #6E0F17; color: #FBE4DC; }
.a8-foot a { color: #FBE4DC; }
@media (min-width: 860px) {
  .a8-hero { padding: 64px 0; }
  .a8-grid { grid-template-columns: auto minmax(0, 480px); justify-content: center; justify-items: start; text-align: right; gap: 64px; align-items: center; }
  .a8-intro .en { text-align: right; }
  .a8-logo { width: 300px; }
  .a8-actions { margin-inline: 0; }
}

/* =====================================================================
   فرش فودهال — freshfoodhall.ir (رنگ لوگو: سبز #009551)
   ===================================================================== */
.t-fh { --bg: #F2F8F4; --surface: #fff; --ink: #10261A; --muted: #42584B; --brand: #007F45; --brand-ink: #fff;
        --line: rgba(0, 127, 69, .18); --focus: #F5B82E; }
.fh-hero { background: #007F45; color: #fff; padding: 32px 0 36px; }
.fh-grid { display: grid; gap: 18px; justify-items: center; text-align: center; }
.fh-logo {
  width: 132px; height: auto; aspect-ratio: 799 / 909; border-radius: 14px;
  box-shadow: 0 0 0 5px #fff, 0 16px 34px -14px rgba(0, 0, 0, .5);
}
.fh-hero h1 { font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1.2; }
.fh-where { font-weight: 700; font-size: 1.125rem; }
.fh-lead { margin-top: 4px; color: #E3F4EA; }
.fh-main { padding-top: 32px; padding-bottom: 44px; }
.sec-h { color: #00663A; font-size: 1.625rem; margin-bottom: 14px; }
.stalls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.stall {
  flex: 0 1 calc((100% - 10px) / 2);
  display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.5; color: #0B3D24;
}
.stall::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: #009551; }
.fh-more { display: grid; gap: 12px; }
.fh-card {
  display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.fh-card h3 { color: #00663A; font-size: 1.375rem; }
.fh-card p { color: var(--muted); }
.fh-foot { background: #00552F; color: #E6F5EC; }
.fh-foot a { color: #E6F5EC; }
@media (min-width: 720px) {
  .fh-hero { padding: 56px 0; }
  .fh-grid { grid-template-columns: auto 1fr; justify-items: start; text-align: right; gap: 36px; align-items: center; }
  .fh-logo { width: 160px; }
  .stalls { gap: 14px; }
  .stall { flex-basis: calc((100% - 28px) / 3); }
  .stall { min-height: 88px; font-size: 1.125rem; padding: 14px 18px; }
  .fh-more { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fh-card { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1080px) { .stall { flex-basis: calc((100% - 42px) / 4); } }

/* =====================================================================
   تهیه غذای فرش — قالب جایگزین fresh35153.ir
   ===================================================================== */
.t-ct { --bg: #FBF7EC; --surface: #fff; --ink: #14203D; --muted: #4A5675; --brand: #E3B84A; --brand-ink: #0B2560;
        --line: rgba(16, 52, 126, .16); --focus: #E3B84A; }
.ct-hero { background: #10347E; background-image: linear-gradient(160deg, #10347E 0%, #0B2560 100%); color: #FBF7EC; padding: 28px 0 36px; }
.ct-grid { display: grid; gap: 24px; }
.ct-intro { text-align: center; }
.ct-logo {
  width: 220px; height: auto; aspect-ratio: 647 / 169.5; margin: 0 auto 18px;
  background: #FBF7EC; padding: 10px 14px; border-radius: 14px; box-sizing: content-box;
}
.ct-hero h1 { font-size: clamp(1.9rem, 7.5vw, 3rem); line-height: 1.35; }
.ct-hero h1 span { display: block; color: #E3B84A; }
.ct-actions { display: grid; gap: 12px; margin: 22px auto 0; width: min(460px, 100%); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-hero .btn-ghost { color: #FBF7EC; border-color: rgba(251, 247, 236, .75); }
.ct-hero .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-call { background: #B8322A; color: #fff; }
.btn-call:hover { filter: brightness(1.08); }
.ct-photo { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 900 / 506; box-shadow: 0 0 0 4px rgba(227, 184, 74, .55), 0 20px 40px -18px rgba(0, 0, 0, .55); }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; }
.ct-main { padding-top: 28px; padding-bottom: 36px; text-align: center; }
.ct-note { color: var(--muted); }
.ct-foot { background: #0B2560; color: #F2EBD6; }
.ct-foot a { color: #F2EBD6; }
@media (min-width: 900px) {
  .ct-hero { padding: 64px 0; }
  .ct-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
  .ct-intro { text-align: start; }
  .ct-logo { margin-inline: 0; }
  .ct-actions { margin-inline: 0; }
}

/* =====================================================================
   ۱۰.۹۰۷ — معرفی گروه — freshstationgroup.com (همان پوستهٔ t-group، با بخش‌بندی)
   ===================================================================== */
.t-gc .g-lead { max-width: 40em; line-height: 2; }
.gc-sec { padding-top: 10px; }
.gc-sec > h2 { color: var(--brand); font-size: 1.375rem; margin: 18px 0 12px; display: flex; align-items: center; gap: 10px; }
.gc-sec > h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 4px; background: #D4A24A; }
.gc-sec .cards { padding-bottom: 18px; }
.card h3 { color: var(--brand); font-size: 1.375rem; }
.gc-city { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: #C48A2C; border-radius: 999px; padding: 2px 10px; margin-inline-start: 6px; vertical-align: middle; }
.m-kids { background: #fff; }
.m-kids img { width: 66px; height: auto; }
.m-fn { background: #fff; }
.m-fn img { width: 66px; height: auto; }
.m-tr img { width: 44px; height: auto; }
.gc-club { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 10px 0 40px; }
.gc-club > h2 { margin-top: 0; }
.gc-club p { color: var(--muted); line-height: 1.9; margin-bottom: 12px; }
.gc-club .btn { display: inline-flex; }
