:root {
  --bg: #070707;
  --bg-2: #0e0e0e;
  --bg-3: #141414;
  --fg: #f2f2f2;
  --muted: #9a9a9a;
  --accent: #ef630c;
  --accent-hover: #ff7a28;
  --accent-dim: rgba(239, 99, 12, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --steel: linear-gradient(135deg, #1a1a1a 0%, #0c0c0c 40%, #181818 100%);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-fa: "Vazirmatn", "Tahoma", sans-serif;
  --space: clamp(1.25rem, 3.2vw, 2rem);
  --max: 1180px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 100% -10%, rgba(239, 99, 12, 0.09), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(180deg, #0a0a0a 0%, #070707 100%);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.is-rtl {
  font-family: var(--font-fa);
}

body.is-rtl .brand__name,
body.is-rtl .hero__brand,
body.is-rtl .site-footer__brand,
body.is-rtl .section-head h2,
body.is-rtl .services__copy h3,
body.is-rtl .blog-wrap h1,
body.is-rtl .admin-wrap h1,
body.is-rtl .services__tab,
body.is-rtl .nav a {
  font-family: var(--font-fa);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

body.is-rtl .hero__brand {
  font-weight: 700;
  line-height: 1.05;
}

body.is-rtl .hero__veil {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, transparent 48%);
}

body.is-rtl .hero__content {
  text-align: right;
}

body.is-rtl .table th,
body.is-rtl .table td {
  text-align: right;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 300;
}

.skip-link:focus {
  inset-inline-start: 0;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.page-blog .site-header,
.site-header--admin {
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header--admin {
  position: sticky;
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(340px, 52vw);
  color: #fff;
  min-height: 2.75rem;
}

.brand:hover {
  color: #fff;
}

.brand:hover .brand__name {
  color: var(--accent);
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s var(--ease);
}

.brand__logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 2.5rem;
  max-width: 4.25rem;
  object-fit: contain;
}

.admin-logo-preview {
  margin-top: 0.5rem;
  height: 40px;
  width: auto;
  object-fit: contain;
  background: #111;
  padding: 0.35rem;
  border: 1px solid var(--line);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.15rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0.7rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: 0.35rem;
  padding-inline-start: 0.85rem;
  border-inline-start: 1px solid var(--line-strong);
  font-size: 0.8rem;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.35rem 0.25rem;
}

.lang-switch a::after {
  display: none;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: var(--accent);
}

.lang-fields {
  border: 1px solid var(--line);
  padding: 1.25rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 1rem;
  background: var(--bg-2);
}

.lang-fields legend {
  padding: 0 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
  transform: scale(1.08);
  filter: blur(3px);
  animation: kenburns 28s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 52%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, transparent 48%);
}

.hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 7px,
      rgba(255, 255, 255, 0.012) 7px,
      rgba(255, 255, 255, 0.012) 8px
    );
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) var(--space) clamp(3.5rem, 9vh, 5.5rem);
  animation: rise 1s var(--ease) both;
}

.hero__frame {
  position: relative;
  max-width: 38rem;
  padding: 1.75rem 0 0.25rem;
}

.hero__frame::before,
.hero__frame::after {
  content: "";
  position: absolute;
  width: 2.25rem;
  height: 2.25rem;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.85;
}

.hero__frame::before {
  top: 0;
  inset-inline-start: 0;
  border-width: 2px 0 0 2px;
}

.hero__frame::after {
  bottom: 0;
  inset-inline-end: 0;
  border-width: 0 2px 2px 0;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 11vw, 6.75rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 30ch;
}

.hero__accent-line {
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.25rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

body.is-rtl .btn {
  text-transform: none;
  letter-spacing: 0;
}

.btn--accent {
  background: var(--accent);
  color: #111;
  box-shadow: 0 0 0 0 rgba(239, 99, 12, 0);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(239, 99, 12, 0.65);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: #fff;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--danger {
  background: transparent;
  border-color: #a33;
  color: #f88;
}

/* —— Sections —— */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 6.5rem) var(--space);
}

.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 0.25rem;
}

.section-head__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

body.is-rtl .section-head__label {
  letter-spacing: 0;
  text-transform: none;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Services —— */
.services {
  position: relative;
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.015) 79px,
      rgba(255, 255, 255, 0.015) 80px
    );
  pointer-events: none;
  opacity: 0.45;
}

.services .section-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.services .section-head {
  margin-bottom: 0;
}

.services__layout {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.services__tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.4rem;
}

.services__tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-rtl .services__tab {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.services__tab:hover {
  border-color: rgba(239, 99, 12, 0.55);
  color: #fff;
}

.services__tab.is-active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-dim);
  box-shadow: inset 0 -2px 0 var(--accent);
}

body.is-rtl .services__tab.is-active {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.services__panels {
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--bg-3);
}

.services__panel {
  display: grid;
  gap: 0;
  animation: panelIn 0.35s var(--ease) both;
  align-items: stretch;
}

.services__panel[hidden] {
  display: none;
}

.services__visual {
  position: relative;
  min-height: 160px;
  background: var(--steel);
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.services__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.services__visual img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.services__panel.is-active .services__visual img {
  transform: scale(1.02);
}

.services__placeholder {
  min-height: 160px;
  max-height: 220px;
  background:
    repeating-linear-gradient(
      -45deg,
      #121212,
      #121212 10px,
      #171717 10px,
      #171717 20px
    );
}

.services__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.15rem 1.15rem;
  gap: 0.5rem;
}

.services__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.services__copy p {
  margin: 0;
  color: var(--muted);
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* —— About —— */
.about {
  position: relative;
}

.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

.about__text {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 1.25rem 0 0;
}

.about__facts {
  margin: 2rem 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.about__facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.about__facts dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

body.is-rtl .about__facts dt {
  letter-spacing: 0;
  text-transform: none;
}

.about__facts dd {
  margin: 0;
  color: var(--fg);
}

.about__map {
  min-height: 100%;
  border: 1px solid var(--line);
  background: #0c0c0c;
  position: relative;
  overflow: hidden;
}

.about__map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(239, 99, 12, 0.12);
}

.about__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.45) contrast(1.08) brightness(0.9);
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem var(--space);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.35rem;
  font-weight: 700;
}

.site-footer__meta,
.site-footer__links {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
}

/* —— Blog —— */
.page-blog .site-header {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.blog-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) var(--space) 4.5rem;
}

.blog-wrap h1 {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.post-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.25s var(--ease);
}

.post-card:first-child {
  border-top: 1px solid var(--line);
}

.post-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
}

.post-card h2 a {
  color: #fff;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-meta {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.post-excerpt {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.pagination {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

.article-cover {
  margin: 0 0 2rem;
  overflow: hidden;
  background: #121212;
  border: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.article-body {
  /* max-width: 68ch; */
  max-width: 100%;
  color: #d6d6d6;
  font-size: 1.08rem;
  line-height: 1.8;
  text-align: justify;
  margin: auto;
}

.article-body p {
  margin: 0 0 1.15rem;
}

/* —— Admin —— */
.admin-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem var(--space) 4rem;
}

.admin-wrap h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: 700;
}

.flash {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.flash--ok {
  border-color: rgba(80, 180, 80, 0.45);
  color: #9d9;
}

.flash--err {
  border-color: rgba(180, 80, 80, 0.45);
  color: #f99;
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: #0c0c0c;
  color: #fff;
  font: inherit;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(239, 99, 12, 0.65);
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  text-align: left;
  padding: 0.9rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat {
  min-width: 140px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.stat strong {
  display: block;
  font-size: 1.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.login-box {
  max-width: 400px;
  margin: 5rem auto;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.muted {
  color: var(--muted);
}

.empty {
  color: var(--muted);
  padding: 2rem 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.2%, -0.8%); }
}

@media (min-width: 800px) {
  .services__tabs {
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  }

  .services__panel {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    min-height: 210px;
    max-height: 250px;
    overflow: hidden;
  }

  .services__visual {
    border-bottom: 0;
    border-inline-end: 1px solid var(--line);
    min-height: 100%;
  }

  body.is-rtl .services__visual {
    border-inline-end: 0;
    border-inline-start: 1px solid var(--line);
  }

  .services__visual img,
  .services__placeholder {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }

  .services__copy {
    padding: 1.1rem 1.35rem;
    overflow-y: auto;
  }

  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }

  .about__map iframe {
    min-height: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  .about__map {
    min-height: 420px;
  }

  .post-card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.75rem;
  }

  .post-card__thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 1px solid var(--line);
  }

  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-footer__meta {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav a {
    font-size: 0.78rem;
    padding: 0.35rem 0.45rem;
    letter-spacing: 0.02em;
  }

  .lang-switch {
    padding-inline-start: 0.5rem;
    margin-inline-start: 0.15rem;
  }

  .about__facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero__frame {
    padding-inline: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { animation: none; transform: scale(1.08); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .services__panel { animation: none; }
  .hero__content { animation: none; }
}
