/* ==========================================================
   تأمین کالا باختر — استایل سایت معرفی
   طراحی و توسعه: شرکت رهوار پیوند داده
   رنگ‌ها و زبان طراحی هم‌راستا با سامانه‌های پیچک و بیمه/حواله
   ========================================================== */

/* فونت وزیرمتن (متغیر، روی همین سرور؛ مجوز: assets/fonts/OFL.txt) */
@font-face {
  font-family: Vazirmatn;
  src: url('../fonts/Vazirmatn-wght.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-wght.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --red: #cf1725;
  --red-2: #e5394a;
  --deep: #91101d;
  --wine: #340f15;
  --ink: #23242a;
  --muted: #6f6a6b;
  --bg: #f7f3ef;
  --bg-2: #efe8e1;
  --surface: #ffffff;
  --surface-2: #fbf8f5;
  --line: #eae2db;
  --soft: #fff1ef;
  --gold: #c98a2b;
  --good: #087c5f;
  --header-bg: rgba(247, 243, 239, .82);
  --shadow: 0 14px 40px rgba(60, 30, 20, .07);
  --shadow-lg: 0 24px 60px rgba(60, 30, 20, .12);
  --ph-a: #f3ebe4;
  --ph-b: #ece2d9;
  --radius: 22px;
  color-scheme: light;
}

/* حالت تاریک: فقط با انتخاب کاربر (پیش‌فرض روشن) */
:root[data-theme="dark"] {
  --ink: #f3ece6;
  --muted: #b3a7a0;
  --bg: #15100e;
  --bg-2: #1c1513;
  --surface: #211917;
  --surface-2: #261d1a;
  --line: #3a2d29;
  --soft: #3a1a1c;
  --red-2: #ff5c68;
  --header-bg: rgba(21, 16, 14, .78);
  --shadow: 0 14px 40px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  --ph-a: #2a201d;
  --ph-b: #241b18;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0; }
p { margin: 0; }
svg.i { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.wrap { max-width: 1240px; margin: auto; padding: 0 22px; }
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-weight: 800; font-size: 13px;
  background: var(--soft); padding: 5px 14px; border-radius: 99px;
}
:root[data-theme="dark"] .eyebrow { color: var(--red-2); }

.sec-head { max-width: 680px; margin-bottom: 46px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; margin: 14px 0 10px; }
.sec-head p { color: var(--muted); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 14px; font-weight: 800; font-size: 14px;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(207, 23, 37, .32); }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--ink); }

/* ---------- هدر ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 4px 14px rgba(207,23,37,.35); }
.brand b { display: block; font-weight: 900; font-size: 17px; line-height: 1.4; }
.brand small { display: block; font-size: 11px; opacity: .75; white-space: nowrap; }
.site-header:not(.scrolled) .brand,
.site-header:not(.scrolled) .menu a,
.site-header:not(.scrolled) .icon-btn { color: #fff; }

.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; opacity: .9; transition: background .2s, opacity .2s; }
.menu a:hover, .menu a.active { opacity: 1; background: rgba(127,127,127,.14); }
.nav-tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid rgba(127,127,127,.25); background: rgba(127,127,127,.08); color: var(--ink);
  position: relative;
}
.icon-btn:hover { background: rgba(127,127,127,.16); }
.theme-btn .t-label {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); font-size: 11px; padding: 3px 9px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.theme-btn:hover .t-label, .theme-btn:focus-visible .t-label { opacity: 1; }
.theme-btn svg { display: none; }
/* در حالت روشن آیکن ماه (رفتن به تاریک) و در حالت تاریک آیکن خورشید */
.theme-btn .ic-moon { display: block; }
:root[data-theme="dark"] .theme-btn .ic-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ic-sun { display: block; }
.menu-btn { display: none; }

/* ---------- هیرو ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #18191d 0%, #340f15 55%, #8f1020 100%);
  padding: 150px 0 120px;
}
.hero::before {
  content: ''; position: absolute; left: -140px; bottom: -200px; width: 560px; height: 560px;
  border: 1px solid #ffffff14; border-radius: 50%;
  box-shadow: 0 0 0 80px #ffffff06, 0 0 0 160px #ffffff05;
}
.hero::after {
  content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,57,74,.35), transparent 65%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px;
  border: 1px solid #ffffff30; background: #ffffff10; padding: 6px 14px; border-radius: 99px;
}
.dot { height: 8px; width: 8px; border-radius: 50%; background: #56d3a4; box-shadow: 0 0 0 4px #56d3a430; }
.hero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 900; margin: 20px 0 16px; line-height: 1.4; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb3a7, #ff6b78); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #ecd4d7; font-size: 16px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-cats span { font-size: 12.5px; padding: 5px 12px; border-radius: 10px; background: #ffffff12; border: 1px solid #ffffff1f; }

.hero-visual { position: relative; }
.hero-visual .media { min-height: 0; aspect-ratio: 16 / 9; border-radius: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.95); color: #23242a; padding: 12px 16px; border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25); font-size: 13px; animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 17px; font-weight: 900; }
.float-card .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff1ef; color: var(--red); }
.float-card.one { right: -22px; bottom: -26px; }
.float-card.two { left: -26px; top: -26px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; color: var(--bg); z-index: 1; }

/* ---------- آمار ---------- */
.stats { margin-top: -54px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.stat { padding: 26px 22px; text-align: center; }
.stat + .stat { border-right: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--red); line-height: 1.3; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* ---------- جای عکس (Placeholder) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent);
  display: grid; place-items: center; min-height: 160px;
}
.media::after {
  content: attr(data-label);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; padding: 12px 16px;
  background: var(--surface); border-radius: 12px; border: 1px solid var(--line); max-width: 80%;
}
.media::before {
  content: ''; position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; opacity: .45;
  background: currentColor; color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero .media { background: repeating-linear-gradient(135deg, #ffffff10 0 14px, #ffffff08 14px 28px); border-color: #ffffff40; }
.hero .media::after { background: #ffffff18; color: #fff; border-color: #ffffff30; }
.hero .media::before { color: #fff; }
/* وقتی عکس واقعی بارگذاری شد */
.media.has-img { border: 0; background: none; }
.media.has-img::before, .media.has-img::after { display: none; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- سامانه‌های کارکنان ---------- */
.portal { padding-top: 72px; }
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.portal-card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.portal-grid.solo { grid-template-columns: minmax(0, 520px); justify-content: center; }
.portal-card[hidden] { display: none; }
.portal-card::after { content: ''; position: absolute; left: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(207,23,37,.10), transparent 70%); pointer-events: none; }
.portal-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 10px 22px rgba(207,23,37,.3); margin-bottom: 6px; }
.portal-icon svg { width: 28px; height: 28px; }
.portal-who { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.portal-card h3 { font-size: 20px; font-weight: 900; }
.portal-card p { color: var(--muted); font-size: 14px; flex: 1; }
.portal-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.portal-addr { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed var(--line); background: var(--surface-2); color: var(--ink); border-radius: 12px; padding: 9px 12px; font-size: 13px; direction: ltr; }
.portal-addr:hover { border-color: var(--red); }
.portal-addr svg { width: 16px; height: 16px; color: var(--muted); }

/* ---------- درباره ما ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
/* سه عکس با نسبت خودشان (بدون برش): ساختمان اداری عریض بالا، ساختمان تابلودار و محوطه زیر آن */
.about-media { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-media .media { min-height: 0; }
.about-media .media:first-child { grid-column: span 2; aspect-ratio: 1400 / 788; }
.about-media .media:not(:first-child) { aspect-ratio: 3 / 2; }
.about-badge {
  position: absolute; top: -20px; left: 22px; background: var(--red); color: #fff;
  padding: 16px 22px; border-radius: 18px; box-shadow: 0 16px 34px rgba(207,23,37,.35); text-align: center;
}
.about-badge b { display: block; font-size: 28px; font-weight: 900; line-height: 1.2; }
.about-badge span { font-size: 12px; opacity: .9; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.checks li svg { color: var(--good); }

/* ---------- زیرساخت: پانورامای انبار با «اسکرول افقیِ سنجاق‌شده» ----------
   ارتفاع بخش = یک صفحه + مسافت حرکت تصویر (main.js حساب می‌کند)؛ قاب داخلی sticky است،
   پس هنگام اسکرول، صفحه پایین نمی‌رود و فقط تصویر به راست حرکت می‌کند. */
.infra { position: relative; background: #151012; color: #f3e9e7; height: 260vh; }
.infra-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.infra-media { position: absolute; inset: 0; overflow: hidden; }
.infra-media img { position: absolute; top: 0; left: 0; height: 100%; width: auto; min-width: 100%; max-width: none; object-fit: cover; will-change: transform; }
.infra-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(270deg, rgba(16,9,10,.88) 0%, rgba(16,9,10,.55) 30%, rgba(16,9,10,0) 58%),
              linear-gradient(0deg, rgba(16,9,10,.6), rgba(16,9,10,0) 40%),
              linear-gradient(180deg, rgba(16,9,10,.55), rgba(16,9,10,0) 22%); }
.infra-text { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; padding-bottom: clamp(56px, 9vh, 96px); pointer-events: none; }
.infra-text .wrap { width: 100%; }
.infra-box { max-width: 500px; pointer-events: auto; }
.infra .eyebrow { background: #ffffff14; color: #ffb3ac; border: 1px solid #ffffff22; }
.infra h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; color: #fff; line-height: 1.25; margin: 12px 0 10px; }
.infra p { color: #e4d3d0; font-size: 15px; margin: 0; }
.infra-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.infra-chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 99px;
  background: #ffffff12; border: 1px solid #ffffff22; backdrop-filter: blur(6px); }
.infra-chips svg { width: 16px; height: 16px; color: #ff8a93; }
.infra-progress { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: #ffffff1a; }
.infra-progress span { display: block; height: 100%; background: linear-gradient(90deg, #ff7a85, var(--red)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.infra-hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; color: #fff; padding: 7px 14px 7px 12px; border-radius: 99px; background: #00000059; border: 1px solid #ffffff26;
  backdrop-filter: blur(6px); transition: opacity .4s; white-space: nowrap; }
.infra-hint .mouse { width: 16px; height: 24px; border: 2px solid #fff; border-radius: 10px; position: relative; flex: none; }
.infra-hint .mouse::after { content: ''; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
.infra.moved .infra-hint { opacity: 0; }
@media (max-width: 760px) {   /* موبایل: عکس بالای قاب، تیتر زیر عکس تا کارتن‌ها و قفسه‌ها پنهان نشوند */
  .infra-media { bottom: auto; height: 54%; }
  .infra-media::after { background: linear-gradient(0deg, #151012, rgba(21,16,18,0) 35%), linear-gradient(180deg, rgba(16,9,10,.6), rgba(16,9,10,0) 30%); }
  .infra-text { top: 54%; align-items: flex-start; padding: 6px 0 0; }
  .infra-hint { top: calc(54% - 46px); bottom: auto; }
}
/* بدون حرکت (کاهش حرکت در تنظیمات دستگاه یا صفحه‌ی خیلی کوتاه): عکس کامل و ثابت */
.infra.static { height: auto; }
.infra.static .infra-sticky { position: relative; height: auto; }
.infra.static .infra-media { position: relative; inset: auto; height: auto; }
.infra.static .infra-media img { position: static; width: 100%; height: auto; min-width: 0; transform: none !important; }
.infra.static .infra-text { position: absolute; }
.infra.static .infra-hint, .infra.static .infra-progress { display: none; }
@media (max-width: 760px) {
  .infra.static .infra-media { height: auto; }
  .infra.static .infra-text { position: static; padding: 8px 0 44px; }
}

/* کپشن روی عکس‌های «درباره ما» */
figure.media { margin: 0; }
.media-cap { position: absolute; z-index: 1; right: 10px; bottom: 10px; font-size: 12px; font-weight: 800; color: #fff; padding: 4px 11px; border-radius: 99px;
  background: rgba(20,12,12,.55); backdrop-filter: blur(6px); border: 1px solid #ffffff2e; }
.infra-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; font-weight: 800; color: #ffb3ac; }
.infra-more:hover { color: #fff; }
.infra-more svg { width: 16px; height: 16px; }

/* ---------- گالری ---------- */
/* ۵ عکس: ساختمان اداری عریض (۲ ستون) + ساختمان شرکت در ردیف اول، سه عکس انبار در ردیف دوم */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g-wide { grid-column: span 2; display: flex; flex-direction: column; }
.g-wide .g-open { flex: 1; aspect-ratio: auto; min-height: 200px; }
.g-wide .g-open img { position: absolute; inset: 0; }
.g-item { margin: 0; }
.g-open { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: 18px; overflow: hidden; background: var(--bg-2);
  aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); position: relative; }
.g-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.g-open::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,8,9,.35), transparent 40%); opacity: 0; transition: opacity .3s; }
.g-open:hover img { transform: scale(1.05); }
.g-open:hover::after { opacity: 1; }
.g-open:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.g-item figcaption { margin-top: 10px; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.g-item figcaption::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--red); }
.gal-pop .bp-body h3 { margin: 0; font-size: 17px; }
.gal-pop img { max-height: calc(100vh - 140px); }
@media (max-width: 1080px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { gap: 12px; } .g-open { border-radius: 14px; } .g-item figcaption { font-size: 12.5px; margin-top: 7px; } }

/* ---------- دسته‌بندی‌ها (هر کارت رنگ خودش را از --c می‌گیرد) ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat {
  --c: var(--red);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.cat::after {   /* نوار رنگی پایین کارت هنگام hover */
  content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--c);
  transform: scaleX(0); transform-origin: right; transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cat:hover { transform: translateY(-8px); box-shadow: 0 22px 46px color-mix(in srgb, var(--c) 22%, transparent); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.cat:hover::after { transform: scaleX(1); }
.cat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--c) 18%, var(--surface)); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat-media::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, color-mix(in srgb, var(--c) 70%, #000) 0%, color-mix(in srgb, var(--c) 25%, transparent) 45%, transparent 75%); }
.cat:hover .cat-media img { transform: scale(1.07); }
.cat-icon {
  position: relative; z-index: 1; margin: -54px 0 12px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--surface); color: var(--c); box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 35%, transparent);
  border: 3px solid var(--surface); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cat-icon svg { width: 26px; height: 26px; }
.cat:hover .cat-icon { transform: translateY(-4px) rotate(-6deg); }
.cat-no { position: absolute; z-index: 1; left: 16px; bottom: 10px; font-size: 40px; font-weight: 900; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.4px rgba(255,255,255,.85); text-shadow: 0 4px 18px rgba(0,0,0,.25); }
.cat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 800; color: var(--c); }
.cat-link svg { width: 15px; height: 15px; transition: transform .3s; }
.cat-link:hover svg { transform: translateX(-4px); }
:root[data-theme="dark"] .cat-link { color: color-mix(in srgb, var(--c) 60%, #fff); }
.cat-body { padding: 0 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat h3 { font-size: 19px; font-weight: 900; margin-bottom: 6px; }
.cat p { color: var(--muted); font-size: 13.5px; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cat-body .cat-link { margin-top: auto; padding-top: 16px; }
.tags span { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; color: color-mix(in srgb, var(--c, var(--red)) 80%, var(--ink));
  background: color-mix(in srgb, var(--c, var(--red)) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c, var(--red)) 22%, transparent); }

/* ---------- چرا ما: بخش تیره با چیدمان bento ---------- */
.why { background: radial-gradient(circle at 85% 0%, rgba(207,23,37,.35), transparent 45%), linear-gradient(160deg, #17181c 0%, #2a0f14 60%, #4a0d16 100%); color: #f3e9e7; overflow: hidden; }
.why .sec-head h2 { color: #fff; }
.why .sec-head p { color: #cdb8b6; }
.why .eyebrow { background: #ffffff12; color: #ffb3ac; border: 1px solid #ffffff1c; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 26px 24px; min-height: 190px;
  background: linear-gradient(160deg, #ffffff10, #ffffff05); border: 1px solid #ffffff17;
  backdrop-filter: blur(6px); transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, background .35s;
}
.bento-card:hover { transform: translateY(-5px); border-color: #ff6b7866; background: linear-gradient(160deg, #ffffff16, #ffffff07); }
.bento-card .fi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #e5394a, #a50f1e); color: #fff; box-shadow: 0 10px 24px rgba(207,23,37,.4); }
.bento-card .fi svg { width: 24px; height: 24px; }
.bento-card h3 { font-size: 17px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.bento-card p { font-size: 13.5px; color: #c9b5b3; margin: 0; }
.bento-big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 32px;
  background: linear-gradient(150deg, rgba(207,23,37,.32), rgba(207,23,37,.06) 55%, #ffffff06); border-color: #ff6b7840; }
.bento-big h3 { font-size: 24px; }
.bento-big p { font-size: 14.5px; max-width: 330px; position: relative; }
.route-art { position: absolute; left: 20px; top: 22px; width: 40%; height: auto; opacity: .5; pointer-events: none; }
.route-art .route-line { fill: none; stroke: #ff8a93; stroke-width: 2.5; stroke-dasharray: 8 10; animation: route-flow 1.6s linear infinite; }
.route-art circle { fill: #ffd2cd; }
.route-art .route-end { fill: #ff5c68; animation: route-ping 2s ease-out infinite; transform-origin: 385px 30px; }
@keyframes route-flow { to { stroke-dashoffset: -36; } }
@keyframes route-ping { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(1.8); opacity: .3; } 100% { transform: scale(1); opacity: 1; } }
.bento-stats { display: flex; gap: 14px; margin-top: auto; padding-top: 24px; }
.bento-stats div { flex: 1; padding: 14px 16px; border-radius: 16px; background: #00000033; border: 1px solid #ffffff14; }
.bento-stats b { display: block; font-size: 26px; font-weight: 900; color: #fff; line-height: 1.3; }
.bento-stats span { font-size: 12.5px; color: #d6c2c0; }
.bento-wide { grid-column: span 4; display: flex; align-items: center; gap: 20px; min-height: 0; padding: 22px 24px; }
.bento-wide .fi { margin: 0; flex: none; }
.bento-wide > div { flex: 1; }
.bento-wide .btn { flex: none; }

/* ---------- برندها: ویترین با فیلتر؛ هر بنر با نسبت خودش، ردیف‌ها تمام‌عرض (main.js) ---------- */
.bs-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bs-tabs button { font: inherit; font-size: 13.5px; font-weight: 800; padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.bs-tabs button:hover { border-color: var(--red); }
.bs-tabs button.on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(207,23,37,.3); }
.bs-grid { display: flex; flex-wrap: wrap; gap: 14px; }            /* بدون JS: چیدمان ساده */
.bs-grid > .bs-item { flex: var(--r) 1 calc(var(--r) * 160px); }
.bs-grid.rows { display: grid; }
.bs-row { display: flex; gap: 14px; }
.bs-row > .bs-item { flex: var(--r) 1 0; min-width: 0; }
.bs-item { container-type: inline-size; position: relative; display: block; padding: 0; border: 0; font: inherit; color: #fff; text-align: right; cursor: zoom-in;
  aspect-ratio: var(--r); border-radius: 18px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); animation: bs-in .45s both; }
@keyframes bs-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bs-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bs-item:hover img { transform: scale(1.05); }
.bs-item:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.bs-cap { position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  background: linear-gradient(0deg, rgba(15,8,9,.85), rgba(15,8,9,0)); }
.bs-cap b { display: block; font-size: 15px; font-weight: 900; }
.bs-cap small:empty, .bp-co:empty { display: none; }
.bs-cap small, .bp-co { display: flex; align-items: baseline; gap: 6px; font-size: 12px; font-weight: 700; color: #ffb3ac; margin-top: 2px; }
.bs-cap small::before, .bp-co::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; transform: translateY(-2px); }
.bs-tag { flex: none; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: #ffffff26; color: #fff; backdrop-filter: blur(4px); }
/* کارت‌های باریک: متن کوچک‌تر و بدون برچسب دسته تا روی هم نیفتند */
@container (max-width: 330px) {
  .bs-cap { padding: 26px 12px 10px; } .bs-cap .bs-tag { display: none; }
  .bs-cap b { font-size: 13.5px; } .bs-cap small { font-size: 11px; }
  .bs-cap > span { min-width: 0; }
  .bs-cap small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bs-cap small::before { display: none; }
}
@media (max-width: 600px) {
  .bs-tabs { gap: 6px; } .bs-tabs button { padding: 7px 14px; font-size: 12.5px; }
  .bs-row, .bs-grid.rows { gap: 10px; }
  .bs-item { border-radius: 14px; }
  .bs-cap { padding: 22px 10px 8px; } .bs-cap .bs-tag { display: none; }
  .bs-cap b { font-size: 13px; } .bs-cap small { font-size: 10.5px; }
}

/* پنجره‌ی برند */
.brand-pop { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; overflow: hidden;
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.brand-pop::backdrop { background: rgba(14,8,9,.72); backdrop-filter: blur(6px); }
.brand-pop[open] { animation: bp-in .3s cubic-bezier(.2,.7,.2,1); }
@keyframes bp-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.brand-pop img { display: block; width: 100%; max-height: calc(100vh - 180px); object-fit: contain; background: #111; }
.bp-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 20px; }
.bp-body h3 { font-size: 20px; font-weight: 900; margin: 8px 0 2px; }
.bp-body .bs-tag { background: var(--soft); color: var(--red); }
.bp-body .bp-co { color: var(--red); font-size: 13.5px; margin: 0; }
:root[data-theme="dark"] .bp-body .bp-co { color: var(--red-2); }
.bp-nav { display: flex; align-items: center; gap: 10px; flex: none; font-size: 13px; font-weight: 700; color: var(--muted); }
.bp-nav button, .bp-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: background .2s, color .2s; }
.bp-nav button:hover, .bp-close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.bp-nav svg, .bp-close svg { width: 18px; height: 18px; }
.bp-prev svg { transform: scaleX(-1); }
.bp-close { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(255,255,255,.92); color: #23242a; border-color: transparent; }
@media (max-width: 600px) {
  .bp-body { flex-direction: column; align-items: stretch; padding: 14px 16px 16px; }
  .bp-nav { justify-content: space-between; }
}

/* ---------- فرآیند: تایم‌لاین با ریل و کامیون متحرک ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.tl-rail { position: absolute; top: 37px; right: 12.5%; left: 12.5%; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--red) 14%, var(--line)); }
.tl-rail::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(270deg, var(--red), #ff7a85);
  transform: scaleX(0); transform-origin: right; transition: transform 1.6s cubic-bezier(.3,.7,.2,1) .2s; }
.timeline.in .tl-rail::before { transform: scaleX(1); }
.tl-truck { position: absolute; top: 50%; right: 0; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--red); box-shadow: 0 6px 16px rgba(207,23,37,.3); opacity: 0; }
.tl-truck svg { width: 18px; height: 18px; transform: scaleX(-1); }   /* رو به چپ، هم‌جهت با مسیر */
.timeline.in .tl-truck { animation: tl-drive 7s cubic-bezier(.45,.05,.55,.95) 1.6s infinite; }
@keyframes tl-drive { 0% { right: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { right: calc(100% - 34px); opacity: 0; } }
.tl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-icon { position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--surface); color: var(--red); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s, color .4s; }
.tl-icon svg { width: 30px; height: 30px; }
.tl-step:hover .tl-icon { transform: translateY(-6px) rotate(-4deg); background: var(--red); color: #fff; }
.tl-card { width: 100%; flex: 1; padding: 18px 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tl-no { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--red); background: var(--soft); padding: 2px 12px; border-radius: 99px; margin-bottom: 8px; }
.tl-card h3 { font-size: 16.5px; font-weight: 900; margin-bottom: 4px; }
.tl-card p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ---------- همکاری (CTA) ---------- */
.cta {
  border-radius: 30px; padding: 54px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(115deg, #18191d, #340f15 55%, #8f1020);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
}
.cta::before {
  content: ''; position: absolute; left: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid #ffffff14; box-shadow: 0 0 0 60px #ffffff06;
}
.cta h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; margin-bottom: 10px; position: relative; }
.cta p { color: #ecd4d7; position: relative; }
.cta-cards { display: grid; gap: 12px; position: relative; }
.cta-card {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px;
  background: #ffffff10; border: 1px solid #ffffff22; transition: background .2s;
}
.cta-card:hover { background: #ffffff1c; }
.cta-card .fi { width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.cta-card b { display: block; font-weight: 800; }
.cta-card small { color: #e4cbd0; font-size: 12.5px; }

/* ---------- تماس ---------- */
.contact-box { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact-panel { position: relative; padding: 34px 32px; color: #f3e9e7; overflow: hidden;
  background: radial-gradient(circle at 0% 100%, rgba(207,23,37,.45), transparent 50%), linear-gradient(160deg, #1b1a1f, #3a0f17); }
.contact-panel::after { content: ''; position: absolute; left: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid #ffffff12; box-shadow: 0 0 0 40px #ffffff05; pointer-events: none; }
.cp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.cp-head h3 { font-size: 20px; font-weight: 900; color: #fff; }
.open-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 99px; background: #ffffff14; color: #e5d6d4; }
.open-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #9d8f8d; }
.open-state.is-open { background: rgba(34,197,94,.16); color: #86efac; }
.open-state.is-open::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }
.cp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.cp-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; line-height: 1.8; }
.cp-list .fi { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #ffffff12; border: 1px solid #ffffff1a; color: #ff8a93; }
.cp-list .fi svg { width: 19px; height: 19px; }
.cp-list small { display: block; font-size: 12px; color: #b9a4a2; font-weight: 700; }
.cp-list a { color: #fff; font-weight: 700; }
.cp-list a:hover { color: #ffb3ac; }
.cp-list .ltr { direction: ltr; unicode-bidi: embed; display: inline-block; font-size: 16px; letter-spacing: .3px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; position: relative; z-index: 1; }
.map { position: relative; min-height: 440px; background: var(--surface-2) repeating-linear-gradient(45deg, transparent 0 22px, rgba(207,23,37,.04) 22px 44px); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.map-wait svg { width: 30px; height: 30px; color: var(--red); }

/* ---------- فوتر ---------- */
.footer { background: #141011; color: #cfc4c0; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand b { color: #fff; }
.footer p { font-size: 13.5px; margin-top: 16px; color: #a99c97; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer-contact { margin-top: 18px !important; gap: 10px !important; font-size: 13.5px !important; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; color: #e5394a; flex-shrink: 0; margin-top: 3px; }
.footer-contact .ltr { direction: ltr; unicode-bidi: embed; }
.footer-bottom .credit b { color: #e7d9d4; font-weight: 700; }
.footer-bottom { border-top: 1px solid #ffffff14; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #8d807b; }

.to-top {
  position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 14px;
  background: var(--red); color: #fff; border: 0; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(207,23,37,.4); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- انیمیشن ظاهر شدن ---------- */
/* بخش‌های پایین صفحه تا نزدیک دید نیایند چیده و رسم نمی‌شوند (سرعت بارگذاری در گوشی) */
#about, #gallery, #products, #services, #process, #brands, #partner, #contact { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .route-line, .route-end, .open-state::before, .bs-item, .brand-pop[open] { animation: none !important; }
  .timeline.in .tl-truck { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {   /* منوی همبرگری پیش از آنکه آیتم‌های منو جا نشوند */
  .menu-btn { display: grid; }
  .menu {
    position: absolute; top: 76px; right: 16px; left: 16px; flex-direction: column; gap: 2px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .25s;
  }
  .menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-header .menu a { color: var(--ink) !important; padding: 11px 14px; display: block; }
}
@media (max-width: 920px) {
  .nav-tools .btn { display: none; }
  .hero { padding: 120px 0 110px; }
  .hero-grid, .about-grid, .cta, .contact-box { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  /* گوشی و تبلت: کارت‌های شناور زیر عکس و ثابت، نه روی عکس */
  .hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-visual .media { grid-column: span 2; }
  .hero-visual .float-card { position: static; animation: none; justify-content: center; }
  .stat { padding: 20px 8px; }
  .stat span { font-size: 12px; }
  /* تایم‌لاین عمودی */
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .tl-rail { top: 10px; bottom: 10px; right: 38px; left: auto; width: 4px; height: auto; }
  .tl-rail::before { background: linear-gradient(180deg, var(--red), #ff7a85); transform: scaleY(0); transform-origin: top; }
  .timeline.in .tl-rail::before { transform: scaleY(1); }
  .tl-truck { display: none; }
  .tl-step { flex-direction: row; align-items: center; text-align: right; gap: 16px; }
  .tl-icon { margin: 0; flex: none; }
  .section { padding: 72px 0; }
  .cta { padding: 34px 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand small { display: none; }
  .cats, .portal-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-big, .bento-wide { grid-column: auto; grid-row: auto; }
  .bento-wide { flex-direction: column; align-items: flex-start; }
  .bento-card { min-height: 0; }
  .bento-card:not(.bento-big):not(.bento-wide) { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 18px; }
  .bento-card:not(.bento-big):not(.bento-wide) .fi { grid-row: span 2; margin: 0; }
  .bento-big { padding: 24px 20px; }
  .bento-big p { max-width: none; }
  .route-art { width: 44%; left: 14px; top: 16px; opacity: .4; }
  .contact-panel { padding: 26px 20px; }
  .checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { font-size: 12px; padding: 10px 12px; }
  .float-card b { font-size: 15px; }
  .about-badge { left: 10px; top: -14px; padding: 10px 14px; }
  .about-badge b { font-size: 22px; }

  .hero-visual .media { min-height: 0; aspect-ratio: 16 / 9; }
  .hero h1 { margin-top: 16px; }
}
