/* ═══════════════════════════════════════════
   sections.css — الواجهة (شوريل + نبذة) + صفحات الأقسام
   قالب موحّد لكل الأقسام، وكل قسم له هوية بصرية خاصة (--accent + motif)
   ═══════════════════════════════════════════ */

[hidden] { display: none !important; }

/* ════════════════ HERO / SHOWREEL ════════════════ */
#hero { height: 100svh; }
#bg-video { opacity: .55; }
#bg-video-wrap::after {
  background:
    linear-gradient(to bottom, rgba(10,10,10,.75) 0%, rgba(10,10,10,.15) 35%, rgba(10,10,10,.35) 70%, var(--black) 100%);
}

/* إطار الكاميرا (viewfinder) فوق الشوريل */
.hero-frame {
  position: absolute;
  inset: 88px 28px 28px;
  z-index: 1;
  pointer-events: none;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(240,240,240,.7);
  direction: ltr;
}
.hero-frame i {
  position: absolute;
  width: 34px; height: 34px;
  border: 0 solid rgba(240,240,240,.55);
}
.hero-frame .tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hero-frame .tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hero-frame .bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hero-frame .br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.hero-frame .hf-rec { position: absolute; top: 10px; left: 48px; display: flex; align-items: center; gap: 8px; }
.hero-frame .hf-rec::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: #e50914; box-shadow: 0 0 10px #e50914;
  animation: recBlink 1.2s steps(1) infinite;
}
.hero-frame .hf-tc { position: absolute; top: 10px; right: 48px; }
.hero-frame .hf-fmt { position: absolute; bottom: 10px; left: 48px; }
.hero-frame .hf-iso { position: absolute; bottom: 10px; right: 48px; }
@keyframes recBlink { 50% { opacity: 0; } }

#hero-kicker {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold-light);
  margin-bottom: 18px;
  direction: ltr;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
#hero-cta-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 6px;
  border: 1px solid rgba(240,240,240,.35);
  background: rgba(10,10,10,.35);
  backdrop-filter: blur(6px);
  color: var(--white);
  font: 600 14px 'Cairo', 'DM Sans', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
}
#hero-cta-2:hover { border-color: var(--gold); background: rgba(201,160,60,.12); transform: translateY(-2px); }
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  z-index: 2;
  width: 24px; height: 40px;
  margin-left: -12px;
  border: 2px solid rgba(240,240,240,.4);
  border-radius: 14px;
  cursor: pointer;
}
.hero-scroll::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ════════════════ نبذة مختصرة ════════════════ */
#about.about-short { padding: 90px 28px 70px; }
.about-short .about-content { grid-template-columns: 340px 1fr; gap: 64px; }
.about-short .about-text { gap: 18px; }
.about-short .about-badge { align-self: flex-start; margin-bottom: 0; }
.about-short .about-title { text-align: start; margin: 0; }
.about-short .about-intro { font-size: 19px; line-height: 1.9; }
.img-frame-rot { aspect-ratio: 3/4; }
.about-image-frame.img-frame-rot img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px) !important;
  height: calc(100% - 8px) !important;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.about-image-frame.img-frame-rot img.active { opacity: 1; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 6px;
}
.about-stats > div {
  padding: 16px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,160,60,.14);
  text-align: center;
}
.about-stats b {
  display: block;
  font: 400 34px/1 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  color: var(--gold-light);
  direction: ltr;
}
.about-stats span { display: block; margin-top: 6px; font-size: 13px; color: var(--gray-light); }
.about-tools {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gray);
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] .about-tools { text-align: right; }

/* ════════════════ مركز الأقسام (الواجهة) ════════════════ */
#sections-hub {
  padding: 80px 28px 90px;
  background: var(--black);
}
.hub-head { text-align: center; margin-bottom: 44px; }
.hub-title {
  font-family: 'Cairo', 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-top: 14px;
}
#hub-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hub-tile {
  --accent: var(--gold);
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  color: var(--white);
  text-decoration: none;
  background: #111;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s, border-color .45s;
}
.hub-tile:hover, .hub-tile:focus-visible {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 26px 60px rgba(0,0,0,.6), 0 0 40px color-mix(in srgb, var(--accent) 25%, transparent);
}
/* المختارات: بطاقة عريضة بعرض الصف كامل */
.hub-tile.theme-fav { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.hub-tile.theme-fav h3 { font-size: clamp(28px, 4vw, 44px); }
.ht-img {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
  filter: saturate(.85) brightness(.75);
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(.16,1,.3,1), filter .6s;
}
.hub-tile:hover .ht-img { transform: scale(1.14); filter: saturate(1.05) brightness(.85); }
.ht-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.35) 45%, rgba(10,10,10,.95) 100%),
    radial-gradient(120% 80% at 50% 110%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 60%);
}
.ht-motif { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ht-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 20px 20px;
}
.ht-num {
  position: absolute;
  top: 16px;
  inset-inline-start: 18px;
  font: 400 13px 'Space Mono', monospace;
  letter-spacing: 2px;
  color: rgba(240,240,240,.7);
}
.ht-en {
  display: block;
  font: 400 13px 'Space Mono', monospace;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] .ht-en { text-align: right; }
.hub-tile h3 {
  font-family: 'Cairo', 'Bebas Neue', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}
html[lang="en"] .hub-tile h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 34px; letter-spacing: 1.5px; }
.hub-tile p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-light);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s, opacity .5s;
}
.hub-tile:hover p, .hub-tile:focus-visible p { max-height: 60px; opacity: 1; }
.ht-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--white);
  opacity: .8;
}
.ht-count::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ════════════════ صفحة القسم (قالب موحّد) ════════════════ */
#cat-view { --accent: var(--gold); background: var(--black); min-height: 100vh; }
#cat-banner {
  position: relative;
  min-height: min(78vh, 680px);
  padding: 140px 28px 70px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.cb-bg { position: absolute; inset: 0; z-index: -4; display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.cb-shot {
  background-size: cover;
  background-position: center;
  filter: saturate(.8) brightness(.55);
  animation: kenBurns 18s ease-in-out infinite alternate;
}
.cb-shot.s1 { animation-delay: -6s; }
.cb-shot.s2 { animation-delay: -12s; }
.cb-bg.single { grid-template-columns: 1fr; }
@keyframes kenBurns { from { transform: scale(1.05); } to { transform: scale(1.18) translateY(-2%); } }
.cb-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.75) 78%, var(--black) 100%),
    radial-gradient(90% 70% at 15% 100%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 65%);
}
html[dir="rtl"] .cb-shade {
  background:
    linear-gradient(180deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.75) 78%, var(--black) 100%),
    radial-gradient(90% 70% at 85% 100%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 65%);
}
.cb-motif { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.cb-vf { position: absolute; inset: 96px 28px 28px; z-index: -1; pointer-events: none; }
.cb-vf i { position: absolute; width: 28px; height: 28px; border: 0 solid color-mix(in srgb, var(--accent) 70%, white); opacity: .7; }
.cb-vf .tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.cb-vf .tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.cb-vf .bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.cb-vf .br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.cb-content { position: relative; max-width: 1240px; width: 100%; margin: 0 auto; }
.cb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(240,240,240,.25);
  background: rgba(10,10,10,.4);
  backdrop-filter: blur(6px);
  color: var(--white);
  font: 600 13px 'Cairo', 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.cb-back:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, transparent); }
.cb-kicker {
  font: 400 13px 'Space Mono', monospace;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  direction: ltr;
  text-align: start;
}
html[dir="rtl"] .cb-kicker { text-align: right; }
.cb-title {
  margin: 10px 0 12px;
  font-family: 'Cairo', sans-serif;
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
html[lang="en"] .cb-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 3px; }
.cb-tag { max-width: 620px; font-size: clamp(15px, 2vw, 19px); line-height: 1.8; color: var(--gray-light); }
.cb-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font: 400 12px 'Space Mono', monospace;
  letter-spacing: 2px;
  color: rgba(240,240,240,.75);
}
.cb-meta .cb-line { width: 46px; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.cb-anim > * { animation: cbIn .9s cubic-bezier(.16,1,.3,1) both; }
.cb-anim > :nth-child(2) { animation-delay: .06s; }
.cb-anim > :nth-child(3) { animation-delay: .12s; }
.cb-anim > :nth-child(4) { animation-delay: .18s; }
.cb-anim > :nth-child(5) { animation-delay: .24s; }
@keyframes cbIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* شريط التنقل بين الأقسام */
#cat-view #cats-scroll.cat-switcher {
  position: sticky;
  top: 68px;
  z-index: 20;
  max-width: none;
  padding: 14px 28px;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
#cat-view .cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}
#cat-view .cat-btn:hover { border-color: var(--accent); }
#cat-view #gallery-section { max-width: 1296px; margin: 0 auto; padding: 36px 28px 80px; }
#cat-view .v-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); }
#cat-view .v-card .v-meta { color: color-mix(in srgb, var(--accent) 70%, #888) !important; }

/* ════════════════ الهويات البصرية لكل قسم ════════════════ */

/* أفلام قصيرة — شريط فيلم + ألوان دافئة */
.m-strip {
  position: absolute;
  left: 0; right: 0;
  height: 34px;
  background:
    repeating-linear-gradient(90deg, transparent 0 14px, rgba(240,230,210,.55) 14px 30px, transparent 30px 44px) center / 44px 14px repeat-x,
    rgba(5,5,5,.85);
  opacity: .8;
}
.m-strip.top { top: 68px; }
.m-strip.bottom { bottom: 0; }
.hub-tile .m-strip { height: 18px; background-size: 26px 8px, auto; }
.hub-tile .m-strip.top { top: 0; }
.theme-film .m-grain, .theme-doc .m-grain {
  position: absolute; inset: -50%;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 3px 3px;
  animation: grain .8s steps(4) infinite;
  opacity: .5;
}
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-2%,1%); } 50% { transform: translate(1%,-2%); } 75% { transform: translate(-1%,2%); } }

/* مسلسلات — حلقات + خطوط شاشة */
.m-scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px);
}
.m-eps {
  position: absolute;
  top: 110px;
  inset-inline-end: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 12px 'Space Mono', monospace;
  letter-spacing: 3px;
  color: rgba(240,240,240,.55);
  direction: ltr;
}
.m-eps span { display: flex; align-items: center; gap: 10px; }
.m-eps span::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.m-eps span:first-child { color: var(--accent); }
.hub-tile .m-eps { top: 46px; inset-inline-end: 16px; font-size: 9px; gap: 6px; }

/* وثائقيات — خطوط كنتور + إحداثيات */
.m-topo {
  position: absolute; inset: -20%;
  background:
    repeating-radial-gradient(circle at 70% 40%, transparent 0 22px, color-mix(in srgb, var(--accent) 22%, transparent) 22px 23px),
    repeating-radial-gradient(circle at 20% 80%, transparent 0 30px, rgba(255,255,255,.05) 30px 31px);
  animation: topoDrift 30s linear infinite alternate;
}
@keyframes topoDrift { to { transform: translate(4%, -3%) rotate(2deg); } }
.m-coord {
  position: absolute;
  top: 110px;
  inset-inline-end: 28px;
  font: 400 12px/1.9 'Space Mono', monospace;
  letter-spacing: 2px;
  color: rgba(240,240,240,.6);
  direction: ltr;
  text-align: right;
}
.hub-tile .m-coord { top: 46px; inset-inline-end: 16px; font-size: 9px; }

/* إعلانات — خطوط مائلة جريئة + عدّاد ثواني */
.m-stripes {
  position: absolute; inset: -10%;
  background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 16%, transparent) 0 18px, transparent 18px 64px);
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
  animation: stripesMove 6s linear infinite;
}
@keyframes stripesMove { to { background-position: 90px 0; } }
.m-count {
  position: absolute;
  top: 96px;
  inset-inline-end: 28px;
  font: 400 clamp(70px, 14vw, 180px)/1 'Bebas Neue', sans-serif;
  letter-spacing: 4px;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 70%, transparent);
  direction: ltr;
}
.hub-tile .m-count { top: 34px; inset-inline-end: 14px; font-size: 64px; -webkit-text-stroke-width: 1px; }

/* أفلام البراند — شبكة تصميم + علامات قص */
.m-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent);
}
.m-ring {
  position: absolute;
  top: 18%;
  inset-inline-end: 8%;
  width: min(34vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: inset 0 0 60px color-mix(in srgb, var(--accent) 15%, transparent);
  animation: ringSpin 40s linear infinite;
}
.m-ring::before {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.hub-tile .m-ring { width: 55%; top: 10%; inset-inline-end: -10%; }

/* الفعاليات — إضاءة مسرح متحركة */
.m-spot {
  position: absolute;
  top: -10%;
  width: 46%;
  height: 130%;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, transparent 165deg, color-mix(in srgb, var(--accent) 60%, transparent) 180deg, transparent 195deg, transparent 360deg);
  transform-origin: 50% 0%;
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: .9;
  animation: spotSweep 7s ease-in-out infinite alternate;
}
.m-spot.a { left: 0; }
.m-spot.b { left: 27%; animation-delay: -2.3s; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, transparent 166deg, rgba(255,230,180,.45) 180deg, transparent 194deg, transparent 360deg); }
.m-spot.c { left: 54%; animation-delay: -4.6s; }
@keyframes spotSweep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }

/* فيديو كليب — معادل صوتي */
.m-eq {
  position: absolute;
  inset: auto 0 0 0;
  height: 26%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 28px;
  opacity: .32;
}
.m-eq i {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(0deg, var(--accent), transparent);
  transform-origin: bottom;
  animation: eq 1.1s ease-in-out infinite alternate;
}
@keyframes eq { 0% { transform: scaleY(.12); } 100% { transform: scaleY(var(--h, .7)); } }
.hub-tile .m-eq { height: 34%; opacity: .45; gap: 2px; padding: 0 10px; }

/* سوشال ميديا — شاشات جوال عمودية */
.m-phones {
  position: absolute;
  top: 90px;
  bottom: 40px;
  inset-inline-end: 4%;
  display: flex;
  align-items: center;
  gap: 18px;
}
.m-phone {
  width: clamp(90px, 12vw, 150px);
  aspect-ratio: 9/19;
  border-radius: 22px;
  border: 3px solid rgba(240,240,240,.18);
  background: #000 center / cover;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 30px color-mix(in srgb, var(--accent) 25%, transparent);
  animation: phoneFloat 5s ease-in-out infinite alternate;
}
.m-phone:nth-child(2) { transform: translateY(-24px); animation-delay: -1.6s; }
.m-phone:nth-child(3) { animation-delay: -3.2s; }
@keyframes phoneFloat { to { translate: 0 -14px; } }
.hub-tile .m-phones { top: 14%; bottom: auto; inset-inline-end: -6%; gap: 8px; }
.hub-tile .m-phone { width: 62px; border-radius: 12px; border-width: 2px; }

/* المختارات — بريق ذهبي */
.m-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, var(--accent), transparent),
    radial-gradient(2px 2px at 70% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, var(--accent), transparent),
    radial-gradient(2px 2px at 85% 60%, var(--accent), transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, #fff, transparent);
  animation: twinkle 3s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }

/* ════════════════ موبايل ════════════════ */
@media (max-width: 1024px) {
  #hub-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .about-short .about-content { grid-template-columns: 1fr; gap: 36px; }
  .about-short .about-image { order: -1; }
  .about-short .about-badge, .about-short .about-title { align-self: center; text-align: center; }
  .about-short .about-intro, .about-tools, html[dir="rtl"] .about-tools { text-align: center; }
  #hub-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .m-phones, .m-eps, .m-coord { opacity: .45; }
}
@media (max-width: 600px) {
  .hero-frame { inset: 80px 16px 16px; font-size: 9px; }
  .hero-frame .hf-fmt, .hero-frame .hf-iso { display: none; }
  #about.about-short { padding: 60px 16px 50px; }
  .about-short .about-intro { font-size: 16px; }
  .about-stats b { font-size: 28px; }
  #sections-hub { padding: 56px 16px 64px; }
  .hub-tile { border-radius: 14px; }
  .hub-tile.theme-fav { aspect-ratio: 16 / 9; }
  .ht-body { padding: 14px 12px 12px; }
  .hub-tile h3 { font-size: 18px; }
  html[lang="en"] .hub-tile h3 { font-size: 24px; }
  .ht-en { font-size: 9px; letter-spacing: 2px; }
  .ht-num { top: 10px; inset-inline-start: 12px; font-size: 10px; }
  .hub-tile p { display: none; }
  #cat-banner { min-height: 72vh; padding: 120px 16px 48px; }
  .cb-vf { inset: 84px 14px 14px; }
  .cb-bg { grid-template-columns: 1fr; }
  .cb-bg .s1, .cb-bg .s2 { display: none; }
  .m-count { font-size: 90px; top: 110px; }
  .m-phones { top: 100px; bottom: auto; }
  .m-phone { width: 70px; }
  .m-eps, .m-coord { top: 100px; inset-inline-end: 16px; font-size: 9px; }
  #cat-view #cats-scroll.cat-switcher { padding: 12px 16px; }
  #cat-view #gallery-section { padding: 24px 16px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .cb-shot, .m-grain, .m-topo, .m-stripes, .m-ring, .m-spot, .m-eq i, .m-phone, .m-glow, .hero-scroll::after { animation: none !important; }
}

#cat-view a.cat-btn { text-decoration: none; display: inline-flex; align-items: center; }
